From: Daan De Meyer Date: Fri, 25 Apr 2025 07:36:30 +0000 (+0200) Subject: udev: Enable delegation without delegating any controllers X-Git-Tag: v258-rc1~722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29257d927d8daef1fb889dee177091cf186aa34b;p=thirdparty%2Fsystemd.git udev: Enable delegation without delegating any controllers 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 --- diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index ef604e92157..7c71243a4a1 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -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