Re: [lfs-support] Can't set up my timezone correctly
Le 24/06/2013 20:14, Molly Jakić a écrit : On 24 June 2013 19:01, Sergey Shidlovsky sshidlov...@gmail.com mailto:sshidlov...@gmail.com wrote: Greetings to all LFS builders! Now I'm at the beginning of chapter 6. [...] Therefore TZ='Europe/Kiev' will be used. Local time is now: Mon Jun 24 23:48:23 EEST 2013. Universal Time is now: Mon Jun 24 20:48:23 UTC 2013. --- The problem is that correct time where I live (Kiev, Ukraine) is that which mentioned as Universal Time, but not Local time. As I can understand, Universal Time is the same as Greenwich Meantime. But in my country all clocks is set at +2 hours to it. Can I fix this issue somehow? Hi. Look in /etc/sysconfig/clock. My system clock is set to local time, so i write UTC=0. If I understand rightly, your system clock is set to UTC, so you should write UTC=1 and then the system will adjust appropriately. Regards, Molly I think /etc/sysconfig/clock is an LFS file. When you are at chapter 6, the system you use is still the host. So /etc/sysconfig/clock might be useless. Actually, what is output at the end of the tzselect script assumes that the host clock is set up to UTC (see 'man date' for details), which might not be true. So you should not bother much about that output, and wait until chapter 7.9 configuring the setclock script to set up the clock properly for the LFS system. Right now, you just have to configure the /etc/localtime file. Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Can't set up my timezone correctly
Greetings to all LFS builders! Now I'm at the beginning of chapter 6. I've successfully built Glibc package and now I'm configuring it. After locales installation there's a mention of tzselect script which helps to set up timezone properly. After answering a few questions I get the following answer: --- The following information has been given: Ukraine most locations Therefore TZ='Europe/Kiev' will be used. Local time is now: Mon Jun 24 23:48:23 EEST 2013. Universal Time is now: Mon Jun 24 20:48:23 UTC 2013. --- The problem is that correct time where I live (Kiev, Ukraine) is that which mentioned as Universal Time, but not Local time. As I can understand, Universal Time is the same as Greenwich Meantime. But in my country all clocks is set at +2 hours to it. Can I fix this issue somehow? Thanks in advance for answers. -- Yours faithfully, Sergey N Shidlovsky -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Can't set up my timezone correctly
On 24 June 2013 19:01, Sergey Shidlovsky sshidlov...@gmail.com wrote: Greetings to all LFS builders! Now I'm at the beginning of chapter 6. I've successfully built Glibc package and now I'm configuring it. After locales installation there's a mention of tzselect script which helps to set up timezone properly. After answering a few questions I get the following answer: --- The following information has been given: Ukraine most locations Therefore TZ='Europe/Kiev' will be used. Local time is now: Mon Jun 24 23:48:23 EEST 2013. Universal Time is now: Mon Jun 24 20:48:23 UTC 2013. --- The problem is that correct time where I live (Kiev, Ukraine) is that which mentioned as Universal Time, but not Local time. As I can understand, Universal Time is the same as Greenwich Meantime. But in my country all clocks is set at +2 hours to it. Can I fix this issue somehow? Thanks in advance for answers. -- Yours faithfully, Sergey N Shidlovsky -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi. Look in /etc/sysconfig/clock. My system clock is set to local time, so i write UTC=0. If I understand rightly, your system clock is set to UTC, so you should write UTC=1 and then the system will adjust appropriately. Regards, Molly -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page