Bug 1593038 - SELinux is preventing touch from write, open access on the archivo /root/.esmtp_queue/sEPOIlib/mail.
Summary: SELinux is preventing touch from write, open access on the archivo /root/.esm...
Keywords:
Status: CLOSED DUPLICATE of bug 1592083
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:308d767e5d4d9170f561ed110c6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-19 23:52 UTC by Subliminal_Sabotage
Modified: 2018-07-03 11:20 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-03 11:20:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Subliminal_Sabotage 2018-06-19 23:52:01 UTC
Description of problem:
SELinux is preventing touch from write, open access on the archivo /root/.esmtp_queue/sEPOIlib/mail.

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

Si cree que de manera predeterminada se debería permitir a touch el acceso write open sobre  mail file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'touch' --raw | audit2allow -M mi-touch
# semodule -X 300 -i mi-touch.pp

Additional Information:
Source Context                system_u:system_r:logwatch_t:s0-s0:c0.c1023
Target Context                system_u:object_r:mail_home_rw_t:s0
Target Objects                /root/.esmtp_queue/sEPOIlib/mail [ file ]
Source                        touch
Source Path                   touch
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-32.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.16.15-300.fc28.x86_64 #1 SMP Tue
                              Jun 12 00:42:35 UTC 2018 x86_64 x86_64
Alert Count                   3
First Seen                    2018-06-19 19:50:16 -04
Last Seen                     2018-06-19 19:50:16 -04
Local ID                      0a137b56-9f10-4465-b0c4-779310c8b056

Raw Audit Messages
type=AVC msg=audit(1529452216.994:929): avc:  denied  { write open } for  pid=8493 comm="sendmail" path="/root/.esmtp_queue/sEPOIlib/mail" dev="dm-0" ino=794597 scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file permissive=0


Hash: touch,logwatch_t,mail_home_rw_t,file,write,open

Version-Release number of selected component:
selinux-policy-3.14.1-32.fc28.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.16.15-300.fc28.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-07-03 11:20:01 UTC

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


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