From owner-freebsd-stable Mon May 27 14:50:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id 5A40C37B405 for ; Mon, 27 May 2002 14:50:10 -0700 (PDT) Received: (qmail 6456 invoked by uid 1000); 27 May 2002 21:50:31 -0000 Date: Mon, 27 May 2002 14:50:09 -0700 From: Jos Backus To: stable@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: non-root /var/run files (was Re: Sendmail, smmsp, and pid file) Message-ID: <20020527215031.GA5934@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: stable@FreeBSD.ORG, hackers@FreeBSD.ORG References: <20020527184744.GD1724@lizzy.catnook.com> <200205272136.BAA20122@aaz.links.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205272136.BAA20122@aaz.links.ru> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 28, 2002 at 01:36:00AM +0400, "."@babolo.ru wrote: > I have a lot of troubles with djb's tools in jail environment: > they are unreliable. Huh? What is the problem? While the license causes plenty of problems I have yet to see the programs themselves cause any. Now they may not be a natural fit to what you are trying to do in this case but that doesn't invalidate the idea of a service control manager in general - only perhaps the daemontools implementation for your particular application. > Are you sure that http://www.io.com/~manoj/file/mktool-0.0.7.tar.gz > (are you mean this one?) is better? It's hackable, which compared to daemontools is a big plus. And the author has said he is willing to add some more improvements and documentation. > I do not find docs or mans and am not sure that > it is worth-while to dig in thist code instead of > simple shell scripts (as in ports/38593 - that is > my way to service control manager) Re: docs, see above. If there's sufficient interest I can prod the author or write some myself. The problem with all these homegrown solutions is that they are not portable and lack the necessary features to be of general use, among others. I think first there needs to be consensus that having some sort of service control manager in the base OS is a good idea. Then we can look into possible candidates. Given the long tradition that pidfiles have in UNIX this is probably an uphill battle, even though I think there are plenty of reasons to consider them the result of poor engineering. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message