]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: Enable delegation without delegating any controllers
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 25 Apr 2025 07:36:30 +0000 (09:36 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 29 Apr 2025 18:03:34 +0000 (20:03 +0200)
Delegation is enabled for udev so that it can mess around with the
cgroup hierarchy to avoid killing control processes when it calls
cg_kill in on_post() when it goes idle. We don't actually care about
any specific cgroup controllers in udev, so set Delegate= to enable
delegation without delegating any controllers

Follow up for https://github.com/systemd/systemd/pull/22752

units/systemd-udevd.service.in

index ef604e9215707d8155cb3f6b7b826d61f1f33e19..7c71243a4a19728e0fecbceb96f96f4c863538e7 100644 (file)
@@ -26,7 +26,7 @@ Conflicts=soft-reboot.target
 
 [Service]
 CapabilityBoundingSet=~CAP_SYS_TIME CAP_WAKE_ALARM
-Delegate=pids
+Delegate=
 DelegateSubgroup=udev
 Type=notify-reload
 # Note that udev will reset the value internally for its workers