From owner-freebsd-arch@FreeBSD.ORG Tue Jan 17 17:31:16 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D039D106567A; Tue, 17 Jan 2012 17:31:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 77FA48FC1B; Tue, 17 Jan 2012 17:31:16 +0000 (UTC) Received: from [10.30.101.53] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q0HHTxYl098952 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Tue, 17 Jan 2012 10:30:00 -0700 (MST) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <4F152475.50503@FreeBSD.org> Date: Tue, 17 Jan 2012 10:29:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <33752E6C-E016-4C7E-92DD-97B531D185E7@bsdimp.com> References: <4F14E291.5090803@FreeBSD.org> <4F1502CD.90409@FreeBSD.org> <4F152475.50503@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Tue, 17 Jan 2012 10:30:01 -0700 (MST) Cc: freebsd-arch@freebsd.org Subject: Re: Importing djb's public domain daemontools? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 17:31:17 -0000 On Jan 17, 2012, at 12:34 AM, Doug Barton wrote: > On 01/16/2012 23:10, Warner Losh wrote: >>=20 >> On Jan 16, 2012, at 10:10 PM, Doug Barton wrote: >>=20 >>> On 01/16/2012 19:41, Jos Backus wrote: >>>> On Jan 16, 2012 6:53 PM, "Doug Barton" >>>> wrote: >>>>>=20 >>>>> On 01/16/2012 12:53, Jos Backus wrote: >>>>>>=20 >>>>>> Thoughts? >>>>>=20 >>>>> This is already available in ports. >>>>=20 >>>> I realize that. >>>=20 >>> Good, then we're done. :) >>=20 >> Not necessarily... >>=20 >>>> If FreeBSD had a solid solution out of the box, all this pidfile >>>> hackery in the base system wouldn't be necessary. >>>=20 >>> We don't do religious wars here. We especially don't do trollbait >>> from djb acolytes. The "pidfile hackery" that we currently have >>> works just fine in the vast majority of cases. The fact that it >>> doesn't meet some people's ideas of architectural purity is totally >>> beside the point. >>=20 >> This isn't a religious war. >=20 > You obviously haven't spent a lot of time dealing with djb'ites. Your > warning sign should have been "messy and unreliable pidfile concept" > from the OP, or "pidfile hackery" above. I have spent time with djb-ites in other areas. I tend to ignore their = ranker and focus on the technical issues. I've had issues with pidfiles = and such in the past. There are a lot of hacks to get around those = issues, and things mostly work. If there's a good alternative that can = be demonstrated to work and gain us additional functionality, I'm all = for it. I've fought with init() to make it keep important daemons = around should they die. I've worked with other systems that make it = easy to do and miss that on FreeBSD. It is possible, but not easy. If = daemontools makes it easy, we should evaluate it. >> This is someone coming to us and saying that it might be a good idea >> to clean up the mess by importing a tiny bit of extra code >=20 > That's not even close to an accurate description of what this project > would entail. Have you ever used daemontools? I haven't. However, without a fully formed set of patches to test and = evaluate technically, it is hard to know if this is a good idea or a bad = idea. >> I'm not convinced it is a non-starter. I'd fully support Jos if he >> wanted to commit the code and had done the leg work to do it.=20 >=20 > One would hope that it would take more than just your support to > entirely change the way that we start and manage services in FreeBSD. >=20 > Also, see my followup to Jos' subsequent post. And one would hope your pig-headdednes also doesn't keep it out of = FreeBSD. Neither you nor I are the final arbiter of what's good for = FreeBSD. Warner