-
Notifications
You must be signed in to change notification settings - Fork 195
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
tmp-is-dir
broken symlink for /tmp by default
#4884
Labels
Comments
jmpolom
changed the title
Mar 24, 2024
tmp-is-dir
symlinks /tmp to non-existent directory by defaulttmp-is-dir
broken symlink for /tmp by default
Yes, the defaults are stupid; we could almost certainly just change this one and not break anything, but I've been trying to be very conservative around breaking changes. There's other defaults to change, like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
tmp-is-dir: false
appears to symlink /tmp to a non-existent directory by default, specifically /sysroot/tmp. This behavior is undocumented.Reproduction steps
tmp-is-dir: false
or leave it unset (default is false)podman run --rm registry.io/user/mycontainer file /tmp
and you will observe the following output:ls -lh /
in the container, and absence of sysroot/tmp withls -lh /sysroot
Expected behavior
At a minimum, this setting should not result in a broken symlink. The default probably should be
true
?Actual behavior
A broken symlink for /tmp which is going to cause all manner of problem if you even manage to install the resulting tree/container or rebase to it.
System details
FCOS Stable, rpm-ostree 2024.2-2.fc39.x86_64
Additional information
No response
The text was updated successfully, but these errors were encountered: