<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: restarting systemd-nspawn@ container fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87428">87428</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-nspawn: restarting systemd-nspawn@ container fails
</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>major
</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>net147@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Using systemd 218 from [testing] repository on Arch Linux x86_64.
# mkdir /var/lib/container/test
# pacstrap -i -c -d /var/lib/container/test base
# systemctl start systemd-nspawn@test
# systemctl status systemd-nspawn@test
● <a href="mailto:systemd-nspawn@test.service">systemd-nspawn@test.service</a> - Container test
Loaded: loaded (/usr/lib/systemd/system/systemd-nspawn@.service; disabled;
vendor preset: disabled)
Active: active (running) since Thu 2014-12-18 11:58:15 EST; 4s ago
Docs: man:systemd-nspawn(1)
Main PID: 9629 (systemd-nspawn)
Status: "Container running."
CGroup:
/system.slice/system-systemd\x2dnspawn.slice/<a href="mailto:systemd-nspawn@test.service">systemd-nspawn@test.service</a>
├─9629 /usr/bin/systemd-nspawn --quiet --keep-unit --boot
--link-journal=try-guest --directory=/var/lib/container/test
├─9630 /usr/lib/systemd/systemd
└─system.slice
├─dbus.service
│ └─9669 /usr/bin/dbus-daemon --system --address=systemd: --nofork
--nopidfile --systemd-activation
├─systemd-journald.service
│ └─9645 /usr/lib/systemd/systemd-journald
├─systemd-logind.service
│ └─9668 /usr/lib/systemd/systemd-logind
└─console-getty.service
└─9673 /sbin/agetty --noclear --keep-baud console 115200 38400
9600 vt102
Dec 18 11:58:16 arch systemd-nspawn[9629]: Starting Cleanup of Temporary
Directories...
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Started Login Service.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Started Permit User
Sessions.
Dec 18 11:58:16 arch systemd-nspawn[9629]: Starting Console Getty...
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Started Console Getty.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Reached target Login
Prompts.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Reached target Multi-User
System.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Reached target Graphical
Interface.
Dec 18 11:58:16 arch systemd-nspawn[9629]: [ OK ] Started Cleanup of
Temporary
# machinectl reboot test
# systemctl status systemd-nspawn@test
● <a href="mailto:systemd-nspawn@test.service">systemd-nspawn@test.service</a> - Container test
Loaded: loaded (/usr/lib/systemd/system/systemd-nspawn@.service; disabled;
vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd-nspawn(1)
Dec 18 11:59:56 arch systemd-nspawn[9629]: [ OK ] Stopped target Local File
Systems (Pre).
Dec 18 11:59:56 arch systemd-nspawn[9629]: Stopping Remount Root and Kernel
File Systems...
Dec 18 11:59:56 arch systemd-nspawn[9629]: [ OK ] Stopped Remount Root and
Kernel File Systems.
Dec 18 11:59:56 arch systemd-nspawn[9629]: [ OK ] Started Generate
shutdown-ramfs.
Dec 18 11:59:56 arch systemd-nspawn[9629]: [ OK ] Reached target Shutdown.
Dec 18 11:59:56 arch systemd-nspawn[9629]: Sending SIGTERM to remaining
processes...
Dec 18 11:59:56 arch systemd-nspawn[9629]: Sending SIGKILL to remaining
processes...
Dec 18 11:59:56 arch systemd-nspawn[9629]: Rebooting.
Dec 18 11:59:56 arch systemd[1]: Stopping Container test...
Dec 18 11:59:56 arch systemd[1]: Stopped Container test.</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>