Bug 602509 - setup upgrade lies
Summary: setup upgrade lies
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-10 02:18 UTC by john bray
Modified: 2010-06-10 07:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-06-10 07:43:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description john bray 2010-06-10 02:18:59 UTC
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 07:43:37 UTC
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.