From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51A6E1F8AC5 for ; Sat, 18 Oct 2025 02:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760754719; cv=none; b=JZcWmL0Y7e5rXrLqiTRJTzKtb3xozJVVH6yFe2B1a/Qk+sXwbNPAd2pOVmWFk4Tsx0vQCcCseP15pHHNf2QBiLglJwn13oa8mkcMGpiCJW2mFrenmQ6WjbwU3WWJjwMqJs7rp1LRjovNlEYptyddcf0cN5+zPg/Cq/4kwHLFJY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760754719; c=relaxed/simple; bh=G7uQJ5kF2K+6j6ZRtEcYFPIWWSQSHdKGVKS0HJAJboo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lByhBw6fZOxciZKUJkbzaSRPurPNdtcy0gkggqUG8NX1iYrPWjtCl1xpFFyWsG3goqe5+y/Ei4mYeHdu/93ngjXgKZZteiu7hTw8+PVqqKTT2QlcgEM6HXVeFMaUor8V8Jd0H7e81MU7E9XwdfmOXYKy3pwN/8Yp1sTYSGo8ygw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=1P85tWY4; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="1P85tWY4" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=YcAr5LEIpNivAYS0+j/NfFfib6Qd8KBImGZ6gC8K9ok=; b=1P85tWY4okn6KGpHBqykL5bmNf KHYndbmkzYuPyZ5jaaBdlTToVtCUac2+E2BMPKe2D5jU15Y92IHbk15FJ4vdXvVAoBr7aYVFEr+3h KuuGp+qLdi/+DdFIHnxQMSyev9iJzeAld1hqNqjen5qgSL0K3ZloHxDomjlKQMYBWHudLHQ3xudmU ODBHwYkvctL1ZRA6GAZgOrVMPF1jK9kU0YQU2LpM6LRbIrAMkaBKHn/JCcl3eKIpWsc5bOHLGHBRO HwCyoSreySzAwBkl1JGphTZCYOEmIa5Nt3rRqtKVzfS8PZNzhT/4ApSjXmNQSbZet5SVoHxOaBRyw vhRT+gQA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9wjc-00000009OeH-3jBz; Sat, 18 Oct 2025 02:31:56 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 0/8] guestfs / base_images: fixes Date: Fri, 17 Oct 2025 19:31:45 -0700 Message-ID: <20251018023154.2239688-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Here's a series of fixes I've found along the way while doing a fresh bringup of guestfs images. The only one not so much a fix is the "base_image: relax base image permissions" patch which will be useful for allowing systemd services read guestfs images for a future patchset I'll post next. Luis Chamberlain (8): guestfs: Fix Debian 13 (Trixie) APT sources file path guestfs: Don't delete APT sources copied from host guestfs: Fix dracut-config-rescue removal for Debian systems base_image: put a guard check before adding kdevops user base_image: relax base image permissions guestfs: Use sudo for base image copy with system libvirt guestfs: Fix base_image_pathname for custom images playbooks: Fix host pattern for single-node setups kconfigs/Kconfig.guestfs | 1 + playbooks/devconfig.yml | 2 +- .../roles/base_image/tasks/base-image.yml | 18 ++++++++++++++++++ .../roles/base_image/tasks/custom-image.yml | 6 ++++-- .../roles/base_image/templates/virt-builder.j2 | 8 +++----- playbooks/roles/guestfs/tasks/bringup/main.yml | 13 ++++++++++++- playbooks/roles/guestfs/tasks/main.yml | 14 +------------- playbooks/update_etc_hosts.yml | 2 +- 8 files changed, 41 insertions(+), 23 deletions(-) -- 2.51.0