[5246] in testers

home help back first fref pref prev next nref lref last post

update_ws and *.rpmnew

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Wed Jun 26 07:12:39 2002

Date: Wed, 26 Jun 2002 07:12:36 -0400 (EDT)
From: Jacob Morzinski <jmorzins@MIT.EDU>
To: <testers@mit.edu>
Message-ID: <Pine.LNX.4.30L.0206260640580.18926-100000@cutter-john.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,

When I updated my athena-linux machine from 9.0 to 9.1, I noticed many
warnings where rpm created a file as foo.rpmnew.  In the end I ended
up with about 30 *.rpmnew files scattered around my disk, and glancing
at other athena-linux 9.1 machines shows that other machines have the
same issue.

Many of the files are the type of file that a could have been tweaked
by a machine's administrator, so it's reasonable for RPM to preserve
the existing content.
  But also:
Many of these files configure things, and the new versions have
bugfixes or tweaks or enhancements to how they are set up.  There are
change to the X fonts, to pam.d/system-auth, to syslogging options,
and other miscellanous oddities.  Is it safe to put off updating
these files forever?  (I don't know.)

Perhaps it's possible to detect if a configuration file has been
modified by a user, and then freely replace the files that have not
been modified?  That would trim the list of *.rpmnew files from 30
down to about 5, and those 5 would be ones that the user definitely
cares about, since she already edited them once.

 -Jake


I'll include an example list of *.rpmnew files; I imagine there could
be slight variations from machine to machine, but I haven't tried to
confirm any variation.


/usr/lib/gconv/gconv-modules.rpmnew
/usr/share/fonts/default/Type1/fonts.dir.rpmnew
/usr/share/fonts/default/Type1/fonts.scale.rpmnew
/usr/share/ssl/openssl.cnf.rpmnew
/etc/X11/fs/config.rpmnew
/etc/X11/xinit/xinitrc.d/xinput.rpmnew
/etc/X11/XF86Config.rpmnew
/etc/X11/XftConfig.rpmnew
/etc/rc.d/rc.local.rpmnew
/etc/sysconfig/init.rpmnew
/etc/sysconfig/arpwatch.rpmnew
/etc/sysconfig/apmd.rpmnew
/etc/sysconfig/syslog.rpmnew
/etc/sysconfig/kudzu.rpmnew
/etc/pam.d/system-auth.rpmnew
/etc/pcmcia/wireless.opts.rpmnew
/etc/pcmcia/serial.opts.rpmnew
/etc/passwd.rpmnew
/etc/xinetd.d/tftp.rpmnew
/etc/ld.so.conf.rpmnew
/etc/syslog.conf.rpmnew
/etc/group.rpmnew
/etc/csh.cshrc.rpmnew
/etc/bashrc.rpmnew
/etc/csh.login.rpmnew
/etc/filesystems.rpmnew
/etc/profile.rpmnew
/etc/shells.rpmnew
/etc/sysctl.conf.rpmnew
/etc/logrotate.conf.rpmnew
/var/lib/logrotate.status.rpmnew


home help back first fref pref prev next nref lref last post