From owner-freebsd-hackers@FreeBSD.ORG Sat May 9 19:25:11 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F048434A for ; Sat, 9 May 2015 19:25:11 +0000 (UTC) Received: from know-smtprelay-omc-7.server.virginmedia.net (know-smtprelay-omc-7.server.virginmedia.net [80.0.253.71]) by mx1.freebsd.org (Postfix) with ESMTP id 713F6194C for ; Sat, 9 May 2015 19:25:10 +0000 (UTC) Received: from [192.168.1.100] ([86.20.122.200]) by know-smtprelay-7-imp with bizsmtp id RvRA1q00F4KXVwe01vRAbS; Sat, 09 May 2015 20:25:10 +0100 X-Originating-IP: [86.20.122.200] X-Spam: 0 X-Authority: v=2.1 cv=cpwVkjIi c=1 sm=1 tr=0 a=WByauD8lJrWvBFCNrxRoEQ==:117 a=WByauD8lJrWvBFCNrxRoEQ==:17 a=LdKPt8bmWjYA:10 a=N659UExz7-8A:10 a=NLZqzBF-AAAA:8 a=X9xWFtYdSSi8yipKu9IA:9 a=pILNOxqGKmIA:10 a=XdyKOaxJwVsA:10 Message-ID: <554E5EEA.7020901@NTLWorld.com> Date: Sat, 09 May 2015 20:24:26 +0100 From: Jonathan de Boyne Pollard User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: FreeBSD Hackers Subject: Re: nosh version 1.14 References: <54430B41.3010301@NTLWorld.com> <54B86FD5.3090203@NTLWorld.com> <554E53EF.4080600@NTLWorld.com> In-Reply-To: <554E53EF.4080600@NTLWorld.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2015 19:25:12 -0000 nosh is now up to version 1.14 * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html That was the source package changelog. Now the discussion. I've been running FreeBSD 10 as an entirely nosh-managed system for quite a while, now. But I still had some ad hoc mechanisms for starting the user-space virtual terminals by logging in on a kernel virtual terminal and running some scripts. I'm now running user-space virtual terminals as proper services, under the service manager, so they come up at bootstrap unattended. As you can see from the changelog, I've fixed a font bug in the terminal emulator and eliminated some of the very few remaining to-do items for it. Input-activated log services, as started by svscan (a.k.a. service-dt-scanner), are now gone. There's a minor story behind this. Monitoring real systems with nagios militated against it. The nagios check would report many of the log services as down, because of course the logged services hadn't done anything worth logging and hadn't activated the loggers. For my use, good nagios checks were more important than the input activation, which was only ever an experiment in any case. So now svscan no longer uses it. On that score, there is also a small improvement in the nagios checking tool, which allows one to specify the minimum time that a service has to be in the running state before it will be considered OK, nagios-wise. Similarly, there's now a command to tell service-manager to unload a service when it next enters the stopped state. The service manager will disconnect itself from the control FIFOs and the supervise/ directory, and forget all about the service. This allows a service bundle to be cleanly removed from the system in its entirety. I've added a command to convert /etc/fstab into mount and fsck services. More is planned here, including integration with the rc.conf and ttys conversion utilities under an umbrella of some sort, details yet to be decided. The packaging changes are a big deal in the Linux world, but they aren't really relevant in the BSD world. This just leaves a whole load of new service bundles, which are a message all to themselves.