public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* PRoot experiments
@ 2017-10-18 12:29 Alexander Smirnov
  2017-10-19  8:59 ` Henning Schild
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Alexander Smirnov @ 2017-10-18 12:29 UTC (permalink / raw)
  To: isar-users

Hi all,

I've performed several experiments with PRoot:

1. Generate multistrap filesystem:

As reference I've used the following resource:
https://github.com/josch/polystrap/blob/master/polystrap.sh

So, I was able to run the following command without root permissions:

$ PROOT_NO_SECCOMP=1 proot -0 /usr/sbin/multistrap -f multistrap.conf -d 
test

After this command execution I have 'test' folder which looks quite 
similar to one, generated with sudo (at least 'du -sm' is the same).

2. Run commands in PRoot chroot:

I'm successfully able to run PRoot chroot for various architectures:

$ PROOT_NO_SECCOMP=1 proot -0 -r ./test /bin/bash

Also I was able to run: 'dpkg --configure -a' in these chroots.

3. Mount of various work folders:

Mount forlder using PRoot seems also works good:

$ PROOT_NO_SECCOMP=1 proot -0 -b /proc -b /dev -r ./test /bin/bash

And in this chroot I have /proc and /dev mounted.


So, my brief conclusion is: PRoot could be a good option for Isar. It 
seems that it's designed to support exact features that are required for 
Isar. :-)

I'd like to try to implement simple PoC to test if *.deb package could 
be generated in Isar without 'sudo'.

BTW: PRoot is a part of standard Debian, so it could be installed via 
'apt-get', no custom repos required.

-- 
With best regards,
Alexander Smirnov

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-10-20  9:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18 12:29 PRoot experiments Alexander Smirnov
2017-10-19  8:59 ` Henning Schild
2017-10-19 10:10 ` Ben Brenson
     [not found] ` <b0082bee-94d7-48c6-8582-93efc4171b59@googlegroups.com>
2017-10-19 10:14   ` Alexander Smirnov
2017-10-19 10:39     ` Claudius Heine
2017-10-19 10:44       ` Benedikt Niedermayr
2017-10-19 11:08         ` Claudius Heine
2017-10-19 11:15           ` Benedikt Niedermayr
2017-10-19 11:37             ` Alexander Smirnov
2017-10-19 11:36           ` Benedikt Niedermayr
2017-10-19 11:40             ` Alexander Smirnov
2017-10-19 13:37               ` Ben Brenson
2017-10-20  8:18               ` Ben Brenson
2017-10-20  8:52                 ` Claudius Heine
2017-10-20  9:21                   ` Ben Brenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox