Bug 2274326

Summary: README.fedora and SELinux
Product: [Fedora] Fedora EPEL Reporter: Stefano Biagiotti <stefano.biagiotti>
Component: smokepingAssignee: Terje Rosten <terjeros>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel8CC: cra, dave, terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: smokeping-2.8.2-10.fc42 smokeping-2.8.2-10.fc39 smokeping-2.8.2-10.el8 smokeping-2.8.2-10.el9 smokeping-2.8.2-10.fc41 smokeping-2.8.2-10.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-28 17:46:08 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 Stefano Biagiotti 2024-04-10 11:22:26 UTC
I have installed smokeping-2.8.2-1 and in /usr/share/doc/smokeping/README.fedora I read

   If your system are using SELinux, smokeping will not work, unless you
   execute the following commands:
    $ chcon -v -R --type=httpd_sys_script_exec_t /usr/share/smokeping/smokeping{_cgi,fcgi}
    $ chcon -v -R --type=httpd_sys_content_t /var/lib/smokeping/

but /usr/share/smokeping/smokeping{_cgi,fcgi} don't exist.

Comment 1 Terje Røsten 2024-04-11 18:39:56 UTC
You are right, there is typo, try this instead:

 chcon -v -R --type=httpd_sys_script_exec_t /usr/share/smokeping/cgi/smokeping{_cgi,.fcgi}

Comment 2 Stefano Biagiotti 2024-04-12 15:22:46 UTC
The current configuration is:

# ls -lZ /usr/share/smokeping/cgi/smokeping{_cgi,.fcgi}
-rwxr-xr-x. 1 root root system_u:object_r:smokeping_cgi_script_exec_t:s0 2629 18 Jan  2022 /usr/share/smokeping/cgi/smokeping_cgi
lrwxrwxrwx. 1 root root system_u:object_r:smokeping_cgi_script_exec_t:s0   13 18 Jan  2022 /usr/share/smokeping/cgi/smokeping.fcgi -> smokeping_cgi

# ls -lZd /var/lib/smokeping
drwxr-xr-x. 5 root root system_u:object_r:smokeping_var_lib_t:s0 53 10 Apr 12.52 /var/lib/smokeping

Should I really change this?

Comment 3 Terje Røsten 2024-04-14 09:55:51 UTC
All policies are defined in selinux-policy package which is part of RHEL, if in doubt ask RHEL for help?

Or just try suggested actions and see if that resolves your current issues?

Comment 4 Stefano Biagiotti 2024-04-15 10:51:33 UTC
I don't have any issue, smokeping works out of the box. :-)

I just wanted to report the IMHO wrong part about selinux in readme.fedora.
I apologize, I probably didn't detail what I was trying to report about.

Comment 5 Fedora Admin user for bugzilla script actions 2024-06-26 05:49:26 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Fedora Update System 2024-10-28 17:42:40 UTC
FEDORA-2024-64b5b1d05d (smokeping-2.8.2-10.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-64b5b1d05d

Comment 7 Fedora Update System 2024-10-28 17:46:08 UTC
FEDORA-2024-64b5b1d05d (smokeping-2.8.2-10.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2024-10-28 20:16:55 UTC
FEDORA-2024-b4bb648bf0 (smokeping-2.8.2-10.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b4bb648bf0

Comment 9 Fedora Update System 2024-10-28 20:16:57 UTC
FEDORA-EPEL-2024-39760ed78d (smokeping-2.8.2-10.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-39760ed78d

Comment 10 Fedora Update System 2024-10-28 20:16:57 UTC
FEDORA-EPEL-2024-60fdd5a2b3 (smokeping-2.8.2-10.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-60fdd5a2b3

Comment 11 Fedora Update System 2024-10-29 01:14:48 UTC
FEDORA-2024-b4bb648bf0 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b4bb648bf0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b4bb648bf0

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

Comment 12 Fedora Update System 2024-10-29 01:21:43 UTC
FEDORA-EPEL-2024-60fdd5a2b3 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-60fdd5a2b3

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

Comment 13 Fedora Update System 2024-10-29 01:28:53 UTC
FEDORA-EPEL-2024-39760ed78d 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-2024-39760ed78d

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

Comment 14 Fedora Update System 2024-10-29 01:32:04 UTC
FEDORA-2024-abe66ed0d7 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-abe66ed0d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-abe66ed0d7

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

Comment 15 Fedora Update System 2024-10-29 01:55:13 UTC
FEDORA-2024-b2c5e07562 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b2c5e07562`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b2c5e07562

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

Comment 16 Fedora Update System 2024-11-06 02:44:38 UTC
FEDORA-2024-b4bb648bf0 (smokeping-2.8.2-10.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2024-11-06 03:02:51 UTC
FEDORA-EPEL-2024-60fdd5a2b3 (smokeping-2.8.2-10.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2024-11-06 03:25:56 UTC
FEDORA-EPEL-2024-39760ed78d (smokeping-2.8.2-10.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2024-11-06 03:52:17 UTC
FEDORA-2024-abe66ed0d7 (smokeping-2.8.2-10.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2024-11-06 04:49:40 UTC
FEDORA-2024-b2c5e07562 (smokeping-2.8.2-10.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.