From owner-freebsd-rc@freebsd.org Thu Nov 12 22:23:28 2015 Return-Path: Delivered-To: freebsd-rc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 766C1A2DC9C for ; Thu, 12 Nov 2015 22:23:28 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C0721B78 for ; Thu, 12 Nov 2015 22:23:28 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id EBA2F203BC for ; Thu, 12 Nov 2015 17:23:26 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Thu, 12 Nov 2015 17:23:26 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=iTT/X7dI8vQMDh3 VBRgHs4uX2xY=; b=UvlCLw+MHzL7vVp5niJiAu3hdJcx6+QtxCrjyw0LxUwdaQh QTynI1sO2Ns4T4uFskCnzMQfqU2PIntdqX80abYnEQaACu0ogSk8/V4u7f8vXd1S Qy9meqUGyLgDp6LxyboWkMUz+CLHlcldO57AHHhM/y3tcfFDcFp06Ab4nuck= Received: by web3.nyi.internal (Postfix, from userid 99) id C19211052EC; Thu, 12 Nov 2015 17:23:26 -0500 (EST) Message-Id: <1447367006.1515319.438328209.2AC6FDA4@webmail.messagingengine.com> X-Sasl-Enc: fmGP7D/fNhrLOeJTYtugygFqHUl+1Tpa0zkauoemtHHR 1447367006 From: Mark Felder To: Dirk Engling , freebsd-rc@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-37ba1837 In-Reply-To: <5644EDFE.2000400@erdgeist.org> References: <563933AB.5090407@erdgeist.org> <5644EDFE.2000400@erdgeist.org> Subject: Re: etc/rc.subr rc_pid for start_cmd Date: Thu, 12 Nov 2015 16:23:26 -0600 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 22:23:28 -0000 On Thu, Nov 12, 2015, at 13:52, Dirk Engling wrote: > On 03.11.15 23:22, Dirk Engling wrote: > > > If not I propose to move the check before custom ${XXX_cmd} > > evaluation and will be glad to provide a diff. > > Ping? > > I understand this is a low traffic ML, however I am not sure if the > silence means "this is a dopy idea" or "it ain't important". > > I do think that we can fix some hundred ports with a single change and > am waiting with committing a new rc-script for qmail depending on > whether I need to put the check in the port or can use the rc.subr's. > I have also noticed rc scripts failing to check if process is already running before starting. This is annoying. If you commit a fix for this in rc.subr it would be greatly appreciated. -- Mark Felder ports-secteam member feld@FreeBSD.org