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

Changing system timezone breaks container #96

Open
BrianWClausen opened this issue Jan 31, 2023 · 6 comments
Open

Changing system timezone breaks container #96

BrianWClausen opened this issue Jan 31, 2023 · 6 comments

Comments

@BrianWClausen
Copy link

I changed the system timezone on my fresh VanillaOS install and was no longer able to enter the default container, being met with the following message.

Error: OCI runtime error: unable to start container "8a99d8ffdf38fba65f173f069bc0adb567edac94037f0525dfaecc3b6176ce8f": mount /etc/localtime to /etc/localtime: Not a directory

@diogopessoa
Copy link

I have the same problem after changing the time.

"error creating container: exit status 1"

I don't know how to resolve this.

@Pamalosebi
Copy link

Pamalosebi commented Feb 4, 2023

I fixed it with a simple apx init. Then just agree with y and it would work again.
-> that might damage installed software.

Maybe that should be triggered automatically in a save way.

@BrianWClausen
Copy link
Author

I just tried your suggestion. It does make the container work again, but it does so by re-initializing it, deleting all installed packages, changes etc. in the process. I don't think it should be used as a fix, but rather as a last resort if we can't find a better solution.

@BrianWClausen
Copy link
Author

I would like to add that after reinitializing the container, I tried to reproduce the error by changing the system time/timezone, but to no avail. Maybe the problem only presents itself if the wrong timezone is chosen during install?

@Pliavi
Copy link

Pliavi commented Feb 5, 2023

I had the same problem, this re-init worked
But... I almost 100% sure I choose the correct timezone on install, but after some time I saw that the time was wrong and changed to my TZ, and this happened, I'm not sure, but the only thing I did that is (really faaaaaaar) near to time is change the time settings to show weekdays in Gnome Tweaks

@BrianWClausen
Copy link
Author

I had the same problem, this re-init worked But... I almost 100% sure I choose the correct timezone on install, but after some time I saw that the time was wrong and changed to my TZ, and this happened, I'm not sure, but the only thing I did that is (really faaaaaaar) near to time is change the time settings to show weekdays in Gnome Tweaks

Strange, this was my experience as well. I was sure I had picked the correct timezone on install, but later on I discovered the clock was wrong so I thought I had made a mistake and corrected the timezone. That's when the container stopped working. Maybe this is a problem with the install process in Vanilla and not related to apx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Todo
Development

No branches or pull requests

4 participants