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_dir=/foo_bar settings and with
> invoking the uml_mconsole with all kinds of sockets, but I don't get this
> to match.
>
> Is there an easy way to arrange the uml_dir in a chroot with the invoking
> of uml_mconsole afterwards, for a setting like
>
> /home/chtest <- chroot directory
>
> I guess that's the last tripwire before a complete jailing of my instances.
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.
However, the $HOME/.uml path can be relocated for uml with the uml_dir= option 
(documented in $uml_binary --help), so you have plenty of choices; 
additionally, uml_mconsole accepts a full path to the socket file (even if it 
is not a nice API, adding an option matching uml_dir would be better IMHO, 
suggestions are accepted).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
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