Re: [newui] [PATCH] Sync time with a working NTP server when NTP is turned on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 07, 2012 at 04:37:00PM +0200, Vratislav Podzimek wrote:
> chronyd doesn't change the time immediately because it wants to
> prevent time leaps. However this way it may look like if NTP was
> not running at all, so we need a manual sync first.

Isn't there a way to do this with chronyc? I see the makestep command,
but can't get it to work (501 Not authorised).

> +    thread_name = "AnaSyncTime_%s" % server
> +    if threadMgr.get(thread_name):
> +        #syncing with the same server running
> +        return

I think this means that we could have multiple threads running, all
trying to sync to different servers. That doesn't really seem like a
good idea, does it?

> -                if self._config_dialog.working_server is None:
> +
> +                working_server = self._config_dialog.working_server 

There's a trailing space on this line ^^^

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpDKS9bB2AFZ.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux