/etc/init.d/dhcp3-server starts dhcpd3 with parameters in wrong order ($INTERFACES)
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/
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.
Though I have no explanation why the original version worked for eth0 ... ?