[lfs-support] Using wpa_supplicant [Was: ifup--a really uninformed question]

Bruce Dubbs bruce.dubbs at gmail.com
Sat Nov 2 12:50:02 PDT 2013

Dan McGhee wrote:

> (Received complaints about /run/var/bootlog all through the process.
> They were right, it doesn't exist yet.)

Do you have /run/var?

/run is mounted form fstab

tmpfs    /run   tmpfs  defaults     0     0

in the very first boot boot script (mountvirtfs):

# Make sure /run/var is available before logging any messages
if ! mountpoint /run >/dev/null; then
      mount /run || failed=1

mkdir -p /run/var /run/lock /run/shm

The scripts all use >> so the only reason that you would get this error 
is iv /run is not mounted.  Actually, even then the writing would be to 
a standard directory so the issue would be permissions.  These scripts 
need to be run as root.

   -- Bruce

More information about the lfs-support mailing list