Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2011 21:52:30 GMT
From:      Robert Millan <rmh@debian.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/159663: sockets don't work though nullfs mounts
Message-ID:  <201108102152.p7ALqUl4075207@red.freebsd.org>
Resent-Message-ID: <201108102200.p7AM0On3026324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159663
>Category:       kern
>Synopsis:       sockets don't work though nullfs mounts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 10 22:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Robert Millan
>Release:        FreeBSD 8.1
>Organization:
>Environment:
GNU/kFreeBSD thorin 8.1-1-amd64 #0 Wed Aug 10 13:58:08 CEST 2011 x86_64 amd64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/kFreeBSD

>Description:
When mounting a filesystem that contains a socket with nullfs, a new instance of the socket is generated. Processes listening on one instance of this socket do not respond to connect() requests on the other instance.

>How-To-Repeat:
$ mkdir a b
$ ./server a/sock &
[1] 2093
$ ./client a/sock 
MESSAGE FROM CLIENT: hello from a client
MESSAGE FROM SERVER: hello from the server
$ sudo mount -t nullfs a b
$ ./client b/sock
connect() failed

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108102152.p7ALqUl4075207>