[Bug 763533] New: running ifrenew breaks network configuration
https://bugzilla.novell.com/show_bug.cgi?id=763533 https://bugzilla.novell.com/show_bug.cgi?id=763533#c0 Summary: running ifrenew breaks network configuration Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Network AssignedTo: mt@suse.com ReportedBy: cthiel@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=491988) --> (http://bugzilla.novell.com/attachment.cgi?id=491988) output from ifrenew (with "set -x" set in ifup) On a minimal installation of openSUSE 12.1, with dhcp network configured via ifup, running # ifrenew eth0 will not yield the expected result, but kill the network compeltely. -- 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=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c2
--- Comment #2 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c3
--- Comment #3 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c5
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c7
--- Comment #7 from Marius Tomaschewski
hmm, with X-Systemd-RemainAfterExit: true in /etc/init.d/network, network service shouldn't go down when its cgroups become empty..
But it definitively happens. Just kill the dhcp client (from outside) and start it manually again and you'll see that systemd noticed this (somehow) and calls a "stop" for the service: root@xanthos:~ # 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, 23 May 2012 16:21:30 +0200; 1min 12s ago Process: 29224 ExecStop=/etc/init.d/network stop (code=exited, status=0/SUCCESS) Process: 30630 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service └ 330 /sbin/dhcpcd --netconfig -L -E -c /etc/sysconfig/network/scr... root@xanthos:~ # ps axwww | grep dhcpcd | grep -v grep 330 ? Ss 0:00 /sbin/dhcpcd --netconfig -L -E -c /etc/sysconfig/network/scripts/dhcpcd-hook -t 0 -h xanthos eth0 root@xanthos:~ # logger =================================================== root@xanthos:~ # kill -TERM 330 root@xanthos:~ # rcnetwork status redirecting to systemctl network.service - LSB: Configure the localfs depending network interfaces Loaded: loaded (/etc/init.d/network) Active: deactivating (stop) since Wed, 23 May 2012 16:23:07 +0200; 2s ago Process: 30630 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) Control: 1342 (network) CGroup: name=systemd:/system/network.service ├ 1342 /bin/bash /etc/init.d/network stop ├ 2447 /bin/bash /sbin/ifdown eth0 -o rc onboot ├ 2516 /bin/bash /sbin/ifdown-dhcp eth0 eth0 -o rc onboot ├ 2522 /bin/bash /sbin/ifdown-dhcp eth0 eth0 -o rc onboot └ 2531 usleep 100000 root@xanthos:~ # rcnetwork status redirecting to systemctl network.service - LSB: Configure the localfs depending network interfaces Loaded: loaded (/etc/init.d/network) Active: inactive (dead) since Wed, 23 May 2012 16:23:11 +0200; 10s ago Process: 1342 ExecStop=/etc/init.d/network stop (code=exited, status=0/SUCCESS) Process: 30630 ExecStart=/etc/init.d/network start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/network.service -- 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=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c8
--- Comment #8 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c9
Marius Tomaschewski
But the above comment does not mean, that we can fix renew for dhcpcd. ^^^ can't
Christian, just install the attached test script to /sbin/ifup-dhcp and execute ifrenew. Does it work for you? -- 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=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c10
--- Comment #10 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c11
--- Comment #11 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c12
--- Comment #12 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c13
--- Comment #13 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c14
--- Comment #14 from Frederic Crozat
The X-Systemd-RemainAfterExit issue should probably get tracked in a different bug, right?
well, it is the root cause of this issue (not working properly) -- 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=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c15
--- Comment #15 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c16
--- Comment #16 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c17
--- Comment #17 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c18
--- Comment #18 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c19
--- Comment #19 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c20
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c25
--- Comment #25 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c31
--- Comment #31 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c33
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c34
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=763533
https://bugzilla.novell.com/show_bug.cgi?id=763533#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com