[prev in list] [next in list] [prev in thread] [next in thread] 

List:       util-linux-ng
Subject:    Re: [PATCH] chns: Like chroot, but effective.
From:       Adam Jackson <ajax () redhat ! com>
Date:       2010-04-08 22:00:26
Message-ID: 1270764026.32382.2627.camel () atropine ! boston ! devel ! redhat ! com
[Download RAW message or body]

On Thu, 2010-04-08 at 23:14 +0200, Karel Zak wrote:
> On Thu, Apr 08, 2010 at 02:09:37PM -0400, Adam Jackson wrote:
> > Largely functionally equivalent to chroot(1), but creates a new
> > filesystem namespace so the chroot'd process can't escape.  It's
> > possible to do this with unshare/mount/chroot in a shell script, but
> > it's a bit tricky to get right.
> 
>  Interesting idea.
>  
>  What about to add this functionality to the chroot(1)? For example
>  add a new option "--ns" to move the process to a separate namespace
>  with a real new root directory.

That'd be fine too.

- ajax

["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic