[Bug 690859] New: DHCPv6 client performs ifdown/ifup at each lease renewal
https://bugzilla.novell.com/show_bug.cgi?id=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c0 Summary: DHCPv6 client performs ifdown/ifup at each lease renewal Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bugster.oz@bluegum.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 When the ISC DHCP6 client renews a lease, a typo in /sbin/dhclient-script causes the script to think it has a new IPv6 address. The line in error is 583 in the script current as of 29 Apr 2011. It SHOULD BE: if [ x$old_ip6_address != x -a x$old_ip6_address != x$new_ip6_address ]; The $new_ip6_address is missing the 6, that is it is just $new_ip_address, which of course never matches the existing address. The same bug is in the file for openSUSE 11.3 too. Reproducible: Always Steps to Reproduce: 1. Use system with IPv6 and DHCP 2. Look in /var/log/messages for regular ifdown followed by ifup messages 3. Actual Results: Shown in Additional Information below Expected Results: None of what's in Additional Information Apr 29 13:09:27 forty dhclient: PRC: Renewing lease on eth0. Apr 29 13:09:27 forty dhclient: XMT: Renew on eth0, interval 9970ms. Apr 29 13:09:27 forty dhclient: RCV: Reply message on eth0 from fe80::21b:21ff:fe89:7ad1. Apr 29 13:09:28 forty ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) Apr 29 13:09:28 forty ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) Apr 29 13:18:03 forty dhcpcd[2211]: eth0: renewing lease of 192.168.9.32 Apr 29 13:18:04 forty dhcpcd[2211]: eth0: leased 192.168.9.32 for 3600 seconds Apr 29 13:18:04 forty dhcpcd[2211]: eth0: no renewal time supplied, assuming 1800 seconds Apr 29 13:18:04 forty dhcpcd[2211]: eth0: no rebind time supplied, assuming 3150 seconds Apr 29 13:18:04 forty dhcpcd[2211]: eth0: adding IP address 192.168.9.32/24 Apr 29 13:18:04 forty dhcpcd[2211]: eth0: adding default route via 192.168.9.1 metric 0 Apr 29 13:18:04 forty sntp[9366]: Started sntp -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |mt@novell.com |ovo.novell.com | -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c1 --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2011-05-03 12:50:50 UTC --- Thanks for the report! Yes, it causes useless call of the pre down (ifdown $IFNAME -o dhcp) scripts. I've fixed it in $OBS/network:dhcp/dhcp package and in 11.3/4 branches; test RPMs will be available at: http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/ope... or in http://download.opensuse.org/repositories/network:/dhcp/openSUSE_11.4/ -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c2 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2011-05-03 12:55:34 UTC --- Mr Maintenance, it will go from network:dhcp to factory soon; should we pickup this fix in the next update on 11.3/11.4? Index: dhclient-script =================================================================== --- dhclient-script (revision 66) +++ dhclient-script (revision 67) @@ -580,7 +580,7 @@ fi netconfig_modify - if [ x$old_ip6_address != x -a x$old_ip6_address != x$new_ip_address ]; + if [ x$old_ip6_address != x -a x$old_ip6_address != x$new_ip6_address ]; then if is_ifup_controlled ; then /sbin/ifdown $interface -o dhcp -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c3 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #3 from Marcus Meissner <meissner@novell.com> 2011-05-03 14:02:17 UTC --- only for the next updsate, this alone does not really warrant one. +1 -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c4 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdengler@novell.com --- Comment #4 from Christian Dengler <cdengler@novell.com> 2011-05-03 14:29:30 UTC --- +1, Be so kind and include it into the next update. But no update for only this issue at the moment. -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c7 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Marius Tomaschewski <mt@novell.com> 2011-05-03 15:35:44 UTC --- (In reply to comment #4) OK, submitted to pickup in next update on 11.3/11.4 + factory: Request #69449: -> openSUSE:11.3:Update:Test Request #69450: -> openSUSE:11.4:Update:Test Request #69451: -> openSUSE:Factory/dhcp -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-05-03 18:00:11 CEST --- This is an autogenerated message for OBS integration: This bug (690859) was mentioned in https://build.opensuse.org/request/show/69449 11.3 / dhcp https://build.opensuse.org/request/show/69450 11.4 / dhcp https://build.opensuse.org/request/show/69451 Factory / dhcp -- 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=690859 https://bugzilla.novell.com/show_bug.cgi?id=690859#c9 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.3:40902 | |maint:released:11.4:40902 --- Comment #9 from Swamp Workflow Management <swamp@suse.com> 2011-06-07 22:22:39 UTC --- Update released for: dhcp, dhcp-client, dhcp-client-debuginfo, dhcp-debuginfo, dhcp-debugsource, dhcp-devel, dhcp-doc, dhcp-relay, dhcp-relay-debuginfo, dhcp-server, dhcp-server-debuginfo Products: openSUSE 11.3 (debug, i586, x86_64) openSUSE 11.4 (debug, i586, x86_64) -- 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.
participants (1)
-
bugzilla_noreply@novell.com