From 29257d927d8daef1fb889dee177091cf186aa34b Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 25 Apr 2025 09:36:30 +0200 Subject: [PATCH] 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 --- units/systemd-udevd.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index ef604e9215..7c71243a4a 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