No dynamic ACLs on /dev/snd/* when opening a new virtual terminal via openvt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi team,

I have a puzzling question crossing PulseAudio and systemd-logind behavior.
In short, if you open a new virtual terminal with sudo openvt -vlu, there
will be no sound in it, because dynamic ACL on /dev/snd/* doesn't include
your account.

How to reproduce:
1. Switch to first VT and login (Ctrl+Alt+F1)
2. Open a new virtual terminal: sudo openvt -vlu (it is likely going to be
tty8)
3. Switch to tty8: Ctrl+Alt+F8
4. Try to play a sound: play /path/to/wav/file.wav

Play command will be stuck until you switch to another VT: ACLs get
updated, sound gets played in the background.

What would be a good way to fix it?

I'm experiencing this on Ubuntu 14.04 with user accounts and groups
configured via LDAP, where group membership is pulled from LDAP and doesn't
include users into audio group. Users rely on this dynamic ACL to be able
to play sound.
-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140917/259a91e1/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux