Time and Timezone issues...
Harald Koenig
koenig at tat.physik.uni-tuebingen.de
Wed Sep 3 18:58:22 CEST 2008
On Sep 03, "Marco Trevisan (Treviño)" wrote:
> - exported TZ=:/usr/share/zoneinfo/Europe/Rome in ~/.profile
your ~/.profile isn't valid for system processes and at boot time etc.
if at all, this should go to /etc/profile :
-------------------------------------------------------------------------------
if [ ! -e /etc/localtime ]; then
TZ="UTC" # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html
# for an explanation of how to set this to your local timezone.
export TZ
fi
-------------------------------------------------------------------------------
but here you also see the "right" solution[tm]:
better not set TZ but do once (once after every update/upgrade?!):
cp /usr/share/zoneinfo/Europe/Rome /etc/localtime
and for restart/reboot problems have a look at
http://docs.openmoko.org/trac/ticket/1851
Harald
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
\/\/\/\/\/\/\/\/\/
Harald Koenig // / \\ \
koenig at tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
More information about the community
mailing list