Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2020-03-30 Thread Valentin Vidić
On Mon, Mar 30, 2020 at 10:10:21PM +0100, Adam D. Barratt wrote:
> It's been over six months since the above; are you planning to upload?

Sorry, uploaded just now.

-- 
Valentin



Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2020-03-30 Thread Adam D. Barratt
On Tue, 2019-08-20 at 21:44 +0100, Adam D. Barratt wrote:
> Control: tags -1 + confirmed
> 
> On Sun, 2019-08-04 at 11:08 +0200, Valentin Vidic wrote:
> >  * ethmonitor: does not list interfaces without assigned IP address
> >  * ZFS: monitoring action broken by a bashism bug
> >  * Xen: toolstack detection generates warnings in the logs
> > 
> 
> Please go ahead.

It's been over six months since the above; are you planning to upload?

Regards,

Adam



Processed: Re: Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2019-08-20 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + confirmed
Bug #933839 [release.debian.org] buster-pu: package 
resource-agents/1:4.2.0-2+deb10u1
Added tag(s) confirmed.

-- 
933839: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933839
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2019-08-20 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Sun, 2019-08-04 at 11:08 +0200, Valentin Vidic wrote:
>  * ethmonitor: does not list interfaces without assigned IP address
>  * ZFS: monitoring action broken by a bashism bug
>  * Xen: toolstack detection generates warnings in the logs
> 

Please go ahead.

Regards,

Adm



Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2019-08-11 Thread Jonathan Wiltshire
Control: tag -1 moreinfo

