Bug#792882: /bin/machinectl: Re: /bin/machinectl: machinectl fails to login to container

Ritesh Raj Sarraf rrs at debian.org
Thu Sep 3 19:24:21 BST 2015


Package: systemd-container
Version: 225-1
Followup-For: Bug #792882


Hello Michael / Martin,

I'm following up on this bug report with the new issue, after the new
systemd package, which includes the new systemd-container package.


So, the initial problem in this bug report was about dependency on
dbus/systemd inside the container. That dependency satisfied, there
was/is another problem with PAM, for which there is no resolution yet.

Time being, the workaround it to add the TTY device name in securetty.


Now the new problem is that even though I satisfy all the workaround, it
still does not allow a login to the containers. I've tried it with
opensuse 13.1, Fedora 22 and Debian Sid.

As shown below, there's nothing interesting on the console log, that I
could provide.


Can you provide some help here?
Do you see this as a bug to be filed upstream?


chutzpah:/var/lib/machines/fedora# vi etc/securetty 
chutzpah:/var/lib/machines/fedora# cd
chutzpah:~# machinectl start fedora 
chutzpah:~# machinectl login fedora 
Connected to machine fedora. Press ^] three times within 1s to exit session.

^]^]
Connection to machine fedora terminated.
chutzpah:~# machinectl start deb-template
chutzpah:~# machinectl login deb-template
Connected to machine deb-template. Press ^] three times within 1s to exit session.


^]^]^]
Connection to machine deb-template terminated.

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

Kernel: Linux 4.1.6+ (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd-container depends on:
ii  libblkid1        2.26.2-9
ii  libbz2-1.0       1.0.6-8
ii  libc6            2.19-19
ii  libcap2          1:2.24-11
ii  libcurl3-gnutls  7.44.0-1
ii  libgcrypt20      1.6.3-2
ii  liblzma5         5.1.1alpha+20120614-2.1
ii  libseccomp2      2.2.3-1
ii  libselinux1      2.3-2+b1
ii  systemd          225-1
ii  zlib1g           1:1.2.8.dfsg-2+b1

systemd-container recommends no packages.

systemd-container suggests no packages.

-- debconf-show failed



More information about the Pkg-systemd-maintainers mailing list