[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#698347: debootstrap: New variant based on PRoot



Hello Rémi,

Rémi Duraffort <ivoire@videolan.org> (17/01/2013):
> Package: debootstrap
> Version: 1.0.46
> Severity: wishlist
> 
> I patched debootstrap in order to add a new variant base on PRoot.
> 
> If you don't know PRoot, it's a user space implementation of chroot, 
> mount --bind and binfmt_misc based on PTrace. It's a really useful 
> tool for playing with rootfs while staying in user mode (non-root).
> 
> For instance we use it to test software in different distributions 
> environment (debian, ubuntu, fedora, slackware, ...) without the need 
> to run a full virtual machine.
> 
> For this reason, I patched debootstrap so it can create a rootfs using 
> PRoot. This rootfs is then used for validating software in debian 
> environment. Be careful that this new rootfs will not have the normal 
> rights (root:root for /bin for instance) and should only be used for 
> testing (with chroot or PRoot).
> 
> 
> For more information about the usage of PRoot, you can look at two 
> article that I wrote about it:
>  * http://ivoire.dinauz.org/blog/post/2012/04/16/PRoot-sorcery
>  * http://ivoire.dinauz.org/blog/post/2012/05/04/Making-VLC-at-home
> 
> 
> This patch only works for sid. I will modify the other target when needed.

thanks for the patch (s/usefull/useful/ in the commit message btw); I
guess having a proot package in Debian would be nice at some point,
any plan about this? Also, shouldn't there be a check on “proot”'s
presence? (Maybe that happens when/before CHROOT_CMD is called?)

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: