FEDORA-EPEL-2018-7f7330f37a

bugfix update in Fedora EPEL 7 for nrpe

Status: stable 6 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.

How to install

sudo dnf upgrade --advisory=FEDORA-EPEL-2018-7f7330f37a

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
Toggle Preview

Comment fields support Fedora-Flavored Markdown. Comments are governed under this privacy policy.

-1 0 +1 Feedback Guidelines

Is the update generally functional? (karma)

You need to be logged in to add karma!

#1637727 nrpe does not start on RHEL 7.5
Content Type
RPM
Status
stable
Test Gating
Submitted by
Update Type
bugfix
Update Severity
unspecified
Karma
+3
stable threshold: 3
unstable threshold: -3
Autopush
Enabled
Dates
submitted 6 months ago
in testing 6 months ago
in stable 6 months ago

Related Bugs 1

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

Automated Test Results