From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-145197-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id E07D3138970
	for <garchives@archives.gentoo.org>; Sun, 10 Feb 2013 15:57:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3531321C132;
	Sun, 10 Feb 2013 15:56:53 +0000 (UTC)
Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 76C2221C01F
	for <gentoo-user@lists.gentoo.org>; Sun, 10 Feb 2013 15:56:51 +0000 (UTC)
Received: by mail-wg0-f48.google.com with SMTP id 16so4032845wgi.15
        for <gentoo-user@lists.gentoo.org>; Sun, 10 Feb 2013 07:56:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:message-id:date:from:user-agent:mime-version:to:subject
         :references:in-reply-to:content-type:content-transfer-encoding;
        bh=YlfiJeJbmxdzgdyVJiPfTvbCd8d+SFtwBtR+fY5OuNI=;
        b=AlEqjBZoXHwqVtVdNicrEl02mj832Ie9Hn2QMfoKRkP+k/j+GJeQ/G1uHDzk5BVFZ9
         xZnj7ufHeP5iuQfqd916cOLzELKr3X+orIK/9YTFn7uMq35M2PH+cIHTiLcaaRiTBzYZ
         yg8dvhYAUuGKubdl85TTGsZEj1xxe4QuPrcNPIHlr0wIJt08Lc9YHpV9DPWq1gXdi1t1
         vp+cODT7sCN8LE98eMYMnwRZC/aW7Es0P1gKuoEYKhxPihuv5BgxUWxYsMglQoERLZrg
         eeoOBZDMctGhH2xlT1CCqDNSNKnTgssp/Ja4rpPDIl/yKpzUplyd1L7rn1N8xej4Ow4t
         mRaw==
X-Received: by 10.180.106.231 with SMTP id gx7mr11564992wib.4.1360511810164;
        Sun, 10 Feb 2013 07:56:50 -0800 (PST)
Received: from [172.20.0.41] (196-215-209-80.dynamic.isadsl.co.za. [196.215.209.80])
        by mx.google.com with ESMTPS id du2sm841486wib.0.2013.02.10.07.56.47
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 10 Feb 2013 07:56:49 -0800 (PST)
Message-ID: <5117C2FD.7040301@gmail.com>
Date: Sun, 10 Feb 2013 17:55:41 +0200
From: Alan McKinnon <alan.mckinnon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] What to do with /var/run?
References: <CAN0CFw15FF-FaPrUehXdPE_+42s7voKNGj4jz_O1aoCMGHrfvw@mail.gmail.com> <51175A29.3090002@binarywings.net> <CA+czFiDt6UFFadAhc5XUzFkV24i5pNCm03bKMhb1_y=3i0Ni4A@mail.gmail.com> <51179534.4080308@gmail.com> <CA+czFiAKUZaSv1+3bSi=XJpJwg=VqTarM3ZOcm8GdECcPdVEmQ@mail.gmail.com> <21471.1360510152@ccs.covici.com>
In-Reply-To: <21471.1360510152@ccs.covici.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: caf1a25a-9e1e-4d59-befd-19ec73affd48
X-Archives-Hash: a0663802cdcc8cdfe92b73fcbea3e3c2

On 10/02/2013 17:29, covici@ccs.covici.com wrote:
> I had to actually prevent the migration to /run by changing the
> boot.misc script because if I do not do that, a number of subdirectories
> which I had created in /var/run were not in /run and a number of apps
> would not start properly and indeed it is not taking much space, so I am
> not sure why anyone bothered.  The only other option would have been to
> write something to fix the /run, but that was not what I wanted  to do.
> /var/lock had this same problem also.

Why would you do that?

/var/run is broken as the destination folder for what is intended to go
in it, and it has been broken since day 1:

/var/run is only available once /var is available or mounted.
The contents of /var/run are often needed before /var is mounted.
/run is the correct place for this.

Problems with the migration are solved using the mv command

-- 
Alan McKinnon
alan.mckinnon@gmail.com