[systemd-devel] systemd-nspawn and Debian

Jake Edge jake at lwn.net
Fri Feb 8 08:54:51 PST 2013


so, i'm trying to follow along with systemd for admins part 6 and
hitting the following problem on Fedora 18 (audit=0, fwiw):

# debootstrap --arch=amd64 unstable debian/
...
(needed to put /sbin in my path in order for debootstrap to work, btw)

# systemd-nspawn -D debian/ /sbin/init
Spawning namespace container on /srv/debian (console is /dev/pts/18).
INIT: version 2.88 booting
INIT: No inittab file found

Enter runlevel: 3
INIT: Entering runlevel: 3
INIT: no more processes left in this runlevel

(I typed in '3' for the runlevel)

and

[root at chukar srv]# systemd-nspawn -D debian/ /sbin/init 3
Spawning namespace container on /srv/debian (console is /dev/pts/18).
INIT: version 2.88 booting
INIT: No inittab file found
INIT: Entering runlevel: 3
INIT: no more processes left in this runlevel

same behavior ... i can, of course, get a shell in the nspawn with:

systemd-nspawn -D debian/ 

but can't boot it ... init 1 and 2 are the same ... maybe this is some
problem with debootstrap?  or the current state of Debian unstable?  or
do i need to use systemd in the Debian for this to work?  i thought
not ...

thanks,

jake

-- 
Jake Edge - LWN - jake at lwn.net - http://lwn.net


More information about the systemd-devel mailing list