Bug 2266580

Summary: SELinux is preventing /usr/sbin/plymouthd from using the 'checkpoint_restore' capabilities.
Product: [Fedora] Fedora Reporter: Jose U. <juceda>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: dwalsh, juceda, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:78e4c5e7d2bf110bd292657b4d05303ae16e2a0838a5e6c3560c1fa36ff759ea;VARIANT_ID=xfce;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-28 13:50:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: description
none
File: os_info none

Description Jose U. 2024-02-28 12:00:02 UTC
Description of problem:
SELinux is preventing /usr/sbin/plymouthd from using the 'checkpoint_restore' capabilities.

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

If you believe that plymouthd should have the checkpoint_restore capability 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 'plymouthd' --raw | audit2allow -M my-plymouthd
# semodule -X 300 -i my-plymouthd.pp

Additional Information:
Source Context                system_u:system_r:plymouthd_t:s0
Target Context                system_u:system_r:plymouthd_t:s0
Target Objects                Unknown [ capability2 ]
Source                        plymouthd
Source Path                   /usr/sbin/plymouthd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           plymouth-22.02.122-5.fc39.x86_64
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-39.4-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-39.4-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.7.5-200.fc39.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Feb 17 17:20:08 UTC 2024
                              x86_64
Alert Count                   655
First Seen                    2024-02-28 12:58:58 CET
Last Seen                     2024-02-28 12:59:09 CET
Local ID                      7ccfc368-0a40-4005-a08f-9ff69ae78f2a

Raw Audit Messages
type=AVC msg=audit(1709121549.302:788): avc:  denied  { checkpoint_restore } for  pid=451 comm="plymouthd" capability=40  scontext=system_u:system_r:plymouthd_t:s0 tcontext=system_u:system_r:plymouthd_t:s0 tclass=capability2 permissive=0


type=SYSCALL msg=audit(1709121549.302:788): arch=x86_64 syscall=ioctl success=yes exit=0 a0=b a1=5457 a2=7ffc4b31ab70 a3=55c44fc6ee70 items=0 ppid=1 pid=451 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=plymouthd exe=/usr/sbin/plymouthd subj=system_u:system_r:plymouthd_t:s0 key=(null)

Hash: plymouthd,plymouthd_t,plymouthd_t,capability2,checkpoint_restore

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

Additional info:
reporter:       libreport-2.17.11
reason:         SELinux is preventing /usr/sbin/plymouthd from using the 'checkpoint_restore' capabilities.
package:        selinux-policy-targeted-39.4-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.7.5-200.fc39.x86_64
component:      selinux-policy

Comment 1 Jose U. 2024-02-28 12:00:05 UTC
Created attachment 2019274 [details]
File: description

Comment 2 Jose U. 2024-02-28 12:00:06 UTC
Created attachment 2019275 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-02-28 13:50:01 UTC

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