From owner-freebsd-arch@FreeBSD.ORG Tue Jan 17 22:04:57 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 B65AA106566C; Tue, 17 Jan 2012 22:04:57 +0000 (UTC) (envelope-from jos@catnook.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 623518FC13; Tue, 17 Jan 2012 22:04:57 +0000 (UTC) Received: by ggki1 with SMTP id i1so4454088ggk.13 for ; Tue, 17 Jan 2012 14:04:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.195.129 with SMTP id ie1mr19248624igc.29.1326837896480; Tue, 17 Jan 2012 14:04:56 -0800 (PST) Received: by 10.42.140.196 with HTTP; Tue, 17 Jan 2012 14:04:56 -0800 (PST) In-Reply-To: <20120117180044.GB43278@night.db.net> References: <4F14E291.5090803@FreeBSD.org> <4F1502CD.90409@FreeBSD.org> <4F152475.50503@FreeBSD.org> <33752E6C-E016-4C7E-92DD-97B531D185E7@bsdimp.com> <20120117180044.GB43278@night.db.net> Date: Tue, 17 Jan 2012 14:04:56 -0800 Message-ID: From: Jos Backus To: Diane Bruce Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Doug Barton , 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 22:04:57 -0000 On Tue, Jan 17, 2012 at 10:00 AM, Diane Bruce wrote: > On Tue, Jan 17, 2012 at 10:29:53AM -0700, Warner Losh wrote: > > > ... > > > > I have spent time with djb-ites in other areas. I tend to ignore their > rancor 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. > > It would be more useful to see what is offered with other systems and see > if we can provide the same or similar functionality with some sort of > 'standard' (I know impossible). How much work would it be to simply > add a few scripts as Doug suggests? etc. etc. Instead of just saying > "lets import everything in daemontools", what really is proposed? > How would it impact an embedded system? Is it yet more bloat that should > be delegated to the same pile of important ports as sendmail, bind etc. > that > some of us have been trying to get out of base? > I'm proposing that we add some sort of service management framework (big words, I know) to FreeBSD, as it seems to be the missing part between the OS and the services running on the OS such as Apache. The only solution that can handle automatic service restarts without some form of polling is init, but it is not flexible enough. I am proposing to add daemontools (specifically, daemontools-encore) because it could be added without affecting anything else in the base so it would be an easy import: don't use it if you don't want to. daemontools has not undergone many changes in recent years so if we were to import it it would likely not change much thereafter, requiring little maintenance. That said, if we feel that importing launchd is the better way to go, I'm all for it. I just want us to add something to fill the gap. Jos > > - Diane > -- > - db@FreeBSD.org db@db.net http://www.db.net/~db > Why leave money to our children if we don't leave them the Earth? > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > -- Jos Backus jos at catnook.com