RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2059399 - selinux stops plasma5 starting
Summary: selinux stops plasma5 starting
Keywords:
Status: CLOSED DUPLICATE of bug 2058657
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: selinux-policy
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Zdenek Pytela
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-28 23:22 UTC by George
Modified: 2022-07-07 09:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-01 08:06:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-114061 0 None None None 2022-02-28 23:23:41 UTC

Description George 2022-02-28 23:22:22 UTC
Description of problem:
selinux stops plasma5 starting

Version-Release number of selected component (if applicable):
selinux-policy-34.1.26-1.el9.noarch

How reproducible:
always

Steps to Reproduce:
1.install plasma5 from EPEL
2.restart
3.X starts OK, plasmashell is blocked

Actual results:
black X screen with mouse pointer

Expected results:
plasma5 desktop

Additional info:
masking tmpfs.mount stops selinux blocking plasma5 etc

type=AVC msg=audit(1646021061.550:114): avc:  denied  { execmod } for  pid=1255 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=1039 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021061.991:127): avc:  denied  { execmod } for  pid=1411 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=21 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021062.499:137): avc:  denied  { execmod } for  pid=1443 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=2066 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021062.991:147): avc:  denied  { execmod } for  pid=1461 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=7178 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021063.484:157): avc:  denied  { execmod } for  pid=1479 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=6170 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021426.335:70): avc:  denied  { execute } for  pid=1055 comm="lightdm-gtk-gre" name="at-spi-bus-launcher" dev="nvme0n1p5" ino=801634 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gnome_atspi_exec_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021432.815:90): avc:  denied  { execmod } for  pid=1171 comm="ksplashqml" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=1041 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021433.004:100): avc:  denied  { execmod } for  pid=1243 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=4130 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1646021433.442:113): avc:  denied  { execmod } for  pid=1400 comm="plasmashell" path=2F6D656D66643A4A4954436F64653A5174516D6C202864656C6574656429 dev="tmpfs" ino=30 scontext=

Comment 1 George 2022-02-28 23:24:10 UTC
Seems to be similar or same as Fedora bug
https://bugzilla.redhat.com/show_bug.cgi?id=1781466

Comment 2 Zdenek Pytela 2022-03-01 08:06:30 UTC

*** This bug has been marked as a duplicate of bug 2058657 ***


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