|Summary:||openrc-0.11.8: Needless clean of tmpfs /run + /tmp (on LXC)|
|Product:||Gentoo Hosted Projects||Reporter:||Walter <walter>|
|Component:||OpenRC||Assignee:||OpenRC Team <openrc>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
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 2013-02-16 08:14:04 UTC
A fix for this has been implemented in commit 1831e43 and will be in openrc-0.12.