systemd/casync

Top-level subvolume extraction fails with 'Failed to run synchronizer: File exists'

Opened this issue · 0 comments

If the toplevel directory of a tree is a subvolume, mkdir_or_mksubvol() never seems to get called for it, so it is not created as subvolume. However ca_decoder_finalize_child() checks the subvolume status against the flags and fails with EEXIST, leading to a "Failed to run synchronizer: File exists" message.

Can be worked around by creating the subvolume by hand before calling casync.

This is a different bug to #237.