net-analyzer/nrpe: new revision to eliminate PID files with systemd.
authorMichael Orlitzky <mjo@gentoo.org>
Sun, 30 Sep 2018 12:26:56 +0000 (08:26 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sun, 30 Sep 2018 12:27:53 +0000 (08:27 -0400)
commit2ddfa65c2244d92429897a51b1d8a8e3dc8a92dc
tree389907d1f0525471990751503156fa0dd6a27cb5
parent5097c45e1e2c0b08c24a8be9dcf1bc4c77d090c2
net-analyzer/nrpe: new revision to eliminate PID files with systemd.

The NRPE systemd service is "simple," which means that it runs in the
foreground. As a result, no PID file is needed to later kill it.
Nevertheless, the systemd service file that ships with NRPE tries to
create one. And in order to do that, it messes with some permissions
(Gentoo bug 648992) that shouldn't be messed with. This commit adds a
patch to remove the PID file from the service.

A related problem that this revision fixes is the automagic detection
of the operating system, distribution, and init system by the NRPE
autotools. The new revision hard-codes all of these to "unknown,"
which should result in behavior that is consistent across machines. In
particular, it should cause the problematic tmpfiles.d entry
(associated with the PID file) to not be installed.

Bug: https://bugs.gentoo.org/648992
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
net-analyzer/nrpe/files/nrpe-3.2.1-eliminate-systemd-pid.patch [new file with mode: 0644]
net-analyzer/nrpe/nrpe-3.2.1-r1.ebuild [new file with mode: 0644]