dhclient fails when not using UTC in hwclock

Ricardo Pérez López ricpelo at ono.com
Fri Apr 14 12:12:25 UTC 2006


Hi! I'm an Ubuntu Linux Dapper Drake 6.06 user, and I have a problem
with dhcp client.

With UTC=no in /etc/default/rcS, dhclient works during boot (therefore,
I have a working connection just after boot), but fails in lease
renewal. Therefore, the network connection stops working after 2 hours
(the lease time).

Curiously, the problem appears since Sunday, march 26th, when here in
Spain we changed timezone from CET (UTC+1) to CEST (UTC+2). Until now, I
had UTC=no without problems. But now I need to have UTC=yes to
workaround the problem.

With UTC=yes, I get the following messages in /var/log/daemon.log:

Mar 29 12:55:54 localhost dhclient: DHCPREQUEST on eth1 to 10.175.239.30
port 67
Mar 29 12:55:54 localhost dhclient: DHCPACK from 10.175.239.30
Mar 29 12:55:54 localhost dhclient: can't
create /var/lib/dhcp3/dhclient.eth1.leases: Permission denied
Mar 29 12:55:54 localhost dhclient: bound to 84.122.157.239 -- renewal
in 3116 seconds.

With UTC=no, these messages doesn't appears, and there's no lease
renewal.

There's a bug open in Ubuntu's Launchad:

https://launchpad.net/distros/ubuntu/+source/dhcp3/+bug/33968

I'm using dhcp3-client version 3.0.3 (3.0.3-6ubuntu6 packaged by
Ubuntu):

$ dhclient3 --help
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Usage: dhclient [-1dqr] [-nw] [-p <port>] [-s server]
                [-cf config-file] [-lf lease-file][-pf pid-file] [-e
VAR=val]
                [-sf script-file] [interface]




More information about the dhcp-users mailing list