diff options
author | Cristian Rodríguez <crrodriguez@opensuse.org> | 2013-03-23 03:54:16 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-19 17:24:12 -0400 |
commit | 78b929e277a801fe49e35a5adff4e3b6d2ecaa10 (patch) | |
tree | 58ab8df13741e4f2ee3b4bec90d6bdcdf4c3312f /units | |
parent | 722b7000a9973c9f3460fd5c41dfd613041a0976 (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
(cherry picked from commit 0b73eab7a2185ae0377650e3fdb8208347a8a575)
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-sysctl.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in index 5baf22c18..b8e817580 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/ ConditionDirectoryNotEmpty=|/lib/sysctl.d |