Bug#653630: /sbin/mount.nfs: Re: nfs-common: Only root can unmount, nautilus badly confused
- /run/mount/utab is empty even when my NFS share is mounted by user.
- corresponding entry in /etc/mtab is "liveserv:/mnt/library/
0 0" and it's indifferent to the trailing slash in /etc/fstab. But if
there is no trailing slash in the fstab, another error message accurs
"umount: /mnt/library mount disagrees with the fstab" (in this case
fstab and mtab entries are different).
- if you mount a filesystem with the "user" option, the user who
mounted it will be written to /run/mount/utab. While I've not
tested this for NFS, it's certainly the case for all other mounts.
- when umounting a filesystem, the content of /etc/fstab should be
irrelevant. The information needed is in /etc/mtab (/proc/mounts)
and /run/mount/utab. If the NFS mount helpers are using fstab
during umount, I think that's a separate bug in its own right.
- the trailing / may be an issue. Does the entry (if any) in
/run/mount/utab match this? Does adding a trailing / to the
umount command affect things?