Re: [EXTERNAL] Re: Git clone fails in p9 file system marked with FANOTIFY

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

 



On Wed, Sep 25, 2024 at 4:04 PM Krishna Vivek Vitta
<kvitta@xxxxxxxxxxxxx> wrote:
>
> Hi Amir, Jan Kara
>
> Thanks for the responses so far. Appreciated.
>
> I have taken step back, started afresh and performed another trial using the fanotify example program in another WSL2 setup.
>
> 1.) Uninstalled MDE software in WSL where FANOTIFY was initialized and that marks the mount point using mask: FAN_CLOSE_WRITE only. Ensured no pieces of monitoring software is present
> 2.) Ran the fanotify example program(without any changes) on p9 mount point and performed git clone on another session. Git clone was successful. This program was using mask FAN_OPEN_PERM and FAN_CLOSE_WRITE.
> 3.) Modified the fanotify example program to mark the mount point using mask FAN_CLOSE_WRITE only. Ran the git clone. The operation fails.

I ran the rename_try reproducer only with FAN_CLOSE_WRITE events watched
and could not reproduce.

>
> Is it something to do with mask ?
>
> I didn't get a chance to run on standard linux kernel. Can you share the commands to do so of mounting 9p on standard linux
>

You'd need some 9p server.
I am using the 9p mount in the kvm test box that you can download from:

https://github.com/tytso/xfstests-bld/blob/master/Documentation/kvm-quickstart.md

Thanks,
Amir.





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux