[Pkg-sysvinit-devel] Bug#339351: initscripts: Error at checkroot.sh

Michael Biebl biebl at teco.edu
Thu Nov 17 02:15:31 UTC 2005


The error message comes from checkroot.sh, line 351 where
/etc/init.d/mountvirtfs is sourced. mountvirtfs isn't called with a
start parameter so it actually is mountvirtfs that complains that you
should start it with (start|stop|...). The output is
Usage: /etc/rcS.d/S10checkroot.sh start|stop|restart|reload|force-reload
because in mountvirtfs $0 is replaced with the calling script name.
The old mountvirtfs did not have a a case clause (start|stop|*..), that
is the reason for the appearance of this error now.
As a workaround I would add a "start" after mountvirtfs in checkrootfs,
line 351.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20051117/b5beac54/signature-0001.pgp


More information about the Pkg-sysvinit-devel mailing list