NetBSD-Bugs archive

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

bin/43490: etc/rc.d/dhcpcd doesn't check pid file correctly

>Number:         43490
>Category:       bin
>Synopsis:       /etc/rc.d/dhcpcd doesn't check pid file properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 20 07:20:00 +0000 2010
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.99.30
System: NetBSD  5.99.30 NetBSD 5.99.30 (WZERO3) #0: \
 Sun Jun 13 17:08:35 JST 2010  \
 tsutsui@mirage:/usr/obj.hpcarm/sys/arch/hpcarm/compile/WZERO3 hpcarm
Architecture: arm
Machine: hpcarm
It looks /etc/rc.d/dhcpcd checks pid file in /var/run/,
but dhcpcd(8) actually creates /var/run/dhcpcd-[interface].pid
if [interface] is specified, so /etc/rc.d/dhcpcd script complains
"dhcpcd not running?" on commands stop or restart etc.

start dhcpcd(8) with the following rc.conf line:

dhcpcd=YES dhcpcd_flags="-q axe0"

 - check proper pid file name with interface name?
 - explicitly specify pid file name on start?

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index