I am administering a CentOS 6 Linux OS.
I want to remove all explicit timezone information where such information may cause anything but UTC timezone for the system. This is because it is a template of a virtual machine, and also because it has been decided to have the default timezone as UTC.
Do I have to change the
/etc/sysconfig/clock file (I assume this is CentOS specific configuration entity), or
/etc/localtime, or both? Can I remove both, and will it then fall back to UTC or some other intrinsic defaults? I just cannot find documentation on how the system behaves without these files, for instance. Or maybe I should not be removing either, but then why is there a timezone preference distributed over two files? Unless it has slightly different meaning in each?
I can test empirically of course, but I may change the distro in the future, and then will have another timezone again, while my scripts try to shoot for distro-neutral compatibility.