[Pkg-sysvinit-devel] Bug#391122: bug fix
captp bdcht
bdcht3 at gmail.com
Fri Oct 6 08:12:46 UTC 2006
Hi,
the reason of this "bug" is that mtab.sh finally adds
everything found in /proc/mounts into /etc/mtab :
including /dev/.static/* which has 700 perms.
I have added those 3 lines in my mtab.sh :
# Add everything else in /proc/mounts into /etc/mtab, with
# special exceptions.
exec 9<&0 0</proc/mounts
while read FDEV FDIR FTYPE FOPTS REST
do
case "$FDIR" in
/lib/modules/*/volatile)
FDEV="lrm"
;;
-> /dev/\.static*)
-> continue
-> ;;
esac
domtab "$FTYPE" "$FDIR" "$FDEV" "-o$FOPTS"
done
exec 0<&9 9<&-
and it works fine now.
Regards,
--
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20061006/b3a4b8ab/attachment.html
More information about the Pkg-sysvinit-devel
mailing list