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

Bug#969479: reportbug: /usr/share/zoneinfo/Etc/GMT+2 is actually GMT-2 and /usr/share/zoneinfo/Etc/GMT-2 is GMT+2



Package: reportbug
Version: 7.5.3~deb10u1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I needed to be on the correct timezone on my container https://hub.docker.com/_/httpd?tab=description
FYI: reportbug was executed from that container.
   

   * What exactly did you do that was ineffective)?
     
     Changed the timezone to reflect mine (GMT+2) was ineffective
     
     
root@f7d91ad3ac98:/usr/local/apache2# ls -l /etc/localtime
lrwxrwxrwx. 1 root root 29 Sep  3 09:20 /etc/localtime -> /usr/share/zoneinfo/Etc/GMT+2
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2# ls -l /usr/share/zoneinfo/Etc/GMT+2
-rw-r--r--. 1 root root 148 Apr 27 08:46 /usr/share/zoneinfo/Etc/GMT+2
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2# ls -l /usr/share/zoneinfo/Etc/
total 104
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 GMT -> ../GMT
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 GMT+0 -> ../GMT
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+1
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT+10
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT+11
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT+12
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+2
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+3
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+4
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+5
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+6
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+7
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+8
-rw-r--r--. 1 root root 148 Apr 27 08:46 GMT+9
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 GMT-0 -> ../GMT
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-1
-rw-r--r--. 1 root root 150 Apr 27 08:46 GMT-10
-rw-r--r--. 1 root root 150 Apr 27 08:46 GMT-11
-rw-r--r--. 1 root root 150 Apr 27 08:46 GMT-12
-rw-r--r--. 1 root root 150 Apr 27 08:46 GMT-13
-rw-r--r--. 1 root root 150 Apr 27 08:46 GMT-14
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-2
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-3
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-4
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-5
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-6
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-7
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-8
-rw-r--r--. 1 root root 149 Apr 27 08:46 GMT-9
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 GMT0 -> ../GMT
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 Greenwich -> ../GMT
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 UCT -> ../UCT
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 UTC -> ../UCT
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 Universal -> ../UCT
lrwxrwxrwx. 1 root root   6 Apr 27 08:46 Zulu -> ../UCT
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2# date
Thu Sep  3 13:54:36 -02 2020
root@f7d91ad3ac98:/usr/local/apache2#



   * What was the outcome of this action?

Wrong date displayed in result of date command



   * What outcome did you expect instead?

GMT+2 date as a result of date command was expected



   * What exactly did you do that was effective?


root@f7d91ad3ac98:/usr/local/apache2# ln -sf /usr/share/zoneinfo/Etc/GMT-2 /etc/localtime
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2# ls -l /etc/localtime
lrwxrwxrwx 1 root root 29 Sep  3 17:56 /etc/localtime -> /usr/share/zoneinfo/Etc/GMT-2
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2#
root@f7d91ad3ac98:/usr/local/apache2# date
Thu Sep  3 17:56:25 +02 2020
root@f7d91ad3ac98:/usr/local/apache2#

*** End of the template - remove these template lines ***


-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /root/.reportbugrc:
reportbug_version "7.5.3~deb10u1"
mode novice
ui text
offline
realname "support@cecurity.com"
email "support@cecurity.com"
no-check-uid
no-cc
list-cc-me
smtphost reportbug.debian.org

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-193.14.3.el8_2.x86_64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages reportbug depends on:
ii  apt                1.8.2.1
ii  python3            3.7.3-1
iu  python3-reportbug  7.5.3~deb10u1
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                              <none>
pn  debconf-utils                           <none>
pn  debsums                                 <none>
pn  dlocate                                 <none>
pn  emacs-bin-common                        <none>
ii  file                                    1:5.35-4+deb10u1
pn  gnupg | pgp                             <none>
pn  postfix | exim4 | mail-transport-agent  <none>
pn  python3-urwid                           <none>
pn  reportbug-gtk                           <none>
pn  xdg-utils                               <none>

Versions of packages python3-reportbug depends on:
ii  apt                1.8.2.1
ii  file               1:5.35-4+deb10u1
ii  python3            3.7.3-1
ii  python3-apt        1.8.4.1
ii  python3-debian     0.1.35
iu  python3-debianbts  2.8.2
iu  python3-requests   2.21.0-1
ii  sensible-utils     0.0.12

python3-reportbug suggests no packages.

-- no debconf information


Reply to: