Re: Commit *pidfd: prevent creation of pidfds for kthreads* causes `Failed to remount '/' read-only: Device or resource busy`

From: Thorsten Leemhuis
Date: Tue Aug 20 2024 - 01:04:05 EST


On 19.08.24 23:02, Paul Menzel wrote:
> #regzbot introduced: 3b5bbe798b24
>
> Commit 3b5bbe798b24 (pidfd: prevent creation of pidfds for kthreads)
> causes a regression. On the Dell XPS 13 9360 with Debian sid/unstable
> and *systemd* 256.5-1, systemd is not able to unmount the root partition
> (LUKS encrypted) anymore.

Hi Paul! Thx for the report. FWIW, a revert to fix this is already
queued as 780d60bac21ebe ("Revert "pidfd: prevent creation of pidfds for
kthreads"") [next-20240820 (pending-fixes)] after Eric reported similar
problems recently:

https://lore.kernel.org/all/20240819-staudamm-rederei-cb7092f54e76@brauner/

Ciao, Thorsten

#regzbot fix: 780d60bac21ebe