diff --git a/0015-fix-messages-error.patch b/0015-fix-messages-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..5343d466ec51276a030e54c64db413e55b7bd864 --- /dev/null +++ b/0015-fix-messages-error.patch @@ -0,0 +1,25 @@ +From d764d5537a5bb2c3a6459af72e2d811eb574f95b Mon Sep 17 00:00:00 2001 +From: panchenbo +Date: Tue, 7 Jul 2020 12:40:52 +0800 +Subject: [PATCH] fix messages error + +--- + scripts/lvm2_lvmdbusd_systemd_red_hat.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in b/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in +index 7e4d7e4..3a3cf3f 100644 +--- a/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in ++++ b/scripts/lvm2_lvmdbusd_systemd_red_hat.service.in +@@ -5,7 +5,7 @@ Documentation=man:lvmdbusd(8) + [Service] + Type=dbus + BusName=com.redhat.lvmdbus1 +-ExecStart=@SBINDIR@/lvmdbusd ++ExecStart=@SBINDIR@/lvmdbusd --nojson + + [Install] + WantedBy=multi-user.target +-- +2.23.0 + diff --git a/lvm2.spec b/lvm2.spec index 6b87ed0af62a9544b91d03fbc3923b1dea3233ba..8044ab3be44f75864ead957f4788568e240532fc 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -43,7 +43,7 @@ Name: lvm2 Version: 2.03.11 -Release: 5 +Release: 6 Epoch: 8 Summary: Tools for logical volume management License: GPLv2+ and LGPLv2.1 and BSD @@ -63,6 +63,7 @@ Patch11: 0011-enhancement-log-it-when-disk-slow.patch Patch12: 0012-bugfix-lvm2-fix-the-reuse-of-va_list.patch Patch13: 0013-lvreduce-support-yes.patch Patch14: 0014-unit-test-modify-for-systems-with-PGSIZE-of-64K.patch +Patch15: 0015-fix-messages-error.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -487,6 +488,9 @@ fi %changelog +* Fri Jul 30 2021 zhaoshuang - 8.2.03.11-6 +- sync uos patch to remove error message while starting lvmdbusd service + * Wed Jul 28 2021 wuguanghao - 8.2.03.11-5 - %check modified to make run-unit-test