Bug 177779
Summary: | Installer doesn't accept timezone change on firstboot | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Justin Conover <justin.conover> |
Component: | system-config-date | Assignee: | Nils Philippsen <nphilipp> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | markku.kolkka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-01-17 08:33:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Justin Conover
2006-01-13 21:39:06 UTC
Nils, patch is attached below. Index: scdMainWindow.py =================================================================== RCS file: /usr/local/CVS/redhat-config-date/src/scdMainWindow.py,v retrieving revision 1.1 diff -u -r1.1 scdMainWindow.py --- scdMainWindow.py 9 Jan 2006 23:23:14 -0000 1.1 +++ scdMainWindow.py 16 Jan 2006 16:41:23 -0000 @@ -160,7 +160,11 @@ self.dateBackend.chkconfigOn() #Get the timezone info from the timezone page - timezone, utc, arc = self.timezonePage.getTimezoneInfo() + if "timezone" in self.showPages: + timezone, utc, arc = self.timezonePage.getTimezoneInfo() + else: + timezone, utc, arc = self.timezoneBackend.getTimezoneInfo() + self.timezoneBackend.writeConfig(timezone, utc, arc) if self.closeParent == 1 and not self.firstboot: Index: timezoneBackend.py =================================================================== RCS file: /usr/local/CVS/redhat-config-date/src/timezoneBackend.py,v retrieving revision 1.18 diff -u -r1.18 timezoneBackend.py --- timezoneBackend.py 7 Oct 2005 11:15:23 -0000 1.18 +++ timezoneBackend.py 16 Jan 2006 16:41:23 -0000 @@ -37,7 +37,7 @@ def writeConfig (self, timezone, utc=0, arc=0): fromFile = "/usr/share/zoneinfo/" + timezone - if utc == 0: + if utc == 0 or utc == "false": utc = "false" else: utc = "true" I've applied the patch in s-c-date-1.7.99.15. *** Bug 178209 has been marked as a duplicate of this bug. *** |