Bug 2224024

Summary: add rpms as deps and SELinux
Product: [Fedora] Fedora EPEL Reporter: lejeczek <peljasz>
Component: cactiAssignee: Orphan Owner <extras-orphan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel9CC: imlinux+fedora, mstevens
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 lejeczek 2023-07-19 15:27:13 UTC
Description of problem:

Hi guys.

I'd be nice - many will appreciate - if more(required) PHP rpms will be depended on & pulled in upon installation.

-> dnf install -y php php-common php-bcmath php-cli php-mysqlnd php-gd php-gmp php-intl php-json php-ldap php-mbstring php-pdo php-pear php-snmp php-process php-xml php-zip

which one specifically I don't know, but if not pulled in then will get this - http://forums.cacti.net/viewtopic.php?p=291188#p291188

also - that I get, might need more tinkering thus more appreciated - soft-links end up SE denied:
...
Started SETroubleshoot daemon for processing new SELinux denial logs.
failed to retrieve rpm info for path '/var/log/cacti/143131987064b7feb68ad7e.tmp':
Started dbus-:1.2-org.fedoraproject.SetroubleshootPrivileged.
SELinux is preventing /usr/sbin/php-fpm from write access on the file /var/log/cacti/143131987064b7feb68ad7e.tmp. For complete SELinux messages run: sealert -l 6155f636-8520-4ba5-a738-ff2acb25178f
SELinux is preventing /usr/sbin/php-fpm from write access on the file /var/log/cacti/143131987064b7feb68ad7e.tmp.
...

going into CACTI must be the most sensible way - alternative would be adding creating custom rules and adding more boolean.

many! thanks.

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

current/latest

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Admin user for bugzilla script actions 2023-07-25 00:04:21 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.