Hello,
does anyone could reproduce the issue described below even with the
merged code ?
timedatectl after a stateless boot just doesn't like the link being
local to /etc and display no time zone
# timedatectl
Local time: Mon 2021-11-22 14:52:00 UTC
Universal time: Mon 2021-11-22 14:52:00 UTC
RTC time: Mon 2021-11-22 14:52:00
Time zone: n/a (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Thanks for your help
--
Thomas HUMMEL
On 11/9/21 17:31, THomas HUMMEL wrote:
On 11/9/21 16:18, THomas HUMMEL wrote:
Hello,
I just saw (because I encountered the issue again today) the merged code:
https://urldefense.com/v3/__https://github.com/xcat2/xcat-core/pull/7032/commits/16ea67622b6971e83e8aa3edf0d4568b8d784bb8__;!!JFdNOqOXpB6UZW0!5OvKmxB4i8tk4GBf_u-rACHsq-kN7d4NaFhuK9PQtB-3MEe6TH50cGqqTe3VEziQVfuSeg$
What is the reason for drifting from the standard way of directly
symlinking to /usr/share/... ? Because it can be in an exclude list ?
(in which case one can make an exclude exception for the locale he wants)
As a matter of fact it does not fix the issue with R.
If /etc/localtime is a regular file OR if it is a symlink to
./Europe/Paris copied as in the commit
R complains:
Warning: ‘timedatectl’ indicates the non-existent timezone name ‘n/a’
Warning: Your system is mis-configured: ‘/etc/localtime’ is not a symlink
Warning: It is strongly recommended to set envionment variable TZ to
‘Europe/Paris
In these cases indeed, timedatectl actually indicates 'n/a'
# timedatectl
Local time: Tue 2021-11-09 16:00:17 UTC
Universal time: Tue 2021-11-09 16:00:17 UTC
RTC time: Tue 2021-11-09 16:00:17
Time zone: n/a (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
whereas it says
# timedatectl
Local time: Tue 2021-11-09 17:17:02 CET
Universal time: Tue 2021-11-09 16:17:02 UTC
RTC time: Tue 2021-11-09 16:17:02
Time zone: Europe/Paris (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
when
# ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Nov 9 17:16 /etc/localtime ->
/usr/share/zoneinfo/Europe/Paris
Thanks
--
Thomas HUMMEL
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/xcat-user__;!!JFdNOqOXpB6UZW0!-hZ3M1wnWb-UbXsvQjEdOjFOedOWdNJaHkZp9pZQLJ0FRO_gy7GXQU5TfMR0CZ79MfTM0Q$
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user