From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 15 Sep 2026 10:32:27 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f64.google.com (mail-ed1-f64.google.com [209.85.208.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 68F8WLlr000806 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 15 Sep 2026 10:32:21 +0200 Received: by mail-ed1-f64.google.com with SMTP id 4fb4d7f45d1cf-6a9fba07e53sf1638459a12.2 for ; Tue, 15 Sep 2026 01:32:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1789461136; cv=pass; d=google.com; s=arc-20260327; b=Tp7AxnzvDieQFhfTYUeAs0GooWZanACEfOxWnYCmnYIpSLjDwSYSIpJPeK8nbCqRvl 1juPoQJ2cHfSdp8IIY4TVo1lB/gFJrc1cXLmMC6mi+Ry17lPhdCWuNLYDHT/VXXgDkwr 2UmRosbuXPMRhQvmvn80wn0OY6jasgl2cUAXGTR+E3ZH6B91CS0LrcZnina/fmgcajKX b7Z7+v6Alp+hDfVp7zX7L+JFOqEYwVXhyItS0Wio4Lx8RP8b1KMaueZW6jFbtmzy8OxY wBOOI+hi3z9a5wrSWf+wfl9Y81HTt6mll5F1AUo6XVNvMsAlbsxylZjWCOiyRDVIflfv 87ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=GqMkX8NdhRjfhwk61bLLNAXzcqcpV6Rp+Kd4RoCWY14=; fh=DzypwcGwfyx17+wC6y5SNy4qWH/yIsRTN6OxNf8en3I=; b=KfffhdZp6bGdaRUHRUjVNxPNuYj6IowyqYNP+u6SbW2OjvC3eMDWLdkGryMBKvhyIb rsShPojyvH1+28CpiDgr6YenMUTZn1PUC9Gg6JaZ3KrypFPEy/+KWPJSk03YcVDHb6Y5 SCEAzTfWf+oczdb6DGyNn2wHTrzPgSsHywe4yNItgrhGrsZACyUwTuzudzk11imPxJ1H yQjUpILlZcXz9Rr45CnpXi2GS9plrZTpseldFGANyMTr1YbamEyc2wKAbGO5Cr9lLS3S CuDPw54binDcwzHzrv6ccGroNj4D7RlQ2kTnxjbbR1PTeAdJ1sXzCigyllJ65hmhbx6w pFXA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1789461136; x=1790065936; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-type:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to:content-type; bh=GqMkX8NdhRjfhwk61bLLNAXzcqcpV6Rp+Kd4RoCWY14=; b=BXKs/pMAe9FaAzhRbVis3H57IZaazKbSiTiqcoOPFiqddsXWhnR6scirpDwj2e+uHb Xzu8wA58VuKaHitWsUl63tDjzxfavYsG0xTLLGCu0Bs9UDOp8xfmz30FFdtprHmxi3dE W5i2VDEeT+P4lgQkEO9ghz8qBcW2pfyxwZqBT1eZ9wg719O4eLxYTHij4vEYZed3ak2w t2JKvTm2XD3I2wQ3bHR0eks8lXEK3Fnz/r5dJo+SGFbEYQniUDe1yxK/j8p7XMV5izEB M6c2TWQM8oWZv4EvYiW61Xlq9NdqnotGn/tBJPvHpDAljHjCxqoo6yPxoH7MJ50XofcG 6Knw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789461136; x=1790065936; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:content-type :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to:content-type; bh=GqMkX8NdhRjfhwk61bLLNAXzcqcpV6Rp+Kd4RoCWY14=; b=Q+wdQpIYDffvpYhje46fuM6E6hkioGwaGPpwRYD4ckjsuq102Cy7QyyJBkLiPeg6Ow K0UTpksc5WpDLWqM1ga3rhlEY0Tyt6jPJ7toaeqNViMyRlHGSEcYlXW3SELc3PfqoRkN N7WIDiZDBhjbwqZ13eWgCD6O08ziMC2MvRx8HspHy31j7G0x6/eVXXur3iW57f01BeW7 gQ1QdXMTvkoDCrimn69+H7KJ8s6RA9xIsH6Fon2pwv0pEn2pXLDAZQh0Hytm5X/VvNRx B0WteaeH8KO5UPlIsqWmqo3DKQaEU5fQ56VPS3lOdiyggFVmN+2uewiSo45teNmMsVC/ UlfQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvByc1j8DeiVkHnvZMlsZecBxk1bNQluNNfdf7lvwqAqueQMEgv1Vm2vG/wEkHppMbywtS+it@ilbers.de X-Gm-Message-State: AFuF++mRzpdKEj4Tjr1M0NSI9qQzNHCCMtZ1U8bPd7AOZA7haz3Dwabe Q02VQAr5wqmZHGNfEwdzmA88Y6OrQ4AYGr8q7+dYJRWKptCKBrJP2UFI X-Received: by 2002:a05:6402:e0d:b0:6a3:f63a:4978 with SMTP id 4fb4d7f45d1cf-6aa12b226bfmr69588a12.8.1789461135902; Tue, 15 Sep 2026 01:32:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLdctIVqxvlEPlvvnXdSPVAjUVeSrLNqudnlrRA/As3yu7w==" Received: by 2002:a05:6402:947:b0:69e:1229:70b2 with SMTP id 4fb4d7f45d1cf-6a9a2e1692fls8133154a12.2.-pod-prod-08-eu; Tue, 15 Sep 2026 01:32:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBy8sx0p3BoNBNX2g5/zpdzEkbwTbBc4U0p0Zu8pA0C635QgKIIfk0GyEzZ4zFnzP50TG5Dm+LBdO0s9@googlegroups.com X-Received: by 2002:a17:907:c491:b0:c29:1133:e17b with SMTP id a640c23a62f3a-c29d77c6f94mr9399066b.19.1789461133679; Tue, 15 Sep 2026 01:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1789461133; cv=none; d=google.com; s=arc-20260327; b=IaXJIscsLUiTYIJEg40JzUBrdO1nChGHe1UhSxgKKiqqs2TzIdNx5ce6rhbLoGFH59 NqTKvXXwkmOYUnd4SZLe7TqAqapL5y1Rj74Y1NHOwPaTMC19NTgLzs3Q5IaHTH+6R8gi UFatjqDuYsI+9ilyjoKzwpzDK1sMd459SzAf8wCDnOS7Gq7WNRlslDNnh43y5afnPsbC R00NXmUVzNYnUy2yCWY79Y2vLwt2qtbar0XKIoJEJfbdhzYJtQZBA8YpdvJPxlr9o+PU 1O9HA3v7UIZQG7Gk/jNhGqP8ZjKWjTNaylh2Ru7EuDO2FVRRJ8lIzMOZyNEh2+27Qa97 9U/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=aeRnBHwGDD5Ib9yq5evja4gTdJrPHarnavqq2OeW/j8=; fh=M7qzxwWnzHOpme38OBAwYzD5M8ahdIe2u7y/JRqRqyc=; b=lkNQv7l/WPyyvzNe75hm/o514nsF0A4G0GgqX3h2C8EXkNXl0TPFnwoE+Wb4sJhOCC /Ru4LbqTnWYztMqTHN6SOWLtqPoqm3qtddwIrfRCEA2elXdzo4HKDrcZt+ivNNWi5za2 r/H2lzOLs8non5Lt42weCedhqgHsaToGMeFWbnFFVaEnT6zWiA3HKH327/L30X9y3+xM 1/g6kJWAU3Z118+kD5QZNV7YArNjsZ0z+CCkc+tVvaho5fnereezeHgLCnHJr3XdE8oq CpImszRQBBQLkK9A8jMVz4GIF6lnGqiZBCpDl3TXM4DHCe8RIZifagzsWTgXNZGZWX7Q oH/w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id a640c23a62f3a-c2965e08df3si20270966b.4.2026.09.15.01.32.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Sep 2026 01:32:13 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.24] (dslb-188-101-241-026.188.101.pools.vodafone-ip.de [188.101.241.26]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 68F8WBMr000791 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Sep 2026 10:32:11 +0200 Message-ID: <1aac300f-680d-4110-8438-8193d7cb5260@ilbers.de> Date: Tue, 15 Sep 2026 10:32:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] bootstrap: fix building from isar checkout with strict file permissions To: Felix Moessbauer , isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, Clara Kowalsky References: <20260911075941.1175172-1-felix.moessbauer@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20260911075941.1175172-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: Jj3DidMzSMzy Applied to next, thanks. Zhihang On 9/11/26 09:59, 'Felix Moessbauer' via isar-users wrote: > When cloning the isar repository under a umask of 0007, the > chroot-setup.sh file is not world readable. In unshare mode, the > setup-hook of mmdebstrap runs in the unprivileged namespace under a > different user, unable to read the chroot-setup.sh file. By that, the > install <...> fails. For cases like this, mmdebstrap provides the upload > helper, which internally handles the copy in of the file. As this does > not provide a way to set the permissions (in contrast to install), we > chmod the file afterwards. > > Fixes: 4fedb1ae ("add support for fully rootless builds") > Reported-by: Clara Kowalsky > Signed-off-by: Felix Moessbauer > --- > meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc > index ee6eda3c..5d4ca1ef 100644 > --- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc > +++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc > @@ -248,7 +248,8 @@ do_bootstrap() { > --setup-hook='mkdir -p "$1/etc/apt/trusted.gpg.d"' \ > --setup-hook='sync-in "${WORKDIR}/trusted.gpg.d" /etc/apt/trusted.gpg.d' \ > --setup-hook='chown -R root:root "$1/etc/apt/trusted.gpg.d"' \ > - --setup-hook='install -v -m755 "${WORKDIR}/chroot-setup.sh" "$1/chroot-setup.sh"' \ > + --setup-hook='upload "${WORKDIR}/chroot-setup.sh" "/chroot-setup.sh"' \ > + --setup-hook='chmod a+rx "$1/chroot-setup.sh"' \ > --extract-hook="$extra_extract" \ > --essential-hook="$extra_essential" \ > --customize-hook="$extra_customize" \ -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/1aac300f-680d-4110-8438-8193d7cb5260%40ilbers.de.