From owner-freebsd-bugs Sat Oct 4 08:20:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19616 for bugs-outgoing; Sat, 4 Oct 1997 08:20:04 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19602; Sat, 4 Oct 1997 08:20:02 -0700 (PDT) Resent-Date: Sat, 4 Oct 1997 08:20:02 -0700 (PDT) Resent-Message-Id: <199710041520.IAA19602@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, kuku@FreeBSD.ORG Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA19342 for ; Sat, 4 Oct 1997 08:12:41 -0700 (PDT) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by Campino.Informatik.RWTH-Aachen.DE (8.8.7/RBI-Z13) with ESMTP id RAA02230 for ; Sat, 4 Oct 1997 17:10:08 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.5/8.6.9) id RAA11790; Sat, 4 Oct 1997 17:18:21 +0200 (MEST) Message-Id: <199710041518.RAA11790@gil.physik.rwth-aachen.de> Date: Sat, 4 Oct 1997 17:18:21 +0200 (MEST) From: kuku@FreeBSD.ORG Reply-To: kuku@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4688: sys/utsname.h SYS_NMLN 32 too small Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: