[Grml] hwclock in UTC vs. local time (was: Timezone problem)

Darshaka Pathirana dpat at syn-net.org
Tue Apr 20 13:46:19 CEST 2010


On 04/20/2010 12:16 PM, Bob wrote:
> Darshaka Pathirana wrote:
>> On 04/19/2010 10:37 PM, Ulrich Dangel wrote:
>>> On Monday 19 April 2010 11:06:51 Darshaka Pathirana wrote:
>>>
>>>> When booting grml on a system where Windows is installed and the
>>>> hardware-clock is set to local time I often get annoyed when finding
>>>> out that the timestamps are all wrong because grml assumes the system
>>>> is set to UTC.
>>>>
>>>> There might be a boot option to fix this ("grml gmt tz=..." ?) but I
>>>> would prefer such an option somewhere in the start menu.
>>> What do you mean with start menu? Bootloader with several additional 
>>> boot-options for grml  or grml-quickconfig (menu after you booted grml 
>>> allowing easy start/change several things like keyboard layout)?
>>> For the later it should be easily doable to write a new entry. Have a 
>>> look at man grml-quickconfig and the menu entries in /usr/share/grml-
>>> quickconfig/
>> Yes. I meant grml-quickconfig and I will take a look at it. Thx.
>>
>> But my actual question is: how is this problem (change to local-time /
>> set timezone) solved by others (as this should be a common problem)?
>> Everything done by hand or is there already a script to solve that?
>>
> To see what the timezone setting is: 'tzselect'
> To change the timezone: ’dpkg-reconfigure tzdata’
> Look at 'man tzselect'

Thx. I know that. My problem is not about the timezone but much more
about the hwclock set to UTC vs. local time. According to the
start-scripts a variable UTC in "/etc/default/rcS" is used to honor
this behavior.

And I have no easy way of fixing this (after booting up) without
fidling around with hwclock and "dpkg-reconfigure tzdata"...

I'm still puzzled about the fact that there are hardly any reports on
this issue. Maybe I am doing something wrong. I have to boot up grml
to bring up more details though. But I still hope someone can
enlighten me.

Greetings,
 - Darsha




More information about the Grml mailing list