Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489370 - =sys-apps/openrc-0.12.3 - On my vserver hosts, init scripts throw permission related errors.
Summary: =sys-apps/openrc-0.12.3 - On my vserver hosts, init scripts throw permission ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 481182 487332
  Show dependency tree
 
Reported: 2013-10-25 12:55 UTC by Ivan Iraci
Modified: 2013-10-28 22:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Iraci 2013-10-25 12:55:28 UTC
I recently updated openrc in all my vserver hosts and, when I start any of them, I see strange errors.

Here is the boot sequence of one of them:

smaug ~ # vserver virtoo start

   OpenRC 0.12.3 is starting up Gentoo Linux (x86_64) [VSERVER]

 * /proc is already mounted
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
mount: permission denied
umount: /tmp/tmp.2yU4NJUxfF: must be superuser to umount
 * Creating user login records ...                              [ ok ]
 * Cleaning /var/run ...                                        [ ok ]
 * Setting hostname to virtoo ...                               [ ok ]
 * Bringing up network interface lo ...
RTNETLINK answers: Operation not permitted
RTNETLINK answers: Operation not permitted
RTNETLINK answers: Operation not permitted                      [ !! ]
 * ERROR: loopback failed to start
 * Updating /etc/mtab ...                                       [ ok ]
 * setting up tmpfiles.d entries ...                            [ ok ]
 * Initializing random number generator ...                     [ ok ]
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ... [ ok ]
 * Starting syslog-ng ...                                       [ ok ]
 * Starting dcron ...                                           [ ok ]
 * Bringing up network interface lo ...
RTNETLINK answers: Operation not permitted
RTNETLINK answers: Operation not permitted
RTNETLINK answers: Operation not permitted                      [ !! ]
 * ERROR: loopback failed to start
 * Starting sshd ...                                            [ ok ]
 * Starting local ...                                           [ ok ]

Anyway, network is working and I don't know what openrc is trying to mount (failing).

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2013-10-28 22:31:16 UTC
This is fixed by commits 9238d9 and 579838.
It will be included in OpenRC-0.13 and backported to 0.12.4.