From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6449667588399038464 X-Received: by 10.28.214.84 with SMTP id n81mr59109wmg.29.1501751509751; Thu, 03 Aug 2017 02:11:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.145.1 with SMTP id t1ls275252wmd.2.canary-gmail; Thu, 03 Aug 2017 02:11:49 -0700 (PDT) X-Received: by 10.28.20.129 with SMTP id 123mr172855wmu.13.1501751509376; Thu, 03 Aug 2017 02:11:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501751509; cv=none; d=google.com; s=arc-20160816; b=uX0bulJ0FB2MQeNBFXTxSGa9iKl4ugN4O0LVq2xCeoZTMDdw2pJaeI7mNSpIsL8uZi 3Pc3pH2rvwYDzmFTaBeCkVi1pzdEtiHPCYQiiqIsaDeyxTv6ou32X4LiQcsjAfRmziuo 7EIguJik7Hq/3oAUgrBoQk2VbCK8vQy+Y3+Y4LjeDYi5de8Qkf0QKI3s+ZVgk2RwDDCW 1dGC332nVmNRzTyXy7b6qNyNv9l9AT6HpPCkelENIitPnlo4lRBM4DupmRuVvvSorXd6 yq+OMNFtjU9ecD6LI7do0rQTLaBM8TmmSQtz6Vzg6XhxfrmL7ne2ZAx9cEY29w6kRWi7 KgVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:content-description :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=QOHN+ndzs9jk0J8Ci2CjD19ZQuLlGxrEYt07XeBSs3w=; b=p4Q3F6fLx15XcTT7h+1Lj2M9CpwMNXr4g/W7z6OE8O2P4kDqWMPMAx4ZwOe7x9zTRQ QZZ/GwAwQdve1qLweFQNmRHq7GOQf8hlv7PA2icmZVm7o8a4GoSqXvWbvcoLNsyIuvF9 Pakn/1xkyu30ucOvuwt48MAKTNL6JqW0z9sAx6IgYBXr0cHkecNTK7ojp+YdBIFcGqa/ +H7oVUsbCf9NWWqs3cXmS5eQM4r5xCwsFoEr9sW9D95yP79pTruuDPIbTqABusQYaXFE BOdIiAyjeZRBk5VzWAeALjt1YtUn4qRgi1bsk6JyPLhi30HeAIvyAbZA+6bgX79VS55p PkaQ== 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 andreas.reichel.ext@siemens.com) smtp.mailfrom=andreas.reichel.ext@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id f3si548185wme.4.2017.08.03.02.11.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Aug 2017 02:11:49 -0700 (PDT) Received-SPF: neutral (google.com: 194.138.37.39 is neither permitted nor denied by best guess record for domain of andreas.reichel.ext@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 andreas.reichel.ext@siemens.com) smtp.mailfrom=andreas.reichel.ext@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 v739Bnc8017573 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 3 Aug 2017 11:11:49 +0200 Received: from iiotirae (golem.ppmd.siemens.net [139.25.69.162]) by mail2.sbs.de (8.15.2/8.15.2) with SMTP id v739Bmlg010933; Thu, 3 Aug 2017 11:11:48 +0200 Date: Thu, 3 Aug 2017 11:11:48 +0200 From: Andreas Reichel To: Henning Schild Cc: isar-users@googlegroups.com Subject: Re: Integration of Pseudo into Isar Message-ID: <20170803091148.GA2782@iiotirae> References: <20170802132413.GA25215@iiotirae> <20170803095011.05aaa73c@md1em3qc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: message Content-Disposition: inline In-Reply-To: <20170803095011.05aaa73c@md1em3qc> User-Agent: Mutt/1.8.3 (2017-05-23) X-TUID: txZZJ+Ojq97o 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