Bug 2360042 - SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichnis /var/lib/sss/mc.
Summary: SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichn...
Keywords:
Status: CLOSED DUPLICATE of bug 2359267
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 41
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:736e33349e4a2b2e6963c78074b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 04:57 UTC by wiese
Modified: 2025-04-16 06:55 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-16 06:55:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.08 KB, text/plain)
2025-04-16 04:57 UTC, wiese
no flags Details
File: os_info (718 bytes, text/plain)
2025-04-16 04:57 UTC, wiese
no flags Details

Description wiese 2025-04-16 04:57:38 UTC
Description of problem:
SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichnis /var/lib/sss/mc.

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

Wenn Sie denken, dass es bootc-systemd-g standardmäßig erlaubt sein sollte, search Zugriff auf mc directory zu erhalten.
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 'bootc-systemd-g' --raw | audit2allow -M my-bootcsystemdg
# semodule -X 300 -i my-bootcsystemdg.pp

Additional Information:
Source Context                system_u:system_r:systemd_bootc_generator_t:s0
Target Context                system_u:object_r:sssd_public_t:s0
Target Objects                /var/lib/sss/mc [ dir ]
Source                        bootc-systemd-g
Source Path                   bootc-systemd-g
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           sssd-common-2.10.2-1.fc41.x86_64
SELinux Policy RPM            selinux-policy-targeted-41.36-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.36-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.13.10-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Apr 7 19:01:38 UTC 2025 x86_64
Alert Count                   4
First Seen                    2025-04-16 06:55:32 CEST
Last Seen                     2025-04-16 06:55:32 CEST
Local ID                      37ee7c34-db28-4029-befa-9a920e5dde44

Raw Audit Messages
type=AVC msg=audit(1744779332.888:361): avc:  denied  { search } for  pid=38506 comm="bootc-systemd-g" name="mc" dev="sda3" ino=446687 scontext=system_u:system_r:systemd_bootc_generator_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=dir permissive=0


Hash: bootc-systemd-g,systemd_bootc_generator_t,sssd_public_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-41.36-1.fc41.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichnis /var/lib/sss/mc.
package:        selinux-policy-targeted-41.36-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.13.10-200.fc41.x86_64
component:      selinux-policy

Comment 1 wiese 2025-04-16 04:57:41 UTC
Created attachment 2085115 [details]
File: description

Comment 2 wiese 2025-04-16 04:57:42 UTC
Created attachment 2085116 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-04-16 06:55:23 UTC

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


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