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: Exchanging /tmp <=> /tmp.tmp: Invalid cross-device link (os error 18) #95

Closed
bigpod98 opened this issue Apr 24, 2023 · 3 comments

Comments

@bigpod98
Copy link

I have hit this error ERROR Linking tmp mounts to host: Exchanging /tmp <=> /tmp.tmp: Invalid cross-device link (os error 18) with example image in install.md file, i am currently using ubuntu 23.04 as OS from which i run podman command using bootc built from source in git repo
if i mount /tmp to /tmp.tmp with podman run flag -v error changes to ERROR Linking tmp mounts to host: Symlinking /proc/1/root//tmp to /tmp.tmp: File exists (os error 17) mounting /tmp to /tmp changes error to ERROR Linking tmp mounts to host: Exchanging /tmp <=> /tmp.tmp: Device or resource busy (os error 16)

There might be some commonality with issue #91.

podman version 4.3.1

command: sudo 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/vda

@bigpod98
Copy link
Author

with different image error also appeared as ERROR Linking tmp mounts to host: Exchanging /var/tmp <=> /var/tmp.tmp: Invalid cross-device link (os error 18)

@akdev1l
Copy link

akdev1l commented Apr 25, 2023

/proc/1/root//tmp that looks like it is missing a component

@cgwalters
Copy link
Collaborator

This must be the same thing as #91 so closing as a duplicate.

However, can you just show the output of ls -ald /tmp && findmnt /tmp on the host?

@cgwalters cgwalters closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
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

3 participants