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