<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-nspawn fails to start container when --tmpfs is used"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86309">86309</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-nspawn fails to start container when --tmpfs is used
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>registo.mailling@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>As the summary says, systemd-nspawn fails to star a container when --tmpfs is
used. If omitting only --tmpfs from the command line then the container starts
successfully.
I'm using the following options:
/usr/bin/systemd-nspawn -M centos --link-journal=no --bind=/home/centos:/home
--tmpfs=/tmp:mode=1777 --network-bridge=mybr -D /virt/containers/centos
It fails with:
Spawning container centos on /virt/containers/centos.
Press ^] three times within 1s to kill container.
Container centos failed with error code 1.
OS: Arch Linux
Systemd: 217-6</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>