Bug 2003268 - SELinux is preventing gdb from 'read' accesses on the файл cached-microdescs.
Summary: SELinux is preventing gdb from 'read' accesses on the файл cached-microdescs.
Keywords:
Status: CLOSED DUPLICATE of bug 1896648
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:eff8fa73478c4f6fd5a885a539c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-10 20:04 UTC by Fhiss
Modified: 2021-12-09 15:24 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-12-09 15:24:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fhiss 2021-09-10 20:04:22 UTC
Description of problem:
SELinux is preventing gdb from 'read' accesses on the файл cached-microdescs.

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

Если вы считаете, что gdb должно быть разрешено read доступ к cached-microdescs file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
разрешить этот доступ сейчас, выполнив:
# ausearch -c 'gdb' --raw | audit2allow -M my-gdb
# semodule -X 300 -i my-gdb.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:tor_var_lib_t:s0
Target Objects                cached-microdescs [ file ]
Source                        gdb
Source Path                   gdb
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-34.16-1.fc34.noarch
Local Policy RPM              selinux-policy-targeted-34.16-1.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.13.14-200.fc34.x86_64 #1 SMP Fri
                              Sep 3 15:33:01 UTC 2021 x86_64 x86_64
Alert Count                   1
First Seen                    2021-09-10 14:21:42 +03
Last Seen                     2021-09-10 14:21:42 +03
Local ID                      eae41fb5-7fb5-46da-8a7f-61d31f24f391

Raw Audit Messages
type=AVC msg=audit(1631272902.662:483): avc:  denied  { read } for  pid=5623 comm="gdb" name="cached-microdescs" dev="dm-0" ino=4576144 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tor_var_lib_t:s0 tclass=file permissive=0


Hash: gdb,abrt_t,tor_var_lib_t,file,read

Version-Release number of selected component:
selinux-policy-targeted-34.16-1.fc34.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.15.2
hashmarkername: setroubleshoot
kernel:         5.13.14-200.fc34.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2021-12-09 15:24:29 UTC

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


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