1 |
From e10b1c9cc6070f90089686560d9c030c7cff2952 Mon Sep 17 00:00:00 2001 |
2 |
From: Colin Guthrie <colin@mageia.org> |
3 |
Date: Wed, 31 Jul 2013 15:20:24 +0100 |
4 |
Subject: [PATCH] Drop the 'Required-Start/Stop: network' from network-up LSB |
5 |
headers. |
6 |
|
7 |
systemd sometime after 195 changed the behaviour of LSB sysvinit compatibility. |
8 |
Previously a require name of 'network' would be mapped to network.service, but |
9 |
now it will map to 'network.target' due to 'network' being a common name |
10 |
used in initscripts with a special meaning. |
11 |
|
12 |
The initscript has a 'Provides: $network' header which maps to a systemd |
13 |
unit directive of 'Before=network.target', with the Required-Start header |
14 |
it also got a 'After=network.target' which obviously creates an ordering |
15 |
loop. |
16 |
|
17 |
In actual fact we pull in the network.target which in turn pulls in |
18 |
network.service anyway, so there is little harm in dropping this. |
19 |
--- |
20 |
mandriva/network-up | 2 -- |
21 |
1 file changed, 2 deletions(-) |
22 |
|
23 |
diff --git a/mandriva/network-up b/mandriva/network-up |
24 |
index 79f9084..1855141 100755 |
25 |
--- a/mandriva/network-up |
26 |
+++ b/mandriva/network-up |
27 |
@@ -3,8 +3,6 @@ |
28 |
### BEGIN INIT INFO |
29 |
# Provides: $network $named |
30 |
# Should-Start: portreserve NetworkManager |
31 |
-# Required-Start: network |
32 |
-# Required-Stop: network |
33 |
# Default-Start: 2 3 4 5 |
34 |
# Short-Description: Wait for the hotplugged network to be up |
35 |
# Description: Wait for all network interfaces started asynchronously |
36 |
-- |
37 |
1.8.3.4 |
38 |
|