<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><span><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">Hi All,</div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">I am using systemd 237. I am trying to start two containers using systemd-nspawn with same root directory. First one starts but the second one throws the Error "Directory Tree /a/b/c/ is currently busy."</div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">In version 239 man pages, it's mentioned implicitly, that it can be used so.</div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><span style="background-color: rgb(253, 239, 43);"><br></span></div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><span style="background-color: rgb(253, 239, 43);">v239 man page</span></div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><span style="background-color: rgb(253, 239, 43);"><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;">Note that running two </span><span class="ydpede5b02ecommand" style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;"><strong>systemd-nspawn</strong></span><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;"> containers from the same directory tree will not make processes in them see each other. The PID namespace separation of the two containers is complete and the containers will share very few runtime objects except for the underlying file system. Use</span><a href="https://www.freedesktop.org/software/systemd/man/machinectl.html#" style="font-family: "Times New Roman"; font-size: medium;" rel="nofollow" target="_blank"><span class="ydpede5b02eciterefentry"><span class="ydpede5b02erefentrytitle">machinectl</span>(1)</span></a><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;">'s </span><span class="ydpede5b02ecommand" style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;"><strong>login</strong></span><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;"> or </span><span class="ydpede5b02ecommand" style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;"><strong>shell</strong></span><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium;"> commands to request an additional login session in a running container.</span></span><br></div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">Can you please let me know if this is still valid for systemd version 237 ? If it is possible to start two containers from the same directory, what could be the reason for the error for second container. Thank You</div><div style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;"><br></div><div class="ydp9750deb2yiv5539355591ydp48d5af66signature" style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">Regards<br>Mahipal</div></span></div></div></div></div></div></body></html>