Package: systemd Version: 215-12 Severity: normal Tags: patch Dear Maintainer,
When launching a container using systemd-nspawn, getty restarts every 10 seconds[1] after first login and when nobody is logged in. The following patch fixes the problem. It has been integrated upstream[2]. [1] http://lists.freedesktop.org/archives/systemd-devel/2014-December/026075.html [2] http://cgit.freedesktop.org/systemd/systemd/commit/?id=68ac53e62fadb87f1b33ccd9bff9c3f7f699c937 Thanks, Alex diff -Nru systemd-215.old/units/container-ge...@.service.m4.in systemd-215/units/container-ge...@.service.m4.in --- systemd-215.old/units/container-ge...@.service.m4.in 2013-12-18 18:21:28.159729831 +0100 +++ systemd-215/units/container-ge...@.service.m4.in 2015-03-18 09:20:45.017971507 +0100 @@ -14,6 +14,7 @@ )m4_dnl Before=getty.target IgnoreOnIsolate=yes +ConditionPathExists=/dev/pts/%I [Service] ExecStart=-/sbin/agetty --noclear --keep-baud pts/%I 115200,38400,9600 $TERM -- Package-specific info: -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages systemd depends on: ii acl 2.2.52-2 ii adduser 3.113+nmu3 ii initscripts 2.88dsf-58 ii libacl1 2.2.52-2 ii libaudit1 1:2.4-1+b1 ii libblkid1 2.25.2-5 ii libc6 2.19-15 ii libcap2 1:2.24-7 ii libcap2-bin 1:2.24-7 ii libcryptsetup4 2:1.6.6-5 ii libgcrypt20 1.6.2-4+b1 ii libkmod2 18-3 ii liblzma5 5.1.1alpha+20120614-2+b3 ii libpam0g 1.1.8-3.1 ii libselinux1 2.3-2 ii libsystemd0 215-12 ii mount 2.25.2-5 ii sysv-rc 2.88dsf-58 ii udev 215-12 ii util-linux 2.25.2-5 Versions of packages systemd recommends: ii dbus 1.8.16-1 ii libpam-systemd 215-12 Versions of packages systemd suggests: pn systemd-ui <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org