hi there:
(inspired by the recent Pd workshop in London) i have just put pd and jack on Gentoo(kernel 2.6.9) and realized that jack only runs as root, as a result pd has to be as root to connect to jack.
i was looking for solution to this on the net and found this "realtime-lsm" kernel modules that i can perhaps use which will perhaps solve the problem. is this the right thing to use? or is there a option i need to set in compiling the kernel?
i just wonder how does everyone else get around this?
many thanks
CHUN
Hallo, chunlee hat gesagt: // chunlee wrote:
(inspired by the recent Pd workshop in London) i have just put pd and jack on Gentoo(kernel 2.6.9) and realized that jack only runs as root, as a result pd has to be as root to connect to jack.
i was looking for solution to this on the net and found this "realtime-lsm" kernel modules that i can perhaps use which will perhaps solve the problem. is this the right thing to use? or is there a option i need to set in compiling the kernel?
realtime-lsm is the way to go. On Debian, you could use the package by Guenther to compile it very easily. I'm sure, there also are Gentoo packages for realtime-lsm modules. You need to run a kernel with LSM enabled and so on but this is all in the docs of the kernel module.
Frank Barknecht _ ______footils.org__
On Fri, 2004-12-24 at 10:02, chunlee wrote:
hi there:
(inspired by the recent Pd workshop in London) i have just put pd and jack on Gentoo(kernel 2.6.9) and realized that jack only runs as root, as a result pd has to be as root to connect to jack.
sorry i was not clear, jack realtime option only runs as root. its ok if its not realtime.
i was looking for solution to this on the net and found this "realtime-lsm" kernel modules that i can perhaps use which will perhaps solve the problem. is this the right thing to use? or is there a option i need to set in compiling the kernel?
i just wonder how does everyone else get around this?
many thanks
CHUN
I read:
i was looking for solution to this on the net and found this "realtime-lsm" kernel modules that i can perhaps use which will perhaps solve the problem. is this the right thing to use?
yes
or is there a option i need to set in compiling the kernel?
you need to enable the security modules to be able to use rt-lsm, my .config looks like this:
CONFIG_SECURITY=y CONFIG_SECURITY_CAPABILITIES=m CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_DEVELOP=y
HTH
x
Hi there:
Thanks for your reply!
So, if I understand correctly, I need to use the realtime-lsm module and to do that I need a kernel compiled with the right security options. Right?
How about
CONFIG_SECURITY_CAPABILITIES=y
In stead of compiling it as a module?
Cheers
CHUN
I read:
i was looking for solution to this on the net and found this "realtime-lsm" kernel modules that i can perhaps use which will perhaps solve the problem. is this the right thing to use?
yes
or is there a option i need to set in compiling the kernel?
you need to enable the security modules to be able to use rt-lsm, my .config looks like this:
CONFIG_SECURITY=y CONFIG_SECURITY_CAPABILITIES=m CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_DEVELOP=y
HTH
x
Hallo, chun lee hat gesagt: // chun lee wrote:
So, if I understand correctly, I need to use the realtime-lsm module and to do that I need a kernel compiled with the right security options. Right?
Yes.
How about
CONFIG_SECURITY_CAPABILITIES=y
In stead of compiling it as a module?
No. Please RTFM:
http://cvs.sourceforge.net/viewcvs.py/realtime-lsm/realtime-lsm/INSTALL?rev=...
Frank Barknecht _ ______footils.org__