From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 16:06:46 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3FC816A46B for ; Tue, 30 Oct 2007 16:06:46 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id 4803613C4BC for ; Tue, 30 Oct 2007 16:06:45 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: by ik-out-1112.google.com with SMTP id c21so801641ika for ; Tue, 30 Oct 2007 09:06:44 -0700 (PDT) Received: by 10.142.177.7 with SMTP id z7mr1723320wfe.1193758948166; Tue, 30 Oct 2007 08:42:28 -0700 (PDT) Received: from ?10.10.10.149? ( [198.62.158.205]) by mx.google.com with ESMTPS id g36sm4198172rob.2007.10.30.08.42.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Oct 2007 08:42:27 -0700 (PDT) Message-ID: <472750EF.8070808@bellanet.org> Date: Tue, 30 Oct 2007 11:42:39 -0400 From: Graham Todd User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4726561D.7090805@cisco.com> <20071030064559.GL82157@redundancy.redundancy.org> In-Reply-To: <20071030064559.GL82157@redundancy.redundancy.org> X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Opensolaris SMF for FreeBSD 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: Tue, 30 Oct 2007 16:06:46 -0000 David E. Thiel wrote: > On Mon, Oct 29, 2007 at 05:52:29PM -0400, Randall Stewart wrote: >> Anyone looked at porting SMF to FreeBSD? > > Not to my knowledge. What do you feel that SMF offers that currently > existing systems like rcNG or daemontools/runit do not? I haven't > found SMF to be more useful or functional than those solutions, and > it's certainly not as easy to use. I agree. SMF has a lot of tools that go beyond basic service management (service snapshots, "self-healing" ??, etc) but don't a lot of those SMF features depend on base OS functionality that only is found Solaris? If you need to have service management a bit abstracted from the base system runit (smarden.org/runit/) makes it easy to write portable startup scripts and handle logging in a (mostly) nice way. It doesn't try to do too much - it's pretty simple. And it has a three-clause BSDish license unlike more featureful systems like launchd :) We use runit quite a bit (on systems that run a small number of services) and really like it - more than daemontools. We also use runit as a replacement for init on some small footprint linux boxes - it's statically linked against dietlibc and comes in at around 10k in size! I'd like to figure out how to shrink things a bit on FreeBSD as well but there doesn't seem to be easy way to do that (dietlibc is what makes it happen on Linux). Replacing init on FreeBSD is possible as well but we haven't seen the need to do that. cheers,