From owner-freebsd-current@FreeBSD.ORG Mon Oct 19 07:42:53 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7334106566C for ; Mon, 19 Oct 2009 07:42:53 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 790CB8FC16 for ; Mon, 19 Oct 2009 07:42:53 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 74CAE6D41B; Mon, 19 Oct 2009 07:42:52 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 2D273844A6; Mon, 19 Oct 2009 09:42:52 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Kostik Belousov References: <20091018220935.GR2160@deviant.kiev.zoral.com.ua> Date: Mon, 19 Oct 2009 09:42:51 +0200 In-Reply-To: <20091018220935.GR2160@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Mon, 19 Oct 2009 01:09:35 +0300") Message-ID: <86my3n6d8k.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Warren Block , current@freebsd.org Subject: Re: /etc/rc.d locking devd.pid X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 07:42:53 -0000 Kostik Belousov writes: > I think that this is a generic issue with pidfile/fork interaction. > It is not obvious whether setting FD_CLOEXEC flag is right thing to > do there. Most certainly not. > Anyway, please test. Please read flopen.c's revision history. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no