Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.20367.1795988927985081209 for ; Sun, 29 Nov 2026 13:48:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=B6hf1m7W; spf=pass (domain: gmail.com, ip: 209.85.221.47, mailfrom: john.madieu@gmail.com) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-4acb44dcd7bso8762297f8f.0 for ; Sun, 29 Nov 2026 13:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795988926; x=1796593726; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=kB4uBlRw8vcIOsExBdKzjVgPXCJdKk1vLK+Lj18PR6M=; b=B6hf1m7WFv5/+klm52DpY/SxmS7q8qxb1TfLQAmTv8Hf4biYv9JzOPfY9VVgXN0kCD JS2aebZR2SLipdrpaqnJt+7ihqbVJ4RaPB482e0ppqFUT+mQoeSEr6m4p1Wi1vY5D+oN koxA4pD0EBFEo/+b2sIKd9VF3+7V2D58ps+lmF8LpZAPMQxlZ0Y+I5885KcO/1a0O3yq SazWkVYKBHcNeFDyMTCOrQ6NWAZS+ABBR+DOkWOQdS9ne7Z5Lsejn9nWRF+YRjBMD3pF hLsNF+UhBOi1hpBzDwzjceYe87aVgY68yvI3EKCVIC6pyEcADvzX7oNJ0+W0k/+TLJAB 4aEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795988926; x=1796593726; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=kB4uBlRw8vcIOsExBdKzjVgPXCJdKk1vLK+Lj18PR6M=; b=yvhBwUkbsrTnmTa9ArIP4j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ygBUnE3LuR0unx64VHCB93WzYNPWuhbeg56GxfYKMuf43YrNgV0Q2nEFn5URv F152UgkH5dZBtz+6CLVQfOY/4DYee2Ha7fdhJn85oX239XmtzsydXPIUX5gUZxSb6sLcg0uNH3C yhS9Jwulu4qG/3HuNFaPENxE8WKG9HwRmsh2O/ X-Received: by 2002:a5d:5f51:0:b0:48e:f10:ceb8 with SMTP id ffacd0b85a97d-4abb2168e0emr62124029f8f.11.1795988926036; Sun, 29 Nov 2026 13:48:46 -0800 (PST) Return-Path: Received: from jma-lap (2a02-8440-2604-b026-f9b8-494a-4e8e-28be.rev.sfr.net. [2a02:8440:2604:b026:f9b8:494a:4e8e:28be]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b110c3csm58065168f8f.36.2026.11.29.13.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 13:48:45 -0800 (PST) From: John Madieu To: meta-virtualization@lists.yoctoproject.org Cc: bruce.ashfield@gmail.com, John Madieu Subject: [meta-virtualization][PATCH 0/2] docker-moby, container-registry: fix check-config and registry defaults Date: Sun, 29 Nov 2026 22:48:17 +0100 Message-ID: <20261129214819.2587429-1-john.madieu@gmail.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ; Sun, 29 Nov 2026 21:48:49 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-virtualization/message/10194 Content-Type: text/plain; charset="utf-8" Hi all, This series fixes two problems that are in master and master-next. I found them while building Docker, Podman and containerd hosts for qemuarm64 with the wrynose branch, which has the same code. The first drops the check-config patch for MEMCG_SWAP. Its hunk no longer lands on the MEMCG_SWAP check, and the installed /usr/share/docker/check-config.sh stops with a syntax error after the optional features. The second makes CONTAINER_REGISTRY_SECURE = "1" sufficient to select a TLS registry, as the header of container-registry.conf says. Today the fragment leaves CONTAINER_REGISTRY_INSECURE at "1", and parsing stops with "CONTAINER_REGISTRY_SECURE and CONTAINER_REGISTRY_INSECURE cannot both be set to '1'". Tested on master-next with OE-core master, and on the wrynose branch, with a qemuarm64 Docker host that sets CONTAINER_REGISTRY_SECURE = "1" and leaves CONTAINER_REGISTRY_INSECURE unset: parsing succeeds, docker pull works over HTTPS against the CA installed in /etc/docker/certs.d, and check-config.sh runs to the end, through its network, storage and limits sections. Thanks, John John Madieu (2): docker-moby: drop the check-config patch for MEMCG_SWAP container-registry: default to insecure only without a secure registry conf/distro/include/container-registry.conf | 2 +- recipes-containers/docker/docker-moby_git.bb | 1 - ...g-make-CONFIG_MEMCG_SWAP-conditional.patch | 55 ------------------- 3 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 recipes-containers/docker/files/0001-check-config-make-CONFIG_MEMCG_SWAP-conditional.patch base-commit: 89b00d096a432000766729cd721ae647af500112 -- 2.25.1