From owner-freebsd-current@FreeBSD.ORG Sun Feb 23 18:47:14 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44C55A91 for ; Sun, 23 Feb 2014 18:47:14 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E90C0193A for ; Sun, 23 Feb 2014 18:47:13 +0000 (UTC) Received: from [192.168.0.7] (cpc28-cmbg15-2-0-cust64.5-4.cable.virginm.net [86.27.189.65]) (authenticated bits=0) by theravensnest.org (8.14.7/8.14.5) with ESMTP id s1NIl7aH049908 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 23 Feb 2014 18:47:10 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: libinit idea From: David Chisnall In-Reply-To: Date: Sun, 23 Feb 2014 18:47:03 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <3F3C8E1C-C58C-4489-9762-ACA742B2A0C4@FreeBSD.org> References: <20140223182232.GA25967@lucius.XxX> To: Freddie Cash X-Mailer: Apple Mail (2.1827) Cc: Bruno Lauz?? , Scot Hetzel , Lucius Rizzo , Andreas Nilsson , FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Sun, 23 Feb 2014 18:47:14 -0000 On 23 Feb 2014, at 18:31, Freddie Cash wrote: > The main developer for systemd is very anti-portability and = anti-!Linux. He > had actively rejected patches that made his projects work on non-Linux > systems. In order to port systemd to a non-Linux system, he wants you = to > first implement every Linux feature that systemd uses. >=20 > systemd is a non-starter, and not with considering. I don't think that's a relevant discussion. The license would likely = preclude systemd from making it into the base system anyway. Please = let's not be too negative about the author of systemd: he's responsible = for more people switching from Linux to FreeBSD than any other single = individual I can think of and I would strongly encourage him to = continue. The relevant question is whether it does anything in a way that is = sufficiently sensible to merit a FreeBSD service management = infrastructure doing it in the same (or a similar) way. Oh, two things missing from my original list: - Service jails should be able to run without an init process, with just = the required libraries installed and the host machine's init system = starting the jail and the service process(es) inside it. - The init system should use process descriptors, not pids, for tracking = processes, preventing issues with pid reuse and so on (and removing the = need to write pid files). If process descriptors do not provide the = required functionality (e.g. the ability to trace forked children) then = this should be added. David