On Thu, Jun 12, 2025 at 4:56 PM Miklos Szeredi <mik...@szeredi.hu> wrote: > > On Tue, 10 Jun 2025 at 04:10, Chen Linxuan <chenlinx...@uniontech.com> wrote: > > > > This patch add a simple functional test for the "abort" file > > in fusectlfs (/sys/fs/fuse/connections/ID/about). > > > > A simple fuse daemon is added for testing. > > > > Related discussion can be found in the link below. > > > > Link: > > https://lore.kernel.org/all/CAOQ4uxjKFXOKQxPpxtS6G_nR0tpw95w0GiO68UcWg_OBhmSY=q...@mail.gmail.com/ > > Signed-off-by: Chen Linxuan <chenlinx...@uniontech.com> > > Acked-by: Shuah Khan <sk...@linuxfoundation.org> > > Reviewed-by: Amir Goldstein <amir7...@gmail.com> > > Thanks. > > I suggest setting up a userns environment, see attached patch (also > fixes a EBUSY on umount/rmdir).
The v4 patch series has been sent with your suggested changes applied: https://lore.kernel.org/all/20250612094033.2538122-2-chenlinx...@uniontech.com/ However, I have some concerns about creating a user namespace. Some downstream distributions (such as Ubuntu?) may disable unprivileged user namespaces by default. If we create the user namespace before mounting FUSE, these tests would require privileges. > > Thanks, > Miklos