From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6478227101770055680 X-Received: by 10.98.137.3 with SMTP id v3mr949813pfd.50.1508487495057; Fri, 20 Oct 2017 01:18:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.98.246.4 with SMTP id x4ls2428661pfh.13.gmail; Fri, 20 Oct 2017 01:18:14 -0700 (PDT) X-Received: by 10.99.160.85 with SMTP id u21mr914539pgn.113.1508487494702; Fri, 20 Oct 2017 01:18:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508487494; cv=none; d=google.com; s=arc-20160816; b=FKMt3Sk5+BQt3GGhKqaTV5M1okCghIV6IMGcaAv15DeVjkrNDNiQqGG0sWwM1Xv6cv R1uFt+PUzwk/oyP9eZYtuLNK2yiO4e5e33af+hSvDnNn1i0CQnUG25cauRrwKQKdpN/H sR3hzNR3nRvJ1mt+XMQtSUCUSOCHdTfdfY+fDRwXmyXoZlpbzYD69d0yoeBdoZXCArJr ltwD3B5Yu3OSyI2+Z0ZYX86hDNTcpqGJjU8ohEfXCZ1dynll4IpdkCMRPUoTxrBr3UnE fvKdpLXgHpcj9gTfV0aZ2bNAmch2FpfGgavEFssq8X5VAVFV4m6afWBgBLxabMR5/99Q Hvzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:dkim-signature:arc-authentication-results; bh=Yi9w0SjvwVNNau9XyDll9vhqgaStcyZE0/LYaVcJ3KY=; b=FpDX6qMGk43aoCJaRqfe80nNIekk3De4SGeE/fTVhsTbGvZOemwmaXdEqzHKwawqmo 0eFm8fzz0T9NuDO77mxq0tHk8SBda3k5kSiT/WewaecR+zz/nNqYiP+8YLbb6WGrBLKN eZqSolvvk9TJrVZ24CUIhy+z2DWmyKUtCeCqLJc723K2QMUl9JqRdVDe/YV1dWeUOet6 skQw5Q6H9hl5j56TqFVxJY1+rtfHFYgx6MOjndgJr3/td4xhSIT+jzh4FST1fGHbh8wH J3pyIRNiI2/GGCJREJ3v9YW68jYjCVm2QBGjT53y85rogJP96OQtHHnDavaAaxUxXXKF eIsQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=vNnV2rAg; spf=pass (google.com: domain of benbrenson89@googlemail.com designates 2607:f8b0:4001:c0b::22c as permitted sender) smtp.mailfrom=benbrenson89@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com. [2607:f8b0:4001:c0b::22c]) by gmr-mx.google.com with ESMTPS id f15si50599plr.1.2017.10.20.01.18.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Oct 2017 01:18:14 -0700 (PDT) Received-SPF: pass (google.com: domain of benbrenson89@googlemail.com designates 2607:f8b0:4001:c0b::22c as permitted sender) client-ip=2607:f8b0:4001:c0b::22c; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=vNnV2rAg; spf=pass (google.com: domain of benbrenson89@googlemail.com designates 2607:f8b0:4001:c0b::22c as permitted sender) smtp.mailfrom=benbrenson89@googlemail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: by mail-it0-x22c.google.com with SMTP id y15so13129297ita.4 for ; Fri, 20 Oct 2017 01:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Yi9w0SjvwVNNau9XyDll9vhqgaStcyZE0/LYaVcJ3KY=; b=vNnV2rAgUfK/ZoSwdd8XRZbhhBkAUnWmh4cTVsVn8/C/sQhBT7AbIZH131hTmUxL7M p6x03XZXKl+w5TtVWQp4mpCNSUNEpqmcH3jroMLGTCOF0gBT7G5GsmmEbED+elKB3duf klnz/J39qwK2+cTdt/pu8KXiV1u1k5PPL19QNpEKUShfQ5FaH7uJYJNHlb+ieCv+tk/t 79jaA8EV3CSEBxlpcc20Pbt9bvzgwtyat82MiEPh7/177OjDtidHD3zXwyYuRTMgrbYF 6osr0jTvyY3OhKu22lZVcjQ4zaWZ6fqo/7Ck8aLc3pn2CdvIiY9J+mX9ogZRbM8lu9Cs 3NiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Yi9w0SjvwVNNau9XyDll9vhqgaStcyZE0/LYaVcJ3KY=; b=nZc0CyRvbCx7sgwmpuUU5KliBmUf1q6y2bUBPOMTIWyZFmfgjI2ivH30diReZfsMVi FRf12TviL+voeLYjOIOzPSX33b9/tdYClGHsMzYFUXIopalPeDNgG/anKq7xy0Or9BFT OTmD1hEV8bUwhgdDPNSTvP+vbh6gNT6ccINTJ3qdAy3Rcc6/1gDyqNI08oxKIVekf1e9 fksCEt2b8EI5nxuqjxXcqpsW0ht3n4oQkPH9isdm0Im5XwUN3WnLbdy0Reaon7+Q6CZv WTM+X009eX/WK+H9arhJC1daI3BiQB36x6ZzXNaSIqKiv1Pvt9LZKZ9MvSbet5qyGMft iPjg== X-Gm-Message-State: AMCzsaVBHqEsTWbXhXEZdV2EVWHEIw5yGZ5vPnJ7wWvZTPD7mFMBfHfb ZNELIP//eXN00xMeNJIrlM17my6RO8+ELTwqR5U= X-Google-Smtp-Source: ABhQp+RyrnzpdzdDGT2sBEfxeU7qa/I8AycPMqMPGotKSB6yOqmirD0bEAyseqqFtAwDiKT7y3BbAkIc1dv3rk63WCo= X-Received: by 10.36.43.193 with SMTP id h184mr1397469ita.15.1508487493663; Fri, 20 Oct 2017 01:18:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.155.106 with HTTP; Fri, 20 Oct 2017 01:18:13 -0700 (PDT) In-Reply-To: References: <0b129e7e-f633-70d8-34fe-07cbb34fac13@ilbers.de> <99059b0d-4a58-eda2-65d3-91dc96ba2bd0@ilbers.de> <0314d700-be53-e319-3248-b6b44f567b2a@siemens.com> <6cf69de7-4c49-58cb-f9d3-b10b2ca0c4e6@siemens.com> <4264d316-4558-e538-2056-658b0dc3cca3@googlemail.com> From: Ben Brenson Date: Fri, 20 Oct 2017 10:18:13 +0200 Message-ID: Subject: Re: PRoot experiments To: Alexander Smirnov Cc: Claudius Heine , isar-users Content-Type: multipart/alternative; boundary="001a1146f4083540d8055bf61d12" X-TUID: isQqyZx7L2Fo --001a1146f4083540d8055bf61d12 Content-Type: text/plain; charset="UTF-8" Yes, but chroot itself is not working, which is called from multistrap when creating a rootfs with same architecture as the host system. I also didn't specify a setupscript and my multistrap.conf looks as follows: [General] noauth=false unpack=true bootstrap=debian-stretch aptsources=debian-stretch [debian-stretch] source=http://deb.debian.org/debian suite=stretch components=main contrib non-free packages= May it be possible to provide a self contained version of multistrap? Or would that be a No-Go? Regards, Benedikt 2017-10-19 13:40 GMT+02:00 Alexander Smirnov : > On 10/19/2017 02:36 PM, Benedikt Niedermayr wrote: > >> I found the problem. >> >> When running multistrap with the host architecture (amd64), then >> multistrap will automatically run chroot to configure the >> extracted *.deb packages. >> This is not the case when running multistrap with a foreign architecture >> (armhf). >> >> Keeping in mind, that also amd64 based rootfs builds should be possible, >> some problems still persist. >> >> > It's not the problem, PRoot successfully works with QEMU like chroot: > > asmirnov@zbook:~/Work/isar/isar/build/tmp/work/debian-jessie-armhf/buildchroot$ > PROOT_NO_SECCOMP=1 proot -q qemu-arm -0 -r rootfs /bin/bash > proot warning: can't chdir("/home/asmirnov/Work/isa > r/isar/build/tmp/work/debian-jessie-armhf/buildchroot/./.") in the guest > rootfs: No such file or directory > proot info: default working directory is now "/" > root@zbook:/# > > > Regards, >> Benedikt >> > > -- > With best regards, > Alexander Smirnov > > ilbers GmbH > Baierbrunner Str. 28c > D-81379 Munich > +49 (89) 122 67 24-0 > http://ilbers.de/ > Commercial register Munich, HRB 214197 > General manager: Baurzhan Ismagulov > --001a1146f4083540d8055bf61d12 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, but chroot itself is not working, which is calle= d from multistrap=20 when creating a rootfs with same architecture as the host system.
I also= didn't specify a setupscript and my multistrap.conf looks as follows:<= br>
[General]
noauth=3Dfalse
unpack=3Dtrue
bootstrap=3Ddebian-s= tretch
aptsources=3Ddebian-stretch

