Bug 752296 - SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the directory /.
Summary: SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the director...
Keywords:
Status: CLOSED DUPLICATE of bug 751520
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:28a98416155609477c8bab6f4f7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-09 04:44 UTC by Robert McBroom
Modified: 2011-11-09 09:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-09 09:38:19 UTC
Type: ---


Attachments (Terms of Use)

Description Robert McBroom 2011-11-09 04:44:51 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the directory /.
time:           Tue Nov  8 23:44:41 2011

description:
:SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the directory /.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that tmpwatch should be allowed read access on the  directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep tmpwatch /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:tmpreaper_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:etc_runtime_t:s0
:Target Objects                / [ dir ]
:Source                        tmpwatch
:Source Path                   /usr/sbin/tmpwatch
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           tmpwatch-2.10.3-1.fc16
:Target RPM Packages           filesystem-2.4.44-1.fc16
:Policy RPM                    selinux-policy-3.10.0-51.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-1.fc16.x86_64 #1
:                              SMP Mon Oct 24 12:18:13 UTC 2011 x86_64 x86_64
:Alert Count                   11
:First Seen                    Thu 20 Oct 2011 06:12:01 PM EDT
:Last Seen                     Sun 06 Nov 2011 03:49:56 AM EST
:Local ID                      b1d72e6a-2cc0-496a-956e-7c69ee4ccc9a
:
:Raw Audit Messages
:type=AVC msg=audit(1320569396.500:346): avc:  denied  { read } for  pid=31376 comm="tmpwatch" name="/" dev=sda8 ino=2 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1320569396.500:346): arch=x86_64 syscall=open success=yes exit=EINTR a0=4045eb a1=0 a2=3e731b0a90 a3=0 items=0 ppid=31374 pid=31376 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=31 comm=tmpwatch exe=/usr/sbin/tmpwatch subj=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 key=(null)
:
:Hash: tmpwatch,tmpreaper_t,etc_runtime_t,dir,read
:
:audit2allow
:
:#============= tmpreaper_t ==============
:allow tmpreaper_t etc_runtime_t:dir read;
:
:audit2allow -R
:
:#============= tmpreaper_t ==============
:allow tmpreaper_t etc_runtime_t:dir read;
:

Comment 1 Miroslav Grepl 2011-11-09 09:38:19 UTC

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


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