No sound in Flash with aa-enabled firefox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Confirmed
|
Low
|
Unassigned | ||
apparmor (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
During the flash plugin initialization, flash tries to access "${HOME}/.asoundrc" if this file exists.
But access to this filed is blocked by AppArmor, which makes alsa initialization fail :
access(
access(
stat("/
open("/
write(2, "ALSA lib conf.c:
write(2, "cannot access file /home/xxxxxxx"..., 42) = 42
write(2, "\n", 1) = 1
write(2, "ALSA lib conf.c:
write(2, "function snd_config_
write(2, "\n", 1) = 1
write(2, "ALSA lib conf.c:
write(2, "hooks failed, removing configura"..., 36) = 36
write(2, "\n", 1) = 1
Access to this file is authorized by "/etc/apparmor.
owner @{HOME}/.asoundrc r,
But denied by "/etc/apparmor.
deny @{HOME}/.*rc mrk,
"/etc/apparmor.
"/etc/apparmor.
Removing the "${HOME}/.asoundrc" reactivate sound in flash. But it's hard to guess.
Thanks for the bug report and I'm sorry to hear that you're hitting this issue.
Unfortunately, I'm not sure how to solve it in policy without granting too much access so I'm going to leave this issue for the folks that are much better skilled at writing policy.