Bug 926054 - SELinux Sandbox broken: "Unable to switch to root to clear tmp dir"
Summary: SELinux Sandbox broken: "Unable to switch to root to clear tmp dir"
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 18
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-03-23 13:43 UTC by amturnip
Modified: 2013-04-03 04:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-04-03 04:51:43 UTC

Attachments (Terms of Use)

Description amturnip 2013-03-23 13:43:23 UTC
Description of problem:

A SELinux sandbox program that used to open Firefox in a sandbox window does not open the sandbox window, nor Firefox, anymore.

Version-Release number of selected component (if applicable):

$ rpm -q --whatprovides /usr/bin/sandbox

How reproducible:


Steps to Reproduce:

$ /usr/bin/sandbox -X -t sandbox_web_t -W /usr/bin/metacity /usr/bin/firefox

Actual results:

This message: "Unable to switch to root to clear tmp dir"

Expected results:

Window opens with Firefox in it.

Additional info:

I do not see any corresponding messages in /var/log/messages or /var/log/secure

Comment 1 Daniel Walsh 2013-03-25 13:41:21 UTC
Fixed in policycoreutils-2.1.13-59.fc18

Also you should not need metaticy any longer since we have moved to openbox and firefox seems to work fine with it.

Also eliminated bogus "Unable to switch to root to clear tmp dir" message

Comment 2 Fedora Update System 2013-03-28 12:14:10 UTC
policycoreutils-2.1.13-59.fc18 has been submitted as an update for Fedora 18.

Comment 3 Fedora Update System 2013-03-29 01:35:48 UTC
Package policycoreutils-2.1.13-59.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-59.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Simo Sorce 2013-04-02 19:56:16 UTC
Fix works, thanks a lot!
Giving karma.

Comment 5 Fedora Update System 2013-04-03 04:51:44 UTC
policycoreutils-2.1.13-59.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

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