-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line) /kind bug Description Running a specific container command gives an error if using overlayfs. I've tried to find someone with knowledge about the application in question at https://discourse.nixos.org/t/weird-error-when-running-nixos-nix-under-podman/18056 before reporting this, but nobody stepped up. Steps to reproduce the issue: As a user with kernel overlayfs (which afaict is the default if no storage.conf is present)
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
I feel like Output of
Output of
This is with fuse, here's the diff after removing storage.conf and running
Package info (e.g. output of Current arch as of 2022-03-13
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md) Yes, 4.0.1 is even more current than what the readme says D: There's an entry about overlayfs but the fact that strace doesn't report the mknod system call makes me think it's not that:
Additional environment details (AWS, VirtualBox, physical, etc.): |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
That is expected.
|
Beta Was this translation helpful? Give feedback.
-
I specifically addressed this
@giuseppe please reopen this issue Also, it works as a user when using fuse-overlayfs, so I'm pretty sure that's not it |
Beta Was this translation helpful? Give feedback.
-
sorry. Do you see any |
Beta Was this translation helpful? Give feedback.
-
No worries, I know it's sometimes hard to triage issues. Sadly, I'm not sure what nix does internally. I've created the thread on the nix discourse to debug this, but nobody could offer any insight. I'm tempted to create a matching issue in the nix github repo and cross-link this one. |
Beta Was this translation helpful? Give feedback.
-
I found this patch referenced by this arch forum thread, but a) I'm on kernel 5.16.14-arch1-1 and this patch is ancient and b) it still happens after |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
I created NixOS/nix#6262 to follow up |
Beta Was this translation helpful? Give feedback.
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.