Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423739 - sys-apps/openrc-0.10.3 fails to use /run properly in linux-vserver
Summary: sys-apps/openrc-0.10.3 fails to use /run properly in linux-vserver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 417391
  Show dependency tree
 
Reported: 2012-06-27 06:56 UTC by Patrick Lauer
Modified: 2012-07-03 01:31 UTC (History)
0 users

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


Attachments
run-vserver.patch (run-vserver.patch,822 bytes, patch)
2012-06-30 06:35 UTC, William Hubbs
Details | Diff
run-vserver.patch (run-vserver.patch,818 bytes, patch)
2012-06-30 14:33 UTC, William Hubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-06-27 06:56:28 UTC
OpenRC 0.10.3 is starting up Gentoo Linux (x86_64) [VSERVER]

 * /proc is already mounted
 * Mounting /run ...
mount: permission denied
 * Unable to mount tmpfs on /run.
 * Can't continue.
 * Creating user login records ...


mount can't work in a vserver, so /run should just be created if absent and *not* mounted randomly.

It should possibly be cleaned out on startup then as you cannot assume it to be tmpfs.
Comment 1 William Hubbs gentoo-dev 2012-06-30 06:35:44 UTC
Created attachment 316735 [details, diff]
run-vserver.patch

Please test this patch and let me know if this fixes the issue.

Thanks,

William
Comment 2 William Hubbs gentoo-dev 2012-06-30 14:33:18 UTC
Created attachment 316775 [details, diff]
run-vserver.patch

This fixes an issue I found with the first patch; please test with this
version.

Thanks,

William
Comment 3 Patrick Lauer gentoo-dev 2012-07-02 02:29:39 UTC
   OpenRC 0.10.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
 * Creating user login records ...  

LGTM :)
The second patch seems to properly fix this issue.
Comment 4 William Hubbs gentoo-dev 2012-07-03 01:31:14 UTC
This is fixed in commit a5b4fab.

Thanks for the report.