From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QMiIA-0002Cf-8R for garchives@archives.gentoo.org; Wed, 18 May 2011 15:04:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E1191C240; Wed, 18 May 2011 15:03:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 90FA51C16F for ; Wed, 18 May 2011 15:02:35 +0000 (UTC) Received: from jonathan-laptop.localnet (pool-173-71-205-68.clppva.fios.verizon.net [173.71.205.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: abcd) by smtp.gentoo.org (Postfix) with ESMTPSA id 0C6E71B400A for ; Wed, 18 May 2011 15:02:35 +0000 (UTC) Content-Type: text/plain; charset="ISO-8859-1" From: Jonathan Callen Date: Wed, 18 May 2011 11:02:15 -0400 User-Agent: KNode/4.7 pre Content-Transfer-Encoding: 7Bit Subject: [gentoo-dev] Re: rfc: use of the /run directory To: gentoo-dev@lists.gentoo.org References: <20110517165748.GA3266@linux1> <1305655899.18096.4.camel@tablet> <20110517192056.GA13002@Vereniki.lan> <20110517194649.GB3741@linux1> <20110518033648.109235ca@epia.jer-c2.orkz.net> <20110518054919.GB2928@zptr-nb18.caf.local> <20110518144544.GA6260@bimsstein> <4DD3DCD9.8050203@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Message-Id: <20110518150235.90FA51C16F@pigeon.gentoo.org> X-Archives-Salt: X-Archives-Hash: 49c1b340057321b3a8cdddcb50c4ff1e Samuli Suominen wrote: > On 05/18/2011 05:45 PM, Henry Gebhardt wrote: >> >> I thought I'd mention, the way systemd handles this is with an extra >> service and configuration files in /etc/tmpfiles.d [1]. I am sure >> OpenRC could use the same tool[2] for that. >> >> [1] http://0pointer.de/public/systemd-man/tmpfiles.d.html >> [2] http://0pointer.de/public/systemd-man/systemd-tmpfiles.html > > Not all packages using /var/run own a init script, nor need one. Take > sys-fs/udisks[1] for example. Then, we need something to create > these dirs in OpenRC (or fix the package, but that might take some > time...) > > [1] http://bugs.gentoo.org/333893 I belive the idea was to have a single service in openrc that would create all the needed files by reading the configuration in /etc/tmpfiles.d/. Then the various packages could just drop a single file in tmpfiles.d, and everything would be created automagically. -- Jonathan Callen