Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1386929 - SELinux is preventing cleanup from 'read' accesses on the lnk_file log.
Summary: SELinux is preventing cleanup from 'read' accesses on the lnk_file log.
Keywords:
Status: CLOSED DUPLICATE of bug 1383867
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:870310b9d03b6397332d876ec58...
: 1386931 1386932 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-19 21:19 UTC by Juan Orti
Modified: 2016-11-29 12:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-29 12:42:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2016-10-19 21:19:17 UTC
Description of problem:
SELinux is preventing cleanup from 'read' accesses on the lnk_file log.

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

If cree que de manera predeterminada, cleanup 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 'cleanup' --raw | audit2allow -M my-cleanup
# semodule -X 300 -i my-cleanup.pp

Additional Information:
Source Context                system_u:system_r:postfix_cleanup_t:s0
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                log [ lnk_file ]
Source                        cleanup
Source Path                   cleanup
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-219.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.1-1.fc25.x86_64 #1 SMP Fri Oct
                              7 14:38:22 UTC 2016 x86_64 x86_64
Alert Count                   151
First Seen                    2016-10-13 19:54:23 CEST
Last Seen                     2016-10-19 22:46:08 CEST
Local ID                      4683be34-f9be-444e-b5a1-fe81fa661130

Raw Audit Messages
type=AVC msg=audit(1476909968.465:527): avc:  denied  { read } for  pid=17555 comm="cleanup" name="log" dev="tmpfs" ino=24547 scontext=system_u:system_r:postfix_cleanup_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=lnk_file permissive=0


Hash: cleanup,postfix_cleanup_t,tmpfs_t,lnk_file,read

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

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.1-1.fc25.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2016-11-07 21:35:47 UTC
*** Bug 1386931 has been marked as a duplicate of this bug. ***

Comment 2 Lukas Vrabec 2016-11-07 21:36:00 UTC
*** Bug 1386932 has been marked as a duplicate of this bug. ***

Comment 3 Lukas Vrabec 2016-11-29 12:42:02 UTC

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


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