summaryrefslogtreecommitdiff
path: root/units/systemd-sysctl.service.in
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2013-03-23 03:54:16 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-06-19 20:21:24 -0400
commit0b73eab7a2185ae0377650e3fdb8208347a8a575 (patch)
tree72f98371665a28bfaa2d3d7b913e0698b477e27a /units/systemd-sysctl.service.in
parentdede0e335d1bf901b6ebfd774fab28928501e2fb (diff)
units/systemd-sysctl.service.in: run after load-modules
Modules might or will register new sysctl options. [zj: This mechanism of adding modules just to reliably set sysctl attributes is not ideal. Nevertheless, sysctl for dynamically created attributes is simply broken, and this is the easiest workaround.] https://bugzilla.redhat.com/show_bug.cgi?id=1022977 https://bugzilla.novell.com/show_bug.cgi?id=725412
Diffstat (limited to 'units/systemd-sysctl.service.in')
-rw-r--r--units/systemd-sysctl.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in
index 5c7c5d723e..ade9dc3007 100644
--- a/units/systemd-sysctl.service.in
+++ b/units/systemd-sysctl.service.in
@@ -11,6 +11,7 @@ Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
+After=systemd-modules-load.service
Before=sysinit.target shutdown.target
ConditionPathIsReadWrite=/proc/sys/