[Bug 1339245] [NEW] No reporting of failure on install with LDAP username collision
houstonbofh
1339245 at bugs.launchpad.net
Tue Jul 8 18:04:14 UTC 2014
Public bug reported:
Ubuntu 12.04.2
nagios-nrpe-server 2.12-5ubuntu1.2
This is an edge case, but it took me a while to solve, and I could find nothing on it with Google...
If...
You have samba, winbind and kerbos as part of an AD domain, (May also be a problem in NIS)
and you have an AD user 'nagios',
and you install the nagios-nrpe-server package...
Everything installs just fine with no errors, but the service will not
run. Eventually, you will find an error in syslog, "Warning: Could not
get group entry for 'nagios'" and "Error: NRPE daemon cannot be run as
user/group root!" which gives you a hint. There is no 'nagios' user or
group. But when using 'useradd' it will fail to add 'nagios' saying
"useradd: user 'nagios' already exists" in spite of not finding it in
the /etc/passwd or /etc/group files... Eventually, you find an old
account in AD from a prior admin's aborted attempt to install nagios
under Windows... You remove the AD account, add the local account, and
everything works.
The problem is the lack of reporting of any issues on install. It
should either use the AD account to run, or report that it can not
create the local account.
** Affects: nagios-nrpe (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-nrpe in Ubuntu.
https://bugs.launchpad.net/bugs/1339245
Title:
No reporting of failure on install with LDAP username collision
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/1339245/+subscriptions
More information about the Ubuntu-server-bugs
mailing list