Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436270 - openrc-0.9.8.4: urandom irrelevant in LXC container
Summary: openrc-0.9.8.4: urandom irrelevant in LXC container
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-09-26 01:29 UTC by Walter
Modified: 2012-09-26 17:03 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 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.