<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - sytemd-nspawn 217 fails with error code 1 if --bind option scecified"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85759#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - sytemd-nspawn 217 fails with error code 1 if --bind option scecified"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85759">bug 85759</a>
              from <span class="vcard"><a class="email" href="mailto:vovan@vovan.nl" title="Vlad <vovan@vovan.nl>"> <span class="fn">Vlad</span></a>
</span></b>
        <pre>I've spent some time to test, so it looks like systemd tries to create the
mount point inside the container even if directory exists:

[pid  5519] open("/mnt/data/srv2/root/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
[pid  5519] stat("/mnt/portage", {st_mode=S_IFDIR|0755, st_size=180, ...}) = 0
[pid  5519] stat("/mnt/data/srv2/root/mnt/portage", {st_mode=S_IFDIR|0755,
st_size=70, ...}) = 0
[pid  5519] mkdir("/mnt/data/srv2/root/mnt/portage", 0755) = -1 EEXIST (File
exists)
[pid  5519] writev(2, [{"Failed to create mount point /mn"..., 73}, {"\n", 1}],
2) = 74
[pid  5519] exit_group(1)               = ?
[pid  5518] <... poll resumed> )        = 1 ([{fd=8, revents=POLLHUP}])
[pid  5519] +++ exited with 1 +++</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>