From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6449667588399038464 X-Received: by 10.46.5.9 with SMTP id 9mr500449ljf.28.1501789536276; Thu, 03 Aug 2017 12:45:36 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.212.149 with SMTP id l143ls19641wmg.18.canary-gmail; Thu, 03 Aug 2017 12:45:35 -0700 (PDT) X-Received: by 10.28.141.8 with SMTP id p8mr52735wmd.31.1501789535940; Thu, 03 Aug 2017 12:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501789535; cv=none; d=google.com; s=arc-20160816; b=LDgEW8KD1V4N0rcmP5T9g0/WgKFx8nMyR8xYA2KT5eUPJfLiiPPNP9qLL1K833oIgC v+rlz5cAaXXxOQJWG5CZhq5c+2pm65560rCkYcjc/8xJInRA5CZ2ExxYJR3I6c5oIPzl MfEpwB93cJB6axIgSRKVqBRU4fEJNwf1Y3SW/Wb2bi+vyp/3kCK2NGLcRp2vglrsXVbB FKCOrIhID2g9sa30SGgNPJvyn7TFDAGc8SBEv2FUQEI0tiO4t65e5k0M76II+KgULHa0 f/8qYbjvYwhhDdUlGjura4j4g/LvugBVzHpnppC0kaoVguy3VqQa34Em5B6grwA+m3Za 18hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=6KOEmi9ZhPpKYiQqYViAzJ1pQvd9RbMlBvC7oqlVhyo=; b=SlhfI9pdeBjY1zj7QG5vXxB13tZhbcH1jJLOr07wXAAR33WvLxRhEYDrzKdfXzCCir iTij6goCUb23321nd5H2q3MeHJvDpE4JbiULblP3umU2AXa7wOPzsKyAqc47w2z/Lzkm 8iQ4x7G1A83W+2dmDwIm8eSWyAGKWT09vP5cRpBpvJWsNbrBbrqNIZngaycTxAP2Ffai CSYJpobSbf0TyYqdpuXr+MMGtqbm0yuUTgdGOl9UV58lOKeMDUs9DubNRF7k4EEK5h90 EQVvryz+nQYdzxhIP41q5dSaz9H6zREmfNxux6NaB1K/Mr883uX8+9SbauwNa9n5WqwR NTUQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 194.138.37.39 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id f204si1123550wme.3.2017.08.03.12.45.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Aug 2017 12:45:35 -0700 (PDT) Received-SPF: neutral (google.com: 194.138.37.39 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 194.138.37.39 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id v73JjZuN006326 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 3 Aug 2017 21:45:35 +0200 Received: from DEFTHW99ERJMSX.ww902.siemens.net (defthw99erjmsx.ww902.siemens.net [139.22.70.135]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTPS id v73JjYPi027851 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 3 Aug 2017 21:45:34 +0200 Received: from DENBGAT9ERGMSX.ww902.siemens.net (139.22.70.137) by DEFTHW99ERJMSX.ww902.siemens.net (139.22.70.135) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 3 Aug 2017 21:45:35 +0200 Received: from DENBGAT9EK4MSX.ww902.siemens.net ([169.254.11.153]) by DENBGAT9ERGMSX.ww902.siemens.net ([139.22.70.137]) with mapi id 14.03.0361.001; Thu, 3 Aug 2017 21:45:34 +0200 From: "Schild, Henning" To: "Reichel, Andreas" CC: "isar-users@googlegroups.com" Subject: RE: Integration of Pseudo into Isar Thread-Topic: Integration of Pseudo into Isar Thread-Index: AQHTC5KliUUAmu2s2UKLAlkXYmKMAKJyQx+A///1RgCAANKZ2w== Date: Thu, 3 Aug 2017 19:45:34 +0000 Message-ID: References: <20170802132413.GA25215@iiotirae> <20170803095011.05aaa73c@md1em3qc>,<20170803091148.GA2782@iiotirae> In-Reply-To: <20170803091148.GA2782@iiotirae> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_D4C89CB02661304AA2F7C38F7738531001765AB0DENBGAT9EK4MSXw_" MIME-Version: 1.0 X-TUID: fAQ0kZ3CdV9I --_000_D4C89CB02661304AA2F7C38F7738531001765AB0DENBGAT9EK4MSXw_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Before diving too deep into namespaces we also discussed contacting the peo= ple from oe and pseudo and checking whether the problems come from ld so wh= ich you might patch with a custom library in ldpreload. Von meinem Android-Telefon mit TouchDown (www.symantec.com) gesendet -----Original Message----- From: Andreas Reichel [andreas.reichel.ext@siemens.com] Received: Donnerstag, 03 Aug. 2017, 11:11 To: Schild, Henning (CT RDA ITP SES-DE) [henning.schild@siemens.com] CC: isar-users@googlegroups.com [isar-users@googlegroups.com] Subject: Re: Integration of Pseudo into Isar On Thu, Aug 03, 2017 at 09:50:11AM +0200, Henning Schild wrote: > Another thing that might be important is which steps actually fail with > pseudo. Currently we use sudo in several places. > > 1 multistrap > 2 configure.sh > 3 ext4fs > 4 populate > > And maybe more, i do not know by heart. > > 1 needs to work for sure As we just discussed, step 1 fails already since multistrap calls dpkg --configure and this calls ldconfig. Since ldconfig is static, this will never work. https://superuser.com/questions/943221/is-running-ldconfig-inside-fakeroot-= possible (This is about fakeroot, but it also uses LD_PRELOAD) As we discussed * I will analyze how bitbake and wic use pseudo * Have a closer look if this can be solved by user namespaces Andreas -- Andreas Reichel Dipl.-Phys. (Univ.) Software Consultant Andreas.Reichel@tngtech.com, +49-174-3180074 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082 --_000_D4C89CB02661304AA2F7C38F7738531001765AB0DENBGAT9EK4MSXw_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Before diving too deep into namespaces we also discussed c= ontacting the people from oe and pseudo and checking whether the problems c= ome from ld so which you might patch with a custom library in ldpreload.

Von meinem Android-Telefon mit TouchDown (www.symantec.com) gesendet

-----Original Message-----
From: Andreas Reichel [andreas.reichel.ext@siemens.com]
Received: Donnerstag, 03 Aug. 2017, 11:11
To: Schild, Henning (CT RDA ITP SES-DE) [henning.schild@siemens.com]=
CC: isar-users@googlegroups.com [isar-users@googlegroups.com]
Subject: Re: Integration of Pseudo into Isar

On Thu, Aug 03, 2017 at 09:50:11AM +0200, Henn= ing Schild wrote:
> Another thing that might be important is which steps actually fail wit= h
> pseudo. Currently we use sudo in several places.
>
> 1 multistrap
> 2 configure.sh
> 3 ext4fs
> 4 populate
>
> And maybe more, i do not know by heart.
>
> 1 needs to work for sure

As we just discussed, step 1 fails already since multistrap calls
dpkg --configure and this calls ldconfig.

Since ldconfig is static, this will never work.
https://superuser.com/questions/943221/is-running-ldco= nfig-inside-fakeroot-possible

(This is about fakeroot, but it also uses LD_PRELOAD)

As we discussed
* I will analyze how bitbake and wic use pseudo
* Have a closer look if this can be solved by user namespaces

Andreas


--
Andreas Reichel
Dipl.-Phys. (Univ.)
Software Consultant

Andreas.Reichel@tngtech.com, +49-174-3180074
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring
Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller
Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082

--_000_D4C89CB02661304AA2F7C38F7738531001765AB0DENBGAT9EK4MSXw_--