Bug 2169033 - nagiostats has 0774 instead of 0775
Summary: nagiostats has 0774 instead of 0775
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nagios
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guido Aulisi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-11 06:14 UTC by Szabolcs Horvath
Modified: 2023-04-15 02:02 UTC (History)
5 users (show)

Fixed In Version: nagios-4.4.10-1.el9 nagios-4.4.10-1.fc38
Clone Of:
Environment:
Last Closed: 2023-04-11 00:50:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Szabolcs Horvath 2023-02-11 06:14:18 UTC
Description of problem:

nagiostats binary has 0774 permissions instead of 0775:

# rpm -qp --dump nagios-4.4.9-1.el8.x86_64.rpm | grep /usr/bin/nagiostats
/usr/bin/nagiostats 44808 1671974398 e62db920264efd7da103a4e810e97d1f070a26d69102beba5354ab8c575fbb36 0100774 root root 0 0 0 X

Version-Release number of selected component (if applicable):

$ rpm -qa | grep nagios-4
nagios-4.4.9-1.el8.x86_64

How reproducible: always

Steps to Reproduce:
1. install nagios-4.4.9-1.el8.x86_64.rpm

Actual results:

$ ls -l /usr/bin/nagiostats
-rwxrwxr--. 1 root root 44808 Dec 25 14:19 /usr/bin/nagiostats

Expected results:

$ ls -l /usr/bin/nagiostats
-rwxrwxr-x. 1 root root 44808 Dec 25 14:19 /usr/bin/nagiostats

Additional info:

$ file /usr/bin/nagiostats
/usr/bin/nagiostats: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=e3d2ab64b7dc6bae72387f27202849e6c23039c2, stripped

We need to run nagiostats with user nagios (to self-monitor critical nagios performance parameters). The current 0774 permission doesn't allow to do so.
I believe permission 0774 is an error, because the file itself is a binary, and with 0774 we can read the binary, but can't run.

Comment 1 Fedora Update System 2023-03-28 05:29:53 UTC
FEDORA-2023-b614479db0 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b614479db0

Comment 2 Fedora Update System 2023-03-29 02:01:31 UTC
FEDORA-2023-b614479db0 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b614479db0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-04-02 06:01:59 UTC
FEDORA-EPEL-2023-3f0ae3158a has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-3f0ae3158a

Comment 4 Fedora Update System 2023-04-03 02:48:42 UTC
FEDORA-EPEL-2023-3f0ae3158a has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-3f0ae3158a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-04-11 00:50:21 UTC
FEDORA-EPEL-2023-3f0ae3158a has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-04-15 02:02:34 UTC
FEDORA-2023-b614479db0 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.