[Pkg-vsquare-devel] Bug#484265: vde_plug does not connect to socket

Filippo Giunchedi filippo at debian.org
Sun Jun 15 08:32:43 UTC 2008


On Tue, Jun 03, 2008 at 12:19:18PM +0200, martin f krafft wrote:
> 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.

can you try with absolute paths? I guess the problem is there, it should be
fixed in upstream svn and in the next release which is upcoming.

thanks,
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
-- Brian W. Kernighan





More information about the Pkg-vsquare-devel mailing list