[Gllug] /var/run on tmpfs
Stephen Nelson-Smith
sanelson at gmail.com
Mon Apr 20 11:27:45 UTC 2009
On Mon, Apr 20, 2009 at 11:00 AM, Troy Jendra <troybie at gmail.com> wrote:
> 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
This looks to be relevant:
https://bugs.launchpad.net/ubuntu/+source/wackamole/+bug/318459
S.
--
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list