Firestarter can't start DHCP-server
Bug #43784 reported by
Martin Jormedal
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firestarter (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
After setting up firestarter to allow internet-sharing with a DHCP-server it is unable to start said server and gives an error saying something to the effect of "Failed to start firewall, unknown error". If one starts the DHCP-server manually (/etc/init.
Changed in firestarter: | |
status: | New → Confirmed |
To post a comment you must log in.
I encountered this bug today. The problem lies in lines 112-121 of /etc/firestarte r/firestarter. sh:
if [ -e /etc/init.d/dhcpd ]; then
/etc/ init.d/ dhcpd restart > /dev/null
/usr/ sbin/dhcpd 2> /dev/null
else
fi
if [ $? -ne 0 ]; then
echo Failed to start DHCP server
exit 200
fi
If you have the dhcp3-server package installed, there is no file at either:
/etc/init.d/dhcpd
or:
/usr/sbin/dhcpd
...so the script fails to start a dhcpd server, and exits.
Changing both instances of "/etc/init.d/dhcpd" to "/etc/init. d/dhcp3- server" allows the firestarter.sh script to work as expected.