/etc/localtime should be a file

Toomas Tamm tt-fai at kky.ttu.ee
Wed Feb 8 17:37:17 CET 2012

Dear all,

In 2006, Debian decided after a long discussion that /etc/localtime
should be a copy of /usr/share/zoneinfo/${TIMEZONE} rather than a link
to it. For the history, please see 

In summary, the reason is that timezone info needs to be available (eg
for fsck) even before /usr is mounted.

In the examples script scripts/FAIBASE/10-misc , a symlink is still
being created:

echo $TIMEZONE    > $target/etc/timezone
ln -fs /usr/share/zoneinfo/${TIMEZONE} $target/etc/localtime

Should FAI also follow the Debian policy and make a copy of the zoneinfo
file rather than linking to it? The change is trivial; just replace
"ln -fs" with "cp".

Toomas Tamm                                 e-mail: tt-fai (at) kky.ttu.ee
Chair of Inorganic Chemistry                voice:  INT+372-620-2810
Tallinn University of Technology            fax:    INT+372-620-2828
Ehitajate tee 5, EE-19086 Tallinn, Estonia  http://www.kk.ttu.ee/toomas/

More information about the linux-fai mailing list