Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454338 - openrc-0.11.8: Needless clean of tmpfs /run + /tmp (on LXC)
Summary: openrc-0.11.8: Needless clean of tmpfs /run + /tmp (on LXC)
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: 439098
  Show dependency tree
 
Reported: 2013-01-27 21:31 UTC by Walter
Modified: 2013-02-16 08:14 UTC (History)
0 users

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 Walter 2013-01-27 21:31:07 UTC
Under LXC one might typically mount /run and /tmp as tmpfs from the host environment.

OpenRC should probably avoid the two processes in bootmisc titled "Cleaning /var/run..." and "Wiping /tmp directory..." if they are tmpfs-mounted.

Reproducible: Always

Steps to Reproduce:
1. Boot within LXC with /run and /tmp tmpfs-mounted

Actual Results:  
Needless processes execute.

Expected Results:  
No such processes execute.

If you take the view that it's safer to just wipe these things and the processes  should run anyway, in the case that either location is already empty then at least OpenRC could then avoid executing these processes.
Comment 1 William Hubbs gentoo-dev 2013-02-16 08:14:04 UTC
A fix for this has been implemented in commit 1831e43 and will be in
openrc-0.12.