apx
apx copied to clipboard
Changing system timezone breaks container
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
I have the same problem after changing the time.
"error creating container: exit status 1"
I don't know how to resolve this.
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.
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.
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?
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
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?