Bug 2264934 - 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-02-19 18:16 UTC by Alex. H. F.
Modified: 2024-02-20 09:03 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-20 09:03:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.94 KB, text/plain)
2024-02-19 18:16 UTC, Alex. H. F.
no flags Details
File: os_info (734 bytes, text/plain)
2024-02-19 18:16 UTC, Alex. H. F.
no flags Details

Description Alex. H. F. 2024-02-19 18:16:05 UTC
Description of problem:
SELinux is preventing agetty from using the 'checkpoint_restore' capabilities.

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

Wenn Sie denken, dass agetty standardmäßig checkpoint_restore Berechtigung haben sollten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# 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                Unbekannt [ capability2 ]
Source                        agetty
Source Path                   agetty
Port                          <Unbekannt>
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.4-100.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Feb 5 22:19:06 UTC 2024 x86_64
Alert Count                   2
First Seen                    2024-02-16 20:54:18 CET
Last Seen                     2024-02-18 21:26:17 CET
Local ID                      d8dac19b-6910-4ab0-a47d-f960d98b0262

Raw Audit Messages
type=AVC msg=audit(1708287977.979:412): avc:  denied  { checkpoint_restore } for  pid=104042 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
reason:         SELinux is preventing agetty from using the 'checkpoint_restore' capabilities.
kernel:         6.7.4-100.fc38.x86_64
package:        selinux-policy-targeted-38.31-1.fc38.noarch
hashmarkername: setroubleshoot
type:           libreport
component:      selinux-policy
component:      selinux-policy

Comment 1 Alex. H. F. 2024-02-19 18:16:07 UTC
Created attachment 2017689 [details]
File: description

Comment 2 Alex. H. F. 2024-02-19 18:16:09 UTC
Created attachment 2017690 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-02-20 09:03:42 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.