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 3B6E5138968 for ; Sun, 10 Feb 2013 13:14:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE47D21C0F9; Sun, 10 Feb 2013 13:14:32 +0000 (UTC) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2623721C0B5 for ; Sun, 10 Feb 2013 13:14:30 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id j1so5447840oag.21 for ; Sun, 10 Feb 2013 05:14:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=GdyvxXOrhUUWBuF2SJOI/0IZoTQhQD2MdX1kc8cTEu4=; b=lVAo+h1iEnQfHVIG6Hw8ejKMln2+CC8h7QTo66J72yXs1h4orK6YdiKBBuhovOr7+1 Zra0ruaxu311mYxs1tt/WTJB1w9E2oHQKYsHhzUda6mtZBaeU47k0d8X0LOx30I1lKJX V5XcW/mYD0iODbvgl+3t/b7oRUpSYH9LCdhUUKeymjWa+p0JpYjU6KZI5pwqwq1VQb8d 9eDPsKSWTO+IOI02q1dc78QEJ0YAcWF1tzZ8K0f5vVX9A2CC+i7xKPMAQdynlAzviV2Y zyxxRrJ5iDvWMuRW/CmfQYgUSibX5FMCEjup8ujIMPY9gYssaYZkBP0/2NjkSEtfAWZY FiLA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.182.159.98 with SMTP id xb2mr8603116obb.35.1360502070335; Sun, 10 Feb 2013 05:14:30 -0800 (PST) Received: by 10.76.20.243 with HTTP; Sun, 10 Feb 2013 05:14:30 -0800 (PST) In-Reply-To: <51179534.4080308@gmail.com> References: <51175A29.3090002@binarywings.net> <51179534.4080308@gmail.com> Date: Sun, 10 Feb 2013 08:14:30 -0500 Message-ID: Subject: Re: [gentoo-user] What to do with /var/run? From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 9bde5d02-0cf0-4ff6-8edc-3078a24df939 X-Archives-Hash: 52038adb974bc48eecffe5e3cd65f9c0 On Sun, Feb 10, 2013 at 7:40 AM, Alan McKinnon wrote: > On 10/02/2013 13:49, Michael Mol wrote: >> On Feb 10, 2013 3:29 AM, "Florian Philipp" wrote: >>> >>> Am 10.02.2013 06:11, schrieb Grant: >>>> I received the following ELOG message after an emerge: >>>> >>>> * One or more symlinks to directories have been preserved in order to >>>> * ensure that files installed via these symlinks remain accessible. >> This >>>> * indicates that the mentioned symlink(s) may be obsolete remnants of >> an >>>> * old install, and it may be appropriate to replace a given symlink >> with >>>> * the directory that it points to. >>>> * >>>> * /var/run >>>> >>>> Should I change anything? >>>> >>>> - Grant >>>> >>> >>> If my understanding of the situation is correct, we see this message >>> whenever a package is updated that in the old version installed to >>> /var/run and now has migrated to /run. >>> >>> Even if I'm wrong, there is nothing to be done. /var/run is intended to >>> be a symlink to /run. If it is, then all is fine. >>> >>> Regards, >>> Florian Philipp >>> >>> >> >> Except we'll be seeing that elog to the end of time >> >> "lsof -n |grep /var/run" will tell you what, if anything running, is using >> that symlink. >> > > It's probably better to leave the symlink in place for now. What happens > when the user installs a package they have never had before and that > package uses /var/run? > > It will make a directory which isn't what you want. Hm. lsof -n|grep /var/run|cut -d\ -f1|sort -u gives me acpid avahi-dae bluetooth cupsd dbus-daem gdm syslog-ng Of those, at least avahi and cups are emitting /var/run elogs, which tells me they're defaulting to using /var/run instead of /run, if /var/run is present. Obviously, the transition isn't finished yet...software should default to /run rather than /var/run, or the symlink can never be known to be safe to remove on a given system. > Better to leave the > symlink in place and train your eyes to ignore the elogs (something we > humans are extremely good at) Oh god no...Then you end up like some folks who get bit every time something changes (despite being warned about it for a months in advance). :) -- :wq