Subject: Re: Directory cleaned out after reboot
To: None <firstname.lastname@example.org>
From: Valeriy E. Ushakov <email@example.com>
Date: 04/17/2007 21:18:14
Ajitabh Pandey <firstname.lastname@example.org> 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
email@example.com | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen