Dhcdbd doesn't recognize permanent (-1) DHCP leases

Bug #94674 reported by Jerry Chong
4
Affects Status Importance Assigned to Milestone
dhcdbd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dhcdbd

When used with a router setup that gives out a permanent lease to certain DHCP clients (e.g. my laptop in this case), dhcdbd fails to parse the dhcp lease time and prints out an error in /var/log/messages.

It looks like this:

Mar 22 16:48:49 localhost kernel: [ 786.148000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 22 16:48:55 localhost dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Mar 22 16:48:55 localhost dhcdbd: dhco_parse_option_settings: bad option setting: new_dhcp_lease_time = -1
Mar 22 16:48:55 localhost dhcdbd: dhco_input_option: Value -1 cannot be converted to type L
Mar 22 16:48:55 localhost dhcdbd: dhco_parse_option_settings: bad option setting: old_dhcp_lease_time = -1

While this doesn't cause any problems, it would be good to at least fix the functionality.

Revision history for this message
Darryl Rees (dardie) wrote :

Very surprised this bug is not biting a lot of users - eg. when connecting to a wireless connection via nm_applet, it fails to make a connection and there is no obvious indication given of what the problem is. The immediate implication for the niave user (me!) in this case is that there is a problem with wireless authentication, leading to considerable time and frustration spent in trying to troubleshoot the wrong problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.