Date: Wed, 26 May 2010 11:44:17 +0400 From: Anton Kaukin <akaukin@rbc.ru> To: tmseck@web.de Cc: ports@FreeBSD.org, =?KOI8-R?Q?=F3=C9=D3=D4=C5=CD=CE=D9=C5_=C1=C4=CD?=, =?KOI8-R?Q?=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2=D9?= <adm@rbc.ru> Subject: FreeBSD Port: squid-3.1.3 Message-ID: <4BFCD151.4010102@rbc.ru>
next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms070707030001090807090204 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Hello, tmseck! If I've started squid from root and after that sends an any signal to=20 this processes from cron scripts running from squid user, I've receiving = this messages on FreeBSD 8.0-STABLE #1: Fri Jan 29 18:44:50 MSK 2010 amd6= 4: squid: ERROR: Could not send signal 30 to process 78774: (1) Operation=20 not permitted after some debugging procedures there was found bug in configure script: = it can not correctly detect presence of setresuid() OS function due a=20 lack of includes directives in test program. Please commit this patch to www/squid31 port. # cat files/patch-configure --- configure.orig 2010-03-16 17:08:43.000000000 +0300 +++ configure 2010-03-16 17:08:53.000000000 +0300 @@ -48517,6 +48517,10 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include <sys/types.h> +#include <unistd.h> +#include <stdio.h> + #include <stdlib.h> int main(int argc, char **argv) { if(setresuid(-1,-1,-1)) { Thanks! ) -- Best regards, Anton Kaukin, RosBusinessConsulting NOC Tel: +7 495 3631111 (ext.: 2314) E-mail: akaukin@rbc.ru | http://www.rbc.ru --------------ms070707030001090807090204--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BFCD151.4010102>