Red Hat Bugzilla – Bug 602509
setup upgrade lies
Last modified: 2010-06-10 03:43:37 EDT
Description of problem:
Output from setup-2.8.9-3.fc12@noarch:
warning: /etc/shadow created as /etc/shadow.rpmnew
but, it doesn't. and why would it anyhow?
Version-Release number of selected component (if applicable):
same through two updates now.
Steps to Reproduce:
that it would NOT TOUCH my shadow file!
if it is messing with shadow, and not even doing that properly, how about trashing a system in the process of screwing up? screwing up a file that's that important is pretty scary.
In fact it does, but the shadow.rpmnew is immediately removed in post scriptlet... there is afaik no way how to avoid that message - until an old RFE request - http://www.rpm.org/ticket/6 will be solved.
Previously - /etc/shadow and /etc/gshadow were not created by setup - that was changed in https://bugzilla.redhat.com/show_bug.cgi?id=483251 - in f-11 . As /etc/shadow contains timestamp of its creation and is done on built time based on /etc/passwd, that file always changes. This causes this harmless message warning from RPM (which can't be silenced). Removing of these useless files was requested by https://bugzilla.redhat.com/show_bug.cgi?id=464695 - another point of view when unexperienced user/"admin" just uses these .rpmnew files ... which means real disaster for system. To prevent such things, setup package just remove .rpmnew files in post lua scriptlet...
So it is not messing with YOUR /etc/shadow (it's marked config(noreplace), so no updates changes done on it), it is not even touching it... update is working properly - only /etc/shadow format causes this noise, please ignore it and don't be scared... I'll try to push rpm maintainers to have this rfe ticket closed and to silence this scary message.