Bug 1517906
Summary: | nrpe-3.2.0-6.el7.x86_64.rpm over-writes live nrpe.cfg | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Clovis_Sangrail <kurt> |
Component: | nrpe | Assignee: | Stephen John Smoogen <smooge> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | athmanem, b.heden, jose.p.oliveira.oss, kurt, ondrejj, smooge, smooge, s, swilkerson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nrpe-3.2.1-6.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-05 17:19:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Clovis_Sangrail
2017-11-27 16:46:04 UTC
OK that is weird. The file is listed as %config(noreplace) %{_sysconfdir}/nagios/nrpe.cfg so it should have left a nrpe.cfg.rpmorig or a nrpe.cfg.rpmsave Do you know the version you had before? Hi, I think this shows the previous version of nrpe: # yum history info nrpe Loaded plugins: fastestmirror, langpacks Transaction ID : 40 Begin time : Mon Nov 27 09:22:19 2017 . . . . . . Updated nagios-plugins-nrpe-3.1.1-1.el7.x86_64 @epel Update 3.2.0-6.el7.x86_64 @epel Updated nrpe-3.1.1-1.el7.x86_64 @epel Update 3.2.0-6.el7.x86_64 @epel . . . . . . # I will attach the full output if you want. I included the plugins package above because I wonder if it might be the culprit. I did not see any nrpe.cfg.rpm* file. I do not think I ever have, though nagios updates do that. I manually copied the nrpe.cfg file that I discovered after the yum update into the file "nrpe.cfg_rpmnew2" before restoring my live nrpe.cfg from a backup. Here is "/etc/nagios" now: # cd /etc/nagios # ls -l total 184 -rw-rw-r--. 1 root root 12988 Sep 19 21:12 cgi.cfg drwxr-x---. 2 root nagios 4096 Sep 19 21:12 conf.d drwxr-xr-x. 3 root root 4096 Aug 25 11:05 live -rw-r--r--. 1 root root 888 Jul 28 15:09 my-nagios.pp -rw-r--r--. 1 root root 329 Jul 28 15:09 my-nagios.te -rw-rw-r--. 1 root root 45801 Oct 18 13:59 nagios.cfg -rw-rw-r--. 1 root root 44662 Sep 19 21:12 nagios.cfg.rpmnew -rw-r--r--. 1 root root 12414 Nov 27 09:46 nrpe.cfg -rw-r--r--. 1 root root 10710 Jun 14 20:50 nrpe.cfg_original -rw-r--r--. 1 root root 12806 Aug 4 16:05 nrpe.cfg_rpmnew2 drwxr-x---. 2 root nagios 4096 Nov 27 09:22 objects drwxr-xr-x. 3 root root 4096 Oct 18 13:58 oldstuff -rw-r-----. 1 root apache 27 Sep 19 21:12 passwd drwxr-x---. 2 root nagios 4096 Nov 27 09:22 private # OK I am not able to replicate on my test systems yet. Aug 08 17:59:21 Updated: nrpe-3.1.1-1.el7.x86_64 Aug 08 18:00:35 Updated: nrpe-selinux-3.1.1-1.el7.x86_64 Nov 27 18:21:44 Updated: nrpe-3.2.0-6.el7.x86_64 Nov 27 18:21:44 Updated: nrpe-selinux-3.2.0-6.el7.x86_64 Updating : nagios-common-4.3.4-3.el7.x86_64 4/26 Updating : nrpe-3.2.0-6.el7.x86_64 5/26 warning: /etc/nagios/nrpe.cfg created as /etc/nagios/nrpe.cfg.rpmnew I will try a couple more boxes today and see if I can figure out what caused it on your system... At this point I am not thinking the problem is with the package since the file is listed as noreplace in both RPMs. My only guess is something fooled rpm into thinking the file was not edited which would be an rpm bug. However I will check a couple other things todya. OK. I still have to roll this out to other machines. I will save nrpe.cfg, see what happens and update here if I get any more occurrences. nrpe-3.2.1-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-957b082df2 nrpe-3.2.1-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-957b082df2 nrpe-3.2.1-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-957b082df2 nrpe-3.2.1-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |