Re: sysupgrade - timezone

2022-09-19 Thread Hrvoje Popovski
On 19.9.2022. 23:22, Todd C. Miller wrote:
> There was a bad diff in that snapshot that caused tzset() to ignore
> /etc/localtime.
> 
>  - todd
> 


Thank you ...



Re: sysupgrade - timezone

2022-09-19 Thread Todd C . Miller
There was a bad diff in that snapshot that caused tzset() to ignore
/etc/localtime.

 - todd



Re: sysupgrade - timezone

2022-09-19 Thread Hrvoje Popovski
On 19.9.2022. 23:09, Todd C. Miller wrote:
> On Mon, 19 Sep 2022 23:06:13 +0200, Hrvoje Popovski wrote:
> 
>> after sysupgrade I'm having GMT
>>
>> OpenBSD 7.2 (GENERIC.MP) #736: Mon Sep 19 17:56:55 GMT 2022
>> r620-1# date
>> Mon Sep 19 21:01:14 GMT 2022
>>
>> r620-1# ls -apl /etc/localtime
>> lrwxr-xr-x  1 root  wheel  33 Feb 10  2022 /etc/localtime ->
>> /usr/share/zoneinfo/Europe/Zagreb
>>
>> I didn't upgrade r420-1 yet, but other boxes are upgraded to latest snapshot
> 
> Can you check the permissions on /usr/share/zoneinfo/Europe/Zagreb?
> If that file is not readable you will end up with GMT.
> 

r620-1# ls -apl /usr/share/zoneinfo/Europe/Zagreb
-r--r--r--  1 root  bin  1917 Sep 19 17:39 /usr/share/zoneinfo/Europe/Zagreb



> If it looks OK, what does:
> 
> TZ=Europe/Zagreb date
> 
> produce?
> 

r620-1# TZ=Europe/Zagreb date
Mon Sep 19 23:13:26 CEST 2022





>  - todd
> 



Re: sysupgrade - timezone

2022-09-19 Thread Todd C . Miller
On Mon, 19 Sep 2022 23:06:13 +0200, Hrvoje Popovski wrote:

> after sysupgrade I'm having GMT
>
> OpenBSD 7.2 (GENERIC.MP) #736: Mon Sep 19 17:56:55 GMT 2022
> r620-1# date
> Mon Sep 19 21:01:14 GMT 2022
>
> r620-1# ls -apl /etc/localtime
> lrwxr-xr-x  1 root  wheel  33 Feb 10  2022 /etc/localtime ->
> /usr/share/zoneinfo/Europe/Zagreb
>
> I didn't upgrade r420-1 yet, but other boxes are upgraded to latest snapshot

Can you check the permissions on /usr/share/zoneinfo/Europe/Zagreb?
If that file is not readable you will end up with GMT.

If it looks OK, what does:

TZ=Europe/Zagreb date

produce?

 - todd



sysupgrade - timezone

2022-09-19 Thread Hrvoje Popovski
Hi all,

before sysupgrade I had CEST timezone

OpenBSD 7.2 (GENERIC.MP) #733: Sun Sep 18 06:39:56 MDT 2022
r420-1# date
Mon Sep 19 22:59:37 CEST 2022

r420-1# ls -apl /etc/localtime
lrwxr-xr-x  1 root  wheel  33 Nov 12  2019 /etc/localtime ->
/usr/share/zoneinfo/Europe/Zagreb



after sysupgrade I'm having GMT

OpenBSD 7.2 (GENERIC.MP) #736: Mon Sep 19 17:56:55 GMT 2022
r620-1# date
Mon Sep 19 21:01:14 GMT 2022

r620-1# ls -apl /etc/localtime
lrwxr-xr-x  1 root  wheel  33 Feb 10  2022 /etc/localtime ->
/usr/share/zoneinfo/Europe/Zagreb



I didn't upgrade r420-1 yet, but other boxes are upgraded to latest snapshot