FEDORA-EPEL-2018-7f7330f37a created by smooge a year ago for Fedora EPEL 7
stable

This attempts to fix a problem with nrpe systems which did not have pid_file defined in /etc/nagios/nrpe.cfg. The systemctl now uses a non-forking start and does not go into daemon mode.

This update has been submitted for testing by smooge. a year ago
User Icon netmask commented & provided feedback a year ago
karma

Works as expected.

BZ#1637727 nrpe does not start on RHEL 7.5
User Icon averi commented & provided feedback a year ago
karma

Works as expected, thanks!

BZ#1637727 nrpe does not start on RHEL 7.5
This update has been pushed to testing. a year ago
User Icon rjeczkow provided feedback a year ago
karma
BZ#1637727 nrpe does not start on RHEL 7.5
This update has been submitted for batched by bodhi. a year ago
This update has been submitted for stable by averi. a year ago
This update has been pushed to stable. a year ago
User Icon anonymous commented & provided feedback 7 months ago

I am seeing this issue even with this updated version. My problem is that the /var/run/nrpe directory is not created (and since /var/run is now on a ramdisk, it is deleted on reboot).

I had to add:

Run ExecStartPre with root-permissions

PermissionsStartOnly=true ExecStartPre=-/usr/bin/mkdir /var/run/nrpe ExecStartPre=/usr/bin/chown nrpe:nrpe /var/run/nrpe

to /usr/lib/systemd/system/nrpe.service

Chris.

User Icon anonymous commented & provided feedback 7 months ago

That addition should have looked like:

# Run ExecStartPre with root-permissions

PermissionsStartOnly=true

ExecStartPre=-/usr/bin/mkdir /var/run/nrpe

ExecStartPre=/usr/bin/chown nrpe:nrpe /var/run/nrpe

Chris.

User Icon anonymous commented & provided feedback 7 months ago

Never mind, my problem was that nrpe started before NIS, so the user did not exist at boot time. Added to local passwd file. Chris.161


Please login to add feedback.

Metadata
Type
bugfix
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Dates
submitted
a year ago
in testing
a year ago
in stable
a year ago
BZ#1637727 nrpe does not start on RHEL 7.5
0
3

Automated Test Results