Bug 2203329 - SELinux is preventing systemd from using the 'dyntransition' accesses on a process.
Summary: SELinux is preventing systemd from using the 'dyntransition' accesses on a pr...
Keywords:
Status: CLOSED DUPLICATE of bug 2186821
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2667f9f17c5475f3d22501f36f5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-11 23:07 UTC by Mikhail
Modified: 2023-05-15 09:57 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-15 09:57:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.90 KB, text/plain)
2023-05-11 23:07 UTC, Mikhail
no flags Details
File: os_info (770 bytes, text/plain)
2023-05-11 23:07 UTC, Mikhail
no flags Details

Description Mikhail 2023-05-11 23:07:42 UTC
Description of problem:
Happens while kernel, glibc and mesa update
SELinux is preventing systemd from using the 'dyntransition' accesses on a process.

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

If you believe that systemd should be allowed dyntransition access on processes labeled init_t 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 'systemd' --raw | audit2allow -M my-systemd
# semodule -X 300 -i my-systemd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:system_r:init_t:s0
Target Objects                Unknown [ process ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.12-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-38.12-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.4.0-
                              0.rc1.20230511git80e62bc8487b.19.fc39.x86_64+debug
                              #1 SMP PREEMPT_DYNAMIC Thu May 11 17:42:55 UTC
                              2023 x86_64
Alert Count                   2
First Seen                    2023-05-12 03:50:03 +05
Last Seen                     2023-05-12 03:50:19 +05
Local ID                      0bec9ab7-ff30-4719-ae6a-f16616541a41

Raw Audit Messages
type=AVC msg=audit(1683845419.214:508): avc:  denied  { dyntransition } for  pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=process permissive=1


Hash: systemd,init_t,init_t,process,dyntransition

Version-Release number of selected component:
selinux-policy-targeted-38.12-1.fc39.noarch

Additional info:
reporter:       libreport-2.17.9
reason:         SELinux is preventing systemd from using the 'dyntransition' accesses on a process.
package:        selinux-policy-targeted-38.12-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.4.0-0.rc1.20230511git80e62bc8487b.19.fc39.x86_64+debug
comment:        Happens while kernel, glibc and mesa update
component:      selinux-policy

Comment 1 Mikhail 2023-05-11 23:07:44 UTC
Created attachment 1964104 [details]
File: description

Comment 2 Mikhail 2023-05-11 23:07:47 UTC
Created attachment 1964105 [details]
File: os_info

Comment 3 Mikhail 2023-05-11 23:57:42 UTC
Demonstration: https://youtu.be/mbox4DWVEIs

Comment 4 Zdenek Pytela 2023-05-15 09:57:57 UTC

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


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