Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using febootstrap-supermin-helper I got my rootfs but when trying to boot it with UML I get these errors:

[    4.340000] systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
[    4.340000] systemd[1]: dbus.service start request repeated too quickly, refusing to start.
[    4.340000] systemd-logind[638]: Failed to get system D-Bus connection: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[    4.340000] systemd-logind[638]: Failed to fully start up daemon: Connection refused

I am wondering which packages are necessary for rootfs and if there is any other way besides febootstrap.

share|improve this question

migrated from stackoverflow.com Apr 21 '13 at 19:02

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Maybe you could try PRoot (http://proot.me) as an alternative to UML. Both are based on ptrace(2), although PRoot does not require any setup to get internet access from the guest system:

host$ proot -R ./fedora-18-x86_64/ bash
guest$ wget http://google.fr
...

where "./fedora-18-x86_64/" is the content of a rootfs downloaded from http://download.openvz.org/template/precreated/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.