lvm2/bug-1214071-blkdeactivate_calls_wrong_mountpoint.patch
heming zhao fbdfb470ca Accepting request 1104868 from home:hmzhao:branches:Base:System
- blkdeactivate calls wrong mountpoint cmd (bsc#1214071)
  + bug-1214071-blkdeactivate_calls_wrong_mountpoint.patch

OBS-URL: https://build.opensuse.org/request/show/1104868
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=330
2023-08-20 09:20:35 +00:00

21 lines
686 B
Diff

From: Heming Zhao <heming.zhao@suse.com>
Date: Sun, 20 Aug 2023 11:41:00 +0800
This patch is for 'bsc#1214071 - blkdeactivate calls wrong mountpoint cmd'.
Current 12sp5, 15sp2, 15sp3, 15sp4 & 15sp5 need to fix.
Signed-off-by: Heming Zhao <heming.zhao@suse.com>
diff -Nupr a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in
--- a/scripts/blkdeactivate.sh.in 2023-08-20 10:23:36.744082346 +0800
+++ b/scripts/blkdeactivate.sh.in 2023-08-20 10:23:59.544161133 +0800
@@ -35,7 +35,7 @@ DEV_DIR="/dev"
SYS_BLK_DIR="/sys/block"
MDADM="/sbin/mdadm"
-MOUNTPOINT="/bin/mountpoint"
+MOUNTPOINT="/usr/bin/mountpoint"
MPATHD="/sbin/multipathd"
UMOUNT="/bin/umount"
VDO="/bin/vdo"