Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vserver: Mounting /run ... mount: permission denied [ !! ]
Date: Mon, 21 May 2012 20:25:09
Message-Id: 4FBAA443.6050002@gmail.com
In Reply to: Re: [gentoo-user] vserver: Mounting /run ... mount: permission denied [ !! ] by "Canek Peláez Valdés"
1 Canek Peláez Valdés wrote:
2 > On Mon, May 21, 2012 at 2:55 PM, Jarry <mr.jarry@×××××.com> wrote:
3 >> On 21-May-12 21:43, Canek Peláez Valdés wrote:
4 >>
5 >>>> OpenRC 0.9.8.4 is starting up Gentoo Linux (x86_64) [VSERVER]
6 >>>> * /proc is already mounted, skipping
7 >>>> * Mounting /run ... mount: permission denied [ !! ]
8 >>>> ...
9 >>>> What does it mean and how can I fix it?
10 >>>
11 >>>
12 >>> Does the directory /run exists?
13 >>
14 >>
15 >> Yes, it exists. But I do not understand where it should be
16 >> mounted. Or what should be mounted in /run ...
17 >
18 > In /run goes a tmpfs, and it gets mounted really early in the boot
19 > process, so programs can write to it without /var being mounted
20 > (/var/run is a bind mount of /run in modern systems).
21 >
22 > # mount | grep /run
23 > tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
24 > tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
25 >
26 > I suppose OpenRC has a problem mounting /run on your system, but I
27 > don't know, I use systemd.
28 >
29 > Regards.
30
31
32 OP. I'm using OpenRC. Maybe this will shed some light:
33
34 root@fireball / # mount | grep /run
35 tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
36 root@fireball / #
37
38 Maybe the permissions are wrong or something. This is the results from
39 ls -al:
40
41 drwxr-xr-x 4 root root 80 May 18 17:39 run
42
43 Hope that helps.
44
45 Dale
46
47 :-) :-)
48
49 --
50 I am only responsible for what I said ... Not for what you understood or
51 how you interpreted my words!
52
53 Miss the compile output? Hint:
54 EMERGE_DEFAULT_OPTS="--quiet-build=n"