Files
systemd/test
Totoro 86b310837e machine: propagate foreign image clone directory errors
unprivileged_clone() returns success when mountfsd_make_directory() fails.
Consequently, callers can report a successful clone even though the
destination directory was never created.

Return the original error instead of zero so the failed clone is
reported to the caller.

Add a regression test that places a regular file without an image suffix
at the destination path. Such a file is ignored by image discovery but
prevents directory creation. Check that cloning reports failure without
changing the file, then succeeds after the conflicting file is removed.

(cherry picked from commit 0c8f57cae2)
(cherry picked from commit f2e63c2da6)
(cherry picked from commit 80904271f3)
2026-09-11 00:27:10 +01:00
..
…
2025-08-20 16:17:11 +09:00
2026-02-26 10:24:31 +00:00
…