kern/159663: sockets don't work though nullfs mounts

Robert Millan rmh at debian.org
Wed Aug 10 22:00:24 UTC 2011


>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:


More information about the freebsd-bugs mailing list