On Fri, 2003-01-31 at 11:13, [EMAIL PROTECTED] wrote:
> > As Mark pointed out in a separate email, it is not possible. 
> I'd like to see that mail.

[SNIP]

It is not possible to run jackd as root and applications as a user, from
what I understand. All jack apps, including jackd, have to be run from
the same account.

jackd -R gives real-time support
jackd -R as a user is not allowed
jackstart -R allows the user to get real-time support
jackstart _may_ have been written by Fernando at the Planet. I am not
sure.
Once I heard this, but I'm not sure.

jackstart is a requirement for me to run jack just from a usage point of
view. I won't have all these apps running as root.

This also require the appropriate kernel, but we've been over that
already.

Cheers,
Mark

> What I think is the problem is that they want jackd to be able to 
> reschedule any program at some moment in time. For this, they would 
> continuously need the ability to mess with the scheduler.

Well, yes.  But they want jack and only jack to be able to mess with the
scheduler.

> I would consider this a very non-secure thing, not much better than having 
> it run all the time as root. Though I wonder why that is not possible.

Apparently (I haven't tried), jack only works in the daemon and the
application using it are run by the same UID.

> Anyway, it seems that this is only possible by sacrificing security: do we 
> want that in the low_lat kernel or not?

Well it sure looks like it can't be in the main kernel; that's for sure.
But it would make a lot of people happy if it was somehow an option.

> > Obviously the alternatives are even worse (unreliable low latency
> > operation, or running everything as root)
> Funny to see how these audio people thing low latencies are worse that a 
> security problem.

It's not that funny.  They're using their workstation as a workstation. 
It's sole purpose is to record audio, and having your recording
interrupted by cron or whatever is not an option.  Even a quarter-second
latency could ruin a recording.

Austin

-- 
                        Austin Acton Hon.B.Sc.
             Synthetic Organic Chemist, Teaching Assistant
           Department of Chemistry, York University, Toronto
             MandrakeClub Volunteer (www.mandrakeclub.com)
                     homepage: www.groundstate.ca


Reply via email to