Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2008-06-25, 06:28 PM CDT
billymayday's Avatar
billymayday Offline
Registered User
 
Join Date: May 2005
Location: Sydney
Posts: 38
Cannot tell Fedora that the system clock does not use UTC

I'm having a problem that I don't seem to be able to tell my F9 installation that mys system clock is on local time.

I've tried to uncheck the box in system/administration/date & time. timeconfig from the command line (as root) doesn't change it (run it again and it's checked). i get the following output when I try timeconfig

Quote:
timeconfig
Traceback (most recent call last):
File "/usr/share/system-config-date/timeconfig.py", line 116, in <module>
runConfig(rc)
File "/usr/share/system-config-date/timeconfig.py", line 94, in runConfig
timezoneBackend.writeConfig(timezone, utc)
File "/usr/share/system-config-date/timezoneBackend.py", line 55, in writeConfig
shutil.copyfile(fromFile, "/etc/localtime")
File "/usr/lib/python2.5/shutil.py", line 41, in copyfile
raise Error, "`%s` and `%s` are the same file" % (src, dst)
shutil.Error: `/usr/share/zoneinfo/Australia/Sydney` and `/etc/localtime` are the same file
and I've tried adding "UTC = false" to /etc/sysconfig/clock

I've used Fedora from FC4 to the present, and various other distros on this machine all work fine in respect of times.

Any thoughts?
Reply With Quote
  #2  
Old 2008-06-26, 01:34 AM CDT
bhoot Offline
Registered User
 
Join Date: Jun 2008
Posts: 1
I am very new at linux ... This is my first problem


File "/usr/share/system-config-date/scdMainWindow.py", line 86, in ok_clicked
self.apply ()
File "/usr/share/system-config-date/scdMainWindow.py", line 201, in apply
self.timezoneBackend.writeConfig (timezone, utc)
File "/usr/share/system-config-date/timezoneBackend.py", line 55, in writeConfig
shutil.copyfile(fromFile, "/etc/localtime")
File "/usr/lib/python2.5/shutil.py", line 41, in copyfile
raise Error, "`%s` and `%s` are the same file" % (src, dst)
shutil.Error: `/usr/share/zoneinfo/Asia/Kolkata` and `/etc/localtime` are the same file
Reply With Quote
  #3  
Old 2008-06-26, 06:10 AM CDT
billymayday's Avatar
billymayday Offline
Registered User
 
Join Date: May 2005
Location: Sydney
Posts: 38
No, your problems are:

1) you haven't asked a question, and
2) by adding it to my thread, no one will see it in a relevant sense.

Do you know what you are doing?
Reply With Quote
  #4  
Old 2008-06-26, 03:35 PM CDT
DTParanoia Offline
Registered User
 
Join Date: Jun 2005
Posts: 5
I can't offer a solution but I have a question. Does /dev/rtc exist on your machine?

I ask as I have a similar issue being unable to tell fedora that the system clock in NOT UTC but my issue is tracable to the non-existence of the real time clock device file, I'm curious about if this is also the case on your machine.

details of my issue here -- http://forums.fedoraforum.org/forum/...79&postcount=6
Reply With Quote
  #5  
Old 2008-06-29, 07:26 PM CDT
billymayday's Avatar
billymayday Offline
Registered User
 
Join Date: May 2005
Location: Sydney
Posts: 38
I have a link /dev/rtc to /dev/rtc0
Reply With Quote
  #6  
Old 2009-06-24, 09:47 PM CDT
bodhi.zazen's Avatar
bodhi.zazen Offline
Registered User
 
Join Date: Jul 2006
Location: Montana
Posts: 139
time is read from the BIOS. Windows can not use UTC easily, so it uses localtime.

If you dual boot with windows, when you install Linux, and the installer asks if your system uses UTC or localtime, select localtime.

To set post-install you can either :

1. From the command line :

Code:
hwclock --localtime
2. From the gui interface go to :

System -> Administration -> Date and time

If you are using NTP (Network Time Protocol tab) you need to disable that first.

(Un check the "Enable Network Time Protocol box in the NTP tab).

Then click the Time Zone tab -> Remove the check mark in the "System clock uses UTC" near the bottom on the right.

Your system time will not change automatically -> go back to the Date & Time tab and set the time.

Now, if you wish to use ntp, go back to the Network Time Protocol tab and again check the "Enable Network Time Protocol".

You should be good to go
__________________
If it is not broken, tweak it... If you break Fedora you get to keep both pieces
Reply With Quote
  #7  
Old 2009-06-24, 10:28 PM CDT
scottro's Avatar
scottro Online
Community Manager -- Banned by personal request.
 
Join Date: Sep 2007
Location: NYC
Posts: 7,532
@billymayday, keep in mind that both Windows and Linux will reset the hardware (BIOS) clock as they shutdown. So if one keeps changing it, the other will change it back.

@bhodi, I never new that hwclock --localtime trick, thanks, I always manually edited /etc/adjtime.

At bhoot, as was said, no one will really notice your post here. Take a look at the forum guidelines, (There's a link at the top of the page.)
You mean this?

In regards to cross-posting, and private messaging, etc, my bad. I was frustrated, and it's been 2 years since I've read the "regulations."


Look at their suggestions for , posting, and I'd recommend you simply repost your question in a new thread, with a descriptive title, (and probably in the General Support section). A title like

ZoneInfo and localtime are same file.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM CM's (or any other forum member) with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 9 Gnome system clock and Sabayon conflict viperskunk General Support 4 2008-08-04 06:34 AM CDT
hardware clock system clock vanderkerkoff General Support 2 2007-12-08 05:50 AM CST
system clock misbehaving Ali Sobhi gmane.linux.redhat.fedora.general 7 2006-06-02 04:50 AM CDT
System clock slow; Hardware clock fine voxelbox Software 8 2004-09-22 09:43 PM CDT
system freezes after a period, something to do with system clock alexlambdax General Support 5 2004-07-17 10:05 PM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 08:02 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages thanks to vB Enterprise Translator