From owner-freebsd-hackers@freebsd.org Tue Nov 17 08:56:22 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F465A2ED44 for ; Tue, 17 Nov 2015 08:56:22 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from mail.rdsor.ro (mail.rdsor.ro [193.231.238.10]) by mx1.freebsd.org (Postfix) with ESMTP id CFEE113DE; Tue, 17 Nov 2015 08:56:21 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from email.rdsor.ro (ftp.rdsor.ro [193.231.238.4]) by mail.rdsor.ro (Postfix) with ESMTP id 58BAA1269F; Tue, 17 Nov 2015 10:56:19 +0200 (EET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Tue, 17 Nov 2015 10:56:26 +0200 From: dan_partelly To: Julian Elischer Cc: Mark Heily , Subject: Re: relaunchd: a portable clone of launchd In-Reply-To: <564AE875.9010607@freebsd.org> References: <564AE875.9010607@freebsd.org> Message-ID: X-Sender: dan_partelly@rdsor.ro User-Agent: RoundCube Webmail/0.4-beta 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: Tue, 17 Nov 2015 08:56:22 -0000 There is also svc(8) in DragonflyBSD which could be ported to FreeBSD 10.2+ thanks to new proctl(2) reaper facilities. svc(8) could form the base of a Solaris SMF like facility in the future. It doesn't do much yet, but IMO M. Dillon had the right idea when he wrote it. It is extensible, and plays well IMO with exiting init. On Tue, 17 Nov 2015 16:42:29 +0800, Julian Elischer wrote: > On 11/16/15 8:55 AM, Mark Heily wrote: >> I've written a clone of the launchd framework found in Mac OS X [1]. >> It's called "relaunchd" and I would like to some help improving it and >> getting it added to the FreeBSD ports tree [2]. > It would appear we have an embarrassment of riches. > Someone correct me if I'm wrong but we have: > * nosh > * actual launchd with jkh's project > * now relaunchd > and of course some people like the flexibility and debugability of > rc.d and are improving these. > > Can someone more connected with these projects please sumarise what's > going on and maybe we can find a set of people with egos flexible enough > that we can maybe figure out the stengths of each of these and maybe > make something truely great? > > >> >> Here's the source code: >> >> https://github.com/mheily/relaunchd >> >> One of the coolest things I've been able to do with it is to use >> socket activation to launch an unmodified version of Apache inside of >> a jail, pass it a socket descriptor bound to port 80 from the primary >> network interface outside of the jail, and have it "just work" and >> start serving web content using the pre-existing socket descriptor. >> This eliminates the need to setup a cumbersome NAT and port forwarding >> mechanism for each jail [3]. >> >> This is a completely separate line of development from the work that >> the NextBSD folks are doing to port the published Apple source code >> for launchd and all of it's dependencies. >> >> I'd be happy to answer questions about relaunchd, and welcome >> contributions from anyone who wants to help make launchd on FreeBSD a >> reality. >> >> Regards, >> >> - Mark >> >> [1] https://en.wikipedia.org/wiki/Launchd >> [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204240 >> [3] Example: http://kbeezie.com/freebsd-jail-single-ip/ >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"