Cleanup of temp directories failed

opensuse 42.1

While reviewing the system logs, I saw the entries below. The failure point is the missing </usr/lib/tmpfiles.d/nrpe.conf> file. It was an application I reviewed then removed. Apparently the app has left behind an entry somewhere else that cleanup is using.

Does anyone know where the tmpfile cleanup list is?

2016-11-08T09:50:03.393487-07:00 sma-server3 systemd[1]: Starting Cleanup of Temporary Directories...
2016-11-08T09:50:03.504426-07:00 sma-server3 systemd-tmpfiles[7927]: [/usr/lib/tmpfiles.d/nrpe.conf:2] Unknown user 'nagios'.
2016-11-08T09:50:03.630759-07:00 sma-server3 systemd[1]: systemd-tmpfiles-clean.service: main process exited, code=exited, status=1/FAILURE
2016-11-08T09:50:03.631496-07:00 sma-server3 systemd[1]: Failed to start Cleanup of Temporary Directories.
2016-11-08T09:50:03.632034-07:00 sma-server3 systemd[1]: Unit systemd-tmpfiles-clean.service entered failed state.

Am guessing that the permissions set on the problem file specify only the user “nagios” has permissions to remove.

Recommend…

  • Verify the file “/usr/lib/tmpfiles.d/nrpe.conf” exists.
  • If the file exists, then remove it from within a root console
rm /usr/lib/tmpfiles.d/nrpe.conf

TSU

Am guessing that the permissions set on the problem file specify only the user “nagios” has permissions to remove.

Argh. I was searching the directory on the wrong host. When getting the directory listing for the host that actually generated the error, there was the <nrpe.conf> file. Removing it cleared the problem.