From owner-freebsd-hackers@freebsd.org Tue Nov 17 04:13:35 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 A6A66A311DA for ; Tue, 17 Nov 2015 04:13:35 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (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 6B4611A7B for ; Tue, 17 Nov 2015 04:13:35 +0000 (UTC) (envelope-from jim@netgate.com) Received: by oiww189 with SMTP id w189so95413915oiw.3 for ; Mon, 16 Nov 2015 20:13:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=iFEbBzFQh6kT9OMpfS1CGr2Ou/91XdbacDlvKJrBD9Y=; b=DaWIAPRH42a7rq8yYwdV7agOCQQyl1K6VBf6C/KZXyEQlPXHmW/7tY+f7/Dnu33LkQ MucLjQmT05atJ8QUAi+yJYT3C1m+p2oUJMch/cZQWCffFgi6uwdVle8kNdAUoZZlNVxF kRXVlA2dml1oBoUwemReTaze/XP8fxO1rOqN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=iFEbBzFQh6kT9OMpfS1CGr2Ou/91XdbacDlvKJrBD9Y=; b=lUX4YA1ft3TPqfcAgg0n67mQAA7SPUUMDK8Th7n9soF+9xAcs+xMCu9rdnFCBUf00m jE/17/r63dGJByt8wFe84Bu8fh99oO+de1+MsxujDISH3lEKw/Sdhca8/tXkb4ThDOwN xguUWy5d8dvRwOFf5u4gtjG+fB8tKsOd15zt+7XaKsshU0rTWphqm5Unr4EPw4MHLPc4 kfnUO+87OdUt+1uxAKiOiaZ6HF5EnwHY2iFdo4G6QohsW/97rTTLeAUifI3vOmrxTeNB wUV1hCZEtb6/mVo2muFOdX6VnvrXhHLd38zSxUmHEfbV+88GSFNQiJm8VvYUlIV9Bc3T NIHw== X-Gm-Message-State: ALoCoQlMZ9d6vRUtZPKN2nJp5w8nryV4Q4e8fJaT84B9iCpzWWs1Au/p1nmKuHkAoF1bu+hxjFxb X-Received: by 10.202.63.130 with SMTP id m124mr15108706oia.80.1447733614517; Mon, 16 Nov 2015 20:13:34 -0800 (PST) Received: from ?IPv6:2610:160:11:33:8d95:3271:ac78:130e? ([2610:160:11:33:8d95:3271:ac78:130e]) by smtp.gmail.com with ESMTPSA id s203sm13451433ois.29.2015.11.16.20.13.31 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Nov 2015 20:13:32 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: relaunchd: a portable clone of launchd From: Jim Thompson In-Reply-To: Date: Mon, 16 Nov 2015 22:13:30 -0600 Cc: Mark Heily , freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3219A8F9-84F0-4A5B-8D22-755FD741032D@netgate.com> References: To: Benno Rice X-Mailer: Apple Mail (2.3096.5) 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 04:13:35 -0000 > On Nov 16, 2015, at 9:32 PM, Benno Rice wrote: >=20 > Hi Mark! >=20 > Are you also looking at constructing equivalents to things like = notified, heh: https://github.com/mheily/stated =20 Mass rename of "notify" to =E2=80=9Cstate=E2=80=9D (22 days ago) = https://github.com/mheily/stated/commit/7d1abc85180312421505bd6cda93f82672= baacb9 > configd and asld? What are you using as your comms/RPC framework, if = anything? >=20 > Thanks, > Benno. >=20 >> On Nov 15, 2015, at 18:55, Mark Heily wrote: >>=20 >> 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]. >>=20 >> Here's the source code: >>=20 >> https://github.com/mheily/relaunchd >>=20 >> 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]. >>=20 >> 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. >>=20 >> I'd be happy to answer questions about relaunchd, and welcome >> contributions from anyone who wants to help make launchd on FreeBSD a >> reality. >>=20 >> Regards, >>=20 >> - Mark >>=20 >> [1] https://en.wikipedia.org/wiki/Launchd >> [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204240 >> [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" >=20 > _______________________________________________ > 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"