Paride, IF the nagios user is in LDAP, then /var/run/nagios will not be created by systemd at boot time, or any time after that.
I can confirm that the following sequences fail to get nagios-nrpe- server running: sudo service nagios-nrpe-server restart sudo service nagios-nrpe-server stop sudo service nagios-nrpe-server start sudo systemctl stop nagios-nrpe-server sudo systemctl start nagios-nrpe-server Nothing in there triggers systems to create the missing directory: May 05 11:04:08 dmz-gnt03-04 systemd[1]: Started Nagios Remote Plugin Executor. May 05 11:04:08 dmz-gnt03-04 nrpe[10603]: Starting up daemon May 05 11:04:08 dmz-gnt03-04 nrpe[10603]: Cannot write to pidfile '/var/run/nagios/nrpe.pid' - check your privileges. May 05 11:04:08 dmz-gnt03-04 systemd[1]: nagios-nrpe-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT May 05 11:04:08 dmz-gnt03-04 systemd[1]: nagios-nrpe-server.service: Failed with result 'exit-code'. > ls -ld /var/run/nagios ls: cannot access '/var/run/nagios': No such file or directory The only recourse is manual mkdir/chown. ** Changed in: nagios-nrpe (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871194 Title: nagios-nrpe-server fails to launch after reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/1871194/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs