Your message dated Sun, 17 Jul 2016 03:40:55 +0200
with message-id <[email protected]>
and subject line Re: Bug#768827: systemd: issues with systemd in a lxc container
has caused the Debian Bug report #768827,
regarding issues with systemd in a lxc container
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
768827: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768827
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: 215-5+b1
Severity: important

In my host, I have systemd-shim installed. systemd is not the init used
to boot, but rather is installed because of the dependencies. The
default init is openrc.


When booting LXC Containers, with systemd as the init (i.e. systemd-sysv
installed), I get lots of failures in my LXC container, for obvious
reasons. Not all that is being activated is installed by debootstrap.
Please see attached log file for details.


The annoying side effect it has been creating is to make my touchpad
lose its tapping abilities, for which I need to go back into the KDE
settings and enable them back.


If I switch the init sysvinit-core in the LXC container, then the
problem goes away. Therefore I've come to the conclusion that the bug
lies with systemd.


Steps to Reproduce

1) Host has non-systemd init (I'm not sure if that is required, just
that that's what my setup is currently)
2) Create an LXC container from sid template
2.1) The newly created container should have systemd as the default init
3) Boot into the container


-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages systemd depends on:
ii  acl               2.2.52-2
ii  adduser           3.113+nmu3
ii  initscripts       2.88dsf-57
ii  libacl1           2.2.52-2
ii  libaudit1         1:2.4-1
ii  libblkid1         2.25.2-2
ii  libc6             2.19-12
ii  libcap2           1:2.24-6
ii  libcap2-bin       1:2.24-6
ii  libcryptsetup4    2:1.6.6-3
ii  libgcrypt20       1.6.2-4
ii  libkmod2          18-3
ii  liblzma5          5.1.1alpha+20120614-2+b1
ii  libpam0g          1.1.8-3.1
ii  libselinux1       2.3-2
ii  libsystemd0       215-5+b1
ii  openrc [sysv-rc]  0.13.1-4
ii  udev              215-5+b1
ii  util-linux        2.25.2-2

Versions of packages systemd recommends:
ii  dbus            1.8.8-2
ii  libpam-systemd  215-5+b1

Versions of packages systemd suggests:
ii  systemd-ui  3-2

-- no debconf information
[OVERRIDDEN] /etc/tmpfiles.d/tmp.conf -> /usr/lib/tmpfiles.d/tmp.conf

--- /usr/lib/tmpfiles.d/tmp.conf	2014-09-29 01:02:35.000000000 +0530
+++ /etc/tmpfiles.d/tmp.conf	2014-10-05 14:24:17.071960585 +0530
@@ -1,18 +1,11 @@
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU Lesser General Public License as published by
-#  the Free Software Foundation; either version 2.1 of the License, or
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
 #  (at your option) any later version.
 
 # See tmpfiles.d(5) for details
 
 # Clear tmp directories separately, to make them easier to override
-D /tmp 1777 root root -
-#d /var/tmp 1777 root root 30d
-
-# Exclude namespace mountpoints created with PrivateTmp=yes
-x /tmp/systemd-private-%b-*
-X /tmp/systemd-private-%b-*/tmp
-x /var/tmp/systemd-private-%b-*
-X /var/tmp/systemd-private-%b-*/tmp
+#d /var/tmp 1777 root root 21d


1 overridden configuration files found.
==> 
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/acpid.socket 
<==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/virtlockd.socket
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/uuidd.socket 
<==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/dm-event.socket
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/lvm2-lvmetad.socket
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sockets.target.wants/cups.socket <==

==> /var/lib/systemd/deb-systemd-helper-enabled/libvirtd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/libvirtd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/atd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/atd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/virtlockd.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/virtlockd.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/acpid.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/acpid.service

==> /var/lib/systemd/deb-systemd-helper-enabled/acpid.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/acpid.socket

==> 
/var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation-early.service.dsh-also
 <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation-early.service

==> /var/lib/systemd/deb-systemd-helper-enabled/paths.target.wants/cups.path <==

==> /var/lib/systemd/deb-systemd-helper-enabled/dm-event.service.dsh-also <==
/etc/systemd/system/sysinit.target.wants/dm-event.service

==> /var/lib/systemd/deb-systemd-helper-enabled/virtlockd.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/virtlockd.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/fstrim.timer.dsh-also <==
/etc/systemd/system/multi-user.target.wants/fstrim.timer

==> /var/lib/systemd/deb-systemd-helper-enabled/dbus-org.bluez.service <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cups-browsed.service.dsh-also 
<==
/etc/systemd/system/multi-user.target.wants/cups-browsed.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/lvm2-lvmetad.socket
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/lvm2-monitor.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/resolvconf.service
 <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cgmanager.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cgmanager.service

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cron.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/dnsmasq.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/libvirt-guests.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/inetd.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/cups-browsed.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/binfmt-support.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/rsyslog.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/libvirtd.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/lxc.service 
<==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/atd.service 
<==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/fstrim.timer
 <==

