From b300002bfcc8ccf57035fa823b3af149da0e3ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=90=B3?= Date: Fri, 22 Jan 2021 19:28:44 +0800 Subject: [PATCH 1/5] update drbd.service. drbd9 supports automatic promote and removes the "sh-b-pri" command. --- drbd.service | 2 -- 1 file changed, 2 deletions(-) diff --git a/drbd.service b/drbd.service index ddd6c62..41be2f3 100644 --- a/drbd.service +++ b/drbd.service @@ -10,8 +10,6 @@ RemainAfterExit=yes ExecStart=/usr/sbin/drbdadm adjust all # user interruptible version of wait-connect all ExecStart=/usr/sbin/drbdadm wait-con-int -# become primary if configured -ExecStart=/usr/sbin/drbdadm sh-b-pri all # disconnect and detach all resources ExecStop=/usr/sbin/drbdadm down all -- Gitee From 2f3f3e8abe1a24c81c8a702542be22957bd07f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=90=B3?= Date: Fri, 22 Jan 2021 20:20:01 +0800 Subject: [PATCH 2/5] update drbd.spec. --- drbd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drbd.spec b/drbd.spec index cfbc76c..57a0b5a 100644 --- a/drbd.spec +++ b/drbd.spec @@ -1,7 +1,7 @@ Name: drbd Summary: DRBD user-land tools and scripts Version: 9.5.0 -Release: 5 +Release: 6 Source0: https://github.com/LINBIT/%{name}-utils/archive/v%{version}.tar.gz Source1: drbd.service Source2: drbd.ocf -- Gitee From 165380574fe3bd00f46321914de53319bf63feb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=90=B3?= Date: Mon, 25 Jan 2021 11:28:38 +0800 Subject: [PATCH 3/5] update drbd.spec. --- drbd.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drbd.spec b/drbd.spec index 57a0b5a..36acf17 100644 --- a/drbd.spec +++ b/drbd.spec @@ -196,6 +196,9 @@ management utility. %systemd_preun drbd.service %changelog +* Fri Jan 22 2021 lin.zhang +- removes the "sh-b-pri" command from drbd.service. + * Thu Nov 27 2020 jiangxinyu - 9.5.0-5 - Resolve resource-agents conflict when installing drbd-rgmanager package -- Gitee From d9c59e30285e58b82a20f7c3e85159828f4440bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=90=B3?= Date: Mon, 25 Jan 2021 11:52:29 +0800 Subject: [PATCH 4/5] update drbd.spec. add spec changelog --- drbd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drbd.spec b/drbd.spec index 36acf17..76fcbb0 100644 --- a/drbd.spec +++ b/drbd.spec @@ -1,7 +1,7 @@ Name: drbd Summary: DRBD user-land tools and scripts Version: 9.5.0 -Release: 6 +Release: 7 Source0: https://github.com/LINBIT/%{name}-utils/archive/v%{version}.tar.gz Source1: drbd.service Source2: drbd.ocf -- Gitee From 0a44258fb92ed873265833b9446b872ba44fc8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=90=B3?= Date: Fri, 29 Jan 2021 10:13:30 +0800 Subject: [PATCH 5/5] update drbd.spec. --- drbd.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drbd.spec b/drbd.spec index 76fcbb0..e5d218e 100644 --- a/drbd.spec +++ b/drbd.spec @@ -1,7 +1,7 @@ Name: drbd Summary: DRBD user-land tools and scripts Version: 9.5.0 -Release: 7 +Release: 8 Source0: https://github.com/LINBIT/%{name}-utils/archive/v%{version}.tar.gz Source1: drbd.service Source2: drbd.ocf @@ -196,7 +196,13 @@ management utility. %systemd_preun drbd.service %changelog -* Fri Jan 22 2021 lin.zhang +* Fri Jan 22 2021 lin.zhang - 9.5.0-8 +- add changelog and modify the release number to rebuild. + +* Fri Jan 22 2021 lin.zhang - 9.5.0-7 +- modify the release number to rebuild. + +* Fri Jan 22 2021 lin.zhang - 9.5.0-6 - removes the "sh-b-pri" command from drbd.service. * Thu Nov 27 2020 jiangxinyu - 9.5.0-5 -- Gitee