Summary: | sytemd-nspawn 217 fails with error code 1 if --bind option scecified | ||
---|---|---|---|
Product: | systemd | Reporter: | Vlad <vovan> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vlad
2014-11-02 14:36:10 UTC
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 +++ Fixed in 1ab19cb167b32967556eefd8f6d3df0e3de7d67d already. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.