Skip to content

podman run ... nixos/nix nix-build ... fails with "error: renaming..." on kernel overlayfs #13507

Answered by giuseppe
voidus asked this question in Q&A
Discussion options

You must be logged in to vote

I've converted the issue into a discussion, since there is nothing we can do from Podman.

It is a known and documented behavior in overlayfs: https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#renaming-directories

The best would be for nixos to handle the EXDEV as mv does and fallback to manually copy the directory.

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@voidus
Comment options

Answer selected by voidus
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/bug Categorizes issue or PR as related to a bug.
2 participants
Converted from issue

This discussion was converted from issue #13500 on March 15, 2022 08:03.