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

Bug#866045: let this be for 1.5-13+deb9u1



Hi!

So, following kibi's advice I've reported the bug and here is the new full
patch.

diff -ru bridge-utils-1.5-13/debian/bridge-utils.sh bridge-utils-1.5-13+deb9u1/debian/bridge-utils.sh
--- bridge-utils-1.5-13/debian/bridge-utils.sh	2017-07-02 23:27:55.000000000 +0200
+++ bridge-utils-1.5-13+deb9u1/debian/bridge-utils.sh	2017-07-02 23:29:30.000000000 +0200
@@ -58,11 +58,11 @@
 create_vlan_port()
 {
 # port doesn't yet exist
-if ! grep -q "$port" /proc/net/dev
+if ! grep -q "$port:" /proc/net/dev
 then
   dev="${port%.*}"
   # port is a vlan and the device exists?
-  if [ "$port" != "$dev" ] && grep -q "$dev" /proc/net/dev
+  if [ "$port" != "$dev" ] && grep -q "$dev:" /proc/net/dev
   then
     if [ -f /proc/sys/net/ipv6/conf/$dev/disable_ipv6 ]
     then
@@ -77,7 +77,7 @@
 destroy_vlan_port()
 {
 # port exists
-if grep -q "$port" /proc/net/dev
+if grep -q "$port:" /proc/net/dev
 then
   dev="${port%.*}"
   # port is a vlan
diff -ru bridge-utils-1.5-13/debian/changelog bridge-utils-1.5-13+deb9u1/debian/changelog
--- bridge-utils-1.5-13/debian/changelog	2017-07-02 23:27:55.000000000 +0200
+++ bridge-utils-1.5-13+deb9u1/debian/changelog	2017-07-02 23:29:30.000000000 +0200
@@ -1,3 +1,10 @@
+bridge-utils (1.5-13+deb9u1) stretch; urgency=low
+
+  * Fix a problem with some vlan interfaces not being created.
+    Closes: #866687.
+
+ -- Santiago Garcia Mantinan <manty@debian.org>  Sun, 02 Jul 2017 23:20:04 +0200
+
 bridge-utils (1.5-13) unstable; urgency=low
 
   * Fix a hardcoded interface name on bridge-utils.sh. Closes: #854841.

Will this be ok for an upload?

If so... when should I upload it?

Will a normal dput work given the stretch target on the changelog, or should
I do something special?

Regards...
-- 
Manty/BestiaTester -> http://manty.net


Reply to: