Firejail: No sound using pulseaudio after 0.9.44.6 update

Created on 17 Jan 2017  路  6Comments  路  Source: netblue30/firejail

Recently something broke audio when using firejail under pulseaudio.
When playing video with mpv:

[ao/pulse] Init failed: Connection refused
[ao] Failed to initialize audio driver 'pulse'
Could not open/initialize audio device -> no sound.

Similiar report here: https://github.com/netblue30/firejail/issues/1050
also: https://bbs.archlinux.org/viewtopic.php?pid=1684615#p1684615
Affected: firejail version 0.9.44.6 and current git master.

firejail version 0.9.44.4 works fine.

bug

Most helpful comment

Chiming to confirm the issue on my end as well using 0.9.44.6.

Applications work fine on 0.9.44.6. I can confirm that launching an application like Firefox on the command line with

# firefox needs the netlink protocol
$ firejail --noprofile --protocol=unix,inet,inet6,netlink --private firefox

and navigating to a site like Youtube produces a popup near the address bar stating that you need to install PulseAudio, even though it is already installed on the system. Other applications that are jailed into private directories also are unable to use PulseAudio.

Downgrading to 0.9.44.4 fixes the PulseAudio issue in all applications.

All 6 comments

Having this issue in Firefox on Arch - rolling back to 0.9.44.4 works fine.

Chiming to confirm the issue on my end as well using 0.9.44.6.

Applications work fine on 0.9.44.6. I can confirm that launching an application like Firefox on the command line with

# firefox needs the netlink protocol
$ firejail --noprofile --protocol=unix,inet,inet6,netlink --private firefox

and navigating to a site like Youtube produces a popup near the address bar stating that you need to install PulseAudio, even though it is already installed on the system. Other applications that are jailed into private directories also are unable to use PulseAudio.

Downgrading to 0.9.44.4 fixes the PulseAudio issue in all applications.

Is everyone having issues using a usb audio device?

No, mine is integrated.
And like everyone else, I downgraded to v0.9.44.4

This is a major screw up! I'll bring in a fix shortly.

Fixed on bugfix branch, also fixed on mainline branch. If nothing else comes up, I'll do a new release tomorrow. Thank you for reporting it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fl-chris picture fl-chris  路  4Comments

yourcelf picture yourcelf  路  4Comments

SkewedZeppelin picture SkewedZeppelin  路  3Comments

ghost picture ghost  路  3Comments

ericschdt picture ericschdt  路  3Comments