Bug 2375740 - SELinux is preventing pasta from 'append' accesses on the Datei /home/tpasch/.config/Code/logs/20250630T131315/window2/exthost/exthost.log.
Summary: SELinux is preventing pasta from 'append' accesses on the Datei /home/tpasch/...
Keywords:
Status: CLOSED DUPLICATE of bug 2374291
Alias: None
Product: Fedora
Classification: Fedora
Component: passt
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stefano Brivio
QA Contact:
URL:
Whiteboard: abrt_hash:445483b1a616aa6c2964132fb41...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-01 12:19 UTC by aannoaanno
Modified: 2025-07-01 16:26 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-07-01 16:26:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.16 KB, text/plain)
2025-07-01 12:19 UTC, aannoaanno
no flags Details
File: os_info (767 bytes, text/plain)
2025-07-01 12:19 UTC, aannoaanno
no flags Details

Description aannoaanno 2025-07-01 12:19:43 UTC
Description of problem:
SELinux is preventing pasta from 'append' accesses on the Datei /home/tpasch/.config/Code/logs/20250630T131315/window2/exthost/exthost.log.

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

Wenn Sie denken, dass es pasta standardmäßig erlaubt sein sollte, append Zugriff auf exthost.log file 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 'pasta' --raw | audit2allow -M my-pasta
# semodule -X 300 -i my-pasta.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:pasta_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:config_home_t:s0
Target Objects                /home/tpasch/.config/Code/logs/20250630T131315/win
                              dow2/exthost/exthost.log [ file ]
Source                        pasta
Source Path                   pasta
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.44-1.fc42.noarch
Local Policy RPM              
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.15.4-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Jun 27 15:32:46 UTC 2025
                              x86_64
Alert Count                   54
First Seen                    2025-06-22 09:46:44 CEST
Last Seen                     2025-06-30 14:06:06 CEST
Local ID                      8a2f1459-f0a0-4453-b750-e5ae97c71791

Raw Audit Messages
type=AVC msg=audit(1751285166.58:630): avc:  denied  { append } for  pid=260972 comm="pasta" path="/home/tpasch/.config/Code/logs/20250630T131315/window2/exthost/exthost.log" dev="dm-2" ino=359140 scontext=unconfined_u:unconfined_r:pasta_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file permissive=0


Hash: pasta,pasta_t,config_home_t,file,append

Version-Release number of selected component:
selinux-policy-targeted-41.44-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing pasta from 'append' accesses on the Datei /home/tpasch/.config/Code/logs/20250630T131315/window2/exthost/exthost.log.
package:        selinux-policy-targeted-41.44-1.fc42.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.15.4-200.fc42.x86_64
component:      selinux-policy

Comment 1 aannoaanno 2025-07-01 12:19:46 UTC
Created attachment 2095836 [details]
File: description

Comment 2 aannoaanno 2025-07-01 12:19:48 UTC
Created attachment 2095837 [details]
File: os_info

Comment 3 Stefano Brivio 2025-07-01 16:26:12 UTC

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


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