Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Linking tmp mounts to host #91

Closed
mskarbek opened this issue Apr 17, 2023 · 3 comments
Closed

Error: Linking tmp mounts to host #91

mskarbek opened this issue Apr 17, 2023 · 3 comments

Comments

@mskarbek
Copy link

I just tried to follow the basic example from install.md document. Unfortunately, this fails right at the start.

root@ishikawa ~# podman run --privileged --pid=host --net=none --security-opt label=type:unconfined_t ghcr.io/cgwalters/c9s-oscore bootc install --target-no-signature-verification /dev/nbd0
ERROR Linking tmp mounts to host: Exchanging /tmp <=> /tmp.tmp: Invalid argument (os error 22)
root@ishikawa ~# rpm -q podman
podman-4.2.0-9.el9_1.x86_64
root@ishikawa ~# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="9.1 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.1"
PLATFORM_ID="platform:el9"
@mskarbek
Copy link
Author

Ok, a comment in the code states that this part is to avoid forcing the user to use bind mount for /tmp and /var/tmp. But that should also allow such case, not forbid it entirely. I'm perfectly capable of adding those two bind mounts. ;)

@mskarbek
Copy link
Author

mskarbek commented Apr 17, 2023

So, the funny thing is that I'm using OpenZFS as a container storage which, currently, doesn't support renameat2(). That is why I'm getting this error. renameat2() will (probably) come with the 2.2.0 release of OpenZFS, so for now, XFS for this particular use case will have to be enough or allowing to skip this and bind mount tmp directories manually (preferably).

@cgwalters
Copy link
Collaborator

This is probably fixed by #225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants