FEDORA-2017-665b1abde6 created by smooge 2 years ago for Fedora 25
obsolete

Grab updates from upstream to see why nrpe fails on fedora but not rhel


Redo the nagios policy to lower its all the permissions.


Remember to add the patch so it can build.

This update has been submitted for testing by smooge.

2 years ago

This update has obsoleted nrpe-3.0.1-6.fc25, and has inherited its bugs and notes.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon ckujau commented & provided feedback 2 years ago
karma

Upgrading from 3.0.1-6.fc25 to 3.1.0-3.fc25, starting NRPE prints:

# systemctl start nrpe
# systemctl status nrpe
[...]
May 15 12:02:29 disko systemd[1]: Starting Nagios Remote Program Executor...
May 15 12:02:29 disko nrpe[19092]: add_ipv4_to_acl: Error, ip-address >::1< incorrect length
May 15 12:02:29 disko nrpe[19093]: Starting up daemon
May 15 12:02:29 disko nrpe[19093]: Cannot write to pidfile '/var/run/nrpe.pid' - check your privileges.
May 15 12:02:29 disko systemd[1]: Started Nagios Remote Program Executor.

# grep ^allowed /etc/nagios/nrpe.cfg 
allowed_hosts=127.0.0.1,::1

# ls -ld /var/run/{,nrpe.pid,nrpe}
drwxr-xr-x. 46 root root 1320 May 15 12:02 /var/run/
drwxrwxr-x.  2 nrpe nrpe   40 May  2 11:49 /var/run/nrpe
ls: cannot access '/var/run/nrpe.pid': No such file or directory

# ip -6 addr show dev lo
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1
     inet6 ::1/128 scope host 
        valid_lft forever preferred_lft forever

After removing "::1" from nrpe.cfg and setting pid_file to /var/run/nrpe/nrpe.pid instead, NRPE starts up just fine.

BZ#970997 Allow multiple packets to be received
BZ#1236081 nrpe: /var/run/nrpe owner mismatch
BZ#1318773 nrpe.service sets User/Group, prevents normal .cfg user/group setting
BZ#1412214 NRPE systemd service file does not support reload command
BZ#1428769 NRPE uses nagios log dir for pid file
User Icon f14w3d commented & provided feedback 2 years ago
karma

nrpe-plugin WFM

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

2 years ago

This update has been obsoleted by nrpe-3.1.1-1.fc25.

2 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
2
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Dates
submitted
2 years ago
in testing
2 years ago
BZ#970997 Allow multiple packets to be received
0
1
BZ#1236081 nrpe: /var/run/nrpe owner mismatch
-1
0
BZ#1318773 nrpe.service sets User/Group, prevents normal .cfg user/group setting
0
1
BZ#1412214 NRPE systemd service file does not support reload command
-1
0
BZ#1428769 NRPE uses nagios log dir for pid file
-1
0

Automated Test Results