[debian-stretch]
source=3D<= a rel=3D"nofollow" target=3D"_blank" href=3D"http://deb.debian.org/debian">= http://deb.debian.org/debian
suite=3Dstretch
components=3Dma= in contrib non-free
packages=3D


May it be possible to p= rovide a self contained version of multistrap? Or would that be a No-Go?


Regards,
Benedikt

2017-10-19 13:40 GMT+02:00 Alexander Smirn= ov <asmirnov@ilbers.de>:
= On 10/19/2017 02:36 PM, Benedikt Niedermayr wrote:
I found the problem.

When running multistrap with the host architecture (amd64), then multistrap= will automatically run chroot to configure the
extracted *.deb packages.
This is not the case when running multistrap with a foreign architecture (a= rmhf).

Keeping in mind, that also amd64 based rootfs builds should be possible, so= me problems still persist.


It's not the problem, PRoot successfully works with=C2=A0 QEMU like chr= oot:

asmirnov@zbook:~/Work/isar/isar/build/tmp/work/debian-jessie-armh= f/buildchroot$ PROOT_NO_SECCOMP=3D1 proot -q qemu-arm -0 -r rootfs /bin/bas= h
proot warning: can't chdir("/home/asmirnov/Work/isar/isar/bui= ld/tmp/work/debian-jessie-armhf/buildchroot/./.") in the guest ro= otfs: No such file or directory
proot info: default working directory is now "/"
root@zbook:/#


Regards,
Benedikt

--
With best regards,
Alexander Smirnov

ilbers GmbH
Baierbrunner Str. 28c
D-81379 Munich
+49 (89) 122 67 24-0
http://i= lbers.de/
Commercial register Munich, HRB 214197
General manager: Baurzhan Ismagulov

--001a1146f4083540d8055bf61d12--