Package: dhcp-client
Version: 2.0pl5-19.2
Severity: grave

Hi,

The latest dhcp-client package does not work on sparc, in my case preventing the system from getting an IP address and knocking it off the network as a result. Attempt to bring the interface up results in:

Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
/etc/dhclient-script: line 105: [: -lt: unary operator expected
/etc/dhclient-script: line 105: [: -eq: unary operator expected
sit0: unknown hardware address type 776
Listening on LPF/eth0/08:00:20:b8:d9:81
Sending on   LPF/eth0/08:00:20:b8:d9:81
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Failed to bring up eth0.

This appears to be due to incorrect assignment of relmajor variable on line 76 of /etc/dhclient-script:

relmajor=`echo $relmajor | sed 's/^[0-9]*\.\([0-9]*\)\..*/\1/'`

That most probably should read

relmajor=`echo $release | sed 's/^[0-9]*\.\([0-9]*\)\..*/\1/'`

otherwise relmajor variable is empty. After correcting that the script runs, but still fails to bring the interface up. Running dhclient eth0 directly reveals the problem:

Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/08:00:20:b8:d9:81
Sending on   LPF/eth0/08:00:20:b8:d9:81
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Bus error

Steve Langasek told that this is due to the gcc changes. I would strongly vote for removal of this package from the archive, as it appears to be way too buggy, and saner alternatives exist.

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to