Bug 2521615 - SELinux is preventing conmon from 'watch' accesses on the file /sys/fs/cgroup/system.slice/boinc-client.service/memory.events.
Summary: SELinux is preventing conmon from 'watch' accesses on the file /sys/fs/cgroup...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 44
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7210dcdc24b996b0a684d110061...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-23 13:07 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2026-08-23 13:07 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.03 KB, text/plain)
2026-08-23 13:07 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: os_info (712 bytes, text/plain)
2026-08-23 13:07 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details

Description Mr Beedell, Roke Julian Lockhart 2026-08-23 13:07:26 UTC
Description of problem:
Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
SELinux is preventing conmon from 'watch' accesses on the file /sys/fs/cgroup/system.slice/boinc-client.service/memory.events.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that conmon should be allowed watch access on the memory.events file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'conmon' --raw | audit2allow -M my-conmon
# semodule -X 300 -i my-conmon.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:cgroup_t:s0
Target Objects                /sys/fs/cgroup/system.slice/boinc-
                              client.service/memory.events [ file ]
Source                        conmon
Source Path                   conmon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.6-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-44.6-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 7.1.9-200.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Aug 19 17:41:40 UTC 2026
                              x86_64
Alert Count                   1
First Seen                    2026-08-23 13:56:29 BST
Last Seen                     2026-08-23 13:56:29 BST
Local ID                      10116208-8d19-43c2-b893-304879354d6d

Raw Audit Messages
type=AVC msg=audit(1787489789.55:720): avc:  denied  { watch } for  pid=29511 comm="conmon" path="/sys/fs/cgroup/system.slice/boinc-client.service/memory.events" dev="cgroup2" ino=30238 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=file permissive=1


Hash: conmon,boinc_t,cgroup_t,file,watch

Version-Release number of selected component:
selinux-policy-targeted-44.6-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing conmon from 'watch' accesses on the file /sys/fs/cgroup/system.slice/boinc-client.service/memory.events.
package:        selinux-policy-targeted-44.6-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.1.9-200.fc44.x86_64
event_log:      2026-08-23-13:58:18> Looking for similar problems in bugzilla
comment:        Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
component:      selinux-policy

Comment 1 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:07:28 UTC
Created attachment 2155409 [details]
File: description

Comment 2 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:07:30 UTC
Created attachment 2155410 [details]
File: os_info


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