Date: Wed, 16 Apr 2008 16:14:34 +0200 From: Heiko Wundram <modelnine@modelnine.org> To: freebsd-stable@freebsd.org Subject: Re: File descriptor passing broken in FreeBSD 7? Message-ID: <200804161614.34721.modelnine@modelnine.org> In-Reply-To: <2D61488F-F9BD-4B2C-B0D1-70267540A1BE@nevada.net.nz> References: <2D61488F-F9BD-4B2C-B0D1-70267540A1BE@nevada.net.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Mittwoch, 16. April 2008 14:09:18 schrieb Philip Murray: > 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? Works fine on 7.0-STABLE from end of last week (i.e., doesn't core-dump, and outputs the contents of test-descriptor-passing.c, to which I adapted the filename). uname -a: FreeBSD phoenix.modelnine.org 7.0-STABLE FreeBSD 7.0-STABLE #2: Fri Apr 11 13:46:16 CEST 2008 root@phoenix.modelnine.org:/usr/obj/usr/src/sys/HEIKO i386 I ran the program as an unprivileged user. -- Heiko Wundram
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804161614.34721.modelnine>