Date: Sun, 2 Apr 2006 16:27:37 -0400 From: Kris Kennaway <kris@obsecurity.org> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: [FreeBSD 6] semctl broken compared to 4-STABLE ... Message-ID: <20060402202736.GA58611@xor.obsecurity.org> In-Reply-To: <20060402172021.B947@ganymede.hub.org> References: <20060402144704.S947@ganymede.hub.org> <20060402191519.GA56599@xor.obsecurity.org> <20060402162612.N947@ganymede.hub.org> <20060402193808.GA57127@xor.obsecurity.org> <20060402165234.Y947@ganymede.hub.org> <20060402195657.GA57843@xor.obsecurity.org> <20060402172021.B947@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sun, Apr 02, 2006 at 05:24:10PM -0300, Marc G. Fournier wrote: > On Sun, 2 Apr 2006, Kris Kennaway wrote: > > >>Right, but why are they doing it *consistently* in FreeBSD 6.x, when they > >>never did it in FreeBSD 4.x? I have postmaster processes running on the > >>FreeBSD box as far back as November 27th, 2005 ... and have *never* > >>experienced this problem ... so it isn't PostgreSQL that has changed, > >>something in FreeBSD has changed :( > > > >You'll need to do some debugging to find out which of the two causes > >of EINVAL are true here (or some undocumented cause). > > 'k, right now, the checks in PostgreSQL are just seeing if the result of > semctl < 0 ... i see from the man page what 'two values' of EINVAL you are > referring to ... but, if they both return the same ERRNO, how do I > determine which of the two is the cause of the problem? :( Evaluate context: what other semaphore operations have been performed previously? Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEMDO4Wry0BWjoQKURAhQLAKDrBWJxI99BDXxQUVvxlaGt7b+zYQCgv2Ak eOUlSTOyV9FXbrfdwaTcrKs= =gKMT -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060402202736.GA58611>
