Bug 794774 - SELinux is preventing /usr/bin/gnome-shell from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
Summary: SELinux is preventing /usr/bin/gnome-shell from 'execute' accesses on the Non...
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:4958f871ec00b92ead3387ea7d1...
: 794770 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-17 15:37 UTC by Jörg BUCHMANN
Modified: 2012-02-20 15:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 15:27:19 UTC
Type: ---


Attachments (Terms of Use)

Description Jörg BUCHMANN 2012-02-17 15:37:03 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /usr/bin/gnome-shell from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
time:           ven. 17 févr. 2012 16:36:44 CET

description:
:SELinux is preventing /usr/bin/gnome-shell from 'execute' accesses on the None /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gnome-shell should be allowed execute access on the libjpeg.so.62.0.0 <Inconnu> 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 gnome-shell /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:usr_t:s0
:Target Objects                /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.
:                              62.0.0 [ None ]
:Source                        gnome-shell
:Source Path                   /usr/bin/gnome-shell
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           gnome-shell-3.2.2.1-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.6-3.fc16.x86_64 #1 SMP Mon
:                              Feb 13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   3
:First Seen                    ven. 17 févr. 2012 12:30:55 CET
:Last Seen                     ven. 17 févr. 2012 16:31:48 CET
:Local ID                      0c0c197a-bae9-4c22-8776-8a793654e0a0
:
:Raw Audit Messages
:type=AVC msg=audit(1329492708.429:498): avc:  denied  { execute } for  pid=4528 comm="gnome-shell" path="/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so.62.0.0" dev=sda3 ino=540922 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:usr_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329492708.429:498): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=223278 a2=5 a3=802 items=0 ppid=4490 pid=4528 auid=42 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=3 comm="gnome-shell" exe="/usr/bin/gnome-shell" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: gnome-shell,xdm_t,usr_t,None,execute
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-20 15:27:19 UTC
$ matchpathcon /opt/Druide/Antidote7/Programmes64/lib/libjpeg.so
/opt/Druide/Antidote7/Programmes64/lib/libjpeg.so	system_u:object_r:lib_t:s0


You will need to fix labeling using the restorecon command

$ restorecon -R -v /opt/Druide

Comment 2 Miroslav Grepl 2012-02-20 15:29:11 UTC
*** Bug 794770 has been marked as a duplicate of this bug. ***


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