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; Mon, 15 Jun 2026 11:13:10 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ej1-f59.google.com (mail-ej1-f59.google.com [209.85.218.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 65F9D9L6008871 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 15 Jun 2026 11:13:09 +0200 Received: by mail-ej1-f59.google.com with SMTP id a640c23a62f3a-bf523a51c24sf240352566b.2 for ; Mon, 15 Jun 2026 02:13:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1781514784; cv=pass; d=google.com; s=arc-20240605; b=A5MMKlCGOANRKaPw36AvHmtYzVDOQECo6vBNf/I8ouNIKQSPk81A9JXbrmZVjRYC76 gO/j8GBj2+6nEa/TSBDPfSTs9z64LYrE1IIYihXekhWQahZoRbu5FnaDt6RZ2Am65fz8 Eh4M2Jjm1+P1joPfeNzLO1OrUA3f7MNeZnwB58JjZLf1gco4V98HaCSGzf0YZd8vVxmQ sDEAKLZLzq7JHAYYA4an7IErfEFX4u2X1+SS1ilqisdQpsBfX7qVVg91gFpzwSxiQsFY JG008AIj22fIhgfvkVtpPR78IPLSrqAm5vGuDX+5KVlfzzIftwA8F9b/FnMlBa40ziXV vYRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=bAG1lf7jv1YKYoLNTPjcO8xHfytrn1k9qj8qgAj0MKo=; fh=3NuVgy0+HCr50H4Ck16f79OZdFntjEibzakU93iBNqE=; b=WbTyPAHclpEkphGeF8wLDlzGRip+DFVxfNznwBN3MKGjig21AGaOvF3pB/IsUSTcEu uIPxMU6qr9h3BgI8rD0aIzhYGx7QcD71s4wUCRjzO98kAQAAAxLAiXyh/MesRP6PCLow E7GcBau8uRL2njFnUh2Sekf1kRaWAQU5KzVl4ZI4o2LhoWhxztrcuy7mLoNDdKofrBwd djNLrKdTTKeMAxxmW+kmpQpBCZo2Q8nequ0VNG5ExWqDZcKTg+jc2duvy4ulONOa5H4l HU47J+9hc6VrDtpvG1BJAXNo6ZCsWugGV3MQxGVDyKaq5FipbgNvWLFBgwnFYGpfSVRI Y9Hw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1781514784; x=1782119584; 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:in-reply-to:from:content-language:references:to :subject:user-agent:mime-version:date:message-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=bAG1lf7jv1YKYoLNTPjcO8xHfytrn1k9qj8qgAj0MKo=; b=TqJ5BO5B0/f13Xkoo/ULOrtZL44sXpImBVPTSob0IqjxWBrLqo82O0mhZxfLmOWUdb nyX4/ah/0VxtqfuR9P3Ux1GMhY/LSveuRkf7eOhlD9d7AbC7Wp/LMOuNWFgZMmTf4aQ4 vSX0hnR8Ad3moSaMB9ELO7zA0Sq1qw0yn+ttkylvw1szRI0B2pvKOLUN6Xf9YS+VEW9O DoKwz4Y2AUICKnMIwsTF656J9NAahYXFfC0/OurLvLWtyxzyPbgwaDu4+zD9I+R0qD5f 1xV4jeyfeN9x8BHseTLdFq6TJNB7VxPjkJ2+XSIm0f+8CiVUXNdwFz4T/FqG5d5SDueS TchQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781514784; x=1782119584; 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:in-reply-to :from:content-language:references: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; bh=bAG1lf7jv1YKYoLNTPjcO8xHfytrn1k9qj8qgAj0MKo=; b=mmqQkTVjCMSfZxm5v6bcyuRDHYgLkWqaVT1AvkrlKySFxKq1SbEnKDgk3uLdnJf+79 LZ+v+blQ5AIwGBxDoDaR5+3NqC1xZR41TVT/q/lwJTZaA/3xYqfdfljD+fn7V8y3w+rf CN02XuYifTDaYpK1pduueC+dhEu5oxYrBtllLqRdrIl4YK099pXwVxKocTOUL8qDFI1g UsJ7qs/l6JY26iSRMFKRVzdfvrSjh3S6M/IxdokdrgMJzhG9t4R1b3ODSjhjRicqQupj I1jSDXDOegFBb8o0UyLbMDGcYL6PBr+x3HAT+US3XYBcPMjChsmjfeV0NSU1vgmQDMYk Vq0Q== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ9r/yTAf3BBqIyslE0kymxNaUK8exjAgu3uXIbDfjVEowCbEqrxuwNpsw4ovIskueFxb2ET@ilbers.de X-Gm-Message-State: AOJu0Ywro8byB9YrdnX/COtcsim1W2rrGcsKzpMhWUpKQ9wC1wQJi/p4 ltADsWxsxpHI7Ir1XoSWMuBebpBRXJ5vFOM8gYzMsEj+06/4056oj9t+ X-Received: by 2002:a17:907:3c88:b0:bec:687f:6603 with SMTP id a640c23a62f3a-bff4bdfcb7cmr468356966b.28.1781514783959; Mon, 15 Jun 2026 02:13:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AX0PUUcXoCQHXNSjbQl5N1MqTmLyJtrsdNE+oHEpUAMguiAvyQ==" Received: by 2002:a05:6402:5519:b0:68b:6980:b484 with SMTP id 4fb4d7f45d1cf-6935c898d46ls2393383a12.2.-pod-prod-05-eu; Mon, 15 Jun 2026 02:13:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ9UqKjgZM1QI7yDBtHpxye7uOx3z1GnEH/Nnmi2OPkzxo2F5WBYUQ5Lr6YYGl6kmbEHhuiXsFgQqj7H@googlegroups.com X-Received: by 2002:a17:907:d501:b0:bec:5234:af7d with SMTP id a640c23a62f3a-bff499215cdmr376482266b.6.1781514782066; Mon, 15 Jun 2026 02:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781514782; cv=none; d=google.com; s=arc-20240605; b=WNZ/yeJ3IkOtkEsPZ3naBUYN+dFdE32S9KzAnIv7VzjFTANDk8siH3uzIvTOepBq4B E5c9NyPsDtwcQ9uIns/rdgoif8tkPxoERoGg2JGgKBxLcM2nPfU1eV/uCpSNwP77Qen8 grvO+A6/rLDyaJwnObIr5rvPH2lFwPlaIZYXlvm34IWxudyWLHbuXGr1otcGpTbzYTTj Qhy0U2p5tYERkutxQx7nuvP2ry1N935iPeqdsNTLFQyDU/5jfot0AqDrGKEYdouEIA6q bCjetokSpMWLzdZMqpW5/iMWwSxMAELOf13tDelmM2PmwE/vxt3KmdZHZe2U2ub1HnwW sEvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=1U6OBTFiPTgFjmCAkudkn/HTq7Mz5j02YMLkbGFJhy4=; fh=PICfM4Fo6fj0YFd/Sa2/vzFoNnq31QOnYxZYf2j1CDU=; b=BUKqq3NcLTwfCo6d3K9AJ5vXGIM/TGFJ/sTQS8AxpCjR4d3+X9lpiRWRFLrdFtg3hr YMOqTKal/id0+nIJrC8HYnnCTrU9D/CU2dg70gpXQraoI6IIXnGDY/hujlsI0Wk3Kdc9 VYAasi7ViAm4JDY7hjNQaGTHmLptuI7vE4KUVyTQfMeXPXO1MN2olWnPHiwb2SOuBcVu gsPv7nLa9vaN++tnJRrsZcNGXjuBnl0FXEU+PVtC4Sr7sCGFkFbxq2MltnOkk/hc1Og1 qk3p0WHFVPz44aR68YC2ktYgTWr0mtwmOPPcfiWiVBKSM4oHv8Es41JkyvfvjlTYjlB7 qJNA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id a640c23a62f3a-bfdb1a28cafsi19252466b.1.2026.06.15.02.13.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jun 2026 02:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 65F9Cw58008859 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Jun 2026 11:13:00 +0200 Message-ID: Date: Mon, 15 Jun 2026 12:12:58 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] rootfs: Deny packages download during install To: "MOESSBAUER, Felix" , "isar-users@googlegroups.com" References: <20260610064812.4010511-1-amikan@ilbers.de> <20260610064812.4010511-4-amikan@ilbers.de> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: 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_H3, RCVD_IN_MSPIKE_WL,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: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@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: Pi8oxjeQ+hAu 15.06.2026 11:55, MOESSBAUER, Felix wrote: > Hi, this at least breaks under rootless during > rootfs_install_pkgs_install on the sbom-chroot recipe. > > I'm currently investigating this, but here is already a log showing the > issue. Could it be, that local packages (via file://) are never cached? Yes, "file://" packages are not cached by apt-get, that's what all this patchset about actually. And that's why rootfs_install_pkgs_isar_download was introduced (cache them manually). > > Best regards, > Felix > > DEBUG: Executing python function sstate_task_prefunc > DEBUG: Python function sstate_task_prefunc finished > DEBUG: Executing python function do_rootfs_install > DEBUG: Executing shell function root_cleandirs > DEBUG: Shell function root_cleandirs finished > DEBUG: Executing shell function rootfs_prepare > DEBUG: Shell function rootfs_prepare finished > DEBUG: Executing shell function rootfs_configure_isar_apt > DEBUG: Shell function rootfs_configure_isar_apt finished > DEBUG: Executing shell function rootfs_configure_apt > DEBUG: Shell function rootfs_configure_apt finished > DEBUG: Executing shell function rootfs_disable_initrd_generation > DEBUG: Shell function rootfs_disable_initrd_generation finished > DEBUG: Executing python function rootfs_do_mounts > DEBUG: Python function rootfs_do_mounts finished > DEBUG: Executing shell function rootfs_install_pkgs_update > Ign:1 file:/isar-apt isar InRelease > Get:2 file:/isar-apt isar Release [5099 B] > Get:2 file:/isar-apt isar Release [5099 B] > Ign:3 file:/isar-apt isar Release.gpg > Get:4 file:/isar-apt isar/main Sources [2102 B] > Get:5 file:/isar-apt isar/main amd64 Packages [1512 B] > Reading package lists... > DEBUG: Shell function rootfs_install_pkgs_update finished > DEBUG: Executing shell function rootfs_install_resolvconf > DEBUG: Shell function rootfs_install_resolvconf finished > DEBUG: Executing shell function rootfs_import_package_cache > DEBUG: Shell function rootfs_import_package_cache finished > DEBUG: Executing shell function rootfs_install_pkgs_download > Reading package lists... > Building dependency tree... > Reading state information... > Starting pkgProblemResolver with broken count: 0 > Starting 2 pkgProblemResolver with broken count: 0 > Done > The following additional packages will be installed: > distro-info-data libexpat1 libffi8 libjs-jquery libjs-sphinxdoc > libjs-underscore libncursesw6 libpython3-stdlib libpython3.13-minimal > libpython3.13-stdlib libreadline8t64 libyaml-0-2 media-types netbase > python-apt-common python3 python3-apt python3-beartype python3- > boolean > python3-charset-normalizer python3-click python3-debian python3- > defusedxml > python3-license-expression python3-minimal python3-packageurl > python3-ply > python3-py-serializable python3-pyparsing python3-rdflib > python3-semantic-version python3-sortedcontainers python3-uritools > python3-xmltodict python3-yaml python3.13 python3.13-minimal > readline-common > Suggested packages: > python3-doc python3-tk python3-venv python-apt-doc python3-boolean- > doc > python-charset-normalizer-doc python-cyclonedx-lib-doc gpgv zstd > python-ply-doc python3-pkg-resources python-pyparsing-doc python- > rdflib-doc > python-semantic-version-doc python-sortedcontainers-doc python3.13- > venv > python3.13-doc binutils binfmt-support readline-doc > Recommended packages: > javascript-common libgpm2 lsb-release iso-codes python3-html5rdf > python3-lxml python3-networkx python3-orjson ca-certificates > The following NEW packages will be installed: > distro-info-data libexpat1 libffi8 libjs-jquery libjs-sphinxdoc > libjs-underscore libncursesw6 libpython3-stdlib libpython3.13-minimal > libpython3.13-stdlib libreadline8t64 libyaml-0-2 media-types netbase > python-apt-common python3 python3-apt python3-beartype python3- > boolean > python3-charset-normalizer python3-click python3-cyclonedx-lib > python3-debian python3-debsbom python3-defusedxml python3-license- > expression > python3-minimal python3-packageurl python3-ply python3-py- > serializable > python3-pyparsing python3-rdflib python3-semantic-version > python3-sortedcontainers python3-spdx-tools python3-uritools > python3-xmltodict python3-yaml python3.13 python3.13-minimal > readline-common > 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. > Need to get 512 kB/9561 kB of archives. > After this operation, 42.5 MB of additional disk space will be used. > Get:1 file:/isar-apt isar/main amd64 python3-debsbom all 0.8.1 [62.5 > kB] > Get:2 file:/isar-apt isar/main amd64 python3-spdx-tools all 0.8.3 [79.4 > kB] > Get:3 http://deb.debian.org/debian trixie/main amd64 distro-info-data > all 0.66+deb13u2 [6792 B] > Get:4 http://deb.debian.org/debian trixie/main amd64 python-apt-common > all 3.0.0 [68.2 kB] > Get:5 http://deb.debian.org/debian trixie/main amd64 python3-apt amd64 > 3.0.0 [164 kB] > Get:6 http://deb.debian.org/debian trixie/main amd64 python3-defusedxml > all 0.7.1-3 [43.4 kB] > Get:7 http://deb.debian.org/debian trixie/main amd64 python3-py- > serializable all 2.0.0-2 [29.1 kB] > Get:8 http://deb.debian.org/debian trixie/main amd64 python3- > sortedcontainers all 2.4.0-2 [31.9 kB] > Get:9 http://deb.debian.org/debian trixie/main amd64 python3-cyclonedx- > lib all 9.1.0-2 [168 kB] > Fetched 512 kB in 0s (5318 kB/s) > Download complete and in download only mode > DEBUG: Shell function rootfs_install_pkgs_download finished > DEBUG: Executing shell function rootfs_export_package_cache > DEBUG: Shell function rootfs_export_package_cache finished > DEBUG: Executing shell function rootfs_install_pkgs_isar_download > Starting pkgProblemResolver with broken count: 0 > Starting 2 pkgProblemResolver with broken count: 0 > Done > Err:1 file:/isar-apt isar/main amd64 python3-debsbom all 0.8.1 > File not found - /isar-apt/pool/main/p/python3-debsbom/python3- > debsbom_0.8.1_all.deb (2: No such file or directory) > Err:2 file:/isar-apt isar/main amd64 python3-spdx-tools all 0.8.3 > File not found - /isar-apt/pool/main/p/python3-spdx-tools/python3- > spdx-tools_0.8.3_all.deb (2: No such file or directory) > E: Failed to fetch file:/isar-apt/pool/main/p/python3-debsbom/python3- > debsbom_0.8.1_all.deb File not found - /isar-apt/pool/main/p/python3- > debsbom/python3-debsbom_0.8.1_all.deb (2: No such file or directory) > E: Failed to fetch file:/isar-apt/pool/main/p/python3-spdx- > tools/python3-spdx-tools_0.8.3_all.deb File not found - /isar- > apt/pool/main/p/python3-spdx-tools/python3-spdx-tools_0.8.3_all.deb (2: > No such file or directory) > WARNING: exit code 123 from a shell command. > DEBUG: Executing python function rootfs_do_umounts > DEBUG: Executing shell function rootfs_do_umounts_priv > DEBUG: Shell function rootfs_do_umounts_priv finished > DEBUG: Python function rootfs_do_umounts finished > DEBUG: Python function do_rootfs_install finished > >> Signed-off-by: Anton Mikanovich >> --- >> meta/classes-recipe/rootfs.bbclass | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass >> index 81384340..f4580421 100644 >> --- a/meta/classes-recipe/rootfs.bbclass >> +++ b/meta/classes-recipe/rootfs.bbclass >> @@ -402,7 +402,7 @@ rootfs_install_pkgs_install[progress] = "custom:rootfs_progress.PkgsInstallProgr >> rootfs_install_pkgs_install[network] = "${TASK_USE_SUDO}" >> rootfs_install_pkgs_install() { >> sudo -E chroot "${ROOTFSDIR}" \ >> - /usr/bin/apt-get ${ROOTFS_APT_ARGS} ${ROOTFS_PACKAGES} >> + /usr/bin/apt-get ${ROOTFS_APT_ARGS} --no-download ${ROOTFS_PACKAGES} >> } >> >> ROOTFS_INSTALL_COMMAND += "rootfs_restore_initrd_tooling" >> -- >> 2.34.1 >> >> -- >> 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/20260610064812.4010511-4-amikan%40ilbers.de. -- 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/f29d9f65-34aa-4dac-9ccd-2f8b641033d0%40ilbers.de.