From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A108413800E for ; Sat, 11 Aug 2012 03:08:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30F5FE068F for ; Sat, 11 Aug 2012 03:08:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1EC4DE0512 for ; Sat, 11 Aug 2012 00:31:42 +0000 (UTC) Received: from muon (ernie02-dmz.awa.tohoku.ac.jp [130.34.99.37]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: heroxbd) by smtp.gentoo.org (Postfix) with ESMTPSA id 116681B4019 for ; Sat, 11 Aug 2012 00:31:40 +0000 (UTC) From: heroxbd@gmail.com To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] report 8.10: improving OpenRC References: <86wr1tcz8f.fsf@gmail.com> <86d333cngt.fsf@gmail.com> <5020DD0A.3030506@gentoo.org> <86ipct6k80.fsf_-_@gmail.com> <50235319.5000504@gentoo.org> <867gt75uab.fsf_-_@gmail.com> <5024CB9F.4060906@gentoo.org> Date: Sat, 11 Aug 2012 09:31:37 +0900 In-Reply-To: <5024CB9F.4060906@gentoo.org> (Luca Barbato's message of "Fri, 10 Aug 2012 10:51:43 +0200") Message-ID: <86y5lml15i.fsf_-_@gentoo.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: 79c93333-36f5-44b8-b170-7b05bc2b6223 X-Archives-Hash: a4c8cbe2629a195d7aae47ab9897d60c Luca Barbato writes: >> DONE, just foregrounded dropbear, and others is straightforward. >> >> the repo is at http://git.heroxbd.z.tuna.tsinghua.edu.cn/openrc.git >> branch runit. Got feedback from bonsaikitten and ccxCZ on #openrc. > > looks interesting, in the long run might be nice to figure out how hard > would be have startstopdaemon learn runit tricks. Hmm, I don't think start-stop-daemon will. Because runit forks services foreground while start-stop-daemon start backgrounded ones. some reference: http://mywiki.wooledge.org/ProcessManagement > Later we should fix the hardwired paths probably. What kind of hardwired paths? /var/run/runit/xxx ? >> supervising can really be done under runit, in a smooth way. >> >> (I'll use this openrc + runit on my home NAS to monitor ssh, mysql, nginx >> and squid.) > > That's good to heard =) :) >>> I hope that will make more people happy, we definitely want more audience >> >> started, slower than I thought. hopefully today first draft can come out. > > Great! a debian ITP bug here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684396 waiting for rleigh to review my package. Today's plan, 1. EPREFIX export from runscript.sh 2. test the EPREFIX and update http://wiki.gentoo.org/wiki/OpenRC/Prefix run runit supervised services on my NAS 3. write a similar helper as lsb.pl for OpenRC to let it understand systemd unit. -- XU Benda Research Center for Neutrino Science Tohoku University JAPAN http://www.awa.tohoku.ac.jp/~benda