Bug 1402387 - SELinux is preventing newaliases from 'read' accesses on the lnk_file log.
Summary: SELinux is preventing newaliases from 'read' accesses on the lnk_file log.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9b52c2e49477a6a685b29167112...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 12:27 UTC by Juan Orti
Modified: 2016-12-08 11:58 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.13.1-225.1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-08 11:58:45 UTC
Type: ---


Attachments (Terms of Use)

Description Juan Orti 2016-12-07 12:27:18 UTC
Description of problem:
SELinux is preventing newaliases from 'read' accesses on the lnk_file log.

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

If cree que de manera predeterminada, newaliases debería permitir acceso read sobre log lnk_file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
allow this access for now by executing:
# ausearch -c 'newaliases' --raw | audit2allow -M my-newaliases
# semodule -X 300 -i my-newaliases.pp

Additional Information:
Source Context                system_u:system_r:sendmail_t:s0
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                log [ lnk_file ]
Source                        newaliases
Source Path                   newaliases
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-224.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.10-300.fc25.x86_64 #1 SMP Mon
                              Nov 21 18:59:16 UTC 2016 x86_64 x86_64
Alert Count                   2
First Seen                    2016-12-03 10:34:55 CET
Last Seen                     2016-12-03 10:34:55 CET
Local ID                      114c9679-ee20-45b8-a882-655b5287fb02

Raw Audit Messages
type=AVC msg=audit(1480757695.318:526): avc:  denied  { read } for  pid=14387 comm="newaliases" name="log" dev="tmpfs" ino=109443 scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=lnk_file permissive=0


Hash: newaliases,sendmail_t,tmpfs_t,lnk_file,read

Version-Release number of selected component:
selinux-policy-3.13.1-224.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.11-300.fc25.x86_64
type:           libreport


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