NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/51959: /etc/rc.d/dhcpcd can't find its pid file
>Number: 51959
>Category: misc
>Synopsis: /etc/rc.d/dhcpcd can't find its pid file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 07 11:50:00 +0000 2017
>Originator: Valery Ushakov
>Release: NetBSD-7.0.1
>Organization:
>Environment:
>Description:
/etc/rc.d/dhcpcd tries to figure out the pid file name:
/var/run/dhcpcd-"$ifname".pid
or
/var/run/dhcpcd.pid
depending on whether the interface is specified in dhcpcd_flags.
Unfortunately, sysinst configures dhcpcd_flags with -M (master):
add_rc_conf("dhcpcd_flags=\"-qM %s\"\n", net_dev);
and in that case dhcpcd uses "global" pidfile, not -interface specific
pidfile.
As the result e.g.
/etc/rc.d/dhcpcd stop
does not work.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index