[Pkg-sysvinit-devel] Bug#538725: checkroot.sh: fails if root not in fstab
Yair Yarom
irush at cs.huji.ac.il
Wed Aug 5 15:02:40 UTC 2009
Package: initscripts
Version: 2.86.ds1-65
Severity: normal
Hi,
We have here nfsroot, and no "/" entry in /etc/fstab. It seems that
checkroot.sh suppose to support it, i.e. if it doesn't get to a "/" entry, the
rootcheck variable is set to "no" (or, more precisely, remains "no"). However,
in line 208, for some undocumented reason, there is a "rootcheck=yes"
overriding any previous rootcheck=no, causing fsck to run (in our case) as
"fsck -C -a -t none none", which runs reiserfsck, which fails.
Deleting that line seems to solve it for us.
Yair.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30.2nopae-1 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages initscripts depends on:
ii debianutils 3.2 Miscellaneous utilities specific t
ii libc6 2.9-12 GNU C Library: Shared libraries
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii mount 2.15.1~rc1-1 Tools for mounting and manipulatin
ii sysvinit-utils 2.86.ds1-65 System-V-like utilities
Versions of packages initscripts recommends:
ii e2fsprogs 1.41.3-1 ext2/ext3/ext4 file system utiliti
ii psmisc 22.7-1 utilities that use the proc file s
initscripts suggests no packages.
-- no debconf information
-------------- next part --------------
--- checkroot.sh.orig 2009-08-05 17:29:05.000000000 +0300
+++ checkroot.sh 2009-08-05 17:29:16.000000000 +0300
@@ -205,7 +205,6 @@
# rootcheck=no
# fi
# fi
- rootcheck=yes
#
# See if we want to check the root file system.
More information about the Pkg-sysvinit-devel
mailing list