integ/base/lvm2/debian/deb_patches/0001-Change-from-unsupported-gitarchive-format-to-quilt.patch
Robert Church 52537418e6 Debian: Add lvm2 upstream fix for event_activation
Historically, with CentOS, we had issues related to LV activation
occurring in a non-deterministic way and causing an assortment of
provisioning issues. More deterministic LV activation was achieved by
setting use_lvmetad = 0 in /etc/lvm/lvm.conf

In the migration to Debian, a much more recent version of the lvm2
package is in use. In the intervening versions of lvm2, lvmetad was
removed making use_lvmetad and the associated behavior now obsolete.

In some current random testing scenarios, emergency mode is seen when
booting the Debian ISO. Reviewing the systemd dump of services
initiating when emergency mode occurs, it is observed that LV activation
is occurring at a different time and order vs. a successful boot.

The Debian lvm2 version provides configuration parameter
global/event_activation which when set to 0 will change LV activation
behavior when a PV appears. No noticable change was observed when this
variable is set.

The current upstream version from Debian Bullseye is missing an lvm2
upstream patch the should address this issue.

Patch the Debian lvm2 version with this upstream patch to enable testing
with this enabled.

Test Plan:
PASS - Build ISO, install/provision in AIO-SX virtual/hardware labs
PASS - Perform numerous reboot cycles an observe no issues
PASS - Test on H/W setup that has shown energency mode behavior to
       confirm that this version and associated config file change
       resolved emergency mode PV/LV activation issues

Change-Id: If22e446126f33c2155bd70988ed9b0444d230730
Partial-Bug: #1979105
Signed-off-by: Robert Church <robert.church@windriver.com>
2022-06-20 19:05:59 +00:00

24 lines
681 B
Diff

From bb0ec0c9e8996801d5925831d9b2001d76c1cff2 Mon Sep 17 00:00:00 2001
From: Robert Church <robert.church@windriver.com>
Date: Mon, 6 Jun 2022 01:06:15 -0400
Subject: [PATCH] Change from unsupported gitarchive format to quilt
The current build infrastructure doesn't support source patching of
archives that have the gitarchive source format.
Signed-off-by: Robert Church <robert.church@windriver.com>
---
debian/source/format | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/source/format b/debian/source/format
index 7cb8623..163aaf8 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (gitarchive)
+3.0 (quilt)
--
2.16.6