X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0	tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.1 cv=cJUVGx7wVpwO0rV6Rw4+qp3YFrg6+tUn38RTSuXD3eA= c=1 sm=0 a=8nJEP1OIZ-IA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:17 a=l7Y9EBvAAAAA:8 a=Ba9ntAOCdqGGpd6ugcsA:9 a=0MKNm3hrtSbvwwmz50GO-nCwlagA:4 a=wPNLvfGTeEIA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:117
Message-ID: <4BE99840.7050903@dunslane.net>
Date: Tue, 11 May 2010 13:47:44 -0400
From: Andrew Dunstan <andrew@dunslane.net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.0.9-3.fc6 pango-text SeaMonkey/1.0.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: psql "setsid" error
References: <t2neb3a2d501004272327lc811e513ya395aa495e6445e@mail.gmail.com> <4BE99110.2080107@x-ray.at>
In-Reply-To: <4BE99110.2080107@x-ray.at>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



Reini Urban wrote:
> Gary . schrieb:
>> psql: FATAL:  setsid() failed:
>> Operation not permitted
>
> Hmm, known problem.
> I'll change it like
> sed --in-place -e's/#define HAVE_SETSID 1/#undef HAVE_SETSID/' \
>     src/include/pg_config.h
>

This is completely the wrong thing to do. pg_config.h is an 
autogenerated file. If anything, it should go in pg_config_manual.h, but 
much better would be to fix the configure check, if it's wrong. Just 
hacking the config files is a losing game.

Butr why does it fail anyway? It works just fine on the PostgreSQL 
Buildfarm. See 
<http://www.pgbuildfarm.org/cgi-bin/show_stage_log.pl?nm=brown_bat&dt=2010-05-09%20183006&stg=config>

cheers

andrew

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

