Bug 2353380 - SELinux is preventing bootc-systemd-g from 'read' accesses on the файл /usr/bin/bootc.
Summary: SELinux is preventing bootc-systemd-g from 'read' accesses on the файл /usr/b...
Keywords:
Status: CLOSED DUPLICATE of bug 2353248
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:e205facbe42058dae1a1159897b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-19 16:50 UTC by KsenkoLopa
Modified: 2025-03-27 14:13 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-27 14:13:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.22 KB, text/plain)
2025-03-19 16:50 UTC, KsenkoLopa
no flags Details
File: os_info (681 bytes, text/plain)
2025-03-19 16:50 UTC, KsenkoLopa
no flags Details

Description KsenkoLopa 2025-03-19 16:50:21 UTC
Description of problem:
SELinux is preventing bootc-systemd-g from 'read' accesses on the файл /usr/bin/bootc.

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

Если вы считаете, что bootc-systemd-g должно быть разрешено read доступ к bootc file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
разрешить этот доступ сейчас, выполнив:
# 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_generic_generator_t:s0
Target Context                system_u:object_r:install_exec_t:s0
Target Objects                /usr/bin/bootc [ file ]
Source                        bootc-systemd-g
Source Path                   bootc-systemd-g
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           bootc-1.1.5-1.fc41.x86_64
SELinux Policy RPM            selinux-policy-targeted-41.34-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.34-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.13.5-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Feb 27 15:07:31 UTC 2025
                              x86_64
Alert Count                   20
First Seen                    2025-02-27 23:35:35 +06
Last Seen                     2025-03-14 23:57:44 +06
Local ID                      04c987f9-8bb2-4d93-a4ad-810149b2213e

Raw Audit Messages
type=AVC msg=audit(1741975064.691:538): avc:  denied  { read } for  pid=23144 comm="bootc-systemd-g" name="bootc" dev="nvme0n1p3" ino=1183080 scontext=system_u:system_r:systemd_generic_generator_t:s0 tcontext=system_u:object_r:install_exec_t:s0 tclass=file permissive=1


Hash: bootc-systemd-g,systemd_generic_generator_t,install_exec_t,file,read

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing bootc-systemd-g from 'read' accesses on the файл /usr/bin/bootc.
component:      selinux-policy
package:        selinux-policy-targeted-41.34-1.fc41.noarch
hashmarkername: setroubleshoot
kernel:         6.13.6-200.fc41.x86_64
type:           libreport
component:      selinux-policy

Comment 1 KsenkoLopa 2025-03-19 16:50:24 UTC
Created attachment 2080890 [details]
File: description

Comment 2 KsenkoLopa 2025-03-19 16:50:26 UTC
Created attachment 2080891 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-03-27 14:13:47 UTC

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


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