<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - nspawn catches kill signal only when using jenkins"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87732">bug 87732</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>NEEDINFO
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - nspawn catches kill signal only when using jenkins"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87732#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - nspawn catches kill signal only when using jenkins"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87732">bug 87732</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>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...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>