Bug 480532
Summary: | uname -a showing wrong timezone | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Imtiaz Rahi <imtiaz.rahi> |
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | kdudka, ovasik, twaugh |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-20 09:34:26 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
Imtiaz Rahi
2009-01-18 13:22:06 UTC
What does following command say? cat /proc/sys/kernel/version Thanks for report, however - that's not a bug. Coreutils's uname(1) utility just calls uname(2) - which returns time of compiling kernel (as part of version string) - with locales at the time of compiling kernel - that's EST - as this is timezone used in koji build system. Similar bug was reported in gentoo (http://bugs.gentoo.org/7799) , closed invalid there. In Fedora NOTABUG. In debian or ubuntu the output shows UTC which makes much more sense. And its always easy to calculate my time from GMT or UTC. Rather than the EST. The world does not stand on EST. People live everywhere and they calculate their time from UTC and understands that quickly and easily. Suggesting to show UTC time in uname output. Thanks for suggestion, but I can't do that in uname - it just shows/interprets reports coming from syscall uname(2). Version string is generated at the build time. As koji build system - where are packages build - uses EST time zone, timestamp in kernel version string is generated with EST time zone. I can't change this in coreutils - as version string contains not only date. If Debian/Ububtu uses UTC, their kernel package was compiled on machine with localzone using UTC. Although I agree that usage of "something more general" than EST is good thing, it would probably mean some effort with almost no benefit for Fedora users. I can't change that in coreutils - therefore NOTABUG for coreutils. Koji webpages use UTC, but it seems that buildsystems use EST. It could be discussed in fedora-devel list or reported against koji build system, but there is nothing wrong with uname -a as kernel version is displayed properly, so closing that bug again. Maybe bug against koji (or ticket for fedora rel-eng) with Summary "RFE: Buildsystems should use UTC as their timezone" - with explanation that EST timezone causes kernel version string to be fixed on EST time and making reading of timestamp more difficult to non-US users. fedoras builders all run UTC. Then I can't figure out why kernel string contains EST timestamp in version... date command on x86-5.fedora.phx.redhat.com returns EST (tested now: "Mon Feb 2 07:17:22 EST 2009"). This command is used to create kernel version string during kernel build. |