Bug#754184: systemd: poweroff shuts down systemd-nspawn-ed container

Michael Biebl biebl at debian.org
Tue Jul 8 15:03:21 BST 2014


Am 08.07.2014 15:01, schrieb Ɓukasz Stelmach:
> Package: systemd
> Version: 204-14~bpo70+1
> Severity: normal
> 
> Dear Maintainer,
> 
> I want to run systemd in a container on my desktop. I installed a
> minimal debian system in a directory (debootstrap) and started a
> container in it. Much to my surprise when I wanted to shutdown the
> container with the poweroff command my host went down.
> 
> This might a problem with systemd, however, I dare to start reporting it
> here.
> 
> I use 204-14 in the container (testing) and 204-14~bpo70+1 on my host.
> 
> Steps to reproduce
> 
> 1. debootstrap testing --exclude=sysvinit --include=systemd-sysv,systemd ./debian
> 2. cd debian
> 3. systemd-nspawn -b
> 4. [log in as root]
> 5. poweroff (or systemctl poweroff)

I can not reproduce this but I have to add that my host is running
Debian sid with 204-14. The container was created as per your instructions.

Have you bind-mounted /run or /dev/(shm) into the container?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140708/ef7f76b4/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list