diff options
author | Colin Guthrie <colin@mageia.org> | 2013-07-31 15:20:24 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-07-31 21:39:59 +0100 |
commit | 30994f156664e8d57de475d533a9214eb4683bae (patch) | |
tree | 0815fd6f6d32d009fdb62055d06b42b909f198bf | |
parent | b5546e711fd7b59f2169c1045290e4bab6df4d02 (diff) | |
download | initscripts-30994f156664e8d57de475d533a9214eb4683bae.tar initscripts-30994f156664e8d57de475d533a9214eb4683bae.tar.gz initscripts-30994f156664e8d57de475d533a9214eb4683bae.tar.bz2 initscripts-30994f156664e8d57de475d533a9214eb4683bae.tar.xz initscripts-30994f156664e8d57de475d533a9214eb4683bae.zip |
Drop the 'Required-Start/Stop: network' from network-up LSB headers.
systemd sometime after 195 changed the behaviour of LSB sysvinit compatibility.
Previously a require name of 'network' would be mapped to network.service, but
now it will map to 'network.target' due to 'network' being a common name
used in initscripts with a special meaning.
The initscript has a 'Provides: $network' header which maps to a systemd
unit directive of 'Before=network.target', with the Required-Start header
it also got a 'After=network.target' which obviously creates an ordering
loop.
In actual fact we pull in the network.target which in turn pulls in
network.service anyway, so there is little harm in dropping this.
-rwxr-xr-x | mandriva/network-up | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mandriva/network-up b/mandriva/network-up index 79f9084d..18551414 100755 --- a/mandriva/network-up +++ b/mandriva/network-up @@ -3,8 +3,6 @@ ### BEGIN INIT INFO # Provides: $network $named # Should-Start: portreserve NetworkManager -# Required-Start: network -# Required-Stop: network # Default-Start: 2 3 4 5 # Short-Description: Wait for the hotplugged network to be up # Description: Wait for all network interfaces started asynchronously |