Re: dhcpd: Lease with bogus binding state: 257

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 08 January 2005 18:22, Jason Vas Dias wrote:
> On Sat, 2005-01-08 at 13:08, Michal Jaegermann wrote:

>>> Okay, maybe there is junk in the leases file, but I go
>>> to /var/lib/dhcp/dhcpd.leases and it just has the default comment in
>>> it. �I move even that to a new filename so there is no lease file and the
>>> behaviour is the same on service restart.

> > 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, you could have read my report more closely.  The lease file is empty. 
(Additionally for the period when it was working, I was seeing the same 
allocated IP each time.  This is another reason why genuine exhaustion of the 
IP range seemed highly unlikely.)

> 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/Fe
>dora/RPMS/dhcp-3.0.2rc3-1.i386.rpm

This fixed it 100% immediately.  Thanks for the help.

- -Andy

- -- 
http://www.addintelligence.co.uk -- we design custom hardware and software for 
your products 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFB4DeojKeDCxMJCTIRAmxLAJ4sYtLB8fbBNDIgnefzn4A025xLWQCfZyGl
wf5+brG4NXVBDBoIS0i5Kw4=
=08Dc
-----END PGP SIGNATURE-----


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]