[Bug 732930] New: Systemd says network failed to start - which is false.
https://bugzilla.novell.com/show_bug.cgi?id=732930 https://bugzilla.novell.com/show_bug.cgi?id=732930#c0 Summary: Systemd says network failed to start - which is false. Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: VMWare OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- Note: Component of Bug is "Systemd", but there is no entry for it. Systemd says network failed to start - which is false, network is working fine - unless I'm reading it wrong. Elanor:~ # systemctl UNIT LOAD ACTIVE SUB JOB DESCRIPTION network.service loaded failed failed LSB: Configure the localfs depending network interfaces NetworkManager.service loaded failed failed Network Manager Host: 11.4 Guest: 12.1 RC2 Environ: VMWare player. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c1
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c2
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c3
--- Comment #3 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c4
--- Comment #4 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c5
--- Comment #5 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c7
--- Comment #7 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c9
--- Comment #9 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c10
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c11
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c12
--- Comment #12 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c13
Carlos Robinson
A "rm -f /etc/sysconfig/network/if-up.d/21*" should solve the problem as workaround.
Does it?
Yep. Well, I moved them :-) Elanor:~ # rcnetwork status redirecting to systemctl network.service - LSB: Configure the localfs depending network interfaces Loaded: loaded (/etc/init.d/network) Active: active (running) since Wed, 21 Dec 2011 21:11:51 +0100; 2min 57s ago Process: 853 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service ├ 1248 /sbin/dhclient6 -6 -cf /var/lib/dhcp6/dhclient6.eth0.conf -lf /var/lib/dhcp6/dhclient6.eth0.lease -pf /var/run/dhclient6.eth0.pid -q eth0 └ 1790 /sbin/dhcpcd --netconfig -L -E -c /etc/sysconfig/network/scripts/dhcpcd-hook -t 0 -h Elanor eth0 Elanor:~ #
Please attach also the output of "ps axwwwf" when possible to catch the moment where rcnetwork is still waiting (executes ifstatus again and again).
This I don't know how to do it. I do not have access till I can log in, directly or via ssh, and by that time I guess it is too late. The code should have to be inserted in a service script, and that is something I do not know how to with systemd. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c14
--- Comment #14 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c15
--- Comment #15 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c16
--- Comment #16 from Carlos Robinson
Try to set DEBUG=EXTRA in /etc/sysconfig/network/config -- this will produce a lot of "bash -x" traces in /dev/.sysconfig. Please attach a tar of this directory.
Done.
Except of the nmb reload, it could be also the ntp that needs a lot of time, at least while restart.
Ntp is not enabled. Machine is a virtual guest in vmware player, used for testing purposes. It is easier to tell the guest tools to sync time with host. Elanor:~ # rcntp status redirecting to systemctl ntp.service - LSB: Network time protocol daemon (ntpd) Loaded: loaded (/etc/init.d/ntp) Active: inactive (dead) CGroup: name=systemd:/system/ntp.service Elanor:~ # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c17
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c18
--- Comment #18 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c19
--- Comment #19 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c20
--- Comment #20 from Bernhard Wiedemann
See also bug 727771 and bug 732910 -- the systemd update has been released and is available already. sysconfig and dhcp-client test packages are at:
http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/ope...
I installed sysconfig and dhcp-client from this repo and all other updates, but after reboot, there was still # rcnetwork status redirecting to systemctl network.service - LSB: Configure the localfs depending network interfaces Loaded: loaded (/etc/init.d/network) Active: failed since Wed, 04 Jan 2012 12:11:10 -0500; 53s ago Process: 643 ExecStart=/etc/init.d/network start (code=exited, status=7/NOTRUNNING) CGroup: name=systemd:/system/network.service ├ 1191 /sbin/dhclient6 -6 -cf /var/lib/dhcp6/dhclient6.eth0.conf -lf /var/lib/dhcp6/d... └ 4406 /sbin/dhcpcd --netconfig -L -E -HHH -c /etc/sysconfig/network/scripts/dhcpcd-h... which goes away when I deactivate line 200 of /etc/sysconfig/network/if-up.d/21-dhcpcd-hook-samba -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732930
https://bugzilla.novell.com/show_bug.cgi?id=732930#c21
Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com