Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
1. As I said, I do not want the RTC clock to be in local time. My goal is to leave Solaris on UTC, and Windows on local time zone..But again, leaving the RTC as UTC.
2. But, what if I change that registry setting that we did under Windows back to normal again and leaving the "zone info" as UTC under Solaris? Will this cause problems?
3. MY goal is just to leave both the RTC as UTC and also keeping the displayed time zone under Solaris as UTC also...So that way I would NOT have to change the time during DST changes...thats all I want to do at this point..As far as Im concerned now, I dont really care for Windows now..Only Solaris.
But preferrably....I would like Windows to use local time without touching the UTC settings under Solaris.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
So your saying I should CHANGE BACK the settings that we did for both operating systems?? Am I correct?
Then how would BOTH operating systems handle the DST changes if those instructions will not work? Then I would have the same exact problem again DURING DST? If setting the RTC clock back its LOCAL TIME...and leaving Solaris DISPLAYED TIME as UTC (TZ=UTC)..and leaving Windows LOCAL will I have the same issues?? And should I leave the box checked thats says"ADJUST DST TIME AUTOMATICALLY"??
So...if this is the case, then I should handle both DISPLAYED TIMES on BOTH O/Sses MANUALLY if I do not want things to have issues...In other words, I should leave that box UNCHECKED that says ADJUST DST TIME AUTOMATICALLY"?? right?
I AM SOOO LOST RIGHT NOW THAT I do not know what to do at this point on...Its a MESS...And I need to have the right exact setting as soon as possible..I cannot be playing around with this...
Just please give me THE GENERAL RULE ON WHAT TO DO PLEASE...
1. I just want to be able to prevent problems during DST...THATS ALL...I want to leave Solaris as UTC...and Windows LOCAL WITHOUT the times causing problems during DST changes...Thats all I want to do..
So is it best to change the time in Windows MANUALLY instead of leaving it checked on AUTOMATIC and
leaving Solaris displayed as UTC????
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
My current settings are:
1. RTC clock is set to UTC
2. Windows is set to show Local Time...with the check-box checked to "adjust dst time automatically"
3. Solaris shows UTC....
4. Solaris also shows the "ZONE INFO" as UTC..
So..what should I do in general...PLEASE???
Should I leave these settings or what do I need to adjust in order to prevent DST problems???
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
You cannot have Windows set to Local Time and dual boot another O/S when your local time is using DST unless you accept either to manually fix both times on the other O/S twice a year, or configure your system to do it automatically by synchronizing with an external clock (rdate or equivalent).
You may also try to uncheck the "adjust dst time automatically" if this choice exists (google doesn't find any reference of this string outside this thread) and see what happens.
If you choose another local time with no DST, there would be obviously no problem, In that case the best choice is certainly to use UTC.
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
I want to leave these settings under Solaris as these:
1. ZONE INFO=UTC
2. TZ=UTC...
THATS ALL I WANT...
Now, I want WIndows to show LOCAL TIME (as the displayed time) WITHOUT any problems during DST....How can I accomplish this?
Quote:
If you choose another local time with no DST, there would be obviously no problem, In that case the best choice is certainly to use UTC.
What do mean by above??? Can you post an example? You mean to keep the displayed time in UTC in Windows too? Is that what you mean by above? Or, should I leave that BOX UNCHECKED under the Time Zone properties under Windows??? But thats not what I want..I to keep the those settings above that I posted under Solaris, and keep Windows time as local....
Now how can i do this without causing DST problems????
I am going in circles here and dont know what to do under Windows if I want to keep the DISPLAYED TIME under Solaris as these settings: ZONE INFO=UTX and TZ=UTC...while leaving the RTC also as UTC..
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
So is it best to switch back that registry and do the same thing with Solaris like this:
rtc -z America/Los_Angeles
rdate time.nist.gov
And NEXT after I have done all that on BOTH OSs...I can now set the displayed time in Windows to LOCAL (without that box being checked), and set Solaris displayed time to UTC (which already is)???
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Unix doesn't necessarily on top of a BIOS.
When it doesn't and run on top of an OpenBoot prom or equivalent (SPARC, PowerPC, ...), the H/W clock is almost always on UTC.
The displayed time is generally the user's local time, with the exception of militar and aviation organizations that use UTC (a.k.a ZULU timezone).
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
Also, I forgot to ask this. Military systems that run UNIX (e.g.
Trusted Solaris, HP-UX), are those systems kept on UTC time for both
Hardware clock (RTC) and the actual displayed clocks? Or, its only the
Hardware clock that is set to UTC and the actual displayed times (the desktop clocks) are in Local Time? Or, both?
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
How can I set the OFFSET from UTC in Solaris after installation?? Did I already set it by using the is command like you told me?
Code:
rtc -c -z UTC
Or, is there something that I have to do again? I am in the US/Pacific time zone (TZ=US/Pacific)..So, to set the offset, will I have to do this instead?
[code]TZ=UTC-8
Question #2...
I know this is a Solaris forum...but speaking in terms of Mainframes, I hear them talking about setting the time in "TRUE UTC"
What does this mean??? I am still lost like crazy here...When they speak in terms of setting the true utc, do they mean the Hardware clock is set to UTC and the Displayed time (the desktop clock) is set to UTC also??
Distribution: Solaris 10 (x86) and Windows XP Pro SP2
Posts: 596
Original Poster
Rep:
How can I set the OFFSET from UTC in Solaris after installation?? Did I already set it by using the is command like you told me?
Code:
rtc -c -z UTC
Or, is there something that I have to do again? I am in the US/Pacific time zone (TZ=US/Pacific)..So, to set the offset, will I have to do this instead?
[code]TZ=UTC-8
Question #2...
I know this is a Solaris forum...but speaking in terms of Mainframes, I hear them talking about setting the time in "TRUE UTC"
What does this mean??? I am still lost like crazy here...When they speak in terms of setting the true utc, do they mean the Hardware clock is set to UTC and the Displayed time (the desktop clock) is set to UTC also??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.