[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

On Sun, Jan 22, 2012 at 10:42:58PM +0100, Luk Claes wrote:
> On 01/22/2012 09:32 PM, Pavel Yakunin wrote:
> > 
> > 
> >>
> >> Pavel: Can you have a look if the new version from unstable fixes your
> >> problem (this bug)?
> > Luk, did you push the new version in the sid repo? (or maybe I should
> > wait for a while? I used us.debian.org mirror). Apt tell me that nothing
> Yes, version 1:1.2.5-4. It was probably not pushed to the mirrors yet.
> Can you test if it fixes the bug, thanks already?

I'm not sure that it is, at least for me:

% cat /etc/exports | grep '^[^#]'
/home localhost(rw,sync,fsid=0,no_subtree_check)
% grep nfs /etc/fstab
localhost:/ /mnt nfs4 user,noauto 0 0
% mount /mnt
% mount | grep nfs
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
localhost:/ on /mnt type nfs4 (rw,nosuid,nodev,noexec,relatime,vers=4,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp6,timeo=600,retrans=2,sec=sys,clientaddr=::1,minorversion=0,local_lock=none,addr=::1,user=rleigh)
% cat /run/mount/utab
SRC=localhost:/ TARGET=/mnt ROOT=/ ATTRS=addr=::1,clientaddr=::1 OPTS=user=rleigh
% umount /mnt
umount.nfs4: /mnt: not found
umount.nfs4: /mnt: not found
% sudo umount /mnt

I'm permitted to mount, but not umount, the /mnt mount.  Not yet
found where the error lies, but the information to permit the
umount is certainly present.

Hope the above contains sufficient info to reproduce.


  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Reply to: