Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382239 - sys-apps/openrc erroneously runs /etc/init.d/lxc when using rc_sys=""
Summary: sys-apps/openrc erroneously runs /etc/init.d/lxc when using rc_sys=""
Status: RESOLVED DUPLICATE of bug 382519
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:
 
Reported: 2011-09-08 07:42 UTC by Adrian Bassett
Modified: 2011-09-14 19:24 UTC (History)
1 user (show)

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 Adrian Bassett 2011-09-08 07:42:29 UTC
Afeter upgrading openrc to 0.9.2 I get messages at boot time which come from /etc/init.d/lxc:

     Unable to find a suitable configuration file.
     If you set up the contianer in a non-standard
     location, please set the CONFIGFILE variable.

app-emulation/lxc is installed but neither configured nor present in any run level.

I assume the problem is that in /etc/rc.conf the line 

     rc_sys=""

is not parsed correctly to mean 'nothing special' and control passes to the next entry in the list which is lxc with the described result.




Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-09-11 20:47:58 UTC
if rc.conf has rc_sys="", then there is no guess work at all for the value.  if you don't set rc_sys in /etc/rc.conf, then a value is guessed for it.

however, none of the guessing logic supports lxc.  so there's no way it should automatically set rc_sys="lxc" atm.

please post `emerge --info` in all of your bug reports.  further, post the full build log of openrc (as an attachment), as well as `rc-status --all` (as an attachment).
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2011-09-11 20:58:01 UTC
I can confirm that. I tested it in my openrc-vm a few hours ago.
Just set rc_sys="" and It'll try to use lxc. It should default to the normal/common/linux? behaviour.
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2011-09-14 19:24:00 UTC

*** This bug has been marked as a duplicate of bug 382519 ***