Bug 1978020
Summary: | selinux-policy-sandbox broken after update to Version 34.12 Release 1.fc34 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Timo Trinks <ttrinks> |
Component: | selinux-policy | Assignee: | Nikola Knazekova <nknazeko> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | 34 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, mmuehlfe, nknazeko, omosnace, vmojzis, zpytela |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-34.23-1.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-01-11 01:54:10 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: |
Description
Timo Trinks
2021-07-01 00:00:21 UTC
To add to this: After downgrading to selinux-policy-sandbox-34-1.fc34.noarch and relabelling the file system via /.autorelabel "sandbox -X -t sandbox_net_t -t sandbox_web_t -w 1280x1024 firefox" works (again). @zpytela - This appears to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1960382 The following two temporary setsebools make running X applications via sandbox work again for me (tested with selinux-policy-sandbox-34.13-1.fc34.noarch): - setsebool -P domain_can_mmap_files 1 - setsebool -P xserver_clients_write_xshm 1 After that "sandbox -X -t sandbox_net_t -t sandbox_web_t -w 1280x1024 firefox" would start a sandboxed Firefox again and not throw the errors listed above. Hi Timo, I created PR to our policy with new rules: https://github.com/fedora-selinux/selinux-policy/pull/972 Also these booleans have to be enabled: - setsebool -P use_fusefs_home_dirs 1 - setsebool -P xserver_clients_write_xshm 1 Nikola *** Bug 1960382 has been marked as a duplicate of this bug. *** PR merged, backporting to F34. FEDORA-2022-8e1e2c866c has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8e1e2c866c FEDORA-2022-8e1e2c866c has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-8e1e2c866c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8e1e2c866c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-8e1e2c866c has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. (In reply to nknazeko from comment #3) > Hi Timo, > > I created PR to our policy with new rules: > https://github.com/fedora-selinux/selinux-policy/pull/972 > > Also these booleans have to be enabled: > > - setsebool -P use_fusefs_home_dirs 1 > - setsebool -P xserver_clients_write_xshm 1 > > > Nikola Thank you, Nikola, much appreciated! Cheers, Timo |