delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/11/13:48:09

X-Recipient: archive-cygwin AT delorie DOT 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 AT dunslane DOT 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 AT cygwin DOT com
Subject: Re: psql "setsid" error
References: <t2neb3a2d501004272327lc811e513ya395aa495e6445e AT mail DOT gmail DOT com> <4BE99110 DOT 2080107 AT x-ray DOT at>
In-Reply-To: <4BE99110.2080107@x-ray.at>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019