Bug 858681

Summary: NTP servers disappear when shown twice
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: anacondaAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 02:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stef Walter 2012-09-19 12:15:02 UTC
Description of problem:

When I click the gears next to 'Network Time OFF', a set of NTP servers is shown. If I press cancel, and then click the gears again, the NTP servers have been cleared.

Version-Release number of selected component (if applicable):

Fedora 18-Alpha

Comment 1 Vratislav Podzimek 2012-09-20 10:48:07 UTC
I'm sorry, but I cannot reproduce it. Could you please attach logs from such case and describe, how you can reproduce it step by step? Does it happen on live installation?

Comment 2 Vratislav Podzimek 2012-09-20 11:11:32 UTC
Okay, I've successfully reproduced this issue. It happens when you click on OK button of the NTPServers dialog and then in a short time click the gears again.

Comment 3 Vratislav Podzimek 2012-09-20 11:21:33 UTC
(In reply to comment #2)
> Okay, I've successfully reproduced this issue. It happens when you click on
> OK button of the NTPServers dialog and then in a short time click the gears
> again.
This is not enough. One has to click OK, in a short time click the gears again, click Cancel and click gears again. OK button saves servers to the configuration file and Cancel causes that this file is read. I have no idea why, but this obviously leads to an empty configuration file and thus no servers in the list.

Comment 4 Vratislav Podzimek 2012-09-20 11:54:12 UTC
To continue my monologue...
Problem is in saving NTP servers to the configuration file, which leads in an empty file. Fix posted to anaconda-patches list.

Comment 5 Vratislav Podzimek 2012-09-20 11:59:02 UTC
No additional info needed.

Comment 6 Vratislav Podzimek 2012-09-21 11:20:39 UTC
(In reply to comment #4)
> To continue my monologue...
> Problem is in saving NTP servers to the configuration file, which leads in
> an empty file. Fix posted to anaconda-patches list.
Pushed to master.

Comment 7 Adam Williamson 2012-11-23 02:20:59 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.