Bugzilla – Bug 737641
systemd: rcnetwork start implies stop
Last modified: 2012-01-06 04:26:21 UTC
Something is not right here.. silver:~ # rcnetwork start / systemctl start network.service redirecting to systemctl Hint: you may set mandatory devices in /etc/sysconfig/network/config Setting up network interfaces: eth0 device: Broadcom Corporation NetXtreme BCM5704 Gigabi eth0 IP address: 134.76.43.9/26 IP address: 2001:638:600:3351::2/64 waiting eth1 device: Broadcom Corporation NetXtreme BCM5704 Gigabi No configuration found for eth1 unused Setting up service network . . . . . . . . . . done silver:~ # Shutting down network interfaces: eth0 device: Broadcom Corporation NetXtreme BCM5704 Gigabi done eth1 device: Broadcom Corporation NetXtreme BCM5704 Gigabi No configuration found for eth1 Nevertheless the interface will be shut down. done Shutting down service network . . . . . . . . . done silver:~ # rpm -q systemd systemd-37-7.1.ppc sysconfig-0.75.4-5.3.ppc Why is it shutting down the service after it was started?
Last change were basically the addition of # X-Systemd-RemainAfterExit: true to /etc/init.d/network and /etc/init.d/network-remotefs. When your scripts don't have add it -- when they have it revert either setting it to "false" or removing them. Does it help?
BTW: See also bug 736059 and bug 732930 and references.
I think this is a duplicate of bug 727771, resolving as such. *** This bug has been marked as a duplicate of bug 727771 ***
The systemd update alone seems to have fixed it. (RemainAfterExit=yes according to sysctl show network.service now.)