[ovs-dev] [long socket names 3/3] socket-util: Work around Unix domain socket path name limits on Linux.

Ben Pfaff blp at nicira.com
Wed Nov 10 22:07:08 UTC 2010


Thanks, I pushed out this series.

On Wed, Nov 10, 2010 at 01:59:59PM -0800, Ethan Jackson wrote:
> Looks good.
> 
> On Tue, Nov 9, 2010 at 3:59 PM, Ben Pfaff <blp at nicira.com> wrote:
> > Many Open vSwitch tests fail on Debian's automatic build machines because
> > the builds occur in deeply nested directories with long names.  OVS tries
> > to bind and connect to Unix domain sockets using absolute path names, which
> > in combination with long directory names means that the socket's name
> > exceeds the limit for Unix domain socket names (108 bytes on Linux).
> >
> > This commit works around the problem on Linux by indirecting through
> > /proc/self/fd/<dirfd>/<basename> when names exceed the maximum that can be
> > used directly.
> >
> > Reported-by: Hector Oron <hector.oron at gmail.com>
> > Reported-by: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
> > Reported-by: Roger Leigh <rleigh at codelibre.net>
> > Debian bug #602891.
> > Debian bug #602911.




More information about the dev mailing list