On Mon, 30 Jun 2008, Jouni Rinne wrote:
Kjetil S. Matheussen kirjoitti:
On Sun, 29 Jun 2008, Mark Knecht wrote:
> Hi,
> It's been a long time since I've had a problem with this. I always
> use Jack with real-time turned on, even for just listening to music,
> but I haven't even listened to music on this machine in awhile so I
> have no idea when this broke. Real-time is working for root, but not
> for users.
>
I don't know what might be the problem with pam, but using the old
realtime-lsm module still works just fine. I never stopped
using that one:
emerge realtime-lsm
echo "/sbin/modprobe realtime mlock=1 any=1" >>/etc/conf.d/local.start
AFAIK realtime-lsm doesn't work on 2.6.24 kernel or newer. From the
realtime-lsm ebuild:
* Since version 2.6.24 of the Linux kernel, security capabilities can't be
* made into a module, and external security modules can't be compiled any
* longer.
* Please refer to the Realtime Guide to set up a PAM-based realtime group.
* http://www.gentoo.org/proj/en/desktop/sound/realtime.xml
Oh, I didn't know. Too bad, I've tried setting up pam a couple
of times, and allways had some trouble making me resort to realtime-lsm.
PAM is probably a security risk since it's so complicated to set up.