NACK: [SRU][J][PATCH 1/2] UBUNTU: SAUCE: shiftfs: always rely on init_user_ns
Andrea Righi
andrea.righi at canonical.com
Tue Jan 31 17:40:01 UTC 2023
On Tue, Jan 31, 2023 at 06:31:45PM +0100, Alexander Mikhalitsyn wrote:
> From: Andrea Righi <andrea.righi at canonical.com>
>
> With the porting of shiftfs from 5.15 to 5.17 some filesystem-related
> functions are now passing struct user_namespace as argument, however
> shiftfs logic is still relying on the fact that these functions need to
> use the main filesystem namespace.
>
> Make sure to always use init_user_ns to prevent breakage of system
> components that rely on shiftfs.
>
> Without this fix lxd was showing some issues, like failing to create any
> file inside a container when shiftfs was used (e.g., using zfs as
> storage pool).
>
> Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
NACK-ing this thread, because there's a v2.
-Andrea
More information about the kernel-team
mailing list