[Pkg-nagios-changes] [SCM] Debian packaging for nagios nrpe branch, master, updated. upstream/2.12-19-g3786d19
Alexander Wirt
formorer at debian.org
Sun Sep 25 06:15:32 UTC 2011
The following commit has been merged in the master branch:
commit 4d093e3fe1071373eef0fe36702de60c64131031
Author: Alexander Wirt <formorer at debian.org>
Date: Mon Sep 12 21:06:15 2011 +0200
Ignore usermod failure
Closes: #538894
diff --git a/debian/nagios-nrpe-server.preinst b/debian/nagios-nrpe-server.preinst
index aad7caa..08b348c 100644
--- a/debian/nagios-nrpe-server.preinst
+++ b/debian/nagios-nrpe-server.preinst
@@ -21,7 +21,8 @@ case "$1" in
# We have a nagios user.
if [ `id nagios -g -n` != "nagios" ] ; then
addgroup --system nagios || true
- usermod -g nagios nagios
+ #this can fail sometimes (i.e. with LDAP) so ignore it
+ usermod -g nagios nagios || true
fi
else
adduser --system --group --home /var/lib/nagios --quiet nagios
--
Debian packaging for nagios nrpe
More information about the Pkg-nagios-changes
mailing list