[Pkg-sysvinit-devel] Bug#724959: mount of rootfs fails
David Burgess
dburgess at spinifex.com.au
Mon Sep 30 00:48:24 UTC 2013
Package: initscripts
Version: 2.88dsf-43
/lib/init/mount-functions.sh does not handle quoted LABEL= or UUID=
names in fstab. mount -a (and findfs) works with quoted names in fstab.
Debian no longer supports the /dev/root symlink which forces users to
use an fstab with either LABEL= or UUID=.
Attached is a patch to correct the problem. The script is made
consistent with the behaviour of mount.
--
David Burgess
<DBurgess at spinifex.com.au>
-------------- next part --------------
--- usb/lib/init/mount-functions.sh 2013-07-15 06:57:26.000000000 +1000
+++ /lib/init/mount-functions.sh 2013-09-30 10:12:45.288456118 +1000
@@ -61,7 +61,7 @@
LABEL=*|UUID=*)
if [ "$MTPT" = "/" ] && [ -x /sbin/findfs ]
then
- DEV="$(findfs "$DEV")"
+ DEV="$(eval findfs "$DEV")"
fi
;;
/*)
More information about the Pkg-sysvinit-devel
mailing list