Bug 54183 - rc.sysinit attempts to modify /etc/adjtime before root is mounted read-write?
rc.sysinit attempts to modify /etc/adjtime before root is mounted read-write?
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-09-30 23:35 EDT by Jonathan Kamens
Modified: 2014-03-16 22:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-09-30 23:35:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Kamens 2001-09-30 23:35:07 EDT
It appears that /etc/rc.d/rc.sysinit was recently modified to move calls to
hwclock earlier in the file.

In fact, it appears, that these calls now happen before the root filesystem
is checked and remounted read-write.

This is somewhat problematic, given that hwclock attempts to modify files
on the root filesystem (most notably, /etc/adjtime) when it is called with

Now every time I reboot I get hwclock about how it can't modify what it
wants to modify because it's on a read only filesystem.  Alas, I failed to
capture the exact error, but it happens reliably.  I suspect you can
duplicate it by removing /etc/adjtime before rebooting.
Comment 1 Bill Nottingham 2001-09-30 23:48:08 EDT
AFAIK, this was fixed in 6.40-1....

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