Bug 1288594

Summary: SELinux is preventing gnome-shell-por from 'read' accesses on the lnk_file /usr/lib64/mozilla/plugins-wrapped/libgnome-shell-browser-plugin.so.
Product: [Fedora] Fedora Reporter: HARIHARAN <subramanhariharan>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 22CC: dominick.grift, dwalsh, lvrabec, mgrepl, mstuff, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c6d8d90d709d4d077473034fd7ab8a675ddfe9e4a05b736b7e76fa74052c7618;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 20:25:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description HARIHARAN 2015-12-04 16:54:51 UTC
Description of problem:
SELinux is preventing gnome-shell-por from 'read' accesses on the lnk_file /usr/lib64/mozilla/plugins-wrapped/libgnome-shell-browser-plugin.so.

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

If you believe that gnome-shell-por should be allowed read access on the libgnome-shell-browser-plugin.so lnk_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 gnome-shell-por /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:mozilla_plugin_rw_t:s0
Target Objects                /usr/lib64/mozilla/plugins-wrapped/libgnome-shell-
                              browser-plugin.so [ lnk_file ]
Source                        gnome-shell-por
Source Path                   gnome-shell-por
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-128.21.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.2.6-201.fc22.x86_64 #1 SMP Tue
                              Nov 24 18:42:39 UTC 2015 x86_64 x86_64
Alert Count                   9
First Seen                    2015-11-29 17:10:34 IST
Last Seen                     2015-12-04 22:21:51 IST
Local ID                      09866043-918c-4d80-9704-bf4750ce4a8e

Raw Audit Messages
type=AVC msg=audit(1449247911.475:537): avc:  denied  { read } for  pid=2193 comm="gnome-shell-por" name="libgnome-shell-browser-plugin.so" dev="sda2" ino=1049913 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_plugin_rw_t:s0 tclass=lnk_file permissive=0


Hash: gnome-shell-por,xdm_t,mozilla_plugin_rw_t,lnk_file,read

Version-Release number of selected component:
selinux-policy-3.13.1-128.21.fc22.noarch

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.2.6-201.fc22.x86_64
type:           libreport

Comment 1 morgan read 2016-02-12 11:50:34 UTC
Description of problem:
No noticable user interaction re this bug

Version-Release number of selected component:
selinux-policy-3.13.1-128.21.fc22.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.3.4-200.fc22.x86_64
type:           libreport

Comment 2 morgan read 2016-03-20 20:38:59 UTC
Description of problem:
possibly executed a text serch via nautilus

Version-Release number of selected component:
selinux-policy-3.13.1-128.21.fc22.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.5-200.fc22.x86_64
type:           libreport

Comment 3 Fedora End Of Life 2016-07-19 20:25:24 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.