[GH-ISSUE #4160] Firejail blocks sound/music when using cmus #2558

Closed
opened 2026-05-05 09:13:55 -06:00 by gitea-mirror · 23 comments
Owner

Originally created by @MRF316 on GitHub (Apr 4, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4160

I just re-installed Linux Mint, and everything worked great before re-installing, now I just finished transferring my music and I get this error...Error: opening audio device: internal error
I figured it might be FJ, so I temporarily uninstalled it, and tried cmus and my music plays fine! I never had this issue before???

Originally created by @MRF316 on GitHub (Apr 4, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4160 I just re-installed Linux Mint, and everything worked great before re-installing, now I just finished transferring my music and I get this error...**Error: opening audio device: internal error** I figured it might be FJ, so I temporarily uninstalled it, and tried cmus and my music plays fine! I never had this issue before???
Author
Owner

@rusty-snake commented on GitHub (Apr 4, 2021):

Is there anything in your syslog? Does it work with --noprofile? What's your firejail version? Do you have a globals.local?

<!-- gh-comment-id:813057427 --> @rusty-snake commented on GitHub (Apr 4, 2021): Is there anything in your syslog? Does it work with `--noprofile`? What's your firejail version? Do you have a globals.local?
Author
Owner

@MRF316 commented on GitHub (Apr 4, 2021):

Firejail is the latest...the other questions are a bit over my head ://)

<!-- gh-comment-id:813072166 --> @MRF316 commented on GitHub (Apr 4, 2021): Firejail is the latest...the other questions are a bit over my head ://)
Author
Owner

@rusty-snake commented on GitHub (Apr 4, 2021):

Firejail is the latest

latest from ubuntu repositories, latest release, latest LTS release, latest from git. There is not the single-one latest firejail. What version is shown by firejail --version? 0.9.64.4 is the latest release which is usually what "latest" means.

Is there anything in your syslog?

Open a terminal and watch journalctl --boot --pager-end --follow while you reproduce this.

Does it work with --noprofile?

Can you reproduce this with firejail --noprofile cmus?

<!-- gh-comment-id:813073356 --> @rusty-snake commented on GitHub (Apr 4, 2021): > Firejail is the latest latest from ubuntu repositories, latest release, latest LTS release, latest from git. There is not the single-one latest firejail. What version is shown by `firejail --version`? 0.9.64.4 is the latest release which is usually what "latest" means. > Is there anything in your syslog? Open a terminal and watch `journalctl --boot --pager-end --follow` while you reproduce this. > Does it work with --noprofile? Can you reproduce this with `firejail --noprofile cmus`?
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

It works using firejail --noprofile cmus

<!-- gh-comment-id:813187211 --> @MRF316 commented on GitHub (Apr 5, 2021): It works using firejail --noprofile cmus
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

version 0.9.52-2 from synaptics package manager

<!-- gh-comment-id:813189900 --> @MRF316 commented on GitHub (Apr 5, 2021): version 0.9.52-2 from synaptics package manager
Author
Owner

@rusty-snake commented on GitHub (Apr 5, 2021):

0.9.52 is very old. Which version of Mint do you run (ubuntu 18.04 based)? And which version of pulseaudio? Maybe firecfg --fix-sound helps here.

<!-- gh-comment-id:813250654 --> @rusty-snake commented on GitHub (Apr 5, 2021): 0.9.52 is very old. Which version of Mint do you run (ubuntu 18.04 based)? And which version of pulseaudio? Maybe `firecfg --fix-sound` helps here.
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

This did not help
firecfg --fix-sound

<!-- gh-comment-id:813370625 --> @MRF316 commented on GitHub (Apr 5, 2021): This did not help firecfg --fix-sound
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

19.3 Linux Mint Tricia | MATE (32-bit) pulse audio 1:11.1-1ubuntu7.11

https://sendvid.com/29735550
https://sendvid.com/6n6ody2p

<!-- gh-comment-id:813572383 --> @MRF316 commented on GitHub (Apr 5, 2021): 19.3 Linux Mint Tricia | MATE (32-bit) pulse audio 1:11.1-1ubuntu7.11 https://sendvid.com/29735550 https://sendvid.com/6n6ody2p
Author
Owner

@rusty-snake commented on GitHub (Apr 5, 2021):

0.9.52 is very old and misses the fixes from 3,5 years.
Try sudo sh -c 'echo "private-etc machine-id" > /etc/firejail/cmus.local'.

<!-- gh-comment-id:813584466 --> @rusty-snake commented on GitHub (Apr 5, 2021): 0.9.52 is very old and misses the fixes from 3,5 years. Try `sudo sh -c 'echo "private-etc machine-id" > /etc/firejail/cmus.local'`.
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

It worked! What exactly did that command do?
Danke 👍

<!-- gh-comment-id:813587748 --> @MRF316 commented on GitHub (Apr 5, 2021): It worked! What exactly did that command do? Danke :+1:
Author
Owner

@rusty-snake commented on GitHub (Apr 5, 2021):

Filesystem: It creates /etc/firejail/cmus.local (which is included at the top of cmus.profile) containing private-etc machine-id.
Firejail: It grants cmus access to /etc/mchine-id (which is required for PA).

<!-- gh-comment-id:813594311 --> @rusty-snake commented on GitHub (Apr 5, 2021): Filesystem: It creates `/etc/firejail/cmus.local` (which is `include`d at the top of cmus.profile) containing `private-etc machine-id`. Firejail: It grants cmus access to `/etc/mchine-id` (which is required for PA).
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

I have a ton to learn in Linux and Firejail! I appreciate your help
If you watch one of the videos, i'm not able to install the latest version of FJ.

<!-- gh-comment-id:813598843 --> @MRF316 commented on GitHub (Apr 5, 2021): I have a ton to learn in Linux and Firejail! I appreciate your help If you watch one of the videos, i'm not able to install the latest version of FJ.
Author
Owner

@rusty-snake commented on GitHub (Apr 5, 2021):

You need to remove your old firejail-installation (sudo apt remove --autoremove --purge firejail firejail-profiles) first. Then you can install the new one (sudo dpkg --install $HOME/Downloads/firejail*.deb).

<!-- gh-comment-id:813606574 --> @rusty-snake commented on GitHub (Apr 5, 2021): You need to remove your old firejail-installation (`sudo apt remove --autoremove --purge firejail firejail-profiles`) first. Then you can install the new one (`sudo dpkg --install $HOME/Downloads/firejail*.deb`).
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

Thanks! what is the latest version of Firetools?

<!-- gh-comment-id:813614254 --> @MRF316 commented on GitHub (Apr 5, 2021): Thanks! what is the latest version of Firetools?
Author
Owner

@rusty-snake commented on GitHub (Apr 5, 2021):

https://github.com/netblue30/firetools/releases/tag/0.9.64

<!-- gh-comment-id:813618845 --> @rusty-snake commented on GitHub (Apr 5, 2021): https://github.com/netblue30/firetools/releases/tag/0.9.64
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

https://github.com/netblue30/firetools/releases/tag/0.9.64

Will this re-install the latest version of FJ?

<!-- gh-comment-id:813626924 --> @MRF316 commented on GitHub (Apr 5, 2021): > https://github.com/netblue30/firetools/releases/tag/0.9.64 Will this re-install the latest version of FJ?
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

After installing Firetools, I rebooted and it wouldn't open at all. I had to un-install it, but I still have Firejail.
Should I uninstall Firejail first, then install Firetools?

<!-- gh-comment-id:813641615 --> @MRF316 commented on GitHub (Apr 5, 2021): After installing Firetools, I rebooted and it wouldn't open at all. I had to un-install it, but I still have Firejail. Should I uninstall Firejail first, then install Firetools?
Author
Owner

@MRF316 commented on GitHub (Apr 5, 2021):

I am sorry for going off subject a bit...when I uninstalled the latest version of FJ, then installed the latest version of FT... thinking the latest version of Firejail and Firetools will be installed. I rebooted, and Firetools still wouldn't open, so at the moment I don't have either one installed.

<!-- gh-comment-id:813671529 --> @MRF316 commented on GitHub (Apr 5, 2021): I am sorry for going off subject a bit...when I uninstalled the latest version of FJ, then installed the latest version of FT... thinking the latest version of Firejail and Firetools will be installed. I rebooted, and Firetools still wouldn't open, so at the moment I don't have either one installed.
Author
Owner

@rusty-snake commented on GitHub (Apr 6, 2021):

Sorry, I can't help you with firetools (never used it). Are there any error if you start it from a terminal?

<!-- gh-comment-id:814375340 --> @rusty-snake commented on GitHub (Apr 6, 2021): Sorry, I can't help you with firetools (never used it). Are there any error if you start it from a terminal?
Author
Owner

@MRF316 commented on GitHub (Apr 7, 2021):

Sorry, I can't help you with firetools (never used it). Are there any error if you start it from a terminal?

firetools: /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5: version `Qt_5.11' not found (required by firetools)

<!-- gh-comment-id:815269651 --> @MRF316 commented on GitHub (Apr 7, 2021): > Sorry, I can't help you with firetools (never used it). Are there any error if you start it from a terminal? firetools: /usr/lib/i386-linux-gnu/sse2/libQt5Core.so.5: version `Qt_5.11' not found (required by firetools)
Author
Owner

@rusty-snake commented on GitHub (Apr 8, 2021):

Looks like this firetools package requires Qt 5.11 but Ubuntu 18.04 has only 5.9.

<!-- gh-comment-id:815482581 --> @rusty-snake commented on GitHub (Apr 8, 2021): Looks like this firetools package requires Qt 5.11 but Ubuntu 18.04 has only 5.9.
Author
Owner

@MRF316 commented on GitHub (Apr 8, 2021):

I don't use FT very often, so for now i'll just use the latest version of FJ alone.

<!-- gh-comment-id:816108763 --> @MRF316 commented on GitHub (Apr 8, 2021): I don't use FT very often, so for now i'll just use the latest version of FJ alone.
Author
Owner

@rusty-snake commented on GitHub (Jun 10, 2021):

I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.

<!-- gh-comment-id:858441511 --> @rusty-snake commented on GitHub (Jun 10, 2021): I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2558
No description provided.