[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: buster netinst timezone



On Vi, 09 aug 19, 21:38:23, Russell L. Harris wrote:
> The netinst cd image for Buster 10.0.0 does not offer a UTC option for
> English -> United States.
> 
> This is a critical bug; every installer without exception should offer UTC.
> 
> Is there a work-around, so that files written during the
> installation process have the correct datestamp?

It seems to me like you are confusing the hardware clock (the internal 
clock of the computer, if it has one), the system clock (the clock of 
the operating system) and the timezone (translating the system clock to 
the clock shown to users)[1].

On linux the system clock is always set to UTC.

The time(stamps) shown to the user are translated on the fly depending 
on the system or user's timezone.

In practice this means there is global timezone set by the administrator 
(usually during install, but can be changed with
'dpkg-reconfigure tzdata') and users may also chose their own timezone 
as they prefer (think SSH server with users from all over the world).

See for example the output of:

$ ls -l /etc/issue

vs

$ TZ=UTC ls -l /etc/issue

Unless you set your timezone to UTC during the install those two would 
show different timestamps.

Depending on whether you are booting some other OS that uses local also 
clock internally (e.g. Windows) from the same hardware it might be 
necessary to set the hardware clock to the local time of the timezone 
you want displayed in that other OS.


What problem are you trying to solve by having the timestamps of the 
initial installation be in UTC (which they are anyway)?


[1] It certainly doesn't help that the installer is calling both system 
and hardware clock "system clock".

Hope this helps,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: