Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 871048

Summary: browser plugin does nothing
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Milos Malik <mmalik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0CC: mclasen, mmalik
Target Milestone: rc   
Target Release: 7.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-15 09:27:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test file
none
application boxes are there but you cannot manipulate packages with them none

Description Vladimir Benes 2012-10-29 13:54:07 UTC
Description of problem:
when using test.html (attached) it does nothing, either drop it from rhel or fix it.

Version-Release number of selected component (if applicable):
PackageKit-gstreamer-plugin-0.8.4-4.el7.x86_64
PackageKit-0.8.4-4.el7.x86_64
PackageKit-browser-plugin-0.8.4-4.el7.x86_64
PackageKit-device-rebind-0.8.4-4.el7.x86_64
PackageKit-glib-0.8.4-4.el7.x86_64
PackageKit-yum-0.8.4-4.el7.x86_64
PackageKit-yum-plugin-0.8.4-4.el7.x86_64

Steps to Reproduce:
1. open attached test.html in browser

Comment 1 Vladimir Benes 2012-10-29 13:56:09 UTC
Created attachment 635019 [details]
test file

Comment 2 Vladimir Benes 2012-10-29 13:58:20 UTC
using firefox-10.0.8-2.el7.x86_64

Comment 4 Richard Hughes 2012-11-29 11:37:51 UTC
(In reply to comment #0)
> Description of problem:
> when using test.html (attached) it does nothing, either drop it from rhel or
> fix it.

What do you mean it does nothing? Don't you see the application boxes on the screen? Thanks.

Comment 5 Vladimir Benes 2012-11-29 12:52:14 UTC
Created attachment 654265 [details]
application boxes are there but you cannot manipulate packages with them

Comment 8 Matthias Clasen 2013-05-22 18:07:45 UTC
The compose from 2013-05-20 is installable. There's some gdm problems, but I could get startx to give me a desktop.

Comment 9 Richard Hughes 2013-11-04 20:12:44 UTC
Okay, can reproduce the problem, debugging now.

Comment 10 Richard Hughes 2013-11-11 12:16:41 UTC
Okay, after about a day of debugging, I've found the culprit:

GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.975" (uid=1000 pid=21904 comm="/usr/lib64/firefox/xulrunner/plugin-container /usr") interface="org.freedesktop.PackageKit" member="CreateTransaction" error name="(unset)" requested_reply="0" destination=":1.977" (uid=0 pid=21912 comm="/usr/libexec/packagekitd ")

This is because the plugin uses DBus to contact PackageKit and ask if the package is installed or available to be installed.

audit2allow seems to suggest:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t rpm_t:dbus send_msg;

Although, I don't know if this is too large an opening, as I'm guessing mozilla plugins were restricted from this on purpose. Ideas welcome,

Richard

Comment 11 Miroslav Grepl 2013-11-15 09:27:55 UTC
You will need to turn of the protection in this case.

# setsebool -P unconfined_mozilla_plugin_transition 0