NetBSD-Bugs archive

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

bin/47776: dhcpcd(8) requries hostname(1)



>Number:         47776
>Category:       bin
>Synopsis:       dhcpcd(8) requries hostname(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 28 06:05:00 +0000 2013
>Originator:     Izumi Tsutsui
>Release:        NetBSD 6.1_RC3
>Organization:
>Environment:
System: NetBSD/x68k 6.1_RC3
Architecture: m68k
Machine: x68k but affects all ports
>Description:
dhcpcd 5.6.2 now requires hostname(1) command
http://cvsweb.netbsd.org/bsdweb.cgi/src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname.diff?r1=1.1.1.6&r2=1.1.1.6.6.1
but not all ramdisk environments have hostname(1) command and procfs.

>How-To-Repeat:
start dhcpcd(8) without hostname(1) and procfs.
---
 :
hostname: not found
forking to background
forked to background, child pid 13
---

>Fix:
Also try "sysctl kern.hostname" (on NetBSD)?
Add "PROG bin/hostname" in src/distrib/common/list.dhcpcd?
(not sure if duplicated entries in lists are okay though)

---



Home | Main Index | Thread Index | Old Index