==> /var/lib/systemd/deb-systemd-helper-enabled/syslog.service <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/lvm2-activation.service.dsh-also <==
/etc/systemd/system/local-fs.target.wants/lvm2-activation.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cgproxy.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cgproxy.service

==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-monitor.service.dsh-also 
<==
/etc/systemd/system/sysinit.target.wants/lvm2-monitor.service

==> /var/lib/systemd/deb-systemd-helper-enabled/dnsmasq.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/dnsmasq.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cron.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/cron.service

==> /var/lib/systemd/deb-systemd-helper-enabled/lxc.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/lxc.service

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.path.dsh-also <==
/etc/systemd/system/paths.target.wants/cups.path

==> /var/lib/systemd/deb-systemd-helper-enabled/libvirt-guests.service.dsh-also 
<==
/etc/systemd/system/multi-user.target.wants/libvirt-guests.service

==> /var/lib/systemd/deb-systemd-helper-enabled/dm-event.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/dm-event.socket

==> 
/var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation.service
 <==

==> 
/var/lib/systemd/deb-systemd-helper-enabled/local-fs.target.wants/lvm2-activation-early.service
 <==

==> /var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/cups.socket
/etc/systemd/system/paths.target.wants/cups.path
/etc/systemd/system/printer.target.wants/cups.service

==> /var/lib/systemd/deb-systemd-helper-enabled/rsyslog.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/syslog.service

==> 
/var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service 
<==

==> /var/lib/systemd/deb-systemd-helper-enabled/inetd.service.dsh-also <==
/etc/systemd/system/multi-user.target.wants/inetd.service

==> /var/lib/systemd/deb-systemd-helper-enabled/uuidd.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/uuidd.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/binfmt-support.service.dsh-also 
<==
/etc/systemd/system/multi-user.target.wants/binfmt-support.service

==> /var/lib/systemd/deb-systemd-helper-enabled/uuidd.service.dsh-also <==
/etc/systemd/system/sockets.target.wants/uuidd.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/lvm2-lvmetad.socket.dsh-also <==
/etc/systemd/system/sockets.target.wants/lvm2-lvmetad.socket
/etc/systemd/system/sysinit.target.wants/lvm2-lvmetad.socket

==> /var/lib/systemd/deb-systemd-helper-enabled/resolvconf.service.dsh-also <==
/etc/systemd/system/sysinit.target.wants/resolvconf.service

==> 
/var/lib/systemd/deb-systemd-helper-enabled/bluetooth.target.wants/bluetooth.service
 <==

==> /var/lib/systemd/deb-systemd-helper-enabled/bluetooth.service.dsh-also <==
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/dbus-org.bluez.service
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/LocalCrypt-ROOT /               ext4    
data=writeback,errors=remount-ro 0       1
# /boot was on /dev/sda6 during installation
UUID=33176b2c-e136-4c68-8a42-b11dfa8e052a /boot           ext4    defaults      
  0       2
# /boot/efi was on /dev/sda2 during installation
UUID=5C4B-9790  /boot/efi       vfat    defaults        0       1
/dev/mapper/LocalCrypt-SWAP none            swap    sw              0       0

# for LXC cgroups
cgroup  /sys/fs/cgroup  cgroup  defaults        0       0

--- End Message ---
--- Begin Message ---
On Thu, 11 Dec 2014 22:26:29 -0800 Cameron Norman
<[email protected]> wrote:
> Hello Michael,
> 
> On Sun, 09 Nov 2014 16:22:36 +0100 Michael Biebl <[email protected]> 
> wrote:
>  > Control: retitle -1 issues with systemd in a lxc container
>  >
>  > Am 09.11.2014 um 16:11 schrieb Ritesh Raj Sarraf:
>  > > If I switch the init sysvinit-core in the LXC container, then the
>  > > problem goes away. Therefore I've come to the conclusion that the 
> bug
>  > > lies with systemd.
>  >
>  > I don't think the lxc maintainers currently support systemd in a
>  > container [1].
>  > Afair, this is something which needs to be addressed in lxc, though, 
> and
>  > not not systemd. That said, if there is something we can do in the
>  > systemd package, to make it work (better) in lxc, please let us know.
> 
> There are a few things. Linking sigpwr.target to halt.target would make 
> lxc-stop work *cleanly* OOTB.

Nowadays sigpwr.target pulls in
/lib/systemd/system/sigpwr.target.wants/sigpwr-container-shutdown.service.
So that issue should be fixed.


The remaining issue with gettys I could find is tracked at [1]. I'm
therefor closing this bug report.
If there are issues remaining, please file new bug reports, specific for
each issue.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824779
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to