Description of problem:
rpm overwrites changed rc.sysinit on update
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum update
2. initscripts is updated
3. check edits made before update, they are now gone
updated rc.sysinit, edits gone
What version are you updating to?
Thanks for your report.
Fedora Bugzappers Team Member
The one mentioned in the version info.
The issue has been present for a while.
Correct. rc.sysinit is not a config file; it's important for consistent booting that the rpm packaged copy be present.
So how do we prevent my changes from over writing?
You shouldn't be editing it directly. What do you need to edit it for?
/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?
Write your own init script for it, have it set a very early priority.