Hi,
Thank you for the followup.
As far as I see, this is a mount(8) bug. Canonicalize_mountpoint should be
called before mount(2), not after.
Regards,
Szaka
On Sat, 28 Mar 2009, Pascal Terjan wrote:
> On Sat, Mar 28, 2009 at 7:09 PM, Szabolcs Szakacsits <[email protected]>
> wrote:
> >
> > On Fri, 27 Mar 2009, Szabolcs Szakacsits wrote:
> >>
> >> I forwarded the issue to FUSE development. I'll let you know ASAP when
> >> there is a solution or suggestion where/how the "mount on a symlink with
> >> audit turned on for the /etc directory" scenario could be fixed.
> >
> > Could you please point us to the util-linux-ng source and all the patches
> > the relevant Mandriva version applied, or tell us why /etc/mtab update
> > needs to do a symlink(2) on the mount point?
>
> We use util-linux-ng-2.14.1 + patches on
> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/util-linux-ng/current/SOURCES/
>
> It does not call symlink but readlink
>
> The function canonicalize_mountpoint will end up calling a myrealpath
> function dropping extra /, following symlinks, etc...
>
> http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=blob_plain;f=mount/realpath.c;hb=stable/v2.14
------------------------------------------------------------------------------
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel