Bug#918764: udev: "udevadm control --reload-rules" kills all processes except init
batchman at free.fr
Sun Feb 3 19:19:21 GMT 2019
On 03/02/2019 13:32, Axel Beckert wrote:
> Hi Nicolas!
> Nicolas Cavallari wrote:
>> I do not have cgroupsfs-mount installed, but i have elogind.
> Interesting. I have elogind installed, too, and I also have that
> mountpoint at /sys/fs/cgroup/elogind, but nevertheless, uninstalling
> cgroupfs-mount sufficed for me. IIRC I didn't do a reboot since then,
I forgot another important piece of information (because i
lost the original response while trying to reproduce the bug):
udev is started in rcS.d, way before elogind, which is in rc2.d.
The result is that, at boot, udev clearly logs that it does
not detect cgroups, so it will not make its sigkilling spree.
But after elogind is started, the cgroups are created.
udev really needs to be restarted after that point to
have it detect the cgroups and trigger the bug.
That, and udev must detect that its parent pid is 1, which
can happen quickly when launched by start-stop-daemon --background.
More information about the Pkg-systemd-maintainers