diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-16 20:46:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-17 20:24:38 +0900 |
commit | a1f4fd387603673a79a84ca4e5ce25b439b85fe6 (patch) | |
tree | 3a8ab14b4055ff199ee06b51d6d667f52453d095 /units | |
parent | 42670846427c3e00288c1e14afb305965234e51f (diff) | |
download | systemd-a1f4fd387603673a79a84ca4e5ce25b439b85fe6.tar.gz |
udev: run the main process, workers, and spawned commands in /udev subcgroup
And enable cgroup delegation for udevd.
Then, processes invoked through ExecReload= are assigned .control
subcgroup, and they are not killed by cg_kill().
Fixes #16867 and #22686.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-udevd.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index d042bfb0d3..9901198274 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -16,6 +16,7 @@ Before=sysinit.target ConditionPathIsReadWrite=/sys [Service] +Delegate=pids DeviceAllow=block-* rwm DeviceAllow=char-* rwm Type=notify |