[arch-proaudio] limits.conf for jack
dave at sleepmap.de
Wed Dec 27 15:44:19 UTC 2017
On December 27, 2017 1:59:17 PM GMT+01:00, Fons Adriaensen <fons at linuxaudio.org> wrote:
>On Wed, Dec 27, 2017 at 12:56:16PM +0100, David Runge wrote:
>> >On 27 December 2017 at 04:39, David Runge <dave at sleepmap.de> wrote:
>> >> Addditionally, it should create the system group realtime (using
>> >> systemd-sysusers), to decouple the realtime priorities from the
>> >> group.
>I'm not sure this is a good idea.
>There is no reason why application classes that require realtime
>or locked memory (audio, video, sdr,...) should all have the same
>The way limits.conf works is that you can have any matrix of
>users/groups vs. limits. Accessing each individual limit (e.g.
>realtime) only via a single dedicated group (which seems to be
>the underlying idea) takes away that degree of freedom.
This is actually how it has been done by packaging jack/jack2   for years in accordance to upstream documentation on the topic .
As you can see in the first two links, this has been bound to the "audio" group, that is also used by alsa for device permissions.
Do you have an alternative suggestion that is packageable?
More information about the arch-proaudio