Bug 2248510 - SELinux is preventing mktemp from 'create' accesses on the cartella p7Dfv0DE.
Summary: SELinux is preventing mktemp from 'create' accesses on the cartella p7Dfv0DE.
Keywords:
Status: CLOSED DUPLICATE of bug 2247977
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:972be22a3a3130ea91e5006ea69...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-07 13:14 UTC by Davide Repetto
Modified: 2023-11-07 13:26 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-07 13:26:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.92 KB, text/plain)
2023-11-07 13:14 UTC, Davide Repetto
no flags Details
File: os_info (709 bytes, text/plain)
2023-11-07 13:15 UTC, Davide Repetto
no flags Details

Description Davide Repetto 2023-11-07 13:14:57 UTC
Description of problem:
SELinux is preventing mktemp from 'create' accesses on the cartella p7Dfv0DE.

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

Se ci credi mktemp dovrebbe essere consentito create accesso al p7Dfv0DE directory per impostazione predefinita.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo:
# ausearch -c 'mktemp' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i miei-mktemp.pp

Additional Information:
Source Context                system_u:system_r:system_mail_t:s0
Target Context                system_u:object_r:ddclient_var_t:s0
Target Objects                p7Dfv0DE [ dir ]
Source                        mktemp
Source Path                   mktemp
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-39.1-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-39.1-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.5.9-300.fc39.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Oct 25 21:39:20 UTC 2023
                              x86_64
Alert Count                   1
First Seen                    2023-11-07 13:16:09 CET
Last Seen                     2023-11-07 13:16:09 CET
Local ID                      b431318f-8ded-459b-b470-5f8eb4ba5533

Raw Audit Messages
type=AVC msg=audit(1699359369.337:407): avc:  denied  { create } for  pid=14085 comm="mktemp" name="p7Dfv0DE" scontext=system_u:system_r:system_mail_t:s0 tcontext=system_u:object_r:ddclient_var_t:s0 tclass=dir permissive=1


Hash: mktemp,system_mail_t,ddclient_var_t,dir,create

Version-Release number of selected component:
selinux-policy-targeted-39.1-1.fc39.noarch

Additional info:
reporter:       libreport-2.17.11
reason:         SELinux is preventing mktemp from 'create' accesses on the cartella p7Dfv0DE.
package:        selinux-policy-targeted-39.1-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.5.9-300.fc39.x86_64
component:      selinux-policy

Comment 1 Davide Repetto 2023-11-07 13:14:59 UTC
Created attachment 1997610 [details]
File: description

Comment 2 Davide Repetto 2023-11-07 13:15:02 UTC
Created attachment 1997611 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-11-07 13:26:55 UTC

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


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