[Bug 3019] udhcpc fails to renew lease on SIGUSR1

bugzilla at busybox.net bugzilla at busybox.net
Wed Dec 29 21:39:28 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=3019

--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com>  ---
with v1.18.0, I am getting this:

Have a lease, sitting idly:

2010-12-29_16:09:11.05116 Entering listen mode: none
2010-12-29_16:09:11.05377 Waiting on select...

got USR2:

2010-12-29_21:02:58.60089 Waiting on select...
2010-12-29_21:02:58.60097 Unicasting a release of 10.0.0.1 to 10.0.0.138
2010-12-29_21:02:58.60098 Adding option: 0x35 07
2010-12-29_21:02:58.60099 Adding option: 0x36 0a00008a
2010-12-29_21:02:58.60100 Sending release...
2010-12-29_21:02:58.60100  hlen 6 xid 633acdff ciaddr 100000a yiaddr 0 siaddr 0
giaddr 0
2010-12-29_21:02:58.60101  chaddr 001d7dc2ec7000000000000000000000
2010-12-29_21:02:58.60102 Executing /.local/var/service/dhcp_if/dhcp_handler
deconfig
2010-12-29_21:02:58.62700  interface=if
2010-12-29_21:02:58.62702 Entering released state
2010-12-29_21:02:58.62703 Entering listen mode: none
2010-12-29_21:02:58.62704 Waiting on select...

Got USR1:

2010-12-29_21:03:05.58054 Waiting on select...
2010-12-29_21:03:05.58057 Performing a DHCP renew
2010-12-29_21:03:05.58058 Entering listen mode: raw
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^your log doesn't have this
2010-12-29_21:03:05.58059 Opening raw socket on ifindex 2
2010-12-29_21:03:05.58060 Got raw socket fd 5
2010-12-29_21:03:05.58061 Attached filter to raw socket fd 5
2010-12-29_21:03:05.58331 Created raw socket
2010-12-29_21:03:05.58334 Adapter index 2
2010-12-29_21:03:05.58335 MAC 00:1d:7d:c2:ec:70
2010-12-29_21:03:05.58336 Adding option: 0x35 01
2010-12-29_21:03:05.58337 Adding option: 0x32 0a000001
2010-12-29_21:03:05.58338 Adding option: 0x39 0240
2010-12-29_21:03:05.58339 Adding option: 0x0c 7a6f72726f
2010-12-29_21:03:05.58340 Sending discover...
2010-12-29_21:03:05.58728  hlen 6 xid 187dc0e1 ciaddr 0 yiaddr 0 siaddr 0
giaddr 0
2010-12-29_21:03:05.58731  chaddr 001d7dc2ec7000000000000000000000
2010-12-29_21:03:05.58927 Waiting on select...
2010-12-29_21:03:08.59232 Adapter index 2
2010-12-29_21:03:08.59236 MAC 00:1d:7d:c2:ec:70
2010-12-29_21:03:08.59236 Adding option: 0x35 01
2010-12-29_21:03:08.59237 Adding option: 0x32 0a000001
2010-12-29_21:03:08.59238 Adding option: 0x39 0240
2010-12-29_21:03:08.59239 Adding option: 0x0c 7a6f72726f
2010-12-29_21:03:08.59240 Sending discover...
2010-12-29_21:03:08.59628  hlen 6 xid 187dc0e1 ciaddr 0 yiaddr 0 siaddr 0
giaddr 0
2010-12-29_21:03:08.60040  chaddr 001d7dc2ec7000000000000000000000
2010-12-29_21:03:08.60043 Waiting on select...
2010-12-29_21:03:11.60132 Adapter index 2
2010-12-29_21:03:11.60134 MAC 00:1d:7d:c2:ec:70
2010-12-29_21:03:11.60135 Adding option: 0x35 01
2010-12-29_21:03:11.60136 Adding option: 0x32 0a000001
2010-12-29_21:03:11.60137 Adding option: 0x39 0240
2010-12-29_21:03:11.60138 Adding option: 0x0c 7a6f72726f
2010-12-29_21:03:11.60139 Sending discover...
2010-12-29_21:03:11.60528  hlen 6 xid 187dc0e1 ciaddr 0 yiaddr 0 siaddr 0
giaddr 0
2010-12-29_21:03:11.60531  chaddr 001d7dc2ec7000000000000000000000
2010-12-29_21:03:11.60735 Waiting on select...
2010-12-29_21:03:11.60737 Got valid DHCP packet
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ and here I've got a responce
2010-12-29_21:03:11.60738  hlen 6 xid 187dc0e1 ciaddr 0 yiaddr 100000a siaddr
8a00000a giaddr 0
2010-12-29_21:03:11.60739  chaddr 001d7dc2ec7000000000000000000000
2010-12-29_21:03:11.60740 Option found: 0x35 02
2010-12-29_21:03:11.60741 Option found: 0x36 0a00008a
...
2010-12-29_21:03:11.63306 Entering listen mode: none
2010-12-29_21:03:11.63514 Waiting on select...


Again, what's your version? udhcpc --help will let you know.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list