Red Hat Bugzilla – Bug 12138
every /etc/ file backed up in upgrade
Last modified: 2007-04-18 12:27:14 EDT
Upgrade of largely vanilla RH 6.2 to Winston.
Upgrade.log had backup of practically every file in /etc saved as
.rpmorig. Whilst this can be good, most of these files had never
even been touched. A touch wholesale, really.
verified ... even files that did not change were backed up ... (such as
/etc/host.conf & /etc/host.conf.rpmnew)
*** Bug 13151 has been marked as a duplicate of this bug. ***
This happens with beta2 too (see some notes in duplicate #13151).
This appears to be fixed in beta3 from my upgrade test
Not here. I did two upgrades, but both times junk in /etc was created.
This should be fixed with the latest initscripts (5.30-1 or greater).
using initscripts-5.39-1 (pinstripe beta), most files were not duplicated as
.rpmnew, except in the following 3 files during a minimal 6.2 -> pinstripe
These three files were duplicated even though they are the same file ...
Here are the corresponding upgrade.log entries for the setup package showing the
saving of the files ...
warning: /etc/csh.cshrc created as /etc/csh.cshrc.rpmnew
warning: /etc/csh.login created as /etc/csh.login.rpmnew
warning: /etc/exports created as /etc/exports.rpmnew
warning: /etc/filesystems created as /etc/filesystems.rpmnew
warning: /etc/group created as /etc/group.rpmnew
warning: /etc/host.conf created as /etc/host.conf.rpmnew
warning: /etc/hosts.allow created as /etc/hosts.allow.rpmnew
warning: /etc/hosts.deny created as /etc/hosts.deny.rpmnew
warning: /etc/inputrc saved as /etc/inputrc.rpmorig
warning: /etc/motd saved as /etc/motd.rpmorig
warning: /etc/passwd created as /etc/passwd.rpmnew
warning: /etc/printcap created as /etc/printcap.rpmnew
warning: /etc/profile created as /etc/profile.rpmnew
warning: /etc/protocols saved as /etc/protocols.rpmorig
warning: /etc/securetty saved as /etc/securetty.rpmorig
warning: /etc/services saved as /etc/services.rpmorig
warning: /var/log/lastlog created as /var/log/lastlog.rpmnew