Bug 811722 - SELinux is preventing /usr/bin/python from 'write' accesses on the directory /var/cache/jockey.
Summary: SELinux is preventing /usr/bin/python from 'write' accesses on the directory ...
Keywords:
Status: CLOSED DUPLICATE of bug 811721
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:9aa40365433e6c147d08e461cda...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-11 19:46 UTC by info
Modified: 2012-04-12 08:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-12 08:59:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description info 2012-04-11 19:46:50 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.1-3.fc16.x86_64
reason:         SELinux is preventing /usr/bin/python from 'write' accesses on the directory /var/cache/jockey.
time:           Wed 11 Apr 2012 10:46:36 PM EEST

description:
:SELinux is preventing /usr/bin/python from 'write' accesses on the directory /var/cache/jockey.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that python should be allowed write access on the jockey 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 jockey-backend /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:var_t:s0
:Target Objects                /var/cache/jockey [ dir ]
:Source                        jockey-backend
:Source Path                   /usr/bin/python
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           python-2.7.2-5.2.fc16.x86_64
:Target RPM Packages           jockey-0.9.6-2.fc16.noarch
:Policy RPM                    selinux-policy-3.10.0-80.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.1-3.fc16.x86_64 #1
:                              SMP Wed Apr 4 18:08:51 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Wed 11 Apr 2012 10:39:05 PM EEST
:Last Seen                     Wed 11 Apr 2012 10:39:05 PM EEST
:Local ID                      70f7fa1e-5994-4a9c-ab42-f8d911c81908
:
:Raw Audit Messages
:type=AVC msg=audit(1334173145.684:73): avc:  denied  { write } for  pid=1781 comm="jockey-backend" name="jockey" dev="dm-1" ino=266471 scontext=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1334173145.684:73): avc:  denied  { add_name } for  pid=1781 comm="jockey-backend" name="check" scontext=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1334173145.684:73): avc:  denied  { create } for  pid=1781 comm="jockey-backend" name="check" scontext=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=file
:
:
:type=AVC msg=audit(1334173145.684:73): avc:  denied  { write open } for  pid=1781 comm="jockey-backend" name="check" dev="dm-1" ino=267891 scontext=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1334173145.684:73): arch=x86_64 syscall=open success=yes exit=ENOEXEC a0=fa1540 a1=241 a2=1b6 a3=238 items=0 ppid=1 pid=1781 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=jockey-backend exe=/usr/bin/python subj=system_u:system_r:rtkit_daemon_t:s0-s0:c0.c1023 key=(null)
:
:Hash: jockey-backend,rtkit_daemon_t,var_t,dir,write
:
:audit2allow
:
:#============= rtkit_daemon_t ==============
:allow rtkit_daemon_t var_t:dir { write add_name };
:allow rtkit_daemon_t var_t:file { write create open };
:
:audit2allow -R
:
:#============= rtkit_daemon_t ==============
:allow rtkit_daemon_t var_t:dir { write add_name };
:allow rtkit_daemon_t var_t:file { write create open };
:

Comment 1 Miroslav Grepl 2012-04-12 08:59:49 UTC

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


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