So I did:

$ sudo polkit-auth --user ilf --grant org.freedesktop.hal.device-
access.sound

which seems to workaround this permanently.

But I still think this way of handling active sessions is wrong design.

** Summary changed:

- [Jaunty] broken ACL management in hal -> no sound card for user
+ [Jaunty] PolicyKit: no active session in X -> no ACLs for sound card

** Description changed:

- Binary package hint: hal
- 
  I'm on Ubuntu (Server) 9.04 Beta, all up-to-date.
  
- The bug in question is in current hal (0.5.12~rc1+git20090403-0ubuntu1)
- and all older ones I tried (0.5.12~rc1+git20090204-0ubuntu3,
- 0.5.12~rc1-0ubuntu6, 0.5.12~rc1+git20090120-0ubuntu1).
- 
- The sypmtoms are similar to
- https://bugs.launchpad.net/ubuntu/+source/hal/+bug/334299, but I am told
- it's a different bug.
- 
- After booting, the Access Control Limits of /dev/snd/* don't allow
- access for my user, breaking sound.
+ The sypmtoms are similar to 
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/334299:
+ In X, the Access Control Limits of /dev/snd/* don't allow access for my user, 
breaking sound. Works on TTY1.
  
  $ aplay -l
  aplay: device_list:217: no soundcards found...
  
  Adjusting the ACLs by hand fixes it:
  
  $ sudo setfacl -m u:<user>:rw /dev/snd/*
  
  $ aplay -l
  **** List of PLAYBACK Hardware Devices ****
  card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
  
  I followed the steps at https://wiki.ubuntu.com/DebuggingHal, so I am
  attaching log files as well as the output of $ ck-list-sessions.

-- 
[Jaunty] PolicyKit: no active session in X -> no ACLs for sound card
https://bugs.launchpad.net/bugs/361510
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to