Bug 2372799 - 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 ERRATA
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-06-13 20:42 UTC by wiese
Modified: 2025-07-10 16:29 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-41.44-1.fc41
Clone Of:
Environment:
Last Closed: 2025-07-10 16:29:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.11 KB, text/plain)
2025-06-13 20:42 UTC, wiese
no flags Details
File: os_info (690 bytes, text/plain)
2025-06-13 20:42 UTC, wiese
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 2733 0 None open Dontaudit systemd_generator read sssd public files 2025-06-16 07:17:23 UTC

Description wiese 2025-06-13 20:42:55 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.41-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.41-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.14.9-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu May 29 14:33:20 UTC 2025
                              x86_64
Alert Count                   86
First Seen                    2025-04-22 15:28:50 CEST
Last Seen                     2025-06-12 22:57:48 CEST
Local ID                      35c9c868-5f3e-434c-b317-797ff0627673

Raw Audit Messages
type=AVC msg=audit(1749761868.959:613): avc:  denied  { search } for  pid=16855 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.41-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.41-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.14.9-200.fc41.x86_64
component:      selinux-policy

Comment 1 wiese 2025-06-13 20:42:58 UTC
Created attachment 2093910 [details]
File: description

Comment 2 wiese 2025-06-13 20:42:59 UTC
Created attachment 2093911 [details]
File: os_info

Comment 3 Fedora Update System 2025-06-23 12:27:37 UTC
FEDORA-2025-d3953bee7c (selinux-policy-41.44-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d3953bee7c

Comment 4 Fedora Update System 2025-06-24 02:25:27 UTC
FEDORA-2025-d3953bee7c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-d3953bee7c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d3953bee7c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-07-10 16:29:12 UTC
FEDORA-2025-d3953bee7c (selinux-policy-41.44-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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