Bug 602509 - setup upgrade lies
setup upgrade lies
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: setup (Show other bugs)
12
All Linux
low Severity high
: ---
: ---
Assigned To: Ondrej Vasik
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-09 22:18 EDT by john bray
Modified: 2010-06-10 03:43 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-10 03:43:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description john bray 2010-06-09 22:18:59 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):
setup-2.8.9-3.fc12

How reproducible:
same through two updates now.

Steps to Reproduce:
1.update
2.
3.
  
Actual results:
above

Expected results:
that it would NOT TOUCH my shadow file!

Additional info:
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.
Comment 1 Ondrej Vasik 2010-06-10 03:43:37 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.