Before diving too deep into namespaces we also discussed contacting the people from oe and pseudo and checking whether the problems come 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, 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