Re: VDQ : merging f7 configs



Beartooth wrote:
On one, but only one, of our F7 machines yum update often pauses with
some such query as this :

Package nss_ldap: merging configuration for file "/etc/ldap.conf":
By default, RPM would keep your local version and rename the new one to /
etc/ldap.conf.rpmnew
What do you want to do ?
- diff the two versions (d)
- do the default RPM action (q)
- install the package's version (i)
- merge interactively with vim (v)
- background this process and examine manually (z)
Your answer ?

It sounds as if you've installed the yum-merge-conf package. It will
do this. (Though you should have to add --merge-conf to the yum command
line to get this behavior. Perhaps you've got an alias that adds this
option?)

My default has usually been q, figuring the hotshots would pick the
safest thing as the default. Is that so? Should I be moving old
files to backups and .rpmnew files to current according to any
particular criteria? Is there any way of doing it in mass that's
safe?

Basically, if there were an automatic way to safely merge the config
files, it'd likely already be done. It's not an easy task. This is
why rpm defaults to creating the .rpmnew or .rpmsave files when it
encounters a file that is locally modified and is marked in the
package as a config file. You typically want to take a look at the
differences between the existing config and the .rpm{new,save} file to
see if you want or need to merge the changes.

The things must be piling up, and in places I have no knowledge of

I doubt they're really piling up. You can find them easily using
locate or find though, if you're concerned. Something like this will
find them:

$ locate .rpmnew .rpmsave

--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I got nasty habits. I take tea at 3.

Attachment: pgp4F7acOnVHK.pgp
Description: PGP signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: [SLE] rpmconfigcheck
    ... .rpmnew mean the rpm has created this file and left your old config ... .rpmsave means it has overwritten you old config file. ... controlled from insode the rpm spec file. ... Hendrik Vogelsang aka Henne ...
    (SuSE)
  • Re: Fedora Core 4 Update: caching-nameserver-7.3-4.FC4
    ... What you have with the .rpmsave files is a way ... "They" didn't put any symlinks there, the Packager did. ... RPM and your computer until you stop disagreeing with it and learn about ...
    (Fedora)
  • Re: Upgrading SuSE 9.0 to kernel 2.6
    ... I like how the RPM also copied the default config ... > One question since the boxes I use have Nvidia cards - I assume I need to ... Yep the nvidias should compile and all work fine they did here, ...
    (alt.os.linux.suse)
  • Re: From release notes for FC5T3 (web)
    ... RPMs that require the base packages. ... think of is a metapackage for mail with postfix+postgrey, just an RPM ... with the dependencies and a config script that runs post install, ... all the good spamkilling options sed-ed into postfix config. ...
    (Fedora)
  • Re: Building custom kernel rpms from Fedora kernel-*.src.rpm (FC3)
    ... > for athlon instead of for M686 CPU). ... It goes to much trouble to generate a custom ".config" setup ... # rpm -Uvh kernel-*.src.rpm ...
    (linux.redhat)