5509c00
From 4564424c0a42f52ca02ef2e50ce4e19da36a7ad4 Mon Sep 17 00:00:00 2001
5509c00
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
5509c00
Date: Sat, 23 Mar 2013 03:54:16 +0100
5509c00
Subject: [PATCH] units/systemd-sysctl.service.in: run after load-modules
5509c00
5509c00
Modules might or will register new sysctl options.
5509c00
5509c00
[zj: This mechanism of adding modules just to reliably set sysctl
5509c00
attributes is not ideal. Nevertheless, sysctl for dynamically created
5509c00
attributes is simply broken, and this is the easiest workaround.]
5509c00
5509c00
https://bugzilla.redhat.com/show_bug.cgi?id=1022977
5509c00
https://bugzilla.novell.com/show_bug.cgi?id=725412
5509c00
(cherry picked from commit 0b73eab7a2185ae0377650e3fdb8208347a8a575)
5509c00
---
5509c00
 units/systemd-sysctl.service.in | 1 +
5509c00
 1 file changed, 1 insertion(+)
5509c00
5509c00
diff --git a/units/systemd-sysctl.service.in b/units/systemd-sysctl.service.in
5509c00
index 5baf22c1..b8e81758 100644
5509c00
--- a/units/systemd-sysctl.service.in
5509c00
+++ b/units/systemd-sysctl.service.in
5509c00
@@ -11,6 +11,7 @@ Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5)
5509c00
 DefaultDependencies=no
5509c00
 Conflicts=shutdown.target
5509c00
 After=systemd-readahead-collect.service systemd-readahead-replay.service
5509c00
+After=systemd-modules-load.service
5509c00
 Before=sysinit.target shutdown.target
5509c00
 ConditionPathIsReadWrite=/proc/sys/
5509c00
 ConditionDirectoryNotEmpty=|/lib/sysctl.d