time-admin does not update time

Bug #400130 reported by David Balažic
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-system-tools (Ubuntu)
Invalid
Low
Unassigned

Bug Description

gnome-system-tools 2.22.2-0ubuntu4
ubuntu 9.04 x86

time-admin ia total failure if I may say so:
 - does not detect ntp installation (bug 229169 and duplicates)
 - keeps displaying the time zone as Europe/Sarajevo even if it is set to Europe/Ljubljana (/etc/timezone has : Europe/Ljubljana)
 - does not update time, even if "Keep synchronized with Internet servers" is selected (and several NTP servers in list checked)
 - there is no "Synchronize now" button, even if the help mentions it

Philip Muškovac (yofel)
affects: ubuntu → gnome-system-tools (Ubuntu)
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

At least,
> - keeps displaying the time zone as Europe/Sarajevo even if it is set to Europe/Ljubljana (/etc/timezone has : Europe/Ljubljana)
should be fixed in Karmic now. Please report if it's the case.

Other issues will need more investigation that I'll try to do later. But generally, reporting several issues at the same time is not a good idea, above all don't mix bugs with feature requests, and we always need detailed information.

Revision history for this message
Philippe Joyez (ubuntu-5-pjoyez) wrote :

I have just installed a new machine with 9.10 and even though I had selected the correct time zone (europe-paris) the clock was two hours in advance.

Using "date and time" from the "administration" menu (time-admin application - note that I use approximate translations here, my system is in french), I tried the settings "synchronize with time server" surprisingly with no success (was still two hours early). I have tried several servers. I checked the hardware clock in the bios: It was OK.

Then I tried setting the time manually as time-admin seems to permit, but it kept flipping back to the wrong hour after 1 second! The "synchronize now" button did not correct the time either.

This means that at least in some situations it is impossible to set the time either manually or automatically within time-admin! This really deceptive and not very user friendly...

At first, in order to have the proper time displayed, I had found no other way than to switch to the azore time zone (which, of course is not ideal, as is has side effects for files and emails).

I found the way to fix the problem after a few days: Click on the clock applet in the menu bar, open the "places" panel, click the "modify" button, and then in the "clock preference" windows which pops up, click the middle button "set time". There you can actually set the correct time and apply it as system time (right button - with password validation). This procedure works, it's doable, but it's somewhat complicated and really hidden (the modify button is hidden in the "places" panel and one may think it only serves to modify... places!).

Time-admin should be fixed so that one can also set the system time from it. Otherwise it does not deserve its name.

Revision history for this message
Philippe Joyez (ubuntu-5-pjoyez) wrote :

By the way the fact that a discrepancy such as the one I reported above can happen upon install could justify a bug report too, but I have no idea where I can report it.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Philippe: could you open a new report and copy/paste your description above into it? This bug is already complex to handle because of the many problems it raises, and your problem deserves a special treatment ASAP.

About the original report, I should add:
> - does not update time, even if "Keep synchronized with Internet servers" is selected (and several NTP servers in > list checked)
Not sure, but sound an NTP bug to me. time-admin does not get time from the servers itself -how could it, since it's not running all the time. Please check that 'ps ax | grep ntp' reports that a process is running.

> - there is no "Synchronize now" button, even if the help mentions it
This is an Ubuntu-specific patch that must have some rationale, I guess this is because this button does not give any info about the success or failure of the update. Either docs should be patched too, or the patch should be removed. Worth another report though, nobody will find this request hidden among other problems.

And please also confirm that the Europe/Ljubljana time zone issue is still in Karmic, there have been a few fixes about that. Thanks!

Changed in gnome-system-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
David Balažic (xerces8) wrote :

testing with 9.10 desktop i386 CD (live boot):
 - ntpd is running
 - TZ selection works

 - time update : not sure, the time is correct...

 - there is no "Synchronize now" button, even if the help mentions it
  This is still the same.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Good for a start. Could you manually set the time to something obviously wrong, and then enable automatic NTP synchronization, so that you can check if it works or not. If that's fixed too, we can close this report and open another one about the synchronize button.

Revision history for this message
David Balažic (xerces8) wrote :

Time is updated from NTP, as discussed.

Who will create the bug about the synchronize button?

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

AFAICS the the synchronize button is here in Karmic. Is your LiveCD one of the final release? Other than that, are there problems left?

Changed in gnome-system-tools (Ubuntu):
importance: Undecided → Low
Revision history for this message
David Balažic (xerces8) wrote :

Where exactly should it be (the button)?
It is the final release, yes.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

It's a little button with a "refresh" icon, at the end of the line where you can set hours/minutes/seconds. But I guess you're missing the fact that it's only shown when in manual time setting mode (since it won't be of any use if ntpd is already synchronizing time on the background).

Revision history for this message
jaxparo (jaxparo) wrote :

In both Jaunty and Karmic the System>Administration>Time & Date has no "Synchronize Now" button. I am confirming this on several installations from the final i386 live install CDs. This appears to be a bug since the documentation mentions a button and shows a screenshot of a button that is not present.

Changed in gnome-system-tools (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

jxparo: are you sure you are in Manual mode? I've reinstalled the gnome-system-tools and I can still see this button in this mode. And I don't see the patch that used to hide it in Ubuntu.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

No news on this bug?

Changed in gnome-system-tools (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Allan W. Macdonald (allan-w-macdonald) wrote :

Also affects 10.04 LTS Lucid Lynx.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

What problem still exists? ;-) There were three of them, and I got no answer to confirm. So I'm closing it, please open a new report with detailed explanations.

David: feel free to reopen when you can answer my question.

Changed in gnome-system-tools (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.