Accepting request 1194106 from Base:System

- lvm2-monitor.service fails to start (boo#1228854)
  + bug-1228854_lvm2-monitor-service-start-after-system-fully-booted.patch

OBS-URL: https://build.opensuse.org/request/show/1194106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=169
This commit is contained in:
Dominique Leuenberger 2024-08-16 10:22:58 +00:00 committed by Git OBS Bridge
commit 2e68436f3a
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,36 @@
From 3ef8ec8eb6a8ccde2ca4db53fcac224eedaf4a28 Mon Sep 17 00:00:00 2001
From: Su Yue <glass.su@suse.com>
Date: Tue, 13 Aug 2024 20:57:53 +0800
Subject: [PATCH] lvm2-monitor.service: start after system fully booted
This patch is for 'bsc#1228854 - lvm2-monitor.service fails to start'.
All verions with system.devices enabled should contain this patch.
Signed-off-by: Su Yue <glass.su@suse.com>
---
scripts/lvm2_monitoring_systemd_red_hat.service.in | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in
index c0c96e316b67..b50007cd8bd2 100644
--- a/scripts/lvm2_monitoring_systemd_red_hat.service.in
+++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in
@@ -3,9 +3,6 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progres
Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8)
Requires=dm-event.socket
After=dm-event.socket dm-event.service
-Before=local-fs-pre.target shutdown.target
-DefaultDependencies=no
-Conflicts=shutdown.target
[Service]
Type=oneshot
@@ -15,4 +12,4 @@ ExecStop=@SBINDIR@/lvm vgchange --monitor n
RemainAfterExit=yes
[Install]
-WantedBy=sysinit.target
+WantedBy=multi-user.target
--
2.45.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 13 13:08:00 UTC 2024 - Glass Su <glass.su@suse.com>
- lvm2-monitor.service fails to start (boo#1228854)
+ bug-1228854_lvm2-monitor-service-start-after-system-fully-booted.patch
-------------------------------------------------------------------
Tue Jul 22 01:44:00 UTC 2024 - Glass Su <glass.su@suse.com>

View File

@ -87,6 +87,7 @@ Patch1006: fate-31841-01_fsadm-add-support-to-resize-check-btrfs-filesystem
Patch1007: fate-31841-02_man-add-support-for-btrfs.patch
Patch1008: fate-31841-03_tests-new-test-suite-of-fsadm-for-btrfs.patch
Patch1009: bug-1214071-blkdeactivate_calls_wrong_mountpoint.patch
Patch1010: bug-1228854_lvm2-monitor-service-start-after-system-fully-booted.patch
# SUSE patches 2000+ for device mapper, udev rules
Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-rules.patch
# SUSE patches 3000+ for test code
@ -148,6 +149,7 @@ Volume Manager.
%patch -P 1007 -p1
%patch -P 1008 -p1
%patch -P 1009 -p1
%patch -P 1010 -p1
%patch -P 2001 -p1
%patch -P 3001 -p1