[systemd-bugs] [Bug 85759] sytemd-nspawn 217 fails with error code 1 if --bind option scecified

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 2 06:51:01 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85759

--- Comment #1 from Vlad <vovan at vovan.nl> ---
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 +++

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141102/25a9abae/attachment-0001.html>


More information about the systemd-bugs mailing list