public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] What to do with /var/run?
Date: Sun, 10 Feb 2013 09:53:16 -0600	[thread overview]
Message-ID: <5117C26C.9080200@gmail.com> (raw)
In-Reply-To: <51179534.4080308@gmail.com>

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!



  parent reply	other threads:[~2013-02-10 15:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-10  5:11 [gentoo-user] What to do with /var/run? Grant
2013-02-10  6:47 ` J. Roeleveld
2013-02-10  7:04   ` J. Roeleveld
2013-02-10  8:28 ` Florian Philipp
2013-02-10 11:49   ` Michael Mol
2013-02-10 12:40     ` Alan McKinnon
2013-02-10 13:14       ` Michael Mol
2013-02-10 13:33         ` Alan McKinnon
2013-02-10 13:42         ` Florian Philipp
2013-02-10 17:58           ` Neil Bothwick
2013-02-10 15:29         ` covici
2013-02-10 15:55           ` Alan McKinnon
2013-02-10 16:46             ` covici
2013-02-10 17:03               ` Florian Philipp
2013-02-10 18:01                 ` covici
2013-02-10 18:41                   ` Florian Philipp
2013-02-10 19:14                     ` covici
2013-02-10 20:54                   ` Alan McKinnon
2013-02-10 21:41                     ` covici
2013-02-10 15:53       ` Dale [this message]
2013-02-10 15:56         ` Alan McKinnon
2013-02-10 16:39           ` Dale
2013-02-10 16:56             ` Florian Philipp
2013-02-10 17:39               ` Dale
2013-02-10 17:56               ` Neil Bothwick
2013-02-10 18:00                 ` Florian Philipp
2013-02-10 19:17                 ` Grant
2013-02-10 19:42                   ` Florian Philipp
2013-02-16 20:08                     ` Grant
2013-02-16 23:28                       ` Florian Philipp
2013-02-10 13:14     ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5117C26C.9080200@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox