|
From: Goetz B. <bo...@bl...> - 2003-06-23 22:50:59
|
On Mon, Jun 23 '03 at 13:49, Adam Heath wrote: > On Mon, 23 Jun 2003, Matt Zimmerman wrote: > > > > Start as root > > > chroot() > > > setgid > > > setuid > > > run UML > > > > It might be nice if UML could do the chroot/setuid itself if started as > > root, after opening its files. This way, ubd devices and such could be kept > > outside the chroot. > > Of course, that breaks reboots. That would be _SO_ nice. I would love to trim down my start script to monitor the uml instance for existance and restart it from outside the chroot (in case of a reboot) if required, instead of binding all required stuff into the chroot (and try to unbind it after the uml finished). -- /"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting \ / (c) 2003 as GNU FDL 1.1 X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ] / \ [ 3. Reply to the list - 4. Read the archive *before* you post ] |