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

Re: Bug#378714: vlan: installing package breaks proxy-arp config [sarge]



        Hi,

On Tue, Jul 18, 2006, Martin Zobel-Helas wrote:
> >  I'm willing to prepare a SPU upload if the release team desires so.
> go ahead.

 Uploaded.  As I wasn't uploader back then, I took the liberty to add
 myself as Uploader.  If you want me to back out this change and NMU the
 package instead, I will.

 Resulting debdiff is attached.

   Bye,
-- 
Loïc Minier <lool@dooz.org>
diff -u vlan-1.8/debian/control vlan-1.8/debian/control
--- vlan-1.8/debian/control
+++ vlan-1.8/debian/control
@@ -2,6 +2,7 @@
 Section: misc
 Priority: extra
 Maintainer: Ard van Breemen <ard@kwaak.net>
+Uploaders: Loic Minier <lool@dooz.org>
 Build-Depends: debhelper(>=3), debconf-utils
 Standards-Version: 3.6.1
 
diff -u vlan-1.8/debian/changelog vlan-1.8/debian/changelog
--- vlan-1.8/debian/changelog
+++ vlan-1.8/debian/changelog
@@ -1,3 +1,11 @@
+vlan (1.8-1sarge1) stable; urgency=medium
+
+  * Fix /etc/network/if-up.d/ip to not set rp_filter to 1 when rp_filter isn't
+    set in /etc/network/interfaces. (Closes: #330673, #378714)
+  * Add myself to Uploaders.
+
+ -- Loic Minier <lool@dooz.org>  Tue, 18 Jul 2006 21:57:57 +0200
+
 vlan (1.8-1) unstable; urgency=low
 
   * New upstream
diff -u vlan-1.8/debian/ip-if-up vlan-1.8/debian/ip-if-up
--- vlan-1.8/debian/ip-if-up
+++ vlan-1.8/debian/ip-if-up
@@ -4,15 +4,18 @@
-if [ -d /proc/sys/net/ipv4/conf/$IFACE ]
+if [ -d "/proc/sys/net/ipv4/conf/$IFACE" ]
 then
-	if [ -n "$IF_IP_PROXY_ARP" ] && [ "$IF_IP_PROXY_ARP" -eq "1" ]
-	then
-		echo 1 > /proc/sys/net/ipv4/conf/$IFACE/proxy_arp
-	else
-		echo 0 > /proc/sys/net/ipv4/conf/$IFACE/proxy_arp
+	if [ -n "$IF_IP_PROXY_ARP" ]; then
+		if [ "$IF_IP_PROXY_ARP" -eq "1" ]; then
+			echo 1 > "/proc/sys/net/ipv4/conf/$IFACE/proxy_arp"
+		else
+			echo 0 > "/proc/sys/net/ipv4/conf/$IFACE/proxy_arp"
+		fi
 	fi
-	if [ -n "$IF_IP_RP_FILTER" ] && [ "$IF_IP_RP_FILTER" -eq "0" ]
-	then
-		echo 0 > /proc/sys/net/ipv4/conf/$IFACE/rp_filter
-	else
-		echo 1 > /proc/sys/net/ipv4/conf/$IFACE/rp_filter
+	if [ -n "$IF_IP_RP_FILTER" ]; then
+		if [ "$IF_IP_RP_FILTER" -eq "0" ]; then
+			echo 0 > "/proc/sys/net/ipv4/conf/$IFACE/rp_filter"
+		else
+			echo 1 > "/proc/sys/net/ipv4/conf/$IFACE/rp_filter"
+		fi
 	fi
 fi
+

Reply to: