Bug 2267435 - SELinux is preventing agetty from using the 'checkpoint_restore' capabilities.
Summary: SELinux is preventing agetty from using the 'checkpoint_restore' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 2259622
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ac5692d98e6e1d792c049a32214...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-02 13:59 UTC by Hilário Fochi Silveira
Modified: 2024-03-04 08:06 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-04 08:06:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (699 bytes, text/plain)
2024-03-02 13:59 UTC, Hilário Fochi Silveira
no flags Details
File: description (1.93 KB, text/plain)
2024-03-02 13:59 UTC, Hilário Fochi Silveira
no flags Details

Description Hilário Fochi Silveira 2024-03-02 13:59:51 UTC
Description of problem:
Jut afater eboot following dnf update
SELinux is preventing agetty from using the 'checkpoint_restore' capabilities.

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

Se você acredita nisso agetty deve ter o checkpoint_restore capacidade por padrão.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso por agora executando:
# ausearch -c 'agetty' --raw | audit2allow -M my-agetty
# semodule -X 300 -i my-agetty.pp

Additional Information:
Source Context                system_u:system_r:getty_t:s0-s0:c0.c1023
Target Context                system_u:system_r:getty_t:s0-s0:c0.c1023
Target Objects                Unknown [ capability2 ]
Source                        agetty
Source Path                   agetty
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.31-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.31-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.7.6-100.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Feb 23 18:29:24 UTC 2024
                              x86_64
Alert Count                   2
First Seen                    2024-03-02 10:53:18 -03
Last Seen                     2024-03-02 10:54:02 -03
Local ID                      36d4ea5c-3373-46d9-b099-bdfd96c63da2

Raw Audit Messages
type=AVC msg=audit(1709387642.725:212): avc:  denied  { checkpoint_restore } for  pid=4434 comm="agetty" capability=40  scontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tcontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tclass=capability2 permissive=0


Hash: agetty,getty_t,getty_t,capability2,checkpoint_restore

Version-Release number of selected component:
selinux-policy-targeted-38.31-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.11
comment:        Jut afater eboot following dnf update
reason:         SELinux is preventing agetty from using the 'checkpoint_restore' capabilities.
type:           libreport
kernel:         6.7.6-100.fc38.x86_64
component:      selinux-policy
package:        selinux-policy-targeted-38.31-1.fc38.noarch
hashmarkername: setroubleshoot
component:      selinux-policy

Comment 1 Hilário Fochi Silveira 2024-03-02 13:59:53 UTC
Created attachment 2019773 [details]
File: os_info

Comment 2 Hilário Fochi Silveira 2024-03-02 13:59:55 UTC
Created attachment 2019774 [details]
File: description

Comment 3 Zdenek Pytela 2024-03-04 08:06:15 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.