[Bug 1135981] DateTime::TimeZone::Local->TimeZone does not use /etc/locatime content (Cannot determine local time zone)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1135981



--- Comment #3 from Petr Pisar <ppisar@xxxxxxxxxx> ---
perl-DateTime-TimeZone is obsessed with time zone names. What
DateTime::TimeZone::Local->TimeZone does is it tries to determine the zone name
by many means. If it can figure out the name, it uses it as a key into its own
time zone database.

Some of the many means are:

(1) Reading /etc/localtime symbolic link value

(2) If /etc/localtime is not a symbolic link, it finds its copy under
/usr/share/zoneinfo whose path name is the zone name.

The tzdata presents in the minimal build root by a transitive dependency. The
issue probably is the /etc/localtime is copied by mock into the chroot because
the chroot is empty. Then tzadata are installed by @build group. Results the
/etc/locatime is a plain file and sometimes out-dated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=rHQM5Vh89R&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux