RSS feed

nslcd/nslcd.c main() return value?

[Date Prev][Date Next] [Thread Prev][Thread Next]

nslcd/nslcd.c main() return value?

Hello all,

is there any good reason for main() of nslcd to return ERR_FAILURE?

It leads to a failure when doing clean stop via "systemctl stop nslcd".

# systemctl status nslcd
‚óŹ nslcd.service - Naming services LDAP client daemon.
   Loaded: loaded (/usr/lib/systemd/system/nslcd.service; disabled; vendor 
preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-02-06 12:22:00 CET; 1s ago
  Process: 31316 ExecStart=/usr/sbin/nslcd (code=exited, status=0/SUCCESS)
 Main PID: 31317 (code=exited, status=1/FAILURE)

The stop sends SIGTERM, to cleanly stop the daemon, but that behaves as if it 
with an error. Adjusted service setup to access ret val of 1 as success would
hide real errors, so it's not a good option either.


Stan Moravec

To unsubscribe send an email to or see