Andreas Ericsson wrote:
> Nagios has similar requirements to apache (or any daemon dropping
> privileges) inside a chroot jail. You'll need /etc/group and /etc/passwd
> inside the jail, in the default locations, as well as a number of other
> files (/etc/nsswitch.conf and friends). Even so, I'm not sure it will
> work as the plugins will inherit the jail from Nagios. The plugins
> requires /etc/hosts, /etc/resolv.conf, /etc/services and a whole host of
> other things (like perl, shared libraries etc. etc.).
Sorry I should clarify - when I say jail, I mean that it's a fully
fledged FreeBSD jail (like a VDS/VPS) including all system binaries,
rather than just a chroot jail as you describe.
Many thanks,
Matt
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]