On Sun, Aug 04, 2019 at 11:08:27AM +0200, Valentin Vidic wrote:
> +  * debian/patches: add zfs-bashism.patch (Closes: #933398)

This bug doesn't appear to be fixed in unstable; that's generally a
pre-requisite for stable updates. Please remove the moreinfo tag when it's
ready to be evaluated.

-- 
Jonathan Wiltshire  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51



Processed: Re: Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2019-08-11 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 moreinfo
Bug #933839 [release.debian.org] buster-pu: package 
resource-agents/1:4.2.0-2+deb10u1
Added tag(s) moreinfo.

-- 
933839: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933839
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#933839: buster-pu: package resource-agents/1:4.2.0-2+deb10u1

2019-08-04 Thread Valentin Vidic
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu

Hi,

Please allow this buster update for the resource-agents package
fixing problems with some included scripts:

 * ethmonitor: does not list interfaces without assigned IP address
 * ZFS: monitoring action broken by a bashism bug
 * Xen: toolstack detection generates warnings in the logs

Kind regards,
Valentin
 
diff -Nru resource-agents-4.2.0/debian/changelog 
resource-agents-4.2.0/debian/changelog
--- resource-agents-4.2.0/debian/changelog  2018-12-09 21:04:49.0 
+0100
+++ resource-agents-4.2.0/debian/changelog  2019-08-04 09:59:39.0 
+0200
@@ -1,3 +1,11 @@
+resource-agents (1:4.2.0-2+deb10u1) buster; urgency=medium
+
+  * debian/patches: drop xen-toolstack.patch
+  * debian/patches: add ethmonitor-no-addr.patch (Closes: #927311)
+  * debian/patches: add zfs-bashism.patch (Closes: #933398)
+
+ -- Valentin Vidic   Sun, 04 Aug 2019 09:59:39 +0200
+
 resource-agents (1:4.2.0-2) unstable; urgency=medium
 
   * debian/rules: fix build with merged-usr (Closes: #915848)
diff -Nru resource-agents-4.2.0/debian/patches/ethmonitor-no-addr.patch 
resource-agents-4.2.0/debian/patches/ethmonitor-no-addr.patch
--- resource-agents-4.2.0/debian/patches/ethmonitor-no-addr.patch   
1970-01-01 01:00:00.0 +0100
+++ resource-agents-4.2.0/debian/patches/ethmonitor-no-addr.patch   
2019-08-04 09:54:06.0 +0200
@@ -0,0 +1,34 @@
+Description: ethmonitor does not list interfaces without assigned IP address
+ The is_interface() function in heartbeat/ethmonitor tries to match an
+ interface to a list obtained from the 'ip' tool. It lists interfaces
+ using the 'inet' family, which omits interfaces that don't have an IP
+ address assigned.
+ .
+ If the interface that we're looking for is e.g. a VLAN bridge that does
+ not have an IP address, it won't show up in the listing and
+ is_interface() will return false. ethmonitor will miss that interface,
+ and it won't be available for monitoring.
+Author: Heitor Alves de Siqueira 
+Origin: upstream
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927311
+Applied-Upstream: https://github.com/ClusterLabs/resource-agents/pull/1306
+ https://github.com/ClusterLabs/resource-agents/pull/1322
+Reviewed-by: Valentin Vidic 
+Last-Update: 2019-08-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+diff --git a/heartbeat/ethmonitor b/heartbeat/ethmonitor
+index 240eba4df..07403529f 100755
+--- a/heartbeat/ethmonitor
 b/heartbeat/ethmonitor
+@@ -206,8 +206,8 @@ is_interface() {
+   #
+   # List interfaces but exclude FreeS/WAN ipsecN virtual interfaces
+   #
+-  local iface=`$IP2UTIL -o -f inet addr show | grep " $1 " \
+-  | cut -d ' ' -f2 | sort -u | grep -v '^ipsec[0-9][0-9]*$'`
++  local iface=`$IP2UTIL -o -f link addr show | grep " $1:" \
++  | cut -d ' ' -f2 | tr -d ':' | sort -u | grep -v 
'^ipsec[0-9][0-9]*$'`
+   [ "$iface" != "" ]
+ }
+ 
diff -Nru resource-agents-4.2.0/debian/patches/series 
resource-agents-4.2.0/debian/patches/series
--- resource-agents-4.2.0/debian/patches/series 2018-12-09 21:04:33.0 
+0100
+++ resource-agents-4.2.0/debian/patches/series 2019-08-04 09:57:56.0 
+0200
@@ -3,7 +3,8 @@
 no-dirty-version
 ipv6-linux-only
 ocft-configs.patch
-xen-toolstack.patch
 gitignore.patch
 reproducible.patch
 var-run.patch
+ethmonitor-no-addr.patch
+zfs-bashism.patch
diff -Nru resource-agents-4.2.0/debian/patches/xen-toolstack.patch 
resource-agents-4.2.0/debian/patches/xen-toolstack.patch
--- resource-agents-4.2.0/debian/patches/xen-toolstack.patch2018-10-24 
11:40:00.0 +0200
+++ resource-agents-4.2.0/debian/patches/xen-toolstack.patch1970-01-01 
01:00:00.0 +0100
@@ -1,22 +0,0 @@
-Description: Use the toolstack selected in /etc/default/xen
- Xen agent should use the configured toolstack and not prefer xl.
- This patch can be dropped once there is only one supported toolstack.
-Author: Valentin Vidic 
-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854276
-Forwarded: not-needed
-Last-Update: 2017-08-03

-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 a/heartbeat/Xen
-+++ b/heartbeat/Xen
-@@ -46,8 +46,8 @@
- : ${OCF_RESKEY_autoset_utilization_cpu="false"}
- : ${OCF_RESKEY_autoset_utilization_hv_memory="false"}
- 
--# prefer xl
--xentool=$(which xl 2> /dev/null || which xm)
-+# use /etc/default/xen
-+xentool=$(/usr/lib/xen-common/bin/xen-toolstack)
- 
- meta_data() {
-   cat <
+Author: Koen de Jonge 
+Origin: upstream
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933398
+Applied-Upstream: https://github.com/ClusterLabs/resource-agents/pull/1372
+Reviewed-by: Valentin Vidic 
+Last-Update: 2019-08-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/heartbeat/ZFS
 b/heartbeat/ZFS
+@@ -144,7 +144,7 @@
+