I asked this question when Qubes R3.2 was out, and solved with help from Andrew in a somewhat weird way (running local scripts on each AppVM).
Now that we are at R4.0, I am again having this issue:
After install, dom0 gets proper timezone:
| [root@dom0 Desktop]# timedatectl
| Local time: Mon 2018-04-30 21:12:20 -03
| Universal time: Tue 2018-05-01 00:12:20 UTC
| RTC time: Tue 2018-05-01 00:12:20
| Time zone: America/Argentina/Cordoba (-03, -0300)
| Network time on: no
| NTP synchronized: no
| RTC in local TZ: no
but for some reason, all AppVM get the wrong timezone on their configuration script:
| user@p-vault:~/p-vault$ ls -l /etc/localtime
| lrwxrwxrwx 1 root root 39 Apr 30 23:32 /etc/localtime -> ../usr/share/zoneinfo/Argentina/Cordoba
which of course does not exists, so all AppVM end up in GMT.
So my original question is back: Where does that value come from?
And the obvious next one: How can I change it to a proper "America/Argentina/Cordoba"?
Thanks!
Hi,
On 05/01/2018 03:18 AM, Pablo Di Noto wrote:
> Hello all,
>
> I asked this question when Qubes R3.2 was out, and solved with help from Andrew in a somewhat weird way (running local scripts on each AppVM).
>
> Now that we are at R4.0, I am again having this issue:
>
> After install, dom0 gets proper timezone:
>
> | [root@dom0 Desktop]# timedatectl
> | Local time: Mon 2018-04-30 21:12:20 -03
> | Universal time: Tue 2018-05-01 00:12:20 UTC
> | RTC time: Tue 2018-05-01 00:12:20
> | Time zone: America/Argentina/Cordoba (-03, -0300)
> | Network time on: no
> | NTP synchronized: no
> | RTC in local TZ: no
>
> but for some reason, all AppVM get the wrong timezone on their configuration script:
>
> | user@p-vault:~/p-vault$ ls -l /etc/localtime
> | lrwxrwxrwx 1 root root 39 Apr 30 23:32 /etc/localtime -> ../usr/share/zoneinfo/Argentina/Cordoba
>
> which of course does not exists, so all AppVM end up in GMT.
>
> So my original question is back: Where does that value come from?
/usr/lib/qubes/init/qubes-early-vm-config.sh