Your message dated Thu, 15 Nov 2007 18:07:10 +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 ---
On Thu, 01 Nov 2007, Ludovico Gardenghi wrote:
> On Wed, Jun 27, 2007 at 05:01:18PM +0200, Raphael Hertzog wrote:
> 
> > 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.
> 
> Do you still have this problem? Could you please take a look at syslog
> and check for vde_switch errors or warnings?

It looks like the problem is gone. I don't know why but FYI I'm running
linux-image-2.6.22-3-686 now and vde2 2.1.6+r154-1+b1.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


--- End Message ---

Reply via email to