Bug 2527998 - SELinux is preventing kmscon from 'read' accesses on the file inactive.issue.
Summary: SELinux is preventing kmscon from 'read' accesses on the file inactive.issue.
Keywords:
Status: CLOSED ERRATA
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:1972faf411099b9fef25dea7844...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-03 12:24 UTC by 汪明衡
Modified: 2026-09-16 00:54 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-44.9-1.fc44
Clone Of:
Environment:
Last Closed: 2026-09-16 00:54:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.88 KB, text/plain)
2026-09-03 12:24 UTC, 汪明衡
no flags Details
File: os_info (712 bytes, text/plain)
2026-09-03 12:24 UTC, 汪明衡
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3398 0 None open Allow kmscon read cocpit's pid files 2026-09-07 15:54:16 UTC

Description 汪明衡 2026-09-03 12:24:45 UTC
Description of problem:
SELinux is preventing kmscon from 'read' accesses on the file inactive.issue.

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

If you believe that kmscon should be allowed read access on the inactive.issue 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 'kmscon' --raw | audit2allow -M my-kmscon
# semodule -X 300 -i my-kmscon.pp

Additional Information:
Source Context                system_u:system_r:kmscon_t:s0
Target Context                system_u:object_r:cockpit_var_run_t:s0
Target Objects                inactive.issue [ file ]
Source                        kmscon
Source Path                   kmscon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.8-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-44.8-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.1.12-200.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Aug 28 14:00:18 UTC 2026
                              x86_64
Alert Count                   24
First Seen                    2026-09-03 21:08:09 JST
Last Seen                     2026-09-03 21:21:44 JST
Local ID                      1ace8888-7fe9-44f0-b6b3-94061d2f80ce

Raw Audit Messages
type=AVC msg=audit(1788438104.926:531): avc:  denied  { read } for  pid=13399 comm="kmscon" name="inactive.issue" dev="tmpfs" ino=2841 scontext=system_u:system_r:kmscon_t:s0 tcontext=system_u:object_r:cockpit_var_run_t:s0 tclass=file permissive=0


Hash: kmscon,kmscon_t,cockpit_var_run_t,file,read

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing kmscon from 'read' accesses on the file inactive.issue.
package:        selinux-policy-targeted-44.8-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.1.12-200.fc44.x86_64
component:      selinux-policy

Comment 1 汪明衡 2026-09-03 12:24:47 UTC
Created attachment 2156578 [details]
File: description

Comment 2 汪明衡 2026-09-03 12:24:49 UTC
Created attachment 2156579 [details]
File: os_info

Comment 3 Fedora Update System 2026-09-14 14:37:46 UTC
FEDORA-2026-1413268892 (selinux-policy-44.9-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-1413268892

Comment 4 Fedora Update System 2026-09-15 01:42:45 UTC
FEDORA-2026-1413268892 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-1413268892`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-1413268892

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

Comment 5 Fedora Update System 2026-09-16 00:54:35 UTC
FEDORA-2026-1413268892 (selinux-policy-44.9-1.fc44) has been pushed to the Fedora 44 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.