Hya,
yesterday, i did an update and upgrade, and since then, dhcp is having problems.
The dhcp server fails on start.
Was anything changed?
Best regards.
Found the problem:
error in syslog:
dhcpd: Open a socket for LPF: Permission denied
The bug was recognized and fixed for 12.04
<https://bugs.launchpad.net/ubuntu/+...107686> but
not for 10.04. It may have to do with the server change; with 10.04 the
dhcp server is 'dhcp3-server', and with 12.04 it is 'isc-dhcp-server'.
Anyway, to fix edit:
/etc/apparmor.d/usr.sbin.dhcpd3
#FROM:
network inet raw,
network packet packet,
#TO:
network inet raw,
network packet packet,
network packet raw,
Then reload apparmor:
sudo service apparmor reload
And then the dhcp server will now start:
sudo service dhcp3-server start