[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 12:34:39PM +0000, Roger Leigh wrote:
> On Sun, Jan 22, 2012 at 12:55:45PM +0100, Michael Biebl wrote:
> > On 22.01.2012 12:30, Luk Claes wrote:
> > >> -- /etc/fstab --
> > >> liveserv:/mnt/library    /mnt/library           nfs     noauto,user           0 0 
> > >> -- /proc/mounts --
> > >> 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
> > 
> > I am missing a bit of context here. Is the problem related to the "user"
> > option or regarding a trailing "/"?
> > 
> > wrt /etc/mtab being a symlink to /proc/mounts: I assume mount.nfs is
> > built against libmount, seeing [1] as fixed? Do you get a file
> > /run/mount/utab when the nfs share is mounted? What does it contain?
> I'm afraid I can't help with the specifics immediately (I'll need
> to set up some NFS mounts), but some general comments about the
> recent changes:
> - 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.

A quick test with NFS4 showed that /run/mount/utab does not contain
anything, and additionally it looks like mount.nfs4 is /not/ linked
against libmount, which I thought (perhaps mistakenly, unless it's
a regression) was now using libmount.

NFS certainly does support libmount, it's right there in the
configure script.  Looks like it just needs adding to the Build-Deps
and enabling in debian/rules by configuring with
--enable-libmount-mount.  I would highly recommend that the nfs-common
enable this as soon as possible!


  .''`.  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: