I've identified a case where this can occur and be repeated. It seems
when you configure to use dhclient, later switch to static IP, and reset
the network interface, dhclient keeps running.
Setup: 6.06 was installed with server CD and dhcp client was selected
for use on the installation network. Dhcpd was installed as part of
setup along with bind9 and many other packages. Server was moved to new
network (coincidentally with the same network:
192.168.1.0/255.255.255.0). dhcpd was set to start on boot (no other
dhcp server on the new network). The network information was changed to
static and the interface was restarted with /etc/init.d/networking
restart. dhclient continued to run and according to the log attempted
to use the address from the old network: 192.168.1.107. Many logged
entries to that affect (no success reported). Eventually the error on
the bug was logged.
Workaround: reboot after changing from dhcp to static so that the static
ip address was the only one the server attempted to use. The entry in
dhcp.leases for 192.168.1.107 was then removed manually. The bug seems
to have affected named on the server as that logged: "deleting interface
192.168.1.10" just before the 192.168.1.107 address was accepted by the
dhcp server.
Details: I know the .107 address was the one used on the first network
and subsequently was being attempted to be used by dhclient on the
server because the MAC address in the leases file on both networks is
that of the server's network card.
Suggestions: I think the problem is that the dhclient daemon is not
stopped while running the "/etc/init.d/networking restart" network
script (or in the ifupdown suite that it uses) when it is no longer
used, ie when switching to static.
** Changed in: dhcp3 (Ubuntu)
Status: Fix Released => Unconfirmed
--
(Dapper) can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied
https://launchpad.net/bugs/39249
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs