Hi,

I'm trying to start an uml instance in a chroot by either using Jeff Dike's 
do-chroot or by using compartment.

For example, the following setup works fine:

Directory /home/chtest
./tmp
./kernel
./disk1

with a command line like this:

./do-chroot . 1004 ./kernel ubd0=/disk1 mem=96M uml_dir=/tmp

The user 'chtest' has the uid 1004, 'kernel' is a recent 2.6.18 with a skas3 
patch.

So far, there's no problem, everything works fine. Just one thing:

SKAS3 won't work

On startup, there's the skas3 capability test and a 

proc_mm not found

So the instance does work, but in SKAS0 only.

I normally use SKAS3 and I would really like to do so in the future. Am I doing 
something wrong or won't SKAS3 work in a chrooted equipment?

BTW:
- kernel is statically linked
- I tried to setup a symbolic link from /proc to /home/chtest/proc - no change

Any ideas someone? Or will I have to stick to SKAS0 in a secure environment?

Regards,
Karl 


 
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to