From: Daan De Meyer Date: Sat, 21 Dec 2024 16:01:27 +0000 (+0100) Subject: units: Order systemd-oomd after systemd-sysusers X-Git-Tag: v257.8~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6ca95740d84824cdfbb3eb69198762c4e19e764;p=thirdparty%2Fsystemd.git units: Order systemd-oomd after systemd-sysusers systemd-sysusers might create the systemd-oom system user that systemd-oomd runs under so let's order systemd-oomd after systemd-sysusers. (cherry picked from commit 36dd4296806b5541eb67cd13c535eb0fe3213121) --- diff --git a/units/systemd-oomd.service.in b/units/systemd-oomd.service.in index 670d5e61408..6838ddccef4 100644 --- a/units/systemd-oomd.service.in +++ b/units/systemd-oomd.service.in @@ -20,7 +20,7 @@ ConditionPathExists=/proc/pressure/cpu ConditionPathExists=/proc/pressure/io ConditionPathExists=/proc/pressure/memory Requires=systemd-oomd.socket -After=systemd-oomd.socket +After=systemd-oomd.socket systemd-sysusers.service [Service] AmbientCapabilities=CAP_KILL CAP_DAC_OVERRIDE