FEDORA-EPEL-2018-7f7330f37a

bugfix update in Fedora EPEL 7 for nrpe

Status: stable 11 months ago

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.

Comments 11

This update has been submitted for testing by smooge.

Works as expected.

karma: +1 #1637727: +1

Works as expected, thanks!

karma: +1 #1637727: +1

This update has been pushed to testing.

This update has been submitted for batched by bodhi.

This update has been submitted for stable by averi.

This update has been pushed to stable.

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.

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.

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

Add Comment & Feedback

Please login to add feedback.

Content Type
RPM
Status
stable
Test Gating
Submitted by
Update Type
bugfix
Update Severity
unspecified
Karma
+3
stable threshold: 3
unstable threshold: -3
Autopush (karma)
Enabled
Autopush (time)
Disabled
Dates
submitted 11 months ago
in testing 11 months ago
in stable 11 months ago

Related Bugs 1

0+3 #1637727 nrpe does not start on RHEL 7.5

Automated Test Results