Your message dated Fri, 8 Feb 2008 08:06:32 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#430830: vde2: vde_switch doesn't work at  boot time
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: vde2
Version: 2.1.6+r154-1
Severity: normal

It looks like the vde switch is not correctly setup at boot time. I need
to ifdown then ifup my interface to get it working properly.

I have in /etc/network/interfaces:

auto qemu
iface qemu inet static
    address 10.0.2.1
    netmask 255.255.255.0
    vde2-switch -
    up /etc/init.d/dnsmasq restart || true
    up echo 1 > /proc/sys/net/ipv4/ip_forward
    up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE || true
    up iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE || true
    down iptables -t nat -F

Then after boot I have:
[EMAIL PROTECTED]:~$ ifconfig qemu
qemu      Lien encap:Ethernet  HWaddr FA:AD:E7:D0:85:89  
          inet adr:10.0.2.1  Bcast:10.0.2.255  Masque:255.255.255.0
          adr inet6: fe80::f8ad:e7ff:fed0:8589/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:500 
          RX bytes:53 (53.0 b)  TX bytes:468 (468.0 b)

[EMAIL PROTECTED]:~$ ls -al /var/run/vde2/
total 16
drwxrws---  3 vde2-net vde2-net 4096 2007-06-27 16:02 .
drwxr-xr-x 19 root     root     4096 2007-06-27 16:03 ..
drwxrws---  2 root     vde2-net 4096 2007-06-27 16:02 qemu.ctl
srw-rw----  1 root     vde2-net    0 2007-06-27 16:02 qemu.mgmt
-rw-r--r--  1 root     vde2-net    5 2007-06-27 16:02 qemu.pid
[EMAIL PROTECTED]:~$ ls -al /var/run/vde2/qemu.ctl/
total 8
drwxrws--- 2 root     vde2-net 4096 2007-06-27 16:02 .
drwxrws--- 3 vde2-net vde2-net 4096 2007-06-27 16:02 ..
[EMAIL PROTECTED]:~$ ps aux | grep vde2
root      2458  0.0  0.0   2020   556 ?        Ss   16:02   0:00 
/usr/bin/vde_switch -s /var/run/vde2/qemu.ctl -m 660 -g vde2-net -p 
/var/run/vde2/qemu.pid -t qemu -M /var/run/vde2/qemu.mgmt --mgmtmode 660 -d

The directory "/var/run/vde2/qemu.ctl/" lacks the "ctl" socket...
and of course "vdeqemu" doesn't work afterwards. It fails with "sendto: Bad
file descriptor".

I have currently no clue why it's not setting everything right at the first
execution during the boot. I wonder if it's somehow related to #392069.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vde2 depends on:
ii  adduser                     3.103        Add and remove users and groups
ii  libc6                       2.5-11       GNU C Library: Shared libraries
ii  libvdeplug2                 2.1.6+r154-1 Virtual Distributed Ethernet - Plu

Versions of packages vde2 recommends:
ii  daemon                        0.6.3-1    turns other processes into daemons

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.2.0-pre2-1

On Wed, 06 Feb 2008, Filippo Giunchedi wrote:
> On Wed, Jan 23, 2008 at 11:33:44AM +0100, Raphael Hertzog wrote:
> > I just reopened the bug since I continue to reproduce it from time to
> > time (I use linux 2.6.23-1-686 now). There is no vde_switch error and
> > warning in /var/log/syslog.
> 
> Hi Raphael,
> do you mind retrying with 2.2.0-pre2-1? It should be finally fixed.

Indeed, I booted twice to verify and it seems to work now.

BTW, you should have used 2.2.0~pre2-1 as version because 2.2.0-pre2 >
2.2.0

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


--- End Message ---

Reply via email to