From cf43965996971b663f12c2cf4bcd83b193050b81 Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Tue, 4 Feb 2025 13:47:34 -0700 Subject: [PATCH 1/2] wait for mounts --- debian/patches/no-single-process.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/patches/no-single-process.patch b/debian/patches/no-single-process.patch index df96f00901d..69e080ce6d1 100644 --- a/debian/patches/no-single-process.patch +++ b/debian/patches/no-single-process.patch @@ -53,7 +53,15 @@ Last-Update: 2024-08-02 Before=network-pre.target Before=shutdown.target {% if variant in ["almalinux", "cloudlinux", "rhel"] %} -@@ -25,14 +26,7 @@ Type=oneshot +@@ -16,6 +17,7 @@ + Before=sysinit.target + {% endif %} + Conflicts=shutdown.target ++RequiresMountsFor=/var/lib/cloud + ConditionPathExists=!/etc/cloud/cloud-init.disabled + ConditionKernelCommandLine=!cloud-init=disabled + ConditionEnvironment=!KERNEL_CMDLINE=cloud-init=disabled +@@ -25,14 +27,7 @@ {% if variant in ["almalinux", "cloudlinux", "rhel"] %} ExecStartPre=/sbin/restorecon /run/cloud-init {% endif %} From 445d896e78c3a31b9d60ac88db5e3ab82c605329 Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Tue, 4 Feb 2025 13:51:56 -0700 Subject: [PATCH 2/2] update changelog --- debian/changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index cefb140219c..3f3c967fdff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ cloud-init (25.1-0ubuntu1~22.04.1) UNRELEASED; urgency=medium * Update d/p/no-single-process.patch + - This patch missed waiting for mounts (LP: #2097441) + - Fix upstream conflict -- Brett Holman Mon, 06 Jan 2024 17:39:42 -0700