Menu

#112 mount.crypt: adding helper= to fstab renders filesystems umountable

pam_mount
open
nobody
None
5
2014-03-31
2014-03-31
Raphaël
No

adding a helper=crypt to fstab will make umount impossible:
1) umount calls umount.crypt with a -t parameter which make umount fails
but /run/cmtab seems updated anyway (the entry disappears)
thus subsequent:
2) umount.crypt will throw "No vfsmount found while searching... /run/cmtab"
Since the filesystem can't be remounted a second time ("File exists"), the filesystem is rendered absolutely un-umountable.

Resolution: umount.crypt must support the -t flag as any umount.<helper> must do.

Discussion


Log in to post a comment.