Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 600436 - rpm overwrites changed rc.sysinit on update
rpm overwrites changed rc.sysinit on update
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
12
All Linux
low Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Fedora Extras Quality Assurance
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-04 13:27 EDT by udo
Modified: 2014-03-16 23:23 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-04 14:29:13 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 udo 2010-06-04 13:27:31 EDT
Description of problem:
rpm overwrites changed rc.sysinit on update

Version-Release number of selected component (if applicable):
initscripts-9.02.2-1.i686

How reproducible:
update initscripts-9.02.2-1.i686

Steps to Reproduce:
1. yum update
2. initscripts is updated
3. check edits made before update, they are now gone
  
Actual results:
updated rc.sysinit, edits gone

Expected results:
rc.sysinit.rpmsave created

Additional info:
Comment 1 iarly selbir 2010-06-04 13:53:58 EDT
What version are you updating to?

Thanks for your report.

--
Fedora Bugzappers Team Member
Comment 2 udo 2010-06-04 14:07:21 EDT
The one mentioned in the version info.
The issue has been present for a while.
Comment 3 Bill Nottingham 2010-06-04 14:29:13 EDT
Correct. rc.sysinit is not a config file; it's important for consistent booting that the rpm packaged copy be present.
Comment 4 udo 2010-06-04 14:33:33 EDT
So how do we prevent my changes from over writing?
Comment 5 Bill Nottingham 2010-06-04 14:38:36 EDT
You shouldn't be editing it directly. What do you need to edit it for?
Comment 6 udo 2010-06-04 14:59:21 EDT
/sbin/service uptimed createbootid

at the bottom.

What else would be a suitable place to create the bootid soon in the boot process, but without overwrite risk?
Comment 7 Bill Nottingham 2010-06-04 15:05:14 EDT
Write your own init script for it, have it set a very early priority.

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