Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436270

Summary: openrc-0.9.8.4: urandom irrelevant in LXC container
Product: Gentoo Hosted Projects Reporter: Walter <walter>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 417391    

Description Walter 2012-09-26 01:29:32 UTC
AFAIK urandom is provided by the host kernel to all guests and does not need to be initialized/have seed state stored by a given guest.  Therefore it makes sense to remove urandom from the 'boot' runlevel when running in LXC.

Reproducible: Always

Steps to Reproduce:
1. Start in an LXC container
Actual Results:  
urandom seed stuff happens

Expected Results:  
urandom is skipped
Comment 1 William Hubbs gentoo-dev 2012-09-26 17:03:20 UTC
We don't actually remove it from the boot runlevel, but we add a keyword
to the script so it will not run in an lxc environment.

This has been done in commit 7d8dca7 and will be released with
OpenRC-0.11.