Bug 1965722 - SELinux is preventing apcupsd getattr access on /
Summary: SELinux is preventing apcupsd getattr access on /
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 34
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-28 23:22 UTC by Anthony Messina
Modified: 2021-06-10 01:13 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-34.10-1.fc34
Clone Of:
Environment:
Last Closed: 2021-06-10 01:13:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Anthony Messina 2021-05-28 23:22:51 UTC
AVC avc:  denied  { getattr } for  pid=2704 comm="apcupsd" name="/" dev="cgroup2" ino=1 scontext=system_u:system_r:apcupsd_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=filesystem permissive=0

Comment 1 Zdenek Pytela 2021-05-31 14:21:34 UTC
I've submitted a Fedora PR to address the issue:
https://github.com/fedora-selinux/selinux-policy/pull/762

Comment 2 Fedora Update System 2021-06-07 15:44:26 UTC
FEDORA-2021-f014ca8326 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f014ca8326

Comment 3 Fedora Update System 2021-06-09 01:16:37 UTC
FEDORA-2021-f014ca8326 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f014ca8326`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f014ca8326

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

Comment 4 Fedora Update System 2021-06-10 01:13:27 UTC
FEDORA-2021-f014ca8326 has been pushed to the Fedora 34 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.