From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6626616999001718784 X-Received: by 2002:a50:a5f1:: with SMTP id b46mr306766edc.12.1542888226484; Thu, 22 Nov 2018 04:03:46 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:5a09:: with SMTP id p9-v6ls2186552ejq.3.gmail; Thu, 22 Nov 2018 04:03:46 -0800 (PST) X-Google-Smtp-Source: AJdET5fHX2eV/ZBED7GcvnLOc0RNcBR7+56ItoLSJ029UWLN5xtSxPwEd2+0+5RcTeJTRWqlA8F+ X-Received: by 2002:a17:906:2352:: with SMTP id m18-v6mr2019015eja.9.1542888226030; Thu, 22 Nov 2018 04:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542888226; cv=none; d=google.com; s=arc-20160816; b=vnlMupMPx1pF2EPfjuLUMCyJNOQGc5/P/NhaCkicbKvO5566pJFHWUcHNBOqjt6aQr k5+tgjDzRy7GyYHOD9e7QcYQI6cuGh8ufd4LXo1izPrtVtYF/2CMKjgAAJo2QQ3wkVqt 0s/sAYkQb3MuuLkODUKfvfJi3AEg7y4B08C169rFMUsp17mXjsZ6jjKVal9cFQJlGOH6 yxY8byNlLDnsARcCh2pmPK2NjtolSZ4GNMPvPQhLsXrblPMyvB6McLbEj7VUXVTcN4h0 TdeH7wB65PELSxZbb/tpZvpATih+cymdEtjhuf9vB093m/wsbwypCgzDnePnlRYWKMbM +k4w== 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; bh=9irerxyz2Z41k8241DQxY66SzMDbGESw6fr1r0hamuw=; b=NfAPkx1gE0wo5hiJp7z1yDOyLpdlsgvt4pURPFHWtdnhKajubYb6KKDI99/u2TQhr8 aG34lEr2OIsWbqqpApGurtJH6XKffMJIn5DOAtj5tg16S0WFdRF4NEVmv6EW6bY6IX5a oKAcsMZnCtOXn14BA7EAxjwozxno+832tS5YaZjduGca2BG5byDmOSNDlOGzDqVXpdXC 413WUQWaby/CSjiEvNzjP8JkYrywzvnRiOK9MYXmXFO6PD5n9zVj5NbL+vUbxuYN5VTD sRUMtcduYA+60p/9DirvNVZpOnNmCOEpAQWJ2GECD9yVJ7kCkYf3SnGPJhtwQM8L0iOT sj2w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id k13si733095edx.2.2018.11.22.04.03.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Nov 2018 04:03:46 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id wAMC3jta016331 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Nov 2018 13:03:45 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.69.187]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id wAMC3iF7027183; Thu, 22 Nov 2018 13:03:45 +0100 Date: Thu, 22 Nov 2018 13:03:44 +0100 From: Henning Schild To: Cc: isar-users Subject: Re: [PATCH 1/2] buildchroot: Enter buildchroot with right user:group directly Message-ID: <20181122130344.3d1c1146@md1za8fc.ad001.siemens.net> In-Reply-To: References: <20181122093818.21909-1-henning.schild@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: l2ZkWRE8CBMr Am Thu, 22 Nov 2018 02:13:25 -0800 schrieb : > cool - I will indeed rework the upcoming dpkg-source class to use > this. Thanks a bunch for the hint! Hehe, and i even forgot the CC, that i wanted to add. Make sure to source /isar/common.sh as well. That guy should probably evolve to be the one entry point into buildchroot, no matter what you do there. Henning > On Thursday, November 22, 2018 at 10:38:21 AM UTC+1, Henning Schild > wrote: > > > > From: Henning Schild > > > > > Instead of using "su" use "chroot --userspec". That should also be > > the pattern for other chroot users that do not need root. i.e. > > kernel build and upcoming "apt-get source" fetcher. > > This way we can skip all the chowning we had/have to do otherwise. > > > > Signed-off-by: Henning Schild > > >