Your message dated Wed, 23 Aug 2017 20:47:13 +0000
with message-id <[email protected]>
and subject line Bug#866687: fixed in bridge-utils 1.5-13+deb9u1
has caused the Debian Bug report #866687,
regarding Some vlan interfaces are not being created
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 [email protected]
immediately.)


-- 
866687: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866687
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bridge-utils
Version: 1.5-13
Severity: important

When we have first set up a vlan like for example eth0.2000 the bridge setup
will later fail to create vlans that are substrings of the already created
vlans, like eth0.2.

This is caused by the greps we are doing on /proc/net/dev not being
delimited.

Here is the proposed patch for stable:

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-06-27 22:57:15.000000000 
+0200
+++ bridge-utils-1.5-13+deb9u1/debian/bridge-utils.sh   2017-06-27 
22:57:37.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

Regards.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldoldstable'), (500, 'unstable'), (500, 
'oldstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bridge-utils depends on:
ii  libc6  2.24-11+deb9u1

bridge-utils recommends no packages.

Versions of packages bridge-utils suggests:
ii  ifupdown  0.8.19

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: bridge-utils
Source-Version: 1.5-13+deb9u1

We believe that the bug you reported is fixed in the latest version of
bridge-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Garcia Mantinan <[email protected]> (supplier of updated bridge-utils 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 02 Jul 2017 23:20:04 +0200
Source: bridge-utils
Binary: bridge-utils
Architecture: source amd64
Version: 1.5-13+deb9u1
Distribution: stretch
Urgency: low
Maintainer: Santiago Garcia Mantinan <[email protected]>
Changed-By: Santiago Garcia Mantinan <[email protected]>
Description:
 bridge-utils - Utilities for configuring the Linux Ethernet bridge
Closes: 866687
Changes:
 bridge-utils (1.5-13+deb9u1) stretch; urgency=low
 .
   * Fix a problem with some vlan interfaces not being created.
     Closes: #866687.
Checksums-Sha1:
 6ea455e8485118521f8b7c54fc907c5af13fd8da 1746 bridge-utils_1.5-13+deb9u1.dsc
 1c18e35d49896583ec9b2b5876aed96198774c71 17095 
bridge-utils_1.5-13+deb9u1.diff.gz
 1d030d3e55daeb2b44228640dc4603c022e52f10 36714 
bridge-utils-dbgsym_1.5-13+deb9u1_amd64.deb
 16d87c3cc7f0870d29d34e2fd21fc489aa74e14f 5872 
bridge-utils_1.5-13+deb9u1_amd64.buildinfo
 271673dab16df5d5ea5b68c0c4669692b29fd4c2 34212 
bridge-utils_1.5-13+deb9u1_amd64.deb
Checksums-Sha256:
 41ebf1725534e6a125b112ce5da8820a3e142acb3d4b78dc0dd4c7d15547abe6 1746 
bridge-utils_1.5-13+deb9u1.dsc
 f365d1c5b901e32d860f29601a8f6fc80fe002b42c6727986fd7fad264f62e76 17095 
bridge-utils_1.5-13+deb9u1.diff.gz
 7fa1c27f67388eb3398a03091560fcf0de21ceaac6f8fd3312154a5eeb0c3687 36714 
bridge-utils-dbgsym_1.5-13+deb9u1_amd64.deb
 d60da8f84e057ac6be904e83e82b16fe9fbe5fbb1444170d2bec77ad0a892716 5872 
bridge-utils_1.5-13+deb9u1_amd64.buildinfo
 818432804d55e26e7919ec4eced0568f0994ae326f36a345bbaf4c192e874de7 34212 
bridge-utils_1.5-13+deb9u1_amd64.deb
Files:
 432d505ac16c5af60c14b663990c4702 1746 net optional 
bridge-utils_1.5-13+deb9u1.dsc
 c2e223325955e4890c3bbea4b07d13df 17095 net optional 
bridge-utils_1.5-13+deb9u1.diff.gz
 b3de47f0f620d5d2f8f26c116d58f620 36714 debug extra 
bridge-utils-dbgsym_1.5-13+deb9u1_amd64.deb
 3c59a3ba5b89089a8df5a059d273a8b6 5872 net optional 
bridge-utils_1.5-13+deb9u1_amd64.buildinfo
 37ea3907a0bd98ba5428ad2ceb946306 34212 net optional 
bridge-utils_1.5-13+deb9u1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEBqPldg9hG0uxqQ5ouGiMo9h21aMFAlmcs7sACgkQuGiMo9h2
1aMoiw//bRXycfFubFqKdcznuj7z9DCIVjcM2PhvakxN46aivXpehmoZFPT6+IIl
4npdJpHU5lvP1IZQ+T4u7emun1L6aSSk/L6OAciHqPPJmGcnUi778AwOUspq2YSe
MuE7+wTCjhWqvU3CiN8xnZiUGgd0Gr3tL57VpBWNbbeRjBFCVGls0Bs4Zw6dUr8x
k4Qc6C09QuaJeloJNTpqK4wMwMLlinTHX4L+MxWsb0FofA6fFSeEy24vNXgdyhYa
NhehcqNVrN+p5B8BULx4ECsZNcBQKPGkCggHaGhBwjZXqm/EQDNQTvw5EXt/fGGo
e9LzHRDSV9b1pq3qf5lMpi4Iro+R8iIqTHXFHmmFqkLgB7tpRszIDirAQawj+CCa
SzTc96l09xZGCSaYotG82Viz65Zk6q5aRt/DBPhwMMUDLDFbfmzt2OGB1EzkZBPK
zD1IEuhI7coSoqPyXCtc/VsLHyqK55mCsNi4c6DJrzXuly+nyvF7wMxr1wz2QwSv
2dKsTIsGJ0YWFo3q/hDA1iKE7rtPeqxpeEYhk1epY5U8ibdXsdI+4aItTPWoLJoq
D2wh78YBIPnTgyMFFOTwAzw00njMrxJ5lDV/TSgo0F6SpxeAO9/Ay94JgfwKPNcH
9s0ngGVOgBuWrIuH6tmmRaGDb7mOWx5tT6SNZHjyEQvblshZvmo=
=Arp+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to