| Summary: | system-config-date puts 'Los Angeles' in /etc/sysconfig/clock | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Brendan McGrath <brendan> |
| Component: | system-config-date | Assignee: | Jan Synacek <jsynacek> |
| Status: | CLOSED DUPLICATE | QA Contact: | qe-baseos-daemons |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.8 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-12 08:38:14 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: | |
|
Description
Brendan McGrath
2016-12-10 07:19:00 UTC
The fix appears to be a one liner:
diff --git a/src/scdate/core/timezoneBackend.py b/src/scdate/core/timezoneBackend.py
index 806aaaa..605f2fa 100644
--- a/src/scdate/core/timezoneBackend.py
+++ b/src/scdate/core/timezoneBackend.py
@@ -56,7 +56,7 @@ class timezoneBackend(object):
f.write ("# The time zone of the system is defined by the contents of /etc/localtime.\n")
f.write ("# This file is only for evaluation by system-config-date, do not rely on its\n")
f.write ("# contents elsewhere.\n")
- f.write('ZONE="%s"\n' % timezone)
+ f.write('ZONE="%s"\n' % timezonefile)
f.close()
if self._adjtimeHasUTCInfo:
This bug is already fixed and scheduled for the next minor version of RHEL. *** This bug has been marked as a duplicate of bug 956284 *** Thanks for confirming this will be in the next minor version of RHEL. Unfortunately I can't access bug 956284 so I have a few follow up questions. Are you able to advise when the next minor version of RHEL will be released (I assume you are referring to RHEL 6.9)? Also - I would like to review the patch used to fix this and potentially apply it manually in advance. Or is the plan to migrate to version 1.10 (which appears to take a different approach). Thanks again. And given bug 956284 is not public - this information could be useful for the next person. (In reply to Brendan McGrath from comment #5) > Thanks for confirming this will be in the next minor version of RHEL. > > Unfortunately I can't access bug 956284 so I have a few follow up questions. > > Are you able to advise when the next minor version of RHEL will be released > (I assume you are referring to RHEL 6.9)? I'm not allowed to do that, sorry. > Also - I would like to review the patch used to fix this and potentially > apply it manually in advance. Or is the plan to migrate to version 1.10 > (which appears to take a different approach). You can apply the patch from comment#1. There's no plan to migrate to other versions. |