-
Notifications
You must be signed in to change notification settings - Fork 219
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
The toolbox should use the same time zone as the host #70
Comments
This is similar to the Bind mounting Flatpak solves this by adding another level of redirection into a separate directory which is kept updated by a helper process. |
Mounting |
There's some Podman work going on in containers/podman#2744 that will let us solve this properly. I think this will be solved in the short-term. |
There's a work-in-progress branch in #93 |
The permission of $XDG_RUNTIME_DIR/.flatpak-helper/monitor needs to be relaxed [1] for this work in some corner cases. However, it already works for the vast majority of cases when used as $USER or root inside the toolbox container. [1] flatpak/flatpak#2916 https://github.com/debarshiray/toolbox/issues/70
I spent a good hour trying to debug my C program not displaying the time correctly before I realized it worked from the host system 😅
Currently, the time zone inside the toolbox is always set to UTC, regardless of the host time. (You can see this with a
file /etc/localtime
.) I'm guessing the fix would be to bind the host's /etc/localtime into the container?The text was updated successfully, but these errors were encountered: