[Pkg-sysvinit-devel] Bug#492176: initscripts: umountfs must not umount fuse file-systems with -f

Bernd Schubert bs at q-leap.de
Thu Jul 24 10:13:00 UTC 2008


Package: initscripts
Version: 2.86.ds1-60
Severity: important


In /etc/init.d/umountfs all filesystems except tmpfs are umounted with the
force "-f" flag. While I already think it is a bad idea to use the
special force flag for everything, it causes real trouble with
fuse-filesystems. For fuse-filesystems the force flag will close the /dev/fuse
connection and thus the filesystem will abort. If there are still open
filedescriptors on the mount point, all further access to these mount points
will return "Transport endpoint is not connected" (errno 108).

I also think this should be fixed in fuse, however, the author of fuse thinks
the present behaviour is correct and so there is presently no way to fix it
at kernel level. Please see this thread:
http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/6579/focus=6592

So there are two options:

1) Entirely remove the force flag. Probably too late for Lenny.

2) Make exeptions for fuse filesystems.


I also believe Miklos is right, simply umounting everything is wrong.
Umounting /bin, /sbin/, /lib, etc. shouldn't be done at all.
IMHO this also should be fixed in Lenny+1.


Thanks,
Bernd





More information about the Pkg-sysvinit-devel mailing list