[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653630: /sbin/mount.nfs: Re: nfs-common: Only root can unmount, nautilus badly confused

I've tried:

- /run/mount/utab is empty even when my NFS share is mounted by user.
- corresponding entry in /etc/mtab is "liveserv:/mnt/library/ /mnt/library nfs rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=,mountvers=3,mountport=46570,mountproto=udp,local_lock=none,addr= 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?


Reply to: