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 E8BDD138970 for ; Sun, 10 Feb 2013 15:53:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DF0B21C0BF; Sun, 10 Feb 2013 15:53:21 +0000 (UTC) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60D6C21C016 for ; Sun, 10 Feb 2013 15:53:19 +0000 (UTC) Received: by mail-gh0-f182.google.com with SMTP id z15so1150362ghb.27 for ; Sun, 10 Feb 2013 07:53:18 -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:x-enigmail-version:content-type :content-transfer-encoding; bh=7zHcWtqKm9hRjyWrlQ9yI42tnsAp68yu9yRSb1aOWCc=; b=wv8ew0VXfxzw122y51UtSsHZbDKS/nfQzmjmHnhNVQWecjPgK2zcK8WH7yzyXRi4I/ FitFDF2FxxwLGbF0O7x8NJDVXMc0z4QGyeSDaoxLNi9bDBljry+hegrdFmpYKOiNwF+y rPAn2vbHKkktE7jybbd7Lssnlem5aD4bRGqig54JxCowk5XOcGQZ5Y8acIJ/SUDw608d mWjqoAAXQUgvnDFuiAc5lxnAh+x421JpFCIHG8WshL5SdBXFAX0hEUnWKg/ioBL8Y5kT PJqDU27U/kGuiMLjH630jIheOWhW0K3eGZ53KWKLyxWEw1vA1/S0Yv0soE/tVHP2lqFu iRFQ== X-Received: by 10.236.144.199 with SMTP id n47mr10050124yhj.23.1360511598528; Sun, 10 Feb 2013 07:53:18 -0800 (PST) Received: from [192.168.2.5] (adsl-74-240-57-140.jan.bellsouth.net. [74.240.57.140]) by mx.google.com with ESMTPS id v43sm63557098yhm.11.2013.02.10.07.53.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Feb 2013 07:53:18 -0800 (PST) Message-ID: <5117C26C.9080200@gmail.com> Date: Sun, 10 Feb 2013 09:53:16 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] What to do with /var/run? References: <51175A29.3090002@binarywings.net> <51179534.4080308@gmail.com> In-Reply-To: <51179534.4080308@gmail.com> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4eca59fb-c583-4b97-a70c-f192bb061734 X-Archives-Hash: 79242dc0763a77d9ce756abf4fb9bd1b Alan McKinnon wrote: > 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. Better to leave the symlink in place and train your > eyes to ignore the elogs (something we humans are extremely good at) I have a question. On my rig, /var/run does not appear to be a link to /run. For giggles: root@fireball / # ls -al /var/run/ total 132 drwxr-xr-x 17 root root 4096 Feb 10 01:46 . drwxr-xr-x 16 root root 4096 Feb 8 09:28 .. drwxr-xr-x 2 avahi avahi 4096 Feb 8 14:18 avahi-daemon -rwx------ 1 root root 0 Feb 8 14:18 blocked -rw-r--r-- 1 root root 5 Feb 10 01:46 chronyd.pid drwxr-xr-x 2 root root 4096 Feb 8 18:07 console drwxr-xr-x 2 root root 4096 Feb 8 18:07 ConsoleKit -rw-r--r-- 1 root root 6 Feb 8 14:18 cron.pid drwxr-xr-x 3 root lp 4096 Feb 9 15:38 cups drwxr-xr-x 2 root root 4096 Feb 8 14:18 dbus -rw-r--r-- 1 root root 6 Feb 8 14:18 dbus.pid drwxr-xr-x 4 root root 4096 Jan 2 01:25 dhcpcd -rw-r--r-- 1 root root 6 Feb 8 14:18 gpm.pid -rw-r--r-- 1 root root 5 Feb 8 14:18 http-replicator.pid -rw-r--r-- 1 root root 6 Feb 8 18:06 kdm.pid drwxr-xr-x 2 mysql mysql 4096 Jan 30 15:26 mysqld drwxr-xr-x 4 root root 4096 Dec 11 2010 pm-utils -rw------- 1 root root 512 Jan 12 2012 random-seed -rw-r--r-- 1 root root 6 Feb 8 14:18 rsyncd.pid drwxrwxr-x 3 root utmp 4096 May 10 2012 screen -rwx------ 1 root root 0 Oct 27 17:41 sessiondb.dir -rwx------ 1 root root 1024 Feb 8 14:18 sessiondb.pag -rw------- 1 root root 6 Feb 8 14:18 smartd.pid -rw-r--r-- 1 root root 6 Feb 8 14:18 sshd.pid srwxr-xr-x 1 root root 0 Feb 8 14:18 syslog-ng.ctl -rw-r--r-- 1 root root 6 Feb 8 14:18 syslog-ng.pid drwxr-xr-x 2 tor tor 4096 Nov 19 02:27 tor drwxr-xr-x 2 root root 4096 Oct 27 17:40 udev-configure-printer drwx------ 2 root root 4096 Oct 3 2011 udisks -rw-r--r-- 1 root root 6 Feb 8 14:18 upsmon.pid drwxr-xr-x 2 uptimed uptimed 4096 Jan 31 06:15 uptimed -rw-rw-r-- 1 root utmp 10368 Feb 8 18:07 utmp drwxr-xr-x 2 root root 4096 Feb 8 18:07 xauth drwxr-xr-x 4 root root 4096 Feb 8 18:06 xdmctl root@fireball / # ls -al /run/ total 4 drwxrwxrwt 7 root root 140 Feb 8 07:49 . drwxr-xr-x 23 root root 4096 Feb 9 15:27 .. drwxr-xr-x 2 root root 80 Dec 6 15:42 blkid drwxr-xr-x 3 root uucp 60 Sep 23 10:17 lock drwxr-xr-x 14 root root 360 Feb 8 14:18 openrc drwxr-xr-x 7 root root 180 Feb 9 17:27 udev drwx------ 2 root root 40 Feb 8 07:49 udisks2 root@fireball / # ls /var/ total 76 drwxr-xr-x 16 root root 4096 Feb 8 09:28 . drwxr-xr-x 23 root root 4096 Feb 9 15:27 .. drwxr-xr-x 2 root root 4096 Feb 8 12:05 account drwxr-xr-x 12 root root 4096 Dec 20 11:38 cache drwxr-xr-x 5 root root 4096 Feb 9 14:25 db drwx------ 3 root root 4096 Feb 8 13:32 empty -rw-r----- 1 root root 0 Apr 12 2012 hp-toolbox.lock drwxr-xr-x 32 root root 4096 Feb 7 23:57 lib drwxrwxr-x 5 root uucp 4096 Feb 10 03:10 lock drwxr-xr-x 14 root root 4096 Feb 10 03:10 log drwx------ 2 root root 16384 Mar 17 2012 lost+found lrwxrwxrwx 1 root root 15 Feb 8 09:28 mail -> /var/spool/mail drwxr-xr-x 17 root root 4096 Feb 10 01:46 run drwxr-xr-x 6 root root 4096 Dec 11 2010 spool drwxr-xr-x 2 root root 4096 Nov 17 2010 state drwxrwxrwt 13 root root 4096 Feb 9 15:23 tmp drwx------ 4 root root 4096 Jun 28 2012 .Trash-0 drwxr-xr-x 3 root root 4096 Dec 11 2010 www root@fireball / # See, the contents of those two are different and the listing for /for shows it is not a symlink. Should I fix this manually or leave it as is? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!