Re: time zone and UTC issue [rant]

2012-12-03 Thread Urs Thuermann
Ralf Mardorf writes: > spinymouse@q:~$ ls -l /media/spinymouse/INTENSO/ > total 32 > -rw-r--r-- 1 spinymouse spinymouse 304 Oct 22 2011 B22OCT11.CMO > -rw-r--r-- 1 spinymouse spinymouse 304 Sep 30 2011 B30SEP11.CMO > -rw-r--r-- 1 spinymouse spinymouse 15644 Nov 10 2011 Hakle-Geld-zurück.o

Re: time zone and UTC issue [rant]

2012-12-03 Thread Urs Thuermann
Ralf Mardorf writes: > If the clock does use local time, then the time for all BIOS and all > Linux files are ok. This is not completely true. If there is change from/to daylight saving time to/from standard time between saving the files using the BIOS and booting your Linux system the kernel w

Re: time zone and UTC issue [rant]

2012-12-03 Thread Urs Thuermann
Ralf Mardorf writes: > If I save BIOS settings as a file and the hwclock is set to UTC, the > files don't get the German time. The BIOS is the BIOS, it's neither > Windows, I don't use Windows, but nor the BIOS is Linux, so Linux can't > "translate" UTC to local time, when I save BIOS settings.

Re: time zone and UTC issue

2012-12-03 Thread Urs Thuermann
"J. B" writes: > My box is configured to the local time zone from beginning, both > hwclock and system time. But linux always favor hwclock to > UTC. What is the advantage of doing that ? Although time, timezones and clock setting are quite a simple topic it seems to be major source of confusio

Re: time zone and UTC issue

2012-12-03 Thread J. B
On Mon, 3 Dec 2012 09:47:44 + Roger Leigh wrote: > On Mon, Dec 03, 2012 at 12:10:06PM +0530, J. B wrote: > > I have checked my /etc/adjtime and found > > > > [.] > > -0.408399 1354206971 0.00 > > 1354206971 > > UTC > > [..] > > > > So my system is following the UTC :-) > > And a

Re: time zone and UTC issue

2012-12-03 Thread Roger Leigh
On Mon, Dec 03, 2012 at 12:10:06PM +0530, J. B wrote: > I have checked my /etc/adjtime and found > > [.] > -0.408399 1354206971 0.00 > 1354206971 > UTC > [..] > > So my system is following the UTC :-) > And also set the H/W clock to UTC with "hwclock --utc --systohc" This all looks g

Re: time zone and UTC issue

2012-12-03 Thread Bob Proulx
J. B wrote: > And also set the H/W clock to UTC with "hwclock --utc --systohc" > > still my H/W clock shows local timezone !!! What commands are you using to determine that this is the case? If you have done the suggestions above then your clock should be in UTC. > How can I keep the H/W to UTC

Re: time zone and UTC issue

