30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
Based on 0b73eab7a2185ae0377650e3fdb8208347a8a575 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
|
|
Date: Sat, 23 Mar 2013 03:54:16 +0100
|
|
Subject: [PATCH] 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
|
|
---
|
|
units/systemd-sysctl.service.in | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git units/systemd-sysctl.service.in units/systemd-sysctl.service.in
|
|
index 5c7c5d7..ade9dc3 100644
|
|
--- units/systemd-sysctl.service.in
|
|
+++ units/systemd-sysctl.service.in
|
|
@@ -11,6 +11,7 @@ Documentation=man:systemd-sysctl.service
|
|
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
|