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

Ɓukasz Stelmach l.stelmach at samsung.com
Tue Jul 8 14:01:24 BST 2014


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)


Actual results:

The host machine is shut down


Expected result:

The container is shut down.

-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140708/1c1600ad/attachment-0001.ksh>
-------------- next part --------------
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (900, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armel

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  acl                  2.2.51-8
ii  adduser              3.113+nmu3
ii  dpkg                 1.16.15
ii  initscripts          2.88dsf-41+deb7u1
ii  libacl1              2.2.51-8
ii  libaudit0            1:1.7.18-1.1
ii  libc6                2.13-38+deb7u1
ii  libcap2              1:2.22-1.2
ii  libcap2-bin          1:2.22-1.2
ii  libcryptsetup4       2:1.4.3-4
ii  libdbus-1-3          1.6.8-1+deb7u3
ii  libgcrypt11          1.5.0-5+deb7u1
ii  libkmod2             9-3
ii  liblzma5             5.1.1alpha+20120614-2
ii  libpam0g             1.1.3-7.1
ii  libselinux1          2.1.9-5
ii  libsystemd-daemon0   204-14~bpo70+1
ii  libsystemd-journal0  204-14~bpo70+1
ii  libsystemd-login0    204-14~bpo70+1
ii  libudev1             204-14~bpo70+1
ii  libwrap0             7.6.q-24
ii  sysv-rc              2.88dsf-41+deb7u1
ii  udev                 204-14~bpo70+1
ii  util-linux           2.20.1-5.3

Versions of packages systemd recommends:
ii  libpam-systemd  204-14~bpo70+1

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information

-- 
?ukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140708/1c1600ad/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list