2012-12-02 Thread J. B
On Sat, 1 Dec 2012 14:19:50 + Roger Leigh wrote: > Just make sure that the date is set correctly (run "date" and set it > with "date --set="newdate" if it's wrong). Then run > hwclock --utc --systohc > to set the hardware clock from the system clock in UTC. Look at > /etc/adjtime and you

Re: time zone and UTC issue

2012-12-02 Thread Andrei POPESCU
On Sb, 01 dec 12, 14:19:50, Roger Leigh wrote: [snip] +100, Informative Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature

Re: time zone and UTC issue

2012-12-01 Thread Roger Leigh
On Sat, Dec 01, 2012 at 02:19:50PM +, Roger Leigh wrote: > On Wed, Nov 28, 2012 at 03:55:16PM +0530, J. B wrote: > > > > If I need my hwclock to UTC then what should be the right way to do that ? > > I have followed "dpkg-reconfigure tzdata" and found it has changed the > > local time to > >

Re: time zone and UTC issue

2012-12-01 Thread Roger Leigh
On Wed, Nov 28, 2012 at 03:55:16PM +0530, J. B wrote: > > My box is configured to the local time zone from beginning, both hwclock and > system time. Firstly, to clarify, there are two clocks: - hardware clock (UTC or local) - system clock (UTC) The system clock is *always* UTC. Even if you, th

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 21:22 -0600, John Hasler wrote: > There are also services that become quite distressed if the clock > jumps back an hour. OIC -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Ar

Re: time zone and UTC issue [rant]

2012-11-28 Thread John Hasler
Ralf Mardorf writes: > That's not true, after running ntpdate everything is ok. Except for anything that happened before ntpdate ran, such as writing logs. And if ntpdate never runs because it can't reach a server you're an hour off. There are also services that become quite distressed if the cl

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 16:01 -0800, unruh wrote: > In linux.debian.user, you wrote: > > > > Exactly, there are no issues when using Linux with the hardware clock > > using local time. > > Yes, there are. If the clock is on localtime, when Linux boots up it > assumes that the bios clock really is on

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 19:31 -0300, Eike Lantzsch wrote: [snip] spinymouse@q:~$ ls -l /media/spinymouse/INTENSO/ total 32 -rw-r--r-- 1 spinymouse spinymouse 304 Oct 22 2011 B22OCT11.CMO -rw-r--r-- 1 spinymouse spinymouse 304 Sep 30 2011 B30SEP11.CMO -rw-r--r-- 1 spinymouse spinymouse 15644 No

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 19:31 -0300, Eike Lantzsch wrote: > Or think of banking transactions or stock exchange transactions. I guess something like this really is an issue, but I also suspect that this anyway will be handled by special software. Thank you for the explanation, Ralf -- To UNSUBSC

Re: time zone and UTC issue [rant]

2012-11-28 Thread Eike Lantzsch
On Wednesday 28 November 2012 16:18:30 Ralf Mardorf wrote: > On Wed, 2012-11-28 at 10:40 -0800, Hilco Wijbenga wrote: > > On 28 November 2012 09:04, Ralf Mardorf wrote: > > > On Wed, 2012-11-28 at 08:45 -0800, unruh wrote: > > >> In linux.debian.user, you wrote: > > >> > On Wed, 2012-11-28 at 08:

Re: time zone and UTC issue

2012-11-28 Thread Gary Dale
On 28/11/12 03:54 PM, Eike Lantzsch wrote: On Wednesday 28 November 2012 10:09:42 Ralf Mardorf wrote: > On Wed, 2012-11-28 at 15:55 +0530, J. B wrote: > > Hello list, > > > > My box is configured to the local time zone from beginning, both hwclock > > and system time. But linux always fav

Re: time zone and UTC issue

2012-11-28 Thread Eike Lantzsch
On Wednesday 28 November 2012 10:09:42 Ralf Mardorf wrote: > On Wed, 2012-11-28 at 15:55 +0530, J. B wrote: > > Hello list, > > > > My box is configured to the local time zone from beginning, both hwclock > > and system time. But linux always favor hwclock to UTC. What is the > > advantage of doin

Re: time zone and UTC issue

2012-11-28 Thread Gary Dale
On 28/11/12 03:26 PM, Andrei POPESCU wrote: On Mi, 28 nov 12, 14:09:42, Ralf Mardorf wrote: The Linux has to know if the hwclock does use UTC or not and then it will set up the clock, when running a Linux to the correct time for your timezone. IOW you only have to inform what time hwclock does u

Re: time zone and UTC issue

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 22:26 +0200, Andrei POPESCU wrote: > On Mi, 28 nov 12, 14:09:42, Ralf Mardorf wrote: > > > > The Linux has to know if the hwclock does use UTC or not and then it > > will set up the clock, when running a Linux to the correct time for your > > timezone. IOW you only have to in

Re: time zone and UTC issue

2012-11-28 Thread Andrei POPESCU
On Mi, 28 nov 12, 14:09:42, Ralf Mardorf wrote: > > The Linux has to know if the hwclock does use UTC or not and then it > will set up the clock, when running a Linux to the correct time for your > timezone. IOW you only have to inform what time hwclock does use. Yes. > I'm living in Germany, if

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 10:40 -0800, Hilco Wijbenga wrote: > On 28 November 2012 09:04, Ralf Mardorf wrote: > > On Wed, 2012-11-28 at 08:45 -0800, unruh wrote: > >> In linux.debian.user, you wrote: > >> > On Wed, 2012-11-28 at 08:44 -0300, Eike Lantzsch wrote: > >> >> Yep. Unfortunately Microsoft ne

Re: time zone and UTC issue [BIOS]

2012-11-28 Thread Ralf Mardorf
I guess there's a language barrier. Those two files were not saved with Linux and not saved with Windows, they were saved by the BIOS: spinymouse@q:~$ ls -l /media/spinymouse/INTENSO/*.CMO -rw-r--r-- 1 spinymouse spinymouse 304 Oct 22 2011 /media/spinymouse/INTENSO/B22OCT11.CMO -rw-r--r-- 1 spi

Re: time zone and UTC issue [rant]

2012-11-28 Thread Hilco Wijbenga
On 28 November 2012 09:04, Ralf Mardorf wrote: > On Wed, 2012-11-28 at 08:45 -0800, unruh wrote: >> In linux.debian.user, you wrote: >> > On Wed, 2012-11-28 at 08:44 -0300, Eike Lantzsch wrote: >> >> Yep. Unfortunately Microsoft never learned in > 25 years that the >> >> world has more time zones

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 19:17 +0100, Ralf Mardorf wrote: > On Wed, 2012-11-28 at 19:12 +0100, Ralf Mardorf wrote: > > On Wed, 2012-11-28 at 11:48 -0600, green wrote: > > > Ralf Mardorf wrote at 2012-11-28 11:04 -0600: > > > > If I save BIOS settings as a file and the hwclock is set to UTC, the > > >

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 19:12 +0100, Ralf Mardorf wrote: > On Wed, 2012-11-28 at 11:48 -0600, green wrote: > > Ralf Mardorf wrote at 2012-11-28 11:04 -0600: > > > If I save BIOS settings as a file and the hwclock is set to UTC, the > > > files don't get the German time. The BIOS is the BIOS, it's nei

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 11:48 -0600, green wrote: > Ralf Mardorf wrote at 2012-11-28 11:04 -0600: > > If I save BIOS settings as a file and the hwclock is set to UTC, the > > files don't get the German time. The BIOS is the BIOS, it's neither > > Windows, I don't use Windows, but nor the BIOS is Linu

Re: time zone and UTC issue [rant]

2012-11-28 Thread green
Ralf Mardorf wrote at 2012-11-28 11:04 -0600: > If I save BIOS settings as a file and the hwclock is set to UTC, the > files don't get the German time. The BIOS is the BIOS, it's neither > Windows, I don't use Windows, but nor the BIOS is Linux, so Linux can't > "translate" UTC to local time, when

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 08:45 -0800, unruh wrote: > In linux.debian.user, you wrote: > > On Wed, 2012-11-28 at 08:44 -0300, Eike Lantzsch wrote: > >> Yep. Unfortunately Microsoft never learned in > 25 years that the > >> world has more time zones than they might have imagined in DOS-times. > > > > Th

Re: time zone and UTC issue [rant]

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 08:44 -0300, Eike Lantzsch wrote: > Yep. Unfortunately Microsoft never learned in > 25 years that the > world has more time zones than they might have imagined in DOS-times. They did and as I already explained, I want to have the local time for the BIOS too. -- To UNSUBSC

Re: time zone and UTC issue

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 10:37 +, Darac Marjal wrote: > The main issue comes when you're dual-booting with Windows. No Windows on my machine, but as explained in my previous mail, I sometimes store BIOS settings and want the files getting the correct date. -- To UNSUBSCRIBE, email to debian-u

Re: time zone and UTC issue

2012-11-28 Thread Ralf Mardorf
On Wed, 2012-11-28 at 15:55 +0530, J. B wrote: > Hello list, > > My box is configured to the local time zone from beginning, both hwclock and > system time. > But linux always favor hwclock to UTC. What is the advantage of doing that ? > > If I need my hwclock to UTC then what should be the righ

Re: time zone and UTC issue [rant]

2012-11-28 Thread Andrei POPESCU
On Mi, 28 nov 12, 08:44:59, Eike Lantzsch wrote: > So I learned to ignore the time on Windows systems with double boot. Set it to UTC, that way it is at least partially useful. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman

Re: time zone and UTC issue [rant]

2012-11-28 Thread Eike Lantzsch
On Wednesday 28 November 2012 07:37:49 Darac Marjal wrote: > On Wed, Nov 28, 2012 at 03:55:16PM +0530, J. B wrote: > > Hello list, > > > > My box is configured to the local time zone from beginning, both hwclock > > and system time. But linux always favor hwclock to UTC. What is the > > advantage

Re: time zone and UTC issue

2012-11-28 Thread Eike Lantzsch
On Wednesday 28 November 2012 07:48:28 J. B wrote: > On Wed, 28 Nov 2012 10:37:49 + > > Darac Marjal wrote: > > On Wed, Nov 28, 2012 at 03:55:16PM +0530, J. B wrote: > > > Hello list, > > > > > > My box is configured to the local time zone from beginning, both > > > hwclock and system time.

Re: time zone and UTC issue

2012-11-28 Thread J. B
On Wed, 28 Nov 2012 10:37:49 + Darac Marjal wrote: > On Wed, Nov 28, 2012 at 03:55:16PM +0530, J. B wrote: > > > > Hello list, > > > > My box is configured to the local time zone from beginning, both hwclock > > and system time. > > But linux always favor hwclock to UTC. What is the advant

Re: time zone and UTC issue

2012-11-28 Thread Darac Marjal
On Wed, Nov 28, 2012 at 03:55:16PM +0530, J. B wrote: > > Hello list, > > My box is configured to the local time zone from beginning, both hwclock and > system time. > But linux always favor hwclock to UTC. What is the advantage of doing that ? > > If I need my hwclock to UTC then what should b