Re: external mount utilities and utab

Karel Zak
2013-11-04T10:07:15Z

On Fri, Nov 01, 2013 at 03:21:13PM -0400, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> When mount runs mount.cifs, /run/mount/utab is not updated, so the
> user mount flag is lost and thus, I can't umount as the user. Running
> mount -i works correctly. Is this a bug in mount.cifs, or should
> mount be recording these options whether it runs the external helper
> or not?

This problem is fixed in mount.nfs where we use libmount. The question
is if really need to link all the helpers with libmount. I'll try to
play with that and prepare a solution.