[systemd-bugs] [Bug 87732] nspawn catches kill signal only when using jenkins

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 4 13:08:27 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=87732

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from Lennart Poettering <lennart at poettering.net> ---
Hmm, what is stdin/stdout/stderr connected to when this happens?

Currently, this needs to be a tty, since nspawn provides it as a tty
internally, too.

If you invoke nspawn with pipes on stdin/stdout/stderr (like for example, in a
pipeline), then nspawn will take the container down immediately when it sees
EOF, because there's simply no way how to pass the EOF on without hanging up
the tty entirely.

We could probably figure out a way to teach nspawn not to set up a /dev/console
if one of stdin/stdout/stderr is not a tty, and in that case pass a pipe
through. But that's actually more complex than it sounds, and probably also
requires some changes in systemd itself, if it shall be bootable without
/dev/console existing...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150204/0983dc68/attachment.html>


More information about the systemd-bugs mailing list