[Pkg-nagios-devel] Unable to install with LDAP nagios user
seanius at seanius.net
Fri Jul 27 23:28:17 UTC 2007
On Friday 27 July 2007 03:24:16 pm Chris Wilson wrote:
> We have an LDAP server which has a nagios user on it, to ensure uid
> consistency across hosts. We therefore cannot install the
> nagios-nrpe-server package, because the user exists and is not in
> $ sudo aptitude install nagios-nrpe-server
> Writing extended state information... Done
> (Reading database ... 23921 files and directories currently installed.)
> Unpacking nagios-nrpe-server (from .../nagios-nrpe-server_2.0-9_i386.deb)
> addgroup: The group `nagios' already exists and is not a system group.
> usermod: nagios not found in /etc/passwd
okay, i'd say that's definitely a bug in nagios-nrpe-server then... it should
check for the user/group before blindly trying to add it, and it should use
the output of something like getent instead of checking /etc/passwd (not sure
what it's doing there).
is this bug also in the latest version of nagios-nrpe-server? i'm not sure
where you're getting 2.0-9 from, but in the current stable version we have
something like 2.5 or so. if you can reproduce it there, then please file a
bug report and i'll take a closer look.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20070728/03800a41/attachment.pgp
More information about the Pkg-nagios-devel