dhcpd: Lease with bogus binding state: 257

Jason Vas Dias jvdias at redhat.com
Sat Jan 8 18:22:36 UTC 2005


On Sat, 2005-01-08 at 13:08, Michal Jaegermann wrote:
> On Fri, Jan 07, 2005 at 12:55:12PM +0000, Andy Green wrote:
> > Today it is not working at all, I 
> > look in the /var/log/messages, and I see
> > 
> > Jan  7 12:35:47 backup dhcpd: DHCPDISCOVER from 00:10:c6:41:d4:d6 via wlan0: 
> > network 10.0.0.0/24: no free leases
> > 
> > This is mighty surprising since it has many IPs to allocate /etc/dhcpd.conf 
> > and just one client right now:
> 
> Apparently you are allocating a new lease on every connection and
> you are not expiring old leases.  If you would trace down why this
> happens then maybe this would be a really a subject for
> fedora-test-list.  For now move /var/lib/dhcp/dhcpd.leases on your
> dhcpd server to something else, to have a close look later, and try
> to connect again.
> 
>   Michal

There was a problem with dhcp-3.0.1-16 in FC4 - the new gcc version
3.4.3-11 miscompiled dhcpd - the '__attribute__((mode(byte)))' type 
that the lease->binding_state has tickles gcc bug #144358 .
See : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144250
I submitted dhcp-3.0.2rc3-1 to FC4, that is compiled with gcc33 and
does not have this problem.
FIX: install dhcp-3.0.2rc3-1 on your dhcp server.
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/dhcp-3.0.2rc3-1.i386.rpm





More information about the fedora-test-list mailing list