[lfs-dev] /run/var/bootlog missing

Bruce Dubbs bruce.dubbs at gmail.com
Tue Sep 11 14:12:38 PDT 2012

John Burrell wrote:
> I'm building SVN-20100905
>   On boot, I get lots of complaints that
> /run/var/bootlog doesn't exist when running /lib/lsb/init-functions
> Should init-functions create bootlog or am I missing its installation somewhere?

The the first thing the first bootscript does:

if ! mountpoint /run >/dev/null; then
          mount -n /run || failed=1

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

Did you create /run in Section 6.5?
Does /etc/fstab have

tmpfs          /run         tmpfs    defaults            0     0

Do you have CONFIG_TMPFS=y in your kernel configuration?

The BOOTLOG is /run/var/bootlog.

   -- Bruce

More information about the lfs-dev mailing list