[Pkg-nagios-devel] Bug#437357: Bug#437357: nagios2: questionable location of 'nagios' user's home directory

Marc Haber mh+debian-packages at zugschlus.de
Mon Aug 13 06:48:41 UTC 2007

On Sat, Aug 11, 2007 at 08:55:21PM -0500, Matt Zagrabelny wrote:
> I am trying to use the nagios plugin 'check_by_ssh'. The issue arises
> every reboot:
> * The directory /var/run is cleaned of all regular files by
>   /etc/init.d/bootclean via /etc/init.d/mountall-bootclean.sh from
>   /etc/rcS.d/S36mountall-bootclean.sh.
> * The 'nagios' user's home directory is /var/run/nagios2/.
> * The check_by_ssh will fail becuase it does not have any knowledge of
>   the host it trying to connect to because
>   /var/run/nagios2/.ssh/known_hosts was removed at boot.


> 2) Change the home directory for the user 'nagios' from a location
>    inside '/var/run' to one in, perhaps, '/home'. Though I do not know
>    what the repercussions of that would be.

Probably /var/lib/nagios.

I do not have the slightest idea what this change implies. I suspect
that the change need extensive testing, which I do not have time to do
at the moment :-8


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

More information about the Pkg-nagios-devel mailing list