Bug 54183 - rc.sysinit attempts to modify /etc/adjtime before root is mounted read-write?
Summary: rc.sysinit attempts to modify /etc/adjtime before root is mounted read-write?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-01 03:35 UTC by Jonathan Kamens
Modified: 2014-03-17 02:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-10-01 03:35:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2001-10-01 03:35:07 UTC
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
"--adjust".

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-10-01 03:48:08 UTC
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.