Bug 789445 - SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the None pulse-s5MbEsBhU9Ic.
Summary: SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the None ...
Keywords:
Status: CLOSED NOTABUG
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:cc4489443cef4568a3577b597e6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-10 19:08 UTC by Jonathan Humphrey
Modified: 2012-02-13 22:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-13 22:25:22 UTC
Type: ---


Attachments (Terms of Use)

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


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