[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAC1kPDOvZnjDR9-FxxObdJJDuZ4p_uP=3hkkCUi+S=p-jYT6fQ@mail.gmail.com>
Date: Sat, 14 Jun 2025 10:29:07 +0800
From: Chen Linxuan <chenlinxuan@...ontech.com>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: Chen Linxuan <chenlinxuan@...ontech.com>, Shuah Khan <shuah@...nel.org>, zhanjun@...ontech.com,
niecheng1@...ontech.com, Shuah Khan <skhan@...uxfoundation.org>,
Amir Goldstein <amir73il@...il.com>, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v3 RESEND] selftests: filesystems: Add functional test for
the abort file in fusectl
On Thu, Jun 12, 2025 at 4:56 PM Miklos Szeredi <miklos@...redi.hu> wrote:
>
> On Tue, 10 Jun 2025 at 04:10, Chen Linxuan <chenlinxuan@...ontech.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 <chenlinxuan@...ontech.com>
> > Acked-by: Shuah Khan <skhan@...uxfoundation.org>
> > Reviewed-by: Amir Goldstein <amir73il@...il.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-chenlinxuan@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
Powered by blists - more mailing lists