Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2008 00:09:18 +1200
From:      Philip Murray <pmurray@nevada.net.nz>
To:        freebsd-stable@freebsd.org
Subject:   File descriptor passing broken in FreeBSD 7?
Message-ID:  <2D61488F-F9BD-4B2C-B0D1-70267540A1BE@nevada.net.nz>

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

I recently tried to use the newly released mod_rails  
(www.modrails.com) for Apache, and discovered it doesn't work on  
FreeBSD 7.  It does however work on FreeBSD 6 just fine.

I tracked it down to sendmsg() as detailed here:

	http://code.google.com/p/phusion-passenger/issues/detail?id=16

The mod_rails/passenger unit tests fail on FD passing, as do the Ruby  
1.8.6 standard unit tests. They all fail with EBADF

I've also tried this test case (with minor appropriate changes to file  
paths etc.)

	http://www.gnome.org/~markmc/code/test-descriptor-passing.c

Again it works in FreeBSD 6, but not in FreeBSD 7 (albeit with  
ECONNREFUSED not EBADF).


Any ideas?

Cheers

Phil 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D61488F-F9BD-4B2C-B0D1-70267540A1BE>