Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
11-06-2011, 06:18 AM
|
#1
|
|
Member
Registered: Jul 2007
Location: In a van down by the river...
Distribution: Slackware64 14.0
Posts: 111
Rep:
|
Timezone EDT -> EST issue with 13.37?
Either KDE or Slackware failed to fall back an hour this morning.
Dump of /etc/localtime:
Code:
/etc/localtime Sun Nov 6 05:59:59 2011 UTC = Sun Nov 6 01:59:59 2011 EDT isds
t=1 gmtoff=-14400
/etc/localtime Sun Nov 6 06:00:00 2011 UTC = Sun Nov 6 01:00:00 2011 EST isds
t=0 gmtoff=-18000
output of the date command:
Code:
# date
Sun Nov 6 08:13:08 EST 2011
actual date: Sun Nov 6 07:13:08 EST 2011
The time didn't fall back one hour.
That's interesting. I executed tzselect and received the following results for TZ='America/Detroit'
Code:
The following information has been given:
United States
Eastern Time - Michigan - most locations
Therefore TZ='America/Detroit' will be used.
Local time is now: Sun Nov 6 08:17:54 EST 2011.
Universal Time is now: Sun Nov 6 13:17:54 UTC 2011.
Is the above information OK?
1) Yes
2) No
#?
Which is not correct since its 07:17:54 EST
Slackware 13.37 64bit
ntp is not setup.
KDE version - whatever is shipped with Slackware 13.37
|
|
|
|
11-06-2011, 06:46 AM
|
#2
|
|
Member
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 87
Rep:
|
Hi,
EDIT: sorry, did not see you did what was below, does Mich use a different time that NY, what is below is for NY:
Worked for me 
Give this a try, it will tell you about your default timezone settings:
/usr/sbin/zdump -v /etc/localtime | grep 2011
for EST/EDT I get, and if it does not match what you get maybe you have a old timezone db
/etc/localtime Sun Mar 13 06:59:59 2011 UTC = Sun Mar 13 01:59:59 2011 EST isdst=0 gmtoff=-18000
/etc/localtime Sun Mar 13 07:00:00 2011 UTC = Sun Mar 13 03:00:00 2011 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 6 05:59:59 2011 UTC = Sun Nov 6 01:59:59 2011 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 6 06:00:00 2011 UTC = Sun Nov 6 01:00:00 2011 EST isdst=0 gmtoff=-18000
Jack
Last edited by jmccue; 11-06-2011 at 06:49 AM.
|
|
|
|
11-06-2011, 07:36 AM
|
#3
|
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware -current, OpenBSD, OSX
Posts: 144
Rep:
|
I'm in Ontario and use EST5EDT as my timezone when setting machines up. Fallback happened as expected this morning.
|
|
|
|
11-06-2011, 08:38 AM
|
#4
|
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,507
|
Quote:
|
...does Mich use a different time that NY...
|
The four counties of Dickinson, Gogebic, Iron and Menominee, in the western Upper Peninsula, are in the Central Time Zone; the rest of the state (most of it) is in the Eastern Time Zone, same time as New York. That's the "Michigan" setting for those four counties, otherwise you'd choose Eastern.
Hope this helps some.
Last edited by tronayne; 11-06-2011 at 08:39 AM.
|
|
|
|
11-06-2011, 01:36 PM
|
#5
|
|
Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware
Posts: 936
|
What glibc-zoneinfo package do you have installed?
Mine (which worked correctly) is glibc-zoneinfo-2.13-noarch-4
|
|
|
|
11-06-2011, 02:16 PM
|
#6
|
|
Member
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.0
Posts: 446
Rep:
|
Set the Hardware Clock to the current System Time:
# hwclock --systohc
|
|
|
|
11-06-2011, 06:24 PM
|
#7
|
|
Member
Registered: Jul 2007
Location: In a van down by the river...
Distribution: Slackware64 14.0
Posts: 111
Original Poster
Rep:
|
Quote:
Originally Posted by Richard Cranium
What glibc-zoneinfo package do you have installed?
Mine (which worked correctly) is glibc-zoneinfo-2.13-noarch-4
|
I have glibc-zoneinfo-2.13_multilib-noarch-4alien
|
|
|
|
11-06-2011, 06:27 PM
|
#8
|
|
Member
Registered: Jul 2007
Location: In a van down by the river...
Distribution: Slackware64 14.0
Posts: 111
Original Poster
Rep:
|
Quote:
Originally Posted by tronayne
The four counties of Dickinson, Gogebic, Iron and Menominee, in the western Upper Peninsula, are in the Central Time Zone; the rest of the state (most of it) is in the Eastern Time Zone, same time as New York. That's the "Michigan" setting for those four counties, otherwise you'd choose Eastern.
Hope this helps some.
|
Not so. when I run tzselect I have the two Michigan options:
Code:
2) Eastern Time - Michigan - most locations
14) Central Time - Michigan - Dickinson, Gogebic, Iron & Menominee Counties
I selected 2 since I'm not in the U.P.
BTW: I manually fixed it by using the "date -s" command.
I'll have to see if it moves forward next spring.
|
|
|
|
11-06-2011, 07:44 PM
|
#9
|
|
Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware
Posts: 936
|
Quote:
Originally Posted by bassplayer69
I have glibc-zoneinfo-2.13_multilib-noarch-4alien
|
Hmm. Has anyone else running multilib seen a problem? (I don't expect the OP to answer this one.  )
|
|
|
|
11-06-2011, 09:26 PM
|
#10
|
|
Member
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 48
Rep:
|
I go through this every 6 months or so. I google, I search linuxquestions, I listen to my wife say "It works fine on Windows", then I set the time manually and promise myself to solve it, and then forget.
Running 3 Slackware, home workstation (13.37, 64-bit), laptop (current, 32), and an always-on crufty old PIII (current, 32). Only the PIII has the correct time right now.
So I have a theory: having the hardware clock set to local time (the default) means that you have to have the machine running during the time-change to work correctly. My workstation and laptop were off last night.
Right? Wrong? Should I just switch to UTC hw clock to solve this?
|
|
|
1 members found this post helpful.
|
11-06-2011, 10:30 PM
|
#11
|
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,212
|
Quote:
Originally Posted by kfritz
So I have a theory: having the hardware clock set to local time (the default) means that you have to have the machine running during the time-change to work correctly. My workstation and laptop were off last night.
Right? Wrong? Should I just switch to UTC hw clock to solve this?
|
I believe this is correct unless you use a properly configured ntpd (and set it to start at boot time via /etc/rc.d/rc.ntpd), which, in Slackware, is set to allow the first adjustment to be big.
|
|
|
|
11-07-2011, 10:07 AM
|
#12
|
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware -current, OpenBSD, OSX
Posts: 144
Rep:
|
got this here glibc-zoneinfo-2.13_multilib-noarch-4alien and the laptop was in "suspend to ram" and it came up fine with the correct time on Sunday
|
|
|
|
11-07-2011, 10:13 AM
|
#13
|
|
Member
Registered: Jul 2007
Location: In a van down by the river...
Distribution: Slackware64 14.0
Posts: 111
Original Poster
Rep:
|
Quote:
Originally Posted by kfritz
I go through this every 6 months or so. I google, I search linuxquestions, I listen to my wife say "It works fine on Windows", then I set the time manually and promise myself to solve it, and then forget.
Running 3 Slackware, home workstation (13.37, 64-bit), laptop (current, 32), and an always-on crufty old PIII (current, 32). Only the PIII has the correct time right now.
So I have a theory: having the hardware clock set to local time (the default) means that you have to have the machine running during the time-change to work correctly. My workstation and laptop were off last night.
Right? Wrong? Should I just switch to UTC hw clock to solve this?
|
Exactly. The Windows 7 VM I have worked fine. So, during the transition from EDT to EST and EST to EDT we're supposed to leave the computers on over night so it works? That's pretty lame... Just saying...
I don't mind setting the correct time twice a year, but this is the 21st century after all.
|
|
|
|
11-07-2011, 12:06 PM
|
#14
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 971
Rep: 
|
Couldn't this issue be resolved by running /etc/rd.d/rc.ntpd, as mentioned in T3slider's post?
Doesn't windows automagically update its time settings because there's a time server running?
cheers,
|
|
|
|
11-07-2011, 02:11 PM
|
#15
|
|
Member
Registered: Jul 2007
Location: In a van down by the river...
Distribution: Slackware64 14.0
Posts: 111
Original Poster
Rep:
|
Quote:
Originally Posted by mrclisdue
Couldn't this issue be resolved by running /etc/rd.d/rc.ntpd, as mentioned in T3slider's post?
Doesn't windows automagically update its time settings because there's a time server running?
cheers,
|
I was planning on setting up the ntpd information as suggested, but with my Windows 7 VM, no, I don't have it set to go query a time server for the date/time.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:34 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|