/etc/init.d/dhcp3-server starts dhcpd3 with parameters in wrong order ($INTERFACES)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Debian) |
Fix Released
|
Unknown
|
|||
dhcp3 (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
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 ... ?
Versions:
- ubuntu server 6.06.1 (uptodate when writing this)
- dhcp3-server 3.0.3-6ubuntu7
- webmin 1.300
Related branches
Changed in dhcp3: | |
assignee: | nobody → pitti |
status: | New → In Progress |
Changed in dhcp3: | |
status: | Unknown → New |
Changed in dhcp3: | |
status: | New → Fix Released |
I have a similar setup in Ubuntu Hardy, dhcp3-server listens to two interfaces:
/usr/sbin/dhcpd3 -q eth1 virbr0 -pf /var/run/ dhcp3-server/ dhcpd.pid -cf /etc/dhcp3/ dhcpd.conf
This works just fine, so I consider this fixed in Hardy.