Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Arch linux host with ZFS root filesystem.
Creating any debian-based container fails with the error:
Warning: failed to bind mount /run/host/usr/share/zoneinfo/Europe/Rome to /etc/localtime Error: An error occurred:
+ mount --rbind -o ro /run/host/usr/share/zoneinfo/Europe/Rome /etc/localtime
mount: /etc/localtime: filesystem was mounted, but any subsequent operation failed: Unknown error 5005.
+ printf Warning: failed to bind mount %s to %s\n /run/host/usr/share/zoneinfo/Europe/Rome /etc/localtime
Warning: failed to bind mount /run/host/usr/share/zoneinfo/Europe/Rome to /etc/localtime
+ return 1
+ [ 1 -ne 0 ]
+ printf Error: An error occurred\n
Error: An error occurred
DEBU[0000] Called logs.PersistentPostRunE(podman --log-level debug logs debian-bullseye)
DEBU[0000] Shutting down engines
RHEL-based images like fedora work just fine.
To Reproduce
Create a debian-based or ubuntu-based container on Archlinux with ZFS (not sure if ZFS is relevant here)
Run distrobox enter ... for the first time.
Expected behavior
To initialize the container without errors.
This has probably something to do with ZFS setup, anyway I've added a fallback+warning in these cases, where we go back to simply copying the file instead
Describe the bug
Arch linux host with ZFS root filesystem. Creating any debian-based container fails with the error:
Warning: failed to bind mount /run/host/usr/share/zoneinfo/Europe/Rome to /etc/localtime Error: An error occurred
:RHEL-based images like fedora work just fine.
To Reproduce
distrobox enter ...
for the first time.Expected behavior To initialize the container without errors.
Logs distrobox.log podman.log
Desktop (please complete the following information):
Additional context Add any other context about the problem here.