[systemd-devel] nspawn: No Return key in machinectl login?

Lennart Poettering lennart at poettering.net
Tue May 26 07:11:55 PDT 2015

On Sat, 23.05.15 00:09, Tobias Hunger (tobias.hunger at gmail.com) wrote:

> Hello,
> I am having a problem with one of my containers set up with
> systemd-nspawn. For some reason the return key will not work most of
> the time (19 out of 20 attemps) after doing machinectl login into that
> machine.
> This effects not all programs: bash works, fish-shell does not. Sudo
> password entry does not work either. Git is broken (but hardly ever
> requires user input, so that is not that tragic;-), vi works fine.
> I only have this one one container image, even though it is built
> based on an image that is also used by container images that work
> fine. So I think the image should have all the important bits and
> pieces in place.
> I am kind of lost that close to the termcap:-) Does somebody have any
> ideas on how I can debug this?

What does "stty -a" say?

Consider comparing stty on the pty master (host side) as well as the
pty itself (container size) in the cases where this works, and where
it does not.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list