From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517147827419742208 X-Received: by 10.46.122.16 with SMTP id v16mr541929ljc.13.1517405806072; Wed, 31 Jan 2018 05:36:46 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.229.75 with SMTP id c72ls745703lfh.5.gmail; Wed, 31 Jan 2018 05:36:45 -0800 (PST) X-Google-Smtp-Source: AH8x224D61MV6/b6bEeFWeoPXBSfOPrUmqtsJqGDQoIiPW+mUe0rc0M5Fm/+YdlOf6Xzzxi73j+J X-Received: by 10.46.118.6 with SMTP id r6mr2001730ljc.8.1517405805235; Wed, 31 Jan 2018 05:36:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517405805; cv=none; d=google.com; s=arc-20160816; b=CSMrJAzOgvowRPMIZsHQdIqJmCdWO1jVZBVehZzKyC19cM8HmOcUznmDxU+wpwy3sP 66QE1/Srz1KAvC1sbv9MjLOboWusKGOBwMAdldl2CNqX0YAxrrpErx7abQatqhahr9SZ JTzJ3bUgAfyoQteThzeNjttaDuRG5/rPDtHMI0MKHPXM++3xSWmkFOWcz2KiNng0HWhu zqSWC/AGOABHJO/AXla1IEG44KBny/aPCHI+5t1Akmk6NPiDIvTJmCC7D+K3vYeT7002 yrmK64uXDitwAehiJAihN4e8vcyhA5QFtTWcn1jNWykXiNqR+8vUMo3vX0vlQOqCg1WS i0zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=vtyjv+7Ic49zaIO97IyexbR89JCXN2WLsV4/eTl7cOc=; b=vraKAi1iBLZA6OP8GALxdTeuZOA/fJumj9504dgOpzR2xiN5AvV9TD3EkN7kxSJ7T6 B0GrivO1Yuz9d31U4ZN13HsaYEnkYb6Kl4FwQYPWH9Kwm1F2NvDisAJb9R5B4lDJ2UKZ 6s9/fegR3o21Oji4KNfo/IDOam4JEmE93SDsdQaSgORQmNrYWq44ipD/RYTX6i+vKLLL 60iskbSpRJbHnWPpHrbpq8lI9IFfmgiS/bwM7BscvDB0/KrqqNqM+qSUjxCX1jvlNNNG FAJ1LSoJy2mIcNDBvXaOXqOYMxqgsfqO/te0IXSWMG744thCY+QFGKG1DVkc5CbanBsk WQyw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id b10si1694720lfe.4.2018.01.31.05.36.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 05:36:45 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w0VDai62002350 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 Jan 2018 14:36:44 +0100 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id w0VDaiqc006325; Wed, 31 Jan 2018 14:36:44 +0100 Date: Wed, 31 Jan 2018 14:36:43 +0100 From: Henning Schild To: Baurzhan Ismagulov Cc: Subject: Re: [PATCH 0/9] first wic integration Message-ID: <20180131143643.5bd66b33@mmd1pvb1c.ad001.siemens.net> In-Reply-To: <20180131120245.GC6508@yssyq.radix50.net> References: <20180131111253.49011346@mmd1pvb1c.ad001.siemens.net> <20180131112421.GA6508@yssyq.radix50.net> <675eeef9-1e24-4784-b894-4ce665da26fb@siemens.com> <20180131120245.GC6508@yssyq.radix50.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: XDFUG8Gsp656 Am Wed, 31 Jan 2018 13:02:46 +0100 schrieb Baurzhan Ismagulov : > On Wed, Jan 31, 2018 at 12:47:08PM +0100, Jan Kiszka wrote: > > >> If the manual non-root call did work before, i will look into > > >> that. > > > > > > Yes. Yes, please do. > > > > > > In Yocto, manual non-root call works. The same is our vision for > > > Isar. For now, it has been workarounded with sudo. We have a > > > working PoC based on PRoot in the pipeline. So I don't support > > > the idea of changing the user experience because of this issue. > > > > While I agree we should try to get whole Isar unprivileged, let's > > not invest too much into this when it's complex. We are currently > > far away from that goal (as you know, proot has several open issues > > as well), and this here solves the problem of having to run wic > > manually at all. > > No effort whatsoever. This is already workarounded in master in the > following commit: > > bf873d3 wic: Use sudo instead of pseudo This patch did not just replace pseudo with sudo, it also introduced "sudo"s i.e. for the "du"s that now fail. I could overlay "du" and "mkfs" with symlinks to wic_fakeroot and use sudo in there, but i do not really see the point. If you are counting sudos i replaces a whole lot of them with just one, an almighty one ;). Henning > My suggestion is not to revert that. I agree with Henning that we > should cover that in CI. I'll provide an initial testing framework, > then we should sync who does what. The other mcopy and fsck issues > are not covered, either. > > Regarding the PRoot PoC, I don't agree we are far away. Everything > works except mounting. We've just postponed the work due to > higher-prio issues. > > > > > b1511ec wic: Work around mcopy error > > > 17f9196 wic: Introduce the `WicExecError` exception class > > > > > > All of them are not related to the bitbake core and fix concrete > > > issues with image generation that were not addressed in the > > > baseline bitbake. Did you address those issues in your new > > > changes? > > > > Good points, should be clarified. Maybe an update of the upstream > > wic import is the answer if we are about to lose something. Better > > than patching locally in Isar, as so far. > > Do you mean we should initiate upstreaming that to OE? If yes, I > agree with you. The only question is point of time. My idea was to > wait till Henning completes the lifecycle with his OE contribution > and learn from his experience. If you think we should do that now, > please let me know. > > > With kind regards, > Baurzhan. >