From owner-freebsd-hackers@freebsd.org Tue Nov 17 10:54:34 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 44BA5A2FB25 for ; Tue, 17 Nov 2015 10:54:34 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 023AE1A92; Tue, 17 Nov 2015 10:54:34 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by oixx65 with SMTP id x65so2553888oix.0; Tue, 17 Nov 2015 02:54:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=q0PZ4Q8Xvulf1aB6SC4zmXWOds6+aScN/53NKj6W7yg=; b=cccdUk3844393fMQWCQ+d7BvBu3G9GB0svRN+56n1iOXwdBWSAqNmieDWclIUTSmj5 wIffj2jyKHcQVICKacskB2yjL0xromoLOjct0dAdcf2ZHe/8Fxe0PPU9N95mDZFHVew0 hdseHuEiUJwXjqrT/NHfkm0DoeGPpintFURKhMtfaVfWCkyjFcd0er//u1+3545mwiqe keNAWrxSYCFjLtHT/IN6jOLx/UmZuFL6ShSBDHG3K3xjZzdHaaDuNZgwcQNpLmQwcFDk 5gBmItTecI6ZQ2PATDrIycaSAEIxOommd2wemomxVqYCyJ/IxL5PVx81LRghj8p5E8Gl MLqA== X-Received: by 10.202.187.138 with SMTP id l132mr12024228oif.49.1447757673269; Tue, 17 Nov 2015 02:54:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.58.2 with HTTP; Tue, 17 Nov 2015 02:53:53 -0800 (PST) In-Reply-To: <564AE875.9010607@freebsd.org> References: <564AE875.9010607@freebsd.org> From: Outback Dingo Date: Tue, 17 Nov 2015 21:53:53 +1100 Message-ID: Subject: Re: relaunchd: a portable clone of launchd To: Julian Elischer Cc: Mark Heily , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 10:54:34 -0000 On Tue, Nov 17, 2015 at 7:42 PM, 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? > > well... to sum it up.... originially there is launchd_xml which was completed in 2007, which i belive is the first working launchd port, then came along openrc ported and used by the archbsd, know knows as pacbsd guys, which is a side point but still a replacement. nosh appeared and seems to have some development, though also has opinions to continue into 2014, launchd is it current form with mach bits started in the trueos/freenas development plan, somewhere in mid-215 that got spun into NextBSD, then came wind of relaunchd. so there exists currently launchd_xml from 07 openrc nosh launchd/asld/notifyd and mach 2014 releaunchd and I know simply because I was connected to the original launchd_xml, and am connected to the current launchd NextBSD project as are others on the list. Hope this clears it up. > > > >> 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" >