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 1663921 - [selinux-policy] SELinux is preventing firefox from sys_admin access on the cap_userns labeled sandbox_web_client_t.
Summary: [selinux-policy] SELinux is preventing firefox from sys_admin access on the c...
Keywords:
Status: CLOSED DUPLICATE of bug 1663874
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.0
Hardware: noarch
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Lukas Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-07 10:06 UTC by Joachim Frieben
Modified: 2020-01-31 13:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-07 10:09:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2019-01-07 10:06:15 UTC
SELinux is preventing firefox from sys_admin access on the cap_userns labeled sandbox_web_client_t.

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

If you believe that firefox should be allowed sys_admin access on the Unknown cap_userns 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:
# ausearch -c 'firefox' --raw | audit2allow -M my-firefox
# semodule -X 300 -i my-firefox.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c433,c492
Target Context                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c433,c492
Target Objects                Unknown [ cap_userns ]
Source                        firefox
Source Path                   firefox
Port                          <Unknown>
Host                          riemann
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-46.el8.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     riemann
Platform                      Linux riemann 4.18.0-32.el8.x86_64 #1 SMP Sat Oct
                              27 19:26:37 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2019-01-06 07:38:55 CET
Last Seen                     2019-01-06 07:38:55 CET
Local ID                      f9a8286e-3c63-4f64-9399-d633065e41d2

Raw Audit Messages
type=AVC msg=audit(1546756735.924:116): avc:  denied  { sys_admin } for  pid=3932 comm="firefox" capability=21  scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c433,c492 tcontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c433,c492 tclass=cap_userns permissive=0


Hash: firefox,sandbox_web_client_t,sandbox_web_client_t,cap_userns,sys_admin

Comment 1 Lukas Vrabec 2019-01-07 10:09:41 UTC

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


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