From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 7 06:32:23 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6CA11065672 for ; Thu, 7 Aug 2008 06:32:23 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4B5F48FC15 for ; Thu, 7 Aug 2008 06:32:23 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.129] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id m776Fntv048272; Wed, 6 Aug 2008 23:15:51 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <489A9344.3060306@freebsd.org> Date: Wed, 06 Aug 2008 23:16:36 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Meyer References: <78c6bd860808061934l133d8ca6nabbde8cd55cb1d27@mail.gmail.com> <20080807010638.267d7790@bhuda.mired.org> In-Reply-To: <20080807010638.267d7790@bhuda.mired.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Michael B Allen , hackers@freebsd.org, wbentley@futurecis.com Subject: Re: Idea for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 06:32:23 -0000 > The Solaris smf tools provide some nice facilities: one is single > interface to start, stop, check and restart all the services on a > system. We pretty much have that ... > > The other is a single interface to enable, disable and query the > status of all the services. All we really have is the last one... Sounds like the only missing pieces, then, are standard ways to enable, disable, and configure services. How about: sudo /etc/rc.d/ssh enable sudo /etc/rc.d/ssh disable sudo /etc/rc.d/ssh configure That shouldn't be much of a stretch to implement, either. The first two just append entries to /etc/rc.conf. The third opens an editor with a list of variables supported by this service and then appends the result to rc.conf. Tim