Bug 1357115 - sandbox -X is completely broken
Summary: sandbox -X is completely broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1103622
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-15 19:24 UTC by Petr Lautrbach
Modified: 2019-01-08 15:25 UTC (History)
39 users (show)

Fixed In Version: selinux-policy-3.14.1-50.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1103622
Environment:
Last Closed: 2019-01-08 15:25:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Lautrbach 2016-07-15 19:24:15 UTC
+++ This bug was initially created as a clone of Bug #1103622 +++
Good point: the gtk part is fixed!
Bad point: the sandbox is still broken. Here is the log:

=============================================================================
type=SELINUX_ERR msg=audit(1468590543.030:801): op=security_bounded_transition seresult=denied oldcontext=staff_u:staff_r:sandbox_web_t:s0:c378,c750 newcontext=staff_u:staff_r:sandbox_xserver_t:s0:c378,c750
type=AVC msg=audit(1468590543.069:802): avc:  denied  { unix_read } for  pid=2594 comm="Xwayland" key=0  scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:sandbox_web_t:s0:c378,c750 tclass=shm permissive=0
type=SELINUX_ERR msg=audit(1468590543.246:803): op=security_bounded_transition seresult=denied oldcontext=staff_u:staff_r:sandbox_web_t:s0:c378,c750 newcontext=staff_u:staff_r:sandbox_web_client_t:s0:c378,c750
type=SELINUX_ERR msg=audit(1468590543.420:804): op=security_bounded_transition seresult=denied oldcontext=staff_u:staff_r:staff_seunshare_t:s0-s0:c0.c1023 newcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023
type=SELINUX_ERR msg=audit(1468590543.437:805): op=security_bounded_transition seresult=denied oldcontext=staff_u:staff_r:staff_seunshare_t:s0-s0:c0.c1023 newcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023
type=SELINUX_ERR msg=audit(1468590543.446:806): op=security_bounded_transition seresult=denied oldcontext=staff_u:staff_r:staff_seunshare_t:s0-s0:c0.c1023 newcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023
=============================================================================

Note: the command used was 'sandbox -X -t sandbox_web_t -w 1248x1024  -- gnome-terminal' on gnome-wayland.

Comment 1 Kahlil Hodgson 2016-07-28 05:49:06 UTC
Works for me now

Comment 2 Fedora Admin XMLRPC Client 2016-09-27 15:05:12 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2017-07-25 21:49:40 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Christian Stadelmann 2017-07-26 19:54:26 UTC
Still broken. Please change the fedora version.

Comment 5 Jan Kurik 2017-08-15 08:42:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 6 Ben Cotton 2018-11-27 14:38:14 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Joachim Frieben 2018-12-14 11:45:12 UTC
I think this bug is safe to close as "ERRATA" since I can run a Firefox session in an X sandbox without any problem. Genuine GNOME applications may have problems though but those issues should be reported separately.


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