Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641468 - app-emulation/lxd: Ubuntu guest under OpenRC host
Summary: app-emulation/lxd: Ubuntu guest under OpenRC host
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-17 14:03 UTC by Rajil Saraswat
Modified: 2017-12-19 20:18 UTC (History)
3 users (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 Rajil Saraswat 2017-12-17 14:03:19 UTC
I am trying to run Ubuntu Xenial on a OpenRC gentoo host. The vm starts fine but systemd in the guest doesnt work,

Code:	

$lxc launch images:ubuntu/xenial zmvm
$lxc list
+-----------+---------+----------------------+-----------------------------------------------+------------+-----------+
|   NAME    |  STATE  |         IPV4         |                     IPV6                      |    TYPE    | SNAPSHOTS |
+-----------+---------+----------------------+-----------------------------------------------+------------+-----------+

| zmvm      | RUNNING | 10.188.40.103 (eth0) | fd42:b894:7823:884a:216:3eff:fe25:a786 (eth0) | PERSISTENT | 0         |
+-----------+---------+----------------------+-----------------------------------------------+------------+-----------+

$ lxc exec zmvm /bin/bash
root@zmvm:~# systemctl status
Failed to connect to bus: No such file or directory


I tried running lxcfs on the host but it crashes on startup
Code:	

# /etc/init.d/lxcfs status
 * status: crashed

# lxd --version
2.19

# emerge -pv openrc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/openrc-0.34.11::gentoo  USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs" 0 KiB


Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2017-12-19 20:18:03 UTC
I fear with the provided information it is impossible to locate a bug in the ebuild.

It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product after collecting more details.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/