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 1QOPLI-0003MB-Bl for garchives@archives.gentoo.org; Mon, 23 May 2011 07:14:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 401A21C09D; Mon, 23 May 2011 07:14:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8CB6B1C09E for ; Mon, 23 May 2011 07:13:18 +0000 (UTC) Received: from pomiocik.lan (77-255-24-193.adsl.inetia.pl [77.255.24.193]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 3232B1B4022; Mon, 23 May 2011 07:13:16 +0000 (UTC) Date: Mon, 23 May 2011 09:13:22 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: nirbheek@gentoo.org Subject: Re: [gentoo-dev] rfc: use of the /run directory Message-ID: <20110523091322.6eddfae2@pomiocik.lan> In-Reply-To: References: <20110517165748.GA3266@linux1> <20110517235032.55a29d8f@googlemail.com> <20110518001238.GB4274@linux1> <20110523073037.43efad50@googlemail.com> Organization: Gentoo X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.3; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/O/=nfs2zXLAK=fwikPhbxA8"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: 3350357d8dae5459dca32c6f805a481c --Sig_/O/=nfs2zXLAK=fwikPhbxA8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 23 May 2011 12:35:12 +0530 Nirbheek Chauhan wrote: > As I understand it, that's precisely what William's plan is. >=20 > $ ls -ld /var/{lock/run} > /var/lock -> /run/lock > /var/run -> /run/ >=20 > This should work transparently for all existing applications. >=20 > The only way this would fail is if they do an incorrect stat() on > /var/run and error out if it's a symbolic link. OTOH, it's precisely > to iron out such kinks that we have ~arch. What if a daemon tries to do braindead compat attempt through creating a pidfile in both directories? --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/O/=nfs2zXLAK=fwikPhbxA8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iJwEAQEIAAYFAk3aCRUACgkQfXuS5UK5QB37fAQAkAvGmJrs7jYcD5CErlpJdkcD uTxdDWoSVjxXChUOEFkGTiVVXY783/0sM8CSXoPhMhC1IjF5TClqOiNbJfqReGMJ qpi0pWtgbtiG+CD5doFMBAnR3EFbnZckLtuw8oabd57Ba3Q+4q7G1xdE6kEXNmoR EJedJq3KxUh7Zq2NvwI= =FKxe -----END PGP SIGNATURE----- --Sig_/O/=nfs2zXLAK=fwikPhbxA8--