More on D_BUS. The install creates /var/run/dbus, but that will go away
with a reboot. We need to figure out a way to create it upon boot.
The first LFS boot script, mountvirtfs, does:
mkdir -p /run
mount -n /run || failed=1
mkdir -p /run/{var,lock,shm}
The /etc/sysconfig/rc.site is sourced so we need to change rc.site with
something like:
RUNSUBS="${RUNSUBS} dbus"
and add to mountvirtfs:
for D in ${RUNSUBS}; do mkdir -p $D; done
For other subdirectories of /var/run we would only need to add
RUNSUBS="${RUNSUBS} subdir"
to the end of rc.site.
A second option would be to just hard code any needed directories like
we do with {var,lock,shm}. A directory entry is negligible if it is not
used.
A third option would be to add it to the dbus bootscript, but that is
not required if the user is just adding dbus-launch to the appropriate
line in the ~/.xinitrc file.
Comments?
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page