Your message dated Tue, 8 Jul 2008 15:29:45 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#484237: slirpvde segfaults on start
has caused the Debian Bug report #484237,
regarding vde_plug does not connect to socket
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.)


-- 
484237: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484237
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: vde2
Version: 2.2.0-pre2-1
Severity: normal
File: /usr/bin/vde_plug

There's some weird stuff happening in vde_plug: I have a vde_switch
started with ctlsock directory in ./vde0, and now I am trying to
plug into it:

+lapse:~|master|.tmp/testnet.k13727% ls vde0                              #1839
ctl  vde_switch.pid
+lapse:~|master|.tmp/testnet.k13727% strace -f vde_plug vde0/ctl          #1840
[...]
connect(5, {sa_family=AF_FILE, path="vde0/ctl/ctl"}, 110) = -1 ENOTDIR (Not a 
directory)
[...]
send(5, "\316\372\355\376\3\0\0\0\0\0\0\0\1\0vde0/ctl.14357-000"..., 183, 0) = 
-1 ENOTCONN (Transport endpoint is not connected)

Note how the manpage says control socket path, and yet the connect()
seems to take it as directory. And even though the
vde0/ctl.14357-000 control socket gets created (it now exists and is
never removed), the send() fails.

Full vde_plug.strace attached.

Let's see what happens if we pass the directory instead of the
socket path.

+lapse:~|master|.tmp/testnet.k13727% strace -f vde_plug vde0              #1841
[...]
connect(5, {sa_family=AF_FILE, path="vde0/ctl"}, 110) = 0
bind(6, {sa_family=AF_FILE, path="vde0.14393-00000"}, 110) = 0
[...]
chmod("", 0700)                         = -1 ENOENT (No such file or directory)

There's stuff broken here too, the chmod doesn't get a proper path.
Also, if I pass ./vde0/, the connect() uses ./vde0//ctl and the bind
then tries ./vde0/.14393-00000.

Full vde_plug.strace2 attached.

This all makes me think that there's a need for some time with the
code...

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

Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

-- no debconf information


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: vde_plug.strace.bz2
Description: Binary data

Attachment: vde_plug.strace2.bz2
Description: Binary data

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---
--- Begin Message ---
Version: 2.2.1-1

also sprach Ludovico Gardenghi <[EMAIL PROTECTED]> [2008.06.15.1304 +0200]:
> >   zsh: segmentation fault  slirpvde -sock ctl -dhcp -D
> 
> This issue is related to #484265: libvdeplug (used by both
> slirpvde and vde_plug) and vde_switch didn't convert the socket
> pathnames to absolute ones, so when they exchanged information
> about them there was no agreement if the CWD differed. In
> addition, slirpvde didn't check for a successfull connection to
> the switch.

Yes, fixed in 2.2.1-1

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"it has been said about the EPO that if you fart in front of their
 building, you are granted a patent on 'gas tank depressurizing by
 opening a venting pipe.'"
                                        -- gyrosgeier on #debian-devel

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---

Reply via email to