[systemd-devel] network vs $network service
Andrey Borzenkov
arvidjaar at mail.ru
Fri Oct 8 11:33:39 PDT 2010
systemd seems to treat $service and service alike. Unfortunately this
conflicts with Mandriva initscripts (or Mandriva initscripts conflict
with systemd usage ...)
Mandriva has /etc/init.d/network that initiates networking start
(basically ifup interfaces) and /etc/init.d/network-up that waits for
configured interfaces to become up; it is latter that provides
$network and requires network (without $).
For systemd this creates a loop:
{pts/0}:~%> systemctl show --property=After network.target
After=network.service network-up.service
{pts/0}:~%> systemctl show --property=After network-up.service
After=portreserve.service network.target ipsec.service fnfx.service
watchdog.service ebtables.service basic.target
As far as I understand, LSB treats foo and $foo as two different
services. Silently treating them as identical is probably wrong?
More information about the systemd-devel
mailing list