Bug 1325399 - No sound when running Firefox with 'sandbox' command
Summary: No sound when running Firefox with 'sandbox' command
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 17:23 UTC by someone123
Modified: 2016-12-20 19:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 19:52:41 UTC
Type: Bug


Attachments (Terms of Use)
AVC report (6.51 KB, text/plain)
2016-04-12 10:36 UTC, someone123
no flags Details

Description someone123 2016-04-08 17:23:12 UTC
Description of problem:

Running Firefox in a selinux sandbox with '/usr/bin/sandbox -t sandbox_web_t -X -C /usr/bin/firefox' prevents Firefox from accessing Pulseaudio.

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

selinux-policy-sandbox 3.13.1-158.12.fc23
policycoreutils-sandbox 2.4-21.fc23
firefox 45.0.1-2.fc23

How reproducible:

Open Firefox with the sandbox command as shown above, navigate to youtube.com and play any video. 

Actual results:

No sound.

Comment 1 Lukas Vrabec 2016-04-11 16:01:59 UTC
Hi, 
Could you attach AVC msgs? 
Please, reproduce the issue and do:
# ausearch -m AVC -ts recent 

Thank you.

Comment 2 someone123 2016-04-12 10:36:54 UTC
Created attachment 1146336 [details]
AVC report

The attached AVC report is what I get when 

- starting firefox as -X -t sandbox_web_t
- navigating to www.youtube.com
- playing a video
- closing firefox

Comment 3 Corey Sheldon 2016-09-10 15:38:36 UTC
Do you have ausearch -m AVC -ts recent output tho ?

Comment 4 someone123 2016-09-12 16:55:29 UTC
The output of

# ausearch -m AVC -ts recent

is still the same as in the attached report: https://bugzilla.redhat.com/attachment.cgi?id=1146336



What I didn't mention in my original description is that navigating to a youtube video is also throwing this error on the console output:

'Failed to create secure directory (/run/user/1000/pulse): Permission denied'

The pulse user does exist in /etc/passwd:

'pulse:x:171:171:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin'

Comment 5 Fedora End Of Life 2016-11-25 07:18:01 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 '23'.

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 23 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 6 Fedora End Of Life 2016-12-20 19:52:41 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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