summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ntp.py
Commit message (Collapse)AuthorAgeFilesLines
* Handle sending program output to tty5 through the logging setup.David Lehman2013-01-281-2/+1
|
* Close temp file before moving it (#858681)Vratislav Podzimek2012-09-211-3/+3
| | | | | When writing new NTP servers configuration the temporary file has to be closed before moving it to the right place.
* Use shutil.move for replacing old config with the new oneVratislav Podzimek2012-08-291-2/+5
| | | | | | | os.rename fails if source and destination are on different fileystems, shutil.move should copy and remove the source in such cases. Resolves: rhbz#851653
* Sync time with a working NTP server when NTP is turned onVratislav Podzimek2012-06-121-0/+48
| | | | | | 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.
* Use for instead of while when iterating over ListStores and filesVratislav Podzimek2012-06-121-8/+2
|
* Add ntp module to facilitate NTP-related codeVratislav Podzimek2012-06-011-0/+151
Since we now set up NTP in Anaconda, we need a module providing some supporting NTP-related functions.