Subject: bin/36325: wpa_supplicant=YES requires critical_filesystems_local=/usr
To: None <,>
From: Holger Weiss <>
List: netbsd-bugs
Date: 05/13/2007 22:35:00
>Number:         36325
>Category:       bin
>Synopsis:       wpa_supplicant=YES requires critical_filesystems_local=/usr
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 13 22:35:00 +0000 2007
>Originator:     Holger Weiss
>Release:        NetBSD 4.99.19
Individual Network Berlin e.V.
System: NetBSD 4.99.19 NetBSD 4.99.19 (PANDORA) #2: Sun May 6 04:02:02 CEST 2007 i386
Architecture: i386
Machine: i386
If /usr (well, /usr/sbin) is not part of the root partition, running
wpa_supplicant(8) via rc(8) will fail silently unless /usr is added to

$  rcorder /etc/rc.d/* | egrep '(wpa_supplicant|mount..)'
Configure wpa_supplicant(8) via wpa_supplicant.conf(5) and appropriate
wpa_supplicant_flags.  Set wpa_supplicant=YES in /etc/rc.conf without
adding /usr to critical_filesystems_local.  Reboot.
I guess wpa_supplicant(8) should be moved to /sbin in order to allow for
using it on systems which actually _do_ mount /usr remotely.  If that's
not an option, IMO at least a comment should be added to rc.conf(5)
(similar to the comment regarding /var for dhclient).