From 941a2a83127f206aa46c0e55cc57eada091c7abe Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 16 Sep 2008 10:23:22 +0200 Subject: https://bugzilla.redhat.com/show_bug.cgi?id=433702 Changes to init scripts to better support stateless: --rc.sysinit-- - don't update mtab in a r/o root - mount on sys and /dev/pts returns EBUSY on a readonly root - [ -n $CLIENTSTATE ] is always returning true, causing an unnecessary timeout --network-- - /etc/mtab may not have any mount information in the readonly-root cause, but the root mount is likely to be a network mount. Without this, nfs hangs the reboot process. --halt-- - don't try and update a read-only mtab --rwtab-- - /var/empty/sshd/etc/localtime needs to be overwritten by sshd at startup - /var/lib/random-seed is written to at shutdown; this fixes the error but doesn't return the functionality lost in a r/o /var/lib. --- rwtab | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rwtab') diff --git a/rwtab b/rwtab index e01e7655..605b2bcd 100644 --- a/rwtab +++ b/rwtab @@ -33,3 +33,5 @@ files /var/lib/iscsi files /var/lib/logrotate.status files /var/lib/ntp files /var/lib/xen +files /var/empty/sshd/etc/localtime +files /var/lib/random-seed -- cgit v1.2.1