Red Hat Bugzilla – Bug 214709
Date::Manip unable to determine TimeZone.
Last modified: 2008-04-04 04:49:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061024 Firefox/2.0
Description of problem:
I have set up my timezone as "Asia/Krasnoyarsk" when installing FC6. It corresponds to the KRAT time zone as reported by the date command.
The problem is the perl Date::Manip module isn't recognizing this timezone. If you run perldoc Date::Manip and see the list of the zones it understands, you'll see the KRAT zone isn't listed. Eventually, KRAT is equal to CCT (+0800 China Coast, USSR Zone 7) and echoing CCT to /etc/timezone makes the Date::Manip module happy. But until you do so, all the perl scripts that use Date::Manip fail to run, including /etc/cron.daily/0logwatch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set timezone to KRAT.
2. Run /etc/cron.daily/0logwatch
ERROR: Date::Manip unable to determine TimeZone.
Execute the following command in a shell prompt:
The section titled TIMEZONES describes valid TimeZones
and where they can be defined.
The command should run fluently w/o an error.
This has been reported upstream already.
This is a duplicate of bug 174984 and bug 100786. Bug 100786 was closed CANTFIX
since it was opened against RH9. Can someone reopen that and change the
product/version? (Or maybe it should just be marked a duplicate of this ticket.)
I went ahead and added a simple patch to perl-DateManip to include the requested
timezone. This should be available in FC6-testing in the next day or two.
Andrey, if you could verify that this fixes your issue, I'll push it as an
update to FC6.
Steven, I reopened bug #100786 as you requested, and assigned it to me. Thanks
for digging it up!
perl-DateManip-5.44-2.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
(In reply to comment #2)
> Andrey, if you could verify that this fixes your issue, I'll push it as an
> update to FC6.
Yup. It now works just fine.
fwiw, the maintainer of Date::Manip has added the new TZ to the next version.
My FC6 uses the lates version of perl-DateManip (perl-DateManip-5.44-2.fc6).
My time zone is "Asia/Novosibirsk" (NOVT) and running /etc/cron.daily/0logwatch
outputs the same error message as Andrey provided: ERROR: Date::Manip unable to
Redhat EL 5 and perl-DateManip-5.44-1.2.1 having same error on
/etc/cron.daily/0logwatch. Time zone is "Asia/Kuala_Lumpur" (GMT+8).
Also getting this error on Fedora 7, perl-DateManip-5.44-3.fc7 . My current
timezone is Makassar (GMT-8 I think). I didn't have that problem when being back
in Germany, Berlin timezone.
Reproduced the bug with perl-DateManip-5.44-1.2.1 on FC6 and verified no such
error occurred when execute logwatch with perl-DateManip-5.44-2.fc6 by using
"Asia/Krasnoyarsk" timezone. But same error prompted by using "Asia/Novosibirsk"
with perl-DateManip-5.44-2.fc6. So assign it back.
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
I updated Date::Manip for F-7 and F-8.