Bug 2266580 - SELinux is preventing /usr/sbin/plymouthd from using the 'checkpoint_restore' capabilities.
Summary: SELinux is preventing /usr/sbin/plymouthd from using the 'checkpoint_restore'...
Keywords:
Status: CLOSED DUPLICATE of bug 2259622
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:78e4c5e7d2bf110bd292657b4d0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-28 12:00 UTC by Jose U.
Modified: 2024-02-28 13:50 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-28 13:50:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.29 KB, text/plain)
2024-02-28 12:00 UTC, Jose U.
no flags Details
File: os_info (682 bytes, text/plain)
2024-02-28 12:00 UTC, Jose U.
no flags Details

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 ***


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