Date: Sat, 4 Oct 1997 17:18:21 +0200 (MEST) From: kuku@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/4688: sys/utsname.h SYS_NMLN 32 too small Message-ID: <199710041518.RAA11790@gil.physik.rwth-aachen.de> Resent-Message-ID: <199710041520.IAA19602@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4688 >Category: bin >Synopsis: sys/utsname.h SYS_NMLN 32 too small >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 4 08:20:01 PDT 1997 >Last-Modified: >Originator: Christoph Kukulies >Organization: I.Physikalisches Institut RWTH Aachen >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD-3.0-current >Description: bootpd gave error: "Can not get my IP address" Built in debugging code revealed that hostname isdn-kukulies.dialup.rwth-aachen.de was longer than 32 chars. >How-To-Repeat: name your host to something longer than 32 chars and enable bootpd in /etc/inetd.conf. kill -HUP inetd. >Fix: affects libc and probably kernel. I don't know if increasing the value of SYS_NMLN to 64 would cure the problem for all possible hostnames in the future but it would decrease the likelyhood that it happens to someone who runs bootpd and has a long hostname. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710041518.RAA11790>