/etc/init.d/dhcp3-server starts dhcpd3 with parameters in wrong order ($INTERFACES)

Bug #187429 reported by jstammi
2
Affects Status Importance Assigned to Milestone
dhcp3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dhcp3-server

Using webmin I specified the dhcp server to listen only for two (eth0 and eth2) of my three (eth1 additionally - is ma WAN interface) network interfaces.

My pc connected to the eth0 successfully was assigned an ip. Though being connected to eth2 this failed.

After a long session on network analysis I finally found the dhcpd3 server process looking like

/usr/sbin/dhcpd3 -q eth0 eth2 -pf /var/run/dhcp3-server/dhcpd.pid -cf /etc/dhcp3/dhcpd.conf

According to the man pages this is not valid, the ethX should be the last parameters. Running the dhcpd3 with the interfaces as last parameters, everything works now as expected.

In /etc/init.d/dhcpd3-server script I moved the $INTERFACES to the end of the parameter list.

Though I have no explanation why the original version worked for eth0 ... ?

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.