OpenSolaris Guest - Time is one hour off from host

Discussions about using Solaris and OpenSolaris guests in VirtualBox.

OpenSolaris Guest - Time is one hour off from host

Postby enilkciw » 4. Mar 2009, 02:04

I have several hosts running an OpenSolaris guest each. On every system when I boot the OpenSolaris guest the time is EXACTLY one hour behind the host. IF I run ntpdate it updates the time to the correct time so it's not a TZ issue (or it would seem). Same issue on a MacOS, Windoze XP, and Ubuntu host. I am in the Central Time zone (CST6CDT).
enilkciw
 
Posts: 6
Joined: 4. Mar 2009, 01:47

Re: OpenSolaris Guest - Time is one hour off from host

Postby vbox4me2 » 4. Mar 2009, 13:58

If it happens on all Hosts and the offset is also the same, it has to be a TZ issue in the Guest.
vbox4me2
Site Moderator
 
Posts: 3801
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: OpenSolaris Guest - Time is one hour off from host

Postby enilkciw » 6. Mar 2009, 20:21

It ONLY happens with OpenSolaris guest on ANY host. It is NOT a TimeZone issue.
enilkciw
 
Posts: 6
Joined: 4. Mar 2009, 01:47

Re: OpenSolaris Guest - Time is one hour off from host

Postby vbox4me2 » 6. Mar 2009, 21:08

In terms of ruling out the causes, you've just hit the area of interest, your solaris guest is having a TZ issue.
vbox4me2
Site Moderator
 
Posts: 3801
Joined: 21. Nov 2008, 20:27
Location: Rotterdam

Re: OpenSolaris Guest - Time is one hour off from host

Postby enilkciw » 10. Mar 2009, 19:25

Strangely enough, now that we are on DST the time is correct when I boot the OpenSolaris guests. I would entertain suggestions on how to troubleshoot this.
enilkciw
 
Posts: 6
Joined: 4. Mar 2009, 01:47

Re: OpenSolaris Guest - Time is one hour off from host

Postby rasta » 12. Mar 2009, 17:02

I had a similar problem on a 64-bit Solaris 10 u5 guest (vbox 2.1.4), WinXP host. After the change to Daylight Savings Time, the guest time was one hour ahead of the host. My guest time zone was set correctly. Solaris 10 u3 on a sparc machine handled the DST change correctly, as it always has. Hmmm.
rasta
Volunteer
 
Posts: 188
Joined: 24. Jul 2008, 00:25

Re: OpenSolaris Guest - Time is one hour off from host

Postby rlhamil » 27. Mar 2009, 05:42

Keep in mind that Intel systems typically run their battery clocks in _local_ time (changing them if needed to/from DST),
while Unix and similar use a time counting from the start of 1970 GMT, in seconds. So maybe the problem happens
during DST if your host (?) runs a TZ like EST5EDT, that uses DST. One would have to try out a few scenarios, e.g.
see if the problem goes away if using a DST-free TZ on the host.
rlhamil
 
Posts: 11
Joined: 3. Feb 2009, 03:05


Return to OpenSolaris Guests

Who is online

Users browsing this forum: No registered users and 3 guests