Subject: Re: Directory cleaned out after reboot
To: None <email@example.com>
From: Valeriy E. Ushakov <firstname.lastname@example.org>
Date: 04/17/2007 21:18:14
Ajitabh Pandey <email@example.com> wrote:
> I installed Nagios from pkg_src. After reboot, I was not able to start
> it up, I noticed that /var/run/nagios directory was missing, which I
> remember I created.
> Any pointers will be appreciated.
> If I faintly remember correct, it has something to do with some
> configuration file which maintains directory tree and their perms and
> sets up the same tree on reboot.
(cd /var/run && rm -rf -- *)
PS: BTW, that also kills /var/run/dev.db so /etc/rc.d/sysdb ends up
rebuilding it on each boot. I guess we should use /var/db/dev.db
firstname.lastname@example.org | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen