From owner-freebsd-hackers@freebsd.org Tue Nov 17 03:33:05 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 B7413A31CB0 for ; Tue, 17 Nov 2015 03:33:05 +0000 (UTC) (envelope-from benno@jeamland.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 849441C66 for ; Tue, 17 Nov 2015 03:33:05 +0000 (UTC) (envelope-from benno@jeamland.net) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 27CFE20282 for ; Mon, 16 Nov 2015 22:32:58 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 16 Nov 2015 22:32:58 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=jeamland.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=x8XjqoGoDCbBPqed5ccRncILj9U=; b=uWks6F ZpqPd2vMTqMgMKTM0f+S2YIqQgqx8lzXJeGcdSvM6ZF9XfKNaSBzY8gjtYSiokRA bFphFMsw8Roix6PSxdNaGNVYyzssvNCSeo8+DBwYhtlEjltWVjPWUyddBQDZlw/k A3q5hqFkLQP91EsO9NbsU/aaHn/E8aesZvOjk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=x8XjqoGoDCbBPqe d5ccRncILj9U=; b=HBrghNMd6uUIuLBjSriyS5GqITrji9wmljvybjIgi9tbT02 Mo2tRSO/O24rap7vzPVt7cFY+a3a+BN3xs4+uiwNRzMbj4WTcAzBttmzoTM1YMp3 zC8gOoH137D32r0CSE2zcTD3QHS7R64xQd2trWjL2XXWbUCrvKF/AIhhj0x4= X-Sasl-enc: moqtjO0Y/6Pp9/rh2iLA8uC5bnIDqJyMvi7IYgigqqob 1447731177 Received: from [50.95.84.177] (unknown [50.95.84.177]) by mail.messagingengine.com (Postfix) with ESMTPA id AFE37C018F9; Mon, 16 Nov 2015 22:32:57 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: relaunchd: a portable clone of launchd From: Benno Rice In-Reply-To: Date: Mon, 16 Nov 2015 21:32:56 -0600 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mark Heily 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 03:33:05 -0000 Hi Mark! Are you also looking at constructing equivalents to things like notifyd, = configd and asld? What are you using as your comms/RPC framework, if = anything? Thanks, Benno. > 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"