Bug 796819 - SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the None /tmp/.font-unix.
Summary: SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the None /tm...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6ce939b0b325abe75763c3d64c8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-23 17:48 UTC by Iván Jiménez
Modified: 2012-03-21 18:49 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-95.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-21 18:49:02 UTC
Type: ---


Attachments (Terms of Use)

Description Iván Jiménez 2012-02-23 17:48:36 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc3.git7.2.fc17.x86_64
reason:         SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the None /tmp/.font-unix.
time:           jue 23 feb 2012 12:47:48 COT

description:
:SELinux is preventing /usr/sbin/tmpwatch from 'read' accesses on the None /tmp/.font-unix.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that tmpwatch should be allowed read access on the .font-unix <Desconocido> 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:unlabeled_t:s0
:Target Objects                /tmp/.font-unix [ None ]
:Source                        tmpwatch
:Source Path                   /usr/sbin/tmpwatch
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           tmpwatch-2.10.3-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-91.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-0.rc3.git7.2.fc17.x86_64 #1 SMP
:                              Fri Feb 17 18:55:53 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    jue 23 feb 2012 11:48:36 COT
:Last Seen                     jue 23 feb 2012 11:48:36 COT
:Local ID                      01834be3-e18e-4744-a587-58c7c1403713
:
:Raw Audit Messages
:type=AVC msg=audit(1330015716.866:26): avc:  denied  { read } for  pid=493 comm="NetworkManager" name="sessions" dev="tmpfs" ino=12133 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=dirnode=(removed) type=AVC msg=audit(1330019212.706:146): avc:  denied  { getattr } for  pid=8245 comm="tmpwatch" path="/tmp/.font-unix" dev="sda3" ino=262155 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dirnode=(removed) type=SYSCALL msg=audit(1330019212.706:146): arch=c000003e syscall=6 success=no exit=-13 a0=7fffa2af1ce0 a1=7fffa2af1c10 a2=7fffa2af1c10 a3=18 items=0 ppid=8243 pid=8245 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,unlabeled_t,None,read
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Daniel Walsh 2012-02-23 22:16:09 UTC
Fixed in selinux-policy-3.10.0-93.fc17

Comment 2 Fedora Update System 2012-02-29 09:43:10 UTC
selinux-policy-3.10.0-95.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-95.fc17

Comment 3 Fedora Update System 2012-02-29 18:52:51 UTC
Package selinux-policy-3.10.0-95.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-95.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2682/selinux-policy-3.10.0-95.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-03-21 18:49:02 UTC
selinux-policy-3.10.0-95.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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