Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141241 - /etc/init.d/pulseaudio needs 0660 perms in /dev/snd (conflicts with pam-console)
Summary: /etc/init.d/pulseaudio needs 0660 perms in /dev/snd (conflicts with pam-console)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-20 22:56 UTC by Ed Catmur
Modified: 2006-07-21 00:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2006-07-20 22:56:05 UTC
Obviously, system pulseaudio needs 0660 on sound devices. Unfortunately pam-console (/etc/security/console.perms) sets sound devices to 0600.

It would be nice if the pulseaudio initscript were to check perms in /dev/snd, but in any case the ebuild should emit a warning in postinst:

ewarn "Warning: if you want to use /etc/init.d/pulseaudio, note that the"
ewarn "pulseaudio daemon runs as user:group pulse:pulse, so you need to make"
ewarn "sure that device nodes in /dev/snd and /dev/sound are user writeable or"
ewarn "group writeable by pulse. Check /etc/udev/rules.d, and"
ewarn "/etc/security/console.perms if you are using pam-console."
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 00:36:13 UTC
Easy solution - don't use the pam-console thing that is broken by design and just needs to die. :P
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-21 00:58:08 UTC
pam_console is not supported by PAM herd, it ought to die, and any setup that involves its use is considered up to the user to maintain, no extra work has to be done on Portage side, not even notifying.