Bug 693063 - SELinux is preventing /usr/bin/xauth from 'unlink' accesses on the archivo database-c.
Summary: SELinux is preventing /usr/bin/xauth from 'unlink' accesses on the archivo da...
Keywords:
Status: CLOSED DUPLICATE of bug 692459
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3c18637f9aa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-02 09:56 UTC by Pablo Iranzo Gómez
Modified: 2011-04-04 07:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-04 07:46:33 UTC
Type: ---


Attachments (Terms of Use)

Description Pablo Iranzo Gómez 2011-04-02 09:56:27 UTC
SELinux is preventing /usr/bin/xauth from 'unlink' accesses on the archivo database-c.

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

If you believe that xauth should be allowed unlink access on the database-c file 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 xauth /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:xauth_t:s0
Target Context                unconfined_u:object_r:user_tmpfs_t:s0
Target Objects                database-c [ file ]
Source                        xauth
Source Path                   /usr/bin/xauth
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           xorg-x11-xauth-1.0.2-9.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-6.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.i686 #1 SMP Wed Mar 30
                              16:54:01 UTC 2011 i686 i686
Alert Count                   1
First Seen                    sáb 02 abr 2011 11:55:10 CEST
Last Seen                     sáb 02 abr 2011 11:55:10 CEST
Local ID                      9ecb240b-7754-4e2e-ae1e-d7fb9b73b35a

Raw Audit Messages
type=AVC msg=audit(1301738110.516:620): avc:  denied  { unlink } for  pid=7268 comm="xauth" name="database-c" dev=tmpfs ino=138807 scontext=unconfined_u:unconfined_r:xauth_t:s0 tcontext=unconfined_u:object_r:user_tmpfs_t:s0 tclass=file


type=SYSCALL msg=audit(1301738110.516:620): arch=i386 syscall=unlink success=yes exit=0 a0=bfd165ba a1=0 a2=4b25bc34 a3=bfd169bb items=0 ppid=7267 pid=7268 auid=11356 uid=11356 gid=11356 euid=11356 suid=11356 fsuid=11356 egid=11356 sgid=11356 fsgid=11356 tty=pts3 ses=1 comm=xauth exe=/usr/bin/xauth subj=unconfined_u:unconfined_r:xauth_t:s0 key=(null)

Hash: xauth,xauth_t,user_tmpfs_t,file,unlink

audit2allow

#============= xauth_t ==============
allow xauth_t user_tmpfs_t:file unlink;

audit2allow -R

#============= xauth_t ==============
allow xauth_t user_tmpfs_t:file unlink;

Comment 1 Miroslav Grepl 2011-04-04 07:46:33 UTC

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


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