Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by default; Desktop/audio RT developers, read this!

From: Lennart Poettering <mzynq@email-addr-hidden>
Date: Mon Jun 22 2009 - 03:09:36 EEST

On Sun, 21.06.09 16:40, Fernando Lopez-Lezcano (nando@email-addr-hidden) wrote:

>
> On Fri, 2009-06-19 at 20:13 +0200, Lennart Poettering wrote:
> > Heya,
> >
> > Just a quick announcement:
> >
> > I just moved into Fedora Rawhide a little daemon called "RealtimeKit"
> > which will be enabled by default, and since it is now a dependency of
> > PulseAudio and things work how they work this will then not only be
> > available in Fedora 12 but also sooner or later in the other
> > distributions as well, installed by default.
> >
> > What's wrong with using RLIMIT_RPRIO?
>
> You mean RLIMIT_RTPRIO?

Yes.

> > The simple fact that we cannot
> > enable that by default since it basically empowers the user to freeze
> > the machine. Also, asking the user to edit /etc/security/limits.conf
> > is certainly not user-friendly. We want to enable RT scheduling for
> > media aplications out-of-the-box.
>
> As to configuration file editing, I think that in properly configured
> distributions /etc/security/limits.conf is set up out of the box (when a
> package that needs the privileges is installed) so that it is
> unnecessary to edit it manually.

Doing that is broken, and ugly.

Doing authorization via groups is broken, since practically you can
never take group membership away. Which is precisely one of the
reasons why PolicyKit got created.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Jun 22 04:15:05 2009

This archive was generated by hypermail 2.1.8 : Mon Jun 22 2009 - 04:15:05 EEST