Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.26389.1796015083081826070 for ; Sun, 29 Nov 2026 21:04:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=ZFNSP2Y+; spf=pass (domain: gmail.com, ip: 209.85.160.174, mailfrom: bruce.ashfield@gmail.com) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-5363c8de563so99480591cf.0 for ; Sun, 29 Nov 2026 21:04:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796015082; x=1796619882; darn=lists.yoctoproject.org; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:subject:cc:to:from:date:message-id:from:to:cc:subject :date:message-id:reply-to:content-type; bh=K5Bv2udgV2tezwZ45ov4zLZQ697OR3kVqmwIbW6dO54=; b=ZFNSP2Y+tFpdtIKxA9htbZsa54v/GHUydH2QqJV5WQTH+Oa2s1Bb7vGH31RBVXjoGT uZSFaBZZgo7j8VAzd7q2xvFIDx8+aGBxqIQahTWTXTKZv1G55UX9nTdg85eA+dZAK+fr xQPa0Ysy31qfW4yEkTzXRr+P5eI9jm26pM/boib9u/pSaQgqGzlxxY6WWffRJrKLgdye Oe5R8Xf5dnp2kwfnylprZLSaZrxke0UnKt2u44Vh1ZaFTTsQ0cpU0udZIMPX84AmT2aV zIcBBzigODv+Gycxs6yu+TezvWjH/XLy2ncuORKcye2pSj5MV1/nS+hpCfRvjFivYxzO FCpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796015082; x=1796619882; h=mime-version:content-transfer-encoding:content-type:references :in-reply-to:subject:cc:to:from:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=K5Bv2udgV2tezwZ45ov4zLZQ697OR3kVqmwIbW6dO54=; b=VGzzkmEnN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mSiIuqtqGm7zI8o5bePFiidYdRKq4jHFhD8muCkwRTUjuBew5BWNKOf MWhW4bIP6WlT9LTAOkGyH8K0WgYgA+V+ituvw00dBvx9XWd/L6CwoPjMK50cZQtlZk98nXgQ= X-Received: by 2002:ac8:5707:0:b0:55d:2c25:9c79 with SMTP id d75a77b69052e-55d76a87794mr590073651cf.50.1796015081932; Sun, 29 Nov 2026 21:04:41 -0800 (PST) Return-Path: Received: from [127.0.1.1] (pool-174-112-34-35.cpe.net.cable.rogers.com. [174.112.34.35]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-55d788ae02fsm269343501cf.29.2026.11.29.21.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 21:04:41 -0800 (PST) Message-ID: <6b0d03e9.a56822fe.c8a21.a227@mx.google.com> Date: Sun, 29 Nov 2026 21:04:41 -0800 (PST) From: Bruce Ashfield To: John Madieu Cc: meta-virtualization@lists.yoctoproject.org Subject: Re: [meta-virtualization][PATCH 2/2] container-registry: default to insecure only without a secure registry In-Reply-To: <20261129214819.2587429-3-john.madieu@gmail.com> References: <20261129214819.2587429-1-john.madieu@gmail.com> <20261129214819.2587429-3-john.madieu@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 05:04:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-virtualization/message/10212 > container-registry.conf sets CONTAINER_REGISTRY_INSECURE ?= "1" and > its header says to override CONTAINER_REGISTRY_SECURE = "1" for a TLS > registry. Doing just that leaves both variables at 1, and parsing > stops with "CONTAINER_REGISTRY_SECURE and CONTAINER_REGISTRY_INSECURE > cannot both be set to '1'", so CONTAINER_REGISTRY_INSECURE = "0" has > to be set as well. Thanks for finding this, but I fixed it a different way. What was wrong is the advice in the fragment header and in build-profiles.md: container-registry.conf is the insecure registry, so turning secure on on top of it really is turning on both, and the error is right. > Derive the default of CONTAINER_REGISTRY_INSECURE from > CONTAINER_REGISTRY_SECURE, so that the documented override is enough. > An explicit CONTAINER_REGISTRY_INSECURE still wins. I'd rather not key one default off the other. Instead there's now a container-registry-secure.conf fragment, so a TLS registry is just: require conf/distro/include/container-registry-secure.conf The insecure fragment and the docs point at it, and including both fragments is still an error, with a message that says to pick one. It's on master as "conf/distro: add a secure container registry fragment" .. let me know if that works for your qemuarm64 setup. Bruce