[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963796: marked as done (buster-pu: package resource-agents/1:4.2.0-2+deb10u2)



Your message dated Sat, 01 Aug 2020 12:51:28 +0100
with message-id <43535efb498a168cf81452ca0c326f004f46adc6.camel@adam-barratt.org.uk>
and subject line Closing bugs for fixes included in 10.5 point release
has caused the Debian Bug report #963796,
regarding buster-pu: package resource-agents/1:4.2.0-2+deb10u2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
963796: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963796
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,

Please approve the following fix for IPsrcaddr agent in buster:

diff -Nru resource-agents-4.2.0/debian/changelog resource-agents-4.2.0/debian/changelog
--- resource-agents-4.2.0/debian/changelog	2019-08-04 09:59:39.000000000 +0200
+++ resource-agents-4.2.0/debian/changelog	2020-06-27 13:26:42.000000000 +0200
@@ -1,3 +1,9 @@
+resource-agents (1:4.2.0-2+deb10u2) buster; urgency=medium
+
+  * debian/patches: add ipsrcaddr-proto.patch (Closes: #963691)
+
+ -- Valentin Vidic <vvidic@debian.org>  Sat, 27 Jun 2020 13:26:42 +0200
+
 resource-agents (1:4.2.0-2+deb10u1) buster; urgency=medium
 
   * debian/patches: drop xen-toolstack.patch
diff -Nru resource-agents-4.2.0/debian/patches/ipsrcaddr-proto.patch resource-agents-4.2.0/debian/patches/ipsrcaddr-proto.patch
--- resource-agents-4.2.0/debian/patches/ipsrcaddr-proto.patch	1970-01-01 01:00:00.000000000 +0100
+++ resource-agents-4.2.0/debian/patches/ipsrcaddr-proto.patch	2020-06-27 13:24:37.000000000 +0200
@@ -0,0 +1,75 @@
+From 6052e8fd37d23f46db217f915b445c7e67dccb34 Mon Sep 17 00:00:00 2001
+From: Oyvind Albrigtsen <oalbrigt@redhat.com>
+Date: Thu, 4 Apr 2019 13:31:27 +0200
+Subject: [PATCH] IPsrcaddr: make proto optional to fix regression when used
+ without NetworkManager
+
+---
+ heartbeat/IPsrcaddr | 21 +++++++++++++++++----
+ 1 file changed, 17 insertions(+), 4 deletions(-)
+
+diff --git a/heartbeat/IPsrcaddr b/heartbeat/IPsrcaddr
+index 4ca3d2364..5a447196e 100755
+--- a/heartbeat/IPsrcaddr
++++ b/heartbeat/IPsrcaddr
+@@ -50,12 +50,17 @@
+ 
+ #######################################################################
+ # Initialization:
+-
+ : ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/lib/heartbeat}
+ . ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs
+ 
++# Defaults
++OCF_RESKEY_proto_default=""
++
++: ${OCF_RESKEY_proto=${OCF_RESKEY_proto_default}}
+ #######################################################################
+ 
++[ -z "$OCF_RESKEY_proto" ] && PROTO="" || PROTO="proto $OCF_RESKEY_proto"
++
+ USAGE="usage: $0 {start|stop|status|monitor|validate-all|meta-data}";
+ 
+   CMDSHOW="$IP2UTIL route show   to exact 0.0.0.0/0"
+@@ -97,6 +102,14 @@ dotted quad notation  255.255.255.0).
+ <shortdesc lang="en">Netmask</shortdesc>
+ <content type="string" default=""/>
+ </parameter>
++
++<parameter name="proto">
++<longdesc lang="en">
++Proto to match when finding network. E.g. "kernel".
++</longdesc>
++<shortdesc lang="en">Proto</shortdesc>
++<content type="string" default="" />
++</parameter>
+ </parameters>
+ 
+ <actions>
+@@ -172,7 +185,7 @@ srca_start() {
+ 		rc=$OCF_SUCCESS
+ 		ocf_log info "The ip route has been already set.($NETWORK, $INTERFACE, $ROUTE_WO_SRC)"
+ 	else
+-		ip route replace $NETWORK dev $INTERFACE src $1 || \
++		$IP2UTIL route replace $NETWORK dev $INTERFACE src $1 || \
+ 			errorexit "command 'ip route replace $NETWORK dev $INTERFACE src $1' failed"
+ 
+ 		$CMDCHANGE $ROUTE_WO_SRC src $1 || \
+@@ -204,7 +217,7 @@ srca_stop() {
+ 	  
+ 	[ $rc = 2 ] && errorexit "The address you specified to stop does not match the preferred source address"
+ 
+-	ip route replace $NETWORK dev $INTERFACE || \
++	$IP2UTIL route replace $NETWORK dev $INTERFACE || \
+ 		errorexit "command 'ip route replace $NETWORK dev $INTERFACE' failed"
+ 
+ 	$CMDCHANGE $ROUTE_WO_SRC || \
+@@ -473,7 +486,7 @@ rc=$?
+ }
+ 
+ INTERFACE=`echo $findif_out | awk '{print $1}'`
+-NETWORK=`ip route list dev $INTERFACE scope link proto kernel match $ipaddress|grep -o '^[^ ]*'`
++NETWORK=`$IP2UTIL route list dev $INTERFACE scope link $PROTO match $ipaddress|grep -m 1 -o '^[^ ]*'`
+ 
+ case $1 in
+ 	start)		srca_start $ipaddress
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	2019-08-04 09:59:39.000000000 +0200
+++ resource-agents-4.2.0/debian/patches/series	2020-06-27 13:25:03.000000000 +0200
@@ -8,3 +8,4 @@
 var-run.patch
 ethmonitor-no-addr.patch
 zfs-bashism.patch
+ipsrcaddr-proto.patch

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 10.5

Hi,

Each of these bugs relates to an update that was included in today's
stable point release.

Regards,

Adam

--- End Message ---

Reply to: