Aleksa Sarai wrote:
On 2021-06-01, Neal Gompa
wrote: On Tue, Jun 1, 2021 at 9:48 PM Niklas Haas
wrote: I submitted https://build.opensuse.org/request/show/896791
We don't support filesystems without RENAME_EXCHANGE, and this code makes the change not atomic and frankly quite scary. Shouldn't you bug the OpenZFS people to implement renameat(2) instead?
I just ran into this bug today, and I realised that this bug actually also affects users who run containers on *different hosts* that have ZFS as the backing filesystem. For instance, running Tumbleweed on Ubuntu (which has ZFS as the default filesystem) will result in this error
The workaround to fall back to non-atomic double rename is now in Factory and will be available with the next snapshot. So the usrmerge will work on such systems, albeit not atomic. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer HRB 36809 (AG Nürnberg)