| Summary: | Incorrect timezone setting: America/NewYork | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jacob Hunt <jhunt> | ||||
| Component: | cobbler | Assignee: | James C. <jimi> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | awood, bloch, cb20777, dgoodwin, gregswift, max, mike, nkadel, Per.t.Sjoholm, shenson, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 2.2.1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-04-17 00:45:03 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Jacob Hunt
2011-05-03 22:04:25 UTC
I can also confirm that this problem occurs in RHEL 5.7 / Centos 5.7 as well with Python 2.4. I 'fixed' the problem by changing /usr/share/cobbler/web/settings.py changing America/NewYork with America/New_York - however, to also try and get around the problems, I went to the type zones file in /usr/share/zoneinfo and went into America and performed ln -s New_York NewYork . This seems to get around any odd problems where the reference to NewYork is still made. A small typo - really needs to be fixed. It's still broken, in EPEL releases and Fedora 16. Here are my patches for the .spec file to fix this, some inappropriate reports about duplicated files in RPM compilation, and some permission errors for the web components. I'll submit separate bugs for those if necessary.
$ diff -u cobbler.spec cobbler-fixed.spec
--- cobbler.spec 2011-09-09 16:01:55.000000000 -0400
+++ cobbler-fixed.spec 2012-03-03 10:51:44.462630731 -0500
@@ -94,6 +94,9 @@
%prep
%setup -q
+# Fix timezone default
+%{__sed} -i.timezone 's|America/NewYork|America/New_York|g' web/settings.py
+
%build
%{__python} setup.py build
@@ -468,16 +471,18 @@
Web interface for Cobbler that allows visiting http://server/cobbler_web to configure the install server.
%files -n cobbler-web
+%defattr(-,root,root)
+%doc AUTHORS COPYING CHANGELOG README
+%config(noreplace) /etc/httpd/conf.d/cobbler_web.conf
%defattr(-,apache,apache)
%dir /usr/share/cobbler/web
/usr/share/cobbler/web/*
-%dir /usr/share/cobbler/web/cobbler_web
-/usr/share/cobbler/web/cobbler_web/*
-%config(noreplace) /etc/httpd/conf.d/cobbler_web.conf
+# Unnecessary, grabbed by above list
+#%dir /usr/share/cobbler/web/cobbler_web
+#/usr/share/cobbler/web/cobbler_web/*
%dir /var/lib/cobbler/webui_sessions
%dir /var/www/cobbler_webui_content
/var/www/cobbler_webui_content/*
-%doc AUTHORS COPYING CHANGELOG README
%changelog
* Fri Sep 9 2011 Tom Callaway <spot> - 2.0.11-3
This needs to moved to the new issue tracker for cobbler https://github.com/cobbler/cobbler/issues This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This was fixed in the 2.2.x series. I'm going to close this issue here, and if it is still a problem please open a new ticket at the github issue tracker Greg posted above. |