[LAU] Trying to run jackd from udev

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat Mar 23 05:49:42 UTC 2013


On Fri, 2013-03-22 at 23:51 +0100, Jeremy Jongepier wrote:
> Is this maybe related to using sudo?

I noticed that when checking the user by $USER or $EUID, the result
often is wrong, but the output of $(id -u) until now always was correct,
so directly after the sudo I would add

        echo $? > id.log
        id -u >> id.log

to the script. The $? to check if sudo is working and id -u to check if
it really does switch the user, assumed the output of $? should be 0.



More information about the Linux-audio-user mailing list