Re: [uml-user] chroot uml_mconsole [was: chroot/jail with skas3?]

2006-10-20 Thread Flavio
2006/10/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hi,thanks for the fast response about skas3 I'm sorry.. but.. where's the response? I didn't received any response about itCould you post it please? maybe it wasn't sent to whole list...

Re: [uml-user] chroot uml_mconsole [was: chroot/jail with skas3?]

2006-10-20 Thread jdbb
Hi, Paolo wrote: > you could do a mount --bind, but IMHO here it is simpler to let UML create > its .uml directory under $HOME (set it to an existing folder in the chroot) > and then symlink this .uml folder from the chroot to the host system > $HOME/.uml folder. > That should suffice. > Howe

Re: [uml-user] chroot uml_mconsole [was: chroot/jail with skas3?]

2006-10-17 Thread Blaisorblade
On Tuesday 17 October 2006 08:57, [EMAIL PROTECTED] wrote: > Hi, > > thanks for the fast response about skas3 and chroot, the mount -bind indeed > works great! > > I'm experiencing another problem, sadly. I don't get uml_mconsole running > on this instance. > > I experimented with all kinds of uml_

[uml-user] chroot uml_mconsole [was: chroot/jail with skas3?]

2006-10-16 Thread jdbb
Hi, thanks for the fast response about skas3 and chroot, the mount -bind indeed works great! I'm experiencing another problem, sadly. I don't get uml_mconsole running on this instance. I experimented with all kinds of uml_dir=/foo_bar settings and with invoking the uml_mconsole with all kind

[uml-user] chroot/jail with skas3?

2006-10-16 Thread Antoine Martin
> /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

Re: [uml-user] chroot/jail with skas3?

2006-10-16 Thread Jeff Dike
On Mon, Oct 16, 2006 at 02:37:24PM +0200, [EMAIL PROTECTED] wrote: > BTW: > - kernel is statically linked > - I tried to setup a symbolic link from /proc to /home/chtest/proc - no change Bind-mount /proc/mm into the jail: mount --bind /proc/mm $JAIL/proc Jef

[uml-user] chroot/jail with skas3?

2006-10-16 Thread jdbb
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=

Re: [uml-user] chroot

2005-04-08 Thread Dave Pearson
Rather than badger the list with more on this, I've tidied up my little 'chroot' script & put it on the uml wiki - to find that theres already another one there! so take your pick... http://uml.harlowhill.com/index.php/ChrootWithPerl or http://uml.harlowhill.com/index.php/Chroot Regards Dave

Re: [uml-user] chroot

2005-04-07 Thread Dave Pearson
On Thu, 2005-04-07 at 12:51 -0400, Edward Faulkner wrote: > On Apr 7, 2005 12:43 PM, Dave Pearson <[EMAIL PROTECTED]> wrote: > > mount (as root) proc on /home/todd/proc > > I would add one small improvement. Instead of mounting all of proc in > the chroot, you can bind only what you need (/proc/

Re: [uml-user] chroot

2005-04-07 Thread Edward Faulkner
On Apr 7, 2005 12:43 PM, Dave Pearson <[EMAIL PROTECTED]> wrote: > mount (as root) proc on /home/todd/proc I would add one small improvement. Instead of mounting all of proc in the chroot, you can bind only what you need (/proc/mm) with something like this: mount --bind /proc/mm /home/todd/proc/

Re: [uml-user] chroot

2005-04-07 Thread Dave Pearson
Hi Hmm. Not only how to chroot - but to really tie it down, how to su and chroot without copying in a load of /lib, /bin etc Heres my solution... my uml is on /home/todd - under a user todd make a /home/todd/tmp copy linux into /home/todd/linux (chmod a+x) make a /home/todd/proc (so we have a /

[uml-user] chroot

2005-04-06 Thread itamar
how to run a uml in chroot mode ? Itamar Reis Peixoto +55 (34) 3238 3845 e-mail : [EMAIL PROTECTED] http://www.ispbrasil.com.br --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real u