Debian Bug report logs - #568363
Timing issue in /etc/network/if-pre-up.d/vde2

version graph

Package: vde2; Maintainer for vde2 is Debian VSquare Team <virtualsquare@cs.unibo.it>; Source for vde2 is src:vde2 (PTS, buildd, popcon).

Reported by: Maik Zumstrull <maik.zumstrull@rz.uni-karlsruhe.de>

Date: Thu, 4 Feb 2010 09:33:02 UTC

Severity: normal

Found in version vde2/2.2.2-3

Fixed in version vde2/2.3.1-1

Done: Filippo Giunchedi <filippo@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#568363; Package vde2. (Thu, 04 Feb 2010 09:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Maik Zumstrull <maik.zumstrull@rz.uni-karlsruhe.de>:
New Bug report received and forwarded. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>. (Thu, 04 Feb 2010 09:33:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Maik Zumstrull <maik.zumstrull@rz.uni-karlsruhe.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Timing issue in /etc/network/if-pre-up.d/vde2
Date: Thu, 04 Feb 2010 10:30:13 +0100
Package: vde2
Version: 2.2.2-3
Severity: normal

On this system, I noticed that a vde interface fails to come
up at boot, but ifup/ifdown by hand works when the system
is running.

I found that this is a timing issue. ifup starts the switch
process, then fires off an ifconfig, but occasionally the tap
interface has not been created yet at that point and ifconfig
fails. Afterwards, the tap is created, so you end up with
a switch process running and an unconfigured interface.

On my system, I choose the dirty fix of putting a "sleep 2"
after start-stop-daemon in the vde2 script. The clean solution
would be to have vde_switch not background itself until the
tap interface exists.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (600, 'stable'), (400, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vde2 depends on:
ii  adduser                     3.110        add and remove users and groups
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries
ii  libpcap0.8                  0.9.8-5      system interface for user-level pa
ii  libvdemgmt0                 2.2.2-3      Virtual Distributed Ethernet - Man
ii  libvdeplug2                 2.2.2-3      Virtual Distributed Ethernet - Plu

vde2 recommends no packages.

Versions of packages vde2 suggests:
pn  kvm                           <none>     (no description available)
pn  qemu                          <none>     (no description available)
pn  vde2-cryptcab                 <none>     (no description available)

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>:
Bug#568363; Package vde2. (Thu, 04 Feb 2010 11:03:09 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Bigliardi <shammash@artha.org>:
Extra info received and forwarded to list. Copy sent to Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>. (Thu, 04 Feb 2010 11:03:09 GMT) (full text, mbox, link).


Message #10 received at 568363@bugs.debian.org (full text, mbox, reply):

From: Luca Bigliardi <shammash@artha.org>
To: Maik Zumstrull <maik.zumstrull@rz.uni-karlsruhe.de>, 568363@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: [Pkg-vsquare-devel] Bug#568363: Timing issue in /etc/network/if-pre-up.d/vde2
Date: Thu, 4 Feb 2010 11:36:41 +0100
On Thu, Feb 04, 2010 at 10:30 AM, Maik Zumstrull wrote:

> On my system, I choose the dirty fix of putting a "sleep 2"
> after start-stop-daemon in the vde2 script. The clean solution
> would be to have vde_switch not background itself until the
> tap interface exists.

Another quick but not time-based solution might be to use vde_tunctl in
ifup/ifdown before/after starting/stopping vde_switch to set/unset the tap
persistent.



Luca


-- 
Beware of programmers who carry screwdrivers.
                        -- Leonard Brandwein

http://shammash.homelinux.org/ - http://www.artha.org/ - http://www.yue.it/




Added tag(s) pending. Request was from Filippo Giunchedi <filippo@debian.org> to control@bugs.debian.org. (Sun, 04 Jul 2010 10:57:06 GMT) (full text, mbox, link).


Reply sent to Filippo Giunchedi <filippo@debian.org>:
You have taken responsibility. (Wed, 03 Nov 2010 10:03:17 GMT) (full text, mbox, link).


Notification sent to Maik Zumstrull <maik.zumstrull@rz.uni-karlsruhe.de>:
Bug acknowledged by developer. (Wed, 03 Nov 2010 10:03:17 GMT) (full text, mbox, link).


Message #17 received at 568363-close@bugs.debian.org (full text, mbox, reply):

From: Filippo Giunchedi <filippo@debian.org>
To: 568363-close@bugs.debian.org
Subject: Bug#568363: fixed in vde2 2.3.1-1
Date: Wed, 03 Nov 2010 10:02:52 +0000
Source: vde2
Source-Version: 2.3.1-1

We believe that the bug you reported is fixed in the latest version of
vde2, which is due to be installed in the Debian FTP archive:

libvde-dev_2.3.1-1_amd64.deb
  to main/v/vde2/libvde-dev_2.3.1-1_amd64.deb
libvde0_2.3.1-1_amd64.deb
  to main/v/vde2/libvde0_2.3.1-1_amd64.deb
libvdeplug-dev_2.3.1-1_amd64.deb
  to main/v/vde2/libvdeplug-dev_2.3.1-1_amd64.deb
libvdeplug3_2.3.1-1_amd64.deb
  to main/v/vde2/libvdeplug3_2.3.1-1_amd64.deb
vde2-cryptcab_2.3.1-1_amd64.deb
  to main/v/vde2/vde2-cryptcab_2.3.1-1_amd64.deb
vde2_2.3.1-1.diff.gz
  to main/v/vde2/vde2_2.3.1-1.diff.gz
vde2_2.3.1-1.dsc
  to main/v/vde2/vde2_2.3.1-1.dsc
vde2_2.3.1-1_amd64.deb
  to main/v/vde2/vde2_2.3.1-1_amd64.deb
vde2_2.3.1.orig.tar.gz
  to main/v/vde2/vde2_2.3.1.orig.tar.gz



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 568363@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Filippo Giunchedi <filippo@debian.org> (supplier of updated vde2 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 05 Sep 2010 16:20:43 +0100
Source: vde2
Binary: vde2 vde2-cryptcab libvdeplug-dev libvdeplug3 libvde-dev libvde0
Architecture: source amd64
Version: 2.3.1-1
Distribution: experimental
Urgency: low
Maintainer: Debian VSquare Team <pkg-vsquare-devel@lists.alioth.debian.org>
Changed-By: Filippo Giunchedi <filippo@debian.org>
Description: 
 libvde-dev - Virtual Distributed Ethernet - support libraries development file
 libvde0    - Virtual Distributed Ethernet - support libraries
 libvdeplug-dev - Virtual Distributed Ethernet - Plug development files
 libvdeplug3 - Virtual Distributed Ethernet - Plug library
 vde2       - Virtual Distributed Ethernet
 vde2-cryptcab - Virtual Distributed Ethernet - CryptCab
Closes: 460734 568363 572261
Changes: 
 vde2 (2.3.1-1) experimental; urgency=low
 .
   * New upstream version
     - bump libvdeplug soname
     - ship updated version of slirp (Closes: #460734, #572261)
   * Remove debian/patches/dont_use_installpath, use ./configure --sysconfdir
     and --localstate dir instead
   * Drop soname from libvdeplug3-dev, easier for package build-depending on
     the library
   * Fix "Timing issue in /etc/network/if-pre-up.d/vde2" by calling vde_tunctl
     in ifupdown hooks (Closes: #568363)
   * Update standards-version to 3.9.1: stop shipping .la files
Checksums-Sha1: 
 6241c854a394c4c771f0d8654930cd33ed3345fc 1426 vde2_2.3.1-1.dsc
 63a8f33215a564cbc2ee52249aac00988d62874b 698059 vde2_2.3.1.orig.tar.gz
 43bec1e36f89f4280939e61aa12cc4f494e2eb1c 11134 vde2_2.3.1-1.diff.gz
 e24439366137571c8f9db6cde6dc474db278a9ea 220062 vde2_2.3.1-1_amd64.deb
 242497923ca7214752ac31fc6e9de031b317a740 17880 vde2-cryptcab_2.3.1-1_amd64.deb
 9f2b709d9c7e604d0a455f8051c5cdcaa8da8822 14878 libvdeplug-dev_2.3.1-1_amd64.deb
 8bd11ca138995e5d2a9d45475ae661eb3af1c295 13572 libvdeplug3_2.3.1-1_amd64.deb
 f8d1e6a4b89c5450afe151407414f9397d87de40 28216 libvde-dev_2.3.1-1_amd64.deb
 0459a7a140eeb3826b4007de9128bb32d45376d4 29312 libvde0_2.3.1-1_amd64.deb
Checksums-Sha256: 
 c68db3569c09135e9ffca6bd927d20a70d42b927edf60f1ccac8cd39b3b195a3 1426 vde2_2.3.1-1.dsc
 6778c4a302b8fa3d9e2664760c9cf0bed02384984cbc79f773c1b230916e79ed 698059 vde2_2.3.1.orig.tar.gz
 0aeeacd2071a917e688ef3814989acc66f0f65d3ed12d636ceee9ae0b0a95efb 11134 vde2_2.3.1-1.diff.gz
 83b21486395fe6319c360518fd82695c9bc6af82de7dd0fb0b401e9e8bb07189 220062 vde2_2.3.1-1_amd64.deb
 aa940b31fd32bfbd810a49028c92b43381dd3147d023bfe77102a5ea4cda653d 17880 vde2-cryptcab_2.3.1-1_amd64.deb
 09fea7897f5731a218af6215ee6cffd91ffacff6531e0dff9aff873edb14a76d 14878 libvdeplug-dev_2.3.1-1_amd64.deb
 457c31bb76043cada013eb4ed572a091c5b0fd9e81a3dbdc973e6c3ac0966bf9 13572 libvdeplug3_2.3.1-1_amd64.deb
 ba4c892c4e2407c5697c5bfcdafa1903f79f87d1e7eb4381bc647035bbb316a8 28216 libvde-dev_2.3.1-1_amd64.deb
 d7882baac635ff2260f3209d2c338c4bfa45ab26bad9ffb114ad6d13e595b653 29312 libvde0_2.3.1-1_amd64.deb
Files: 
 64341f8c06377bdec0c386796190889a 1426 net optional vde2_2.3.1-1.dsc
 c8c2acb92a72f779e0b484b1543a1cc3 698059 net optional vde2_2.3.1.orig.tar.gz
 d89e936e9df74d7b1389bbdc92dbd0a2 11134 net optional vde2_2.3.1-1.diff.gz
 d076a09426bed135846b6154dc9c49f9 220062 net optional vde2_2.3.1-1_amd64.deb
 165bbcc74ea0a2ae1f6f6fb05cbf94a6 17880 net optional vde2-cryptcab_2.3.1-1_amd64.deb
 2f61b47f664b1ccd426b0b0668e64a35 14878 libdevel optional libvdeplug-dev_2.3.1-1_amd64.deb
 11697ace68017bc7351d98d2e876f15a 13572 libs optional libvdeplug3_2.3.1-1_amd64.deb
 0b6023c46a6b7f1ce245cca35d761e3d 28216 libdevel optional libvde-dev_2.3.1-1_amd64.deb
 f9acf4e2e4dd5598c263b28b29a4ae97 29312 libs optional libvde0_2.3.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyDuosACgkQABzeamt51AERrQCgkLp4qViBW/WVHFS+5Qz+LQX+
GtsAoKXLVq47z7k9471CfHJDgv8ruQA6
=ATec
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 17 Feb 2012 07:39:56 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 04:04:12 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.