Bug 827678 - SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'execute' accesses on the file /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so.
SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'execute' ...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
17
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:e212075bf8a02e30fe5848e2a06...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-02 04:32 EDT by Maciej Kaczmarek
Modified: 2012-06-04 10:14 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-04 10:14:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Maciej Kaczmarek 2012-06-02 04:32:14 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc17.x86_64
time:           sob, 2 cze 2012, 10:32:00

description:
:SELinux is preventing /usr/lib64/xulrunner-2/plugin-container from 'execute' accesses on the file /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If aby naprawić etykietę. 
:domyślna etykieta /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so powinna wynosić lib_t.
:Then można wykonać polecenie restorecon.
:Do
:# /sbin/restorecon -v /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If aby plugin-container powinno mieć domyślnie execute dostęp do libpk-gtk-module.so file.
:Then proszę to zgłosić jako błąd.
:Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
:Do
:można tymczasowo zezwolić na ten dostęp wykonując polecenia:
:# grep plugin-containe /var/log/audit/audit.log | audit2allow -M mojapolityka
:# semodule -i mojapolityka.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:user_home_t:s0
:Target Objects                /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so [
:                              file ]
:Source                        plugin-containe
:Source Path                   /usr/lib64/xulrunner-2/plugin-container
:Port                          <Nieznane>
:Host                          (removed)
:Source RPM Packages           xulrunner-12.0-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-125.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-1.fc17.x86_64 #1 SMP Mon May 21
:                              22:32:19 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    sob, 2 cze 2012, 10:09:47
:Last Seen                     sob, 2 cze 2012, 10:09:47
:Local ID                      68ff4f7e-a755-4030-ad40-4b4f4f5d69ce
:
:Raw Audit Messages
:type=AVC msg=audit(1338624587.978:123): avc:  denied  { execute } for  pid=6346 comm="plugin-containe" path="/usr/lib64/gtk-2.0/modules/libpk-gtk-module.so" dev="sda2" ino=547231 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1338624587.978:123): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=2031c8 a2=5 a3=802 items=0 ppid=1991 pid=6346 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=plugin-containe exe=/usr/lib64/xulrunner-2/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: plugin-containe,mozilla_plugin_t,user_home_t,file,execute
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:
Comment 1 Miroslav Grepl 2012-06-04 10:14:11 EDT
Please execute

# restorecon -R -v /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so

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