Fedora Account System
Red Hat Associate
Red Hat Customer
SELinux policy currently doesn't allow nut_upsmon_t to write to fifo_file:systemd_logind_inhibit_var_run_t Reproducible: Always Steps to Reproduce: 1.Install/configure nut-client 2.Start nut-monitor 3.Run systemd-inhibit --list Actual Results: No upsmon sleep inhibitor is listed Expected Results: WHO UID USER PID COMM WHAT WHY > upsmon 57 nut 435457 upsmon sleep Careful handling of OS slee> Additional Information: Denial is: type=AVC msg=audit(1747088012.000:22345): avc: denied { write } for pid=1452 comm="upsmon" path="/run/systemd/inhibit/6237.ref" dev="tmpfs" ino=46602 scontext=system_u:system_r:nut_upsmon_t:s0 tcontext=system_u:object_r:systemd_logind_inhibit_var_run_t:s0 tclass=fifo_file permissive=0 Adding a module with the following rule allows upsmon to work correctly: allow nut_upsmon_t systemd_logind_inhibit_var_run_t:fifo_file write;
FEDORA-2025-5e64167ac4 (selinux-policy-41.40-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-5e64167ac4
Update fixes denial, karma added :)
FEDORA-2025-5e64167ac4 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-5e64167ac4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-5e64167ac4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-5e64167ac4 (selinux-policy-41.40-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.