<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_RESOLVED bz_closed"
title="RESOLVED NOTABUG - systemd-nspawn: Spawning a shell in a container does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90104">bug 90104</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>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - systemd-nspawn: Spawning a shell in a container does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90104#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - systemd-nspawn: Spawning a shell in a container does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90104">bug 90104</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, if you just start a shell, then it's stdin will be connected to /dev/null,
which means it immediately gets an EOF on it. This means the shell will
immediately exit.
It's identical to invoking "/bin/sh < /dev/null" which will exit immediately
too. Or in factthe same as invoking /bin/sh as a service directly by specifying
ExecStart=/bin/sh.
This is expected behaviour, hence.
Also, what's the usecase for this? I mean, if you just invoke a shell there's
little you can do with it anyway...</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>