I used to be able to edit /etc/sysconfig/clock, but now I need to use timedatectl, which I believe is a systemd command.
What has that got to do with booting the system?
I used to be able to edit /etc/sysconfig/clock, but now I need to use timedatectl, which I believe is a systemd command.
What has that got to do with booting the system?
There is only one place on a Linux system that is the source of truth regarding the system timezone for userland processes, that is
/etc/localtime
. And indeed,timedatectl
is managing that file, creating a symbolic link to the appropriate zoneinfo file.Editing
/etc/sysconfig/clock
was a bad design to begin with, since it was redundant, (as mentioned before,/etc/localtime
is what the system really uses!) and it's good that it's gone now.If you don't wish to use
timedatectl
you can always manage the symbolic link yourself with puppet, ansible or whatever.