Bug 72149
| Summary: | Time zone's value ignores the current setting | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Akira TAGOH <tagoh> |
| Component: | redhat-config-date | Assignee: | Brent Fox <bfox> |
| Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | birdo, netdragon, notting |
| 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: | 2002-10-22 18:56:46 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
Akira TAGOH
2002-08-21 14:48:17 UTC
Should be fixed in 1.5.2-3. QA, please verify. Hmm, there seems to be qa contact for this bug, adding myself. This bug is fixed in the literal sense: redhat-config-date does indeed read the currect timezone/utc settings from /etc/sysconfig/clock. However, any changes mad e are not written back to this file. I am testing with redhat-config-date-1.5.2-10. See also bug#73498. The fix is in CVS now, but I can't push new packages to Rawhide now due to some problem with the build system. Should be fixed in 1.5.2-11. QA, please verify. The RPM can be found in dist-8.0.1. um...........
[mike@test114 mike]$ /usr/bin/redhat-config-date
Traceback (most recent call last):
File "/usr/share/redhat-config-date/redhat-config-date.py", line 35, in ?
mainWindow.mainWindow().stand_alone()
File "/usr/share/redhat-config-date/mainWindow.py", line 180, in __init__
self.timezonePage = timezone_gui.timezonePage()
File "/usr/share/redhat-config-date/timezone_gui.py", line 53, in __init__
if int(self.asUTC) == 1:
ValueError: invalid literal for int(): true
[mike@test114 mike]$ rpm -q redhat-config-date
redhat-config-date-1.5.2-11
[root@test114 root]# cat /etc/sysconfig/clock
ZONE="America/New_York"
UTC=true
ARC=false
it seems to be thrown off by boolean keywords like true/false on/off. It seems
to want to only see 0/1 and it seems to always write 0/1. Note that rc.sysinit
*doesn't understand* 0 or 1 for UTC or ARC, though to be fair this is probably a
bug in initscripts (since it does initialize them to be 0).
UTC/ARC is a true/false field, not a 0/1 field. At least, that's how it's documented and implemented. ;) Should be fixed properly now (hopefully). Please test with redhat-config-date-1.5.3-1 in dist-8.0.1 Confirmed fix. CLOSING->RAWHIDE *** Bug 78935 has been marked as a duplicate of this bug. *** *** Bug 79772 has been marked as a duplicate of this bug. *** *** Bug 84028 has been marked as a duplicate of this bug. *** |