Re: Re: DHCP server bug (miscompiled by GCC compiler)

Johnny Hughes <mailing-lists-aTVbMOv0ehVWk0Htik3J/[email protected]> Fri, 09 Sep 2005 03:19:42 -0500
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
--===============0987102975==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-MZ1lxsxxWOA+pZ1ASE0n"


--=-MZ1lxsxxWOA+pZ1ASE0n
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, 2005-09-09 at 09:21 +0200, Milan Ker=C5=A1l=C3=A1ger wrote:
> On Fri, Sep 09, 2005 at 08:24:56AM +0200, Milan Ker=C5=A1l=C3=A1ger wrote=
:
> > Hi,
> >=20
> > I have DHCP server and sometimes the server is unable to give IP to the
> > clients. I have these messages in the log:
> >=20
> > Right after dhcp daemon start (for every lease in the /etc/dhcpd.conf):
> >=20
> > ... dhcpd: Lease with bogus binding state: 257
> >=20
> > And then for every DHCP request:
> >=20
> > ... dhcpd: DHCPDISCOVER from 00:80:48:e8:d1:0d via eth1: network PSLIB:=
 no free leases
> >=20
> > This is even I restarted the daemon, restarted the server and deleted
> > the leases file (rm /var/lib/dhcp/dhcpd.leases*).
> >=20
> > The bug is in the used gcc compiler, see:
> >=20
> > https://www.redhat.com/archives/fedora-test-list/2005-January/msg00213.=
html
> >=20
> > Because this, Tao Linux needs to recompile dhcp-3.0.1-12_EL.i386.rpm
> > package (and bump the version).
>=20
> I have DHCP daemon from Tao-4 running for few mothths and this bug
> arised only sometimes.
>=20
We had this same issue in CentOS-4 ... what we did to solve it is modify
the spec file so that we could compile dhcp on CentOS-3.x.

(before we did that, we tried to compile it using the compat-gcc and
gcc4 provided with el4)

here is the SRPM:
http://mirror.centos.org/centos/4/os/SRPMS/dhcp-3.0.1-12_EL.centos4.src.rpm

--=20
Johnny Hughes
<http://www.HughesJR.com/>

--=-MZ1lxsxxWOA+pZ1ASE0n
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBDIUWeTKkMgmrBY7MRAmgcAJ0ZpnGgdxdt1neSQuIWKWROkfXogACgkeGy
KmFwN6neYYnoTcoxgMZvfnM=
=N//r
-----END PGP SIGNATURE-----

--=-MZ1lxsxxWOA+pZ1ASE0n--


--===============0987102975==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tao-discuss mailing list
[email protected]
http://mailman.taolinux.org/mailman/listinfo/tao-discuss

--===============0987102975==--