Bug 789445

Summary: SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the None pulse-s5MbEsBhU9Ic.
Product: [Fedora] Fedora Reporter: Jonathan Humphrey <jch388>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:cc4489443cef4568a3577b597e6005410e96d349c6862d67d9a38176b1723858
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-13 22:25:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jonathan Humphrey 2012-02-10 19:08:33 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.3-2.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the None pulse-s5MbEsBhU9Ic.
time:           Fri 10 Feb 2012 12:55:03 PM CST

description:
:SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the None pulse-s5MbEsBhU9Ic.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that tmpwatch should be allowed setattr access on the pulse-s5MbEsBhU9Ic <Unknown> 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                unconfined_u:object_r:user_home_dir_t:s0
:Target Objects                pulse-s5MbEsBhU9Ic [ None ]
:Source                        tmpwatch
:Source Path                   /usr/sbin/tmpwatch
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           tmpwatch-2.10.3-1.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.3-2.fc16.x86_64 #1 SMP Fri
:                              Feb 3 20:08:08 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 10 Feb 2012 12:26:30 PM CST
:Last Seen                     Fri 10 Feb 2012 12:26:30 PM CST
:Local ID                      3df0caaf-4d12-40e5-ac37-dac5661ecfd1
:
:Raw Audit Messages
:type=AVC msg=audit(1328898390.28:116): avc:  denied  { setattr } for  pid=5364 comm="tmpwatch" name="pulse-s5MbEsBhU9Ic" dev=sda7 ino=142735 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dirnode=(removed) type=SYSCALL msg=audit(1328898390.028:116): arch=c000003e syscall=132 success=no exit=-13 a0=4045eb a1=7fffcaa4e710 a2=c320 a3=0 items=0 ppid=5362 pid=5364 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="tmpwatch" exe="/usr/sbin/tmpwatch" subj=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: tmpwatch,tmpreaper_t,user_home_dir_t,None,setattr
:
:audit2allow
:
:
:audit2allow -R
:
:

event_log:
:2012-02-10-12:55:28> Logging into Bugzilla at https://bugzilla.redhat.com
:2012-02-10-12:55:30  fatal: XML-RPC(300): RPC failed at server.  The username or password you entered is not valid.
:2012-02-10-12:55:30* (exited with 1)
:2012-02-10-12:55:54> Logging into Bugzilla at https://bugzilla.redhat.com
:2012-02-10-12:55:58* (killed by signal 15)
:2012-02-10-12:56:25> Logging into Bugzilla at https://bugzilla.redhat.com
:2012-02-10-12:56:33  fatal: XML-RPC(300): RPC failed at server.  The username or password you entered is not valid.
:2012-02-10-12:56:33* (exited with 1)

Comment 1 Daniel Walsh 2012-02-13 22:25:22 UTC
This looks like you have a mislabeled homdir.


restorecon -R -v /home