[Gllug] /var/run on tmpfs
Troy Jendra
troybie at gmail.com
Mon Apr 20 10:00:17 UTC 2009
Hi
When running a system with /var/run on tmpfs, is there a preferred
method of creating /var/run/dirname. At least on Ubuntu, most
packages are creating this directory as part of their init.d script,
but every package seems to go about it a different way, and some are
still don't and fail to start on reboot(ie wackamole).
from /etc/init.d/exim4
[ -e /var/run/exim4 ] || \
install -d -oDebian-exim -gDebian-exim -m750 /var/run/exim4
from /etc/init.d/fail2ban
[ -d /var/run/fail2ban ] || mkdir -p /var/run/fail2ban
and the syslog error for wackamole on reboot
Cannot write PID file /var/run/wackamole/wackamole.pid
Cheers
Troy
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list