I'll take a look.

I believe the initial plan was to pull zone info in via something dynamic from the host, but I don't honestly remember...

Pat

On 10/18/19 5:02 AM, Duncan MacLeod wrote:
Hi all,

I think there's an issue with the sl:7 docker image (at least the one that's available as of today, Oct 18 2019, digest included below), namely that tzdata is quoted as installed, but the actual contents of that package aren't there. This breaks functionality in python-dateutil, which is unfortunate. If I yum reinstall tzdata, this resolves the issue. A verbose terminal output that demonstrates the problem is included below.

Can this image be rebuilt so that the files are present? Apologies if this is the wrong place to report bugs*.


Thanks
Duncan

*the dockerhub page for sl (https://hub.docker.com/_/sl <https://urldefense.proofpoint.com/v2/url?u=https-3A__hub.docker.com_-5F_sl&d=DwMGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=ZMb0auIJuVlRjqQ0G-k96lwDm1D3P8ZpSMXKo03iiEA&s=CUyJ2djp5M5iniuhQrqgXwS9RzUrWsTODF1BfPDxSXg&e=>) tells me to report issues to (https://github.com/scientificlinux/sl-docker/issues <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_scientificlinux_sl-2Ddocker_issues&d=DwMGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=ZMb0auIJuVlRjqQ0G-k96lwDm1D3P8ZpSMXKo03iiEA&s=6PBzqzmX4C9nV2F0NBMlLSMP6MYeq5fUG5Xwq1PjqeU&e=>), but that link redirects to the equivalent pulls page because the repo has issues disabled)

$ docker run -it sl:7
Unable to find image 'sl:7' locally
7: Pulling from library/sl
2eea7837af89: Already exists
Digest: sha256:9670b9e70c98c9617ad5e804e481788f17b7efc2d63b006e9732fd8fabd866e3
Status: Downloaded newer image for sl:7
[root@3bcb3a5d96cd /]# yum -y -q update
[root@3bcb3a5d96cd /]# yum list installed | grep tzdata
tzdata.noarch                             2019c-1.el7        installed
[root@3bcb3a5d96cd /]# yum install tzdata
Loaded plugins: ovl
Package tzdata-2019c-1.el7.noarch already installed and latest version
Nothing to do
[root@3bcb3a5d96cd /]# ls -lrt /usr/share/zoneinfo
ls: cannot access /usr/share/zoneinfo: No such file or directory
[root@3bcb3a5d96cd /]# yum reinstall tzdata
Loaded plugins: ovl
Resolving Dependencies
--> Running transaction check
---> Package tzdata.noarch 0:2019c-1.el7 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package             Arch                Version     Repository                Size
====================================================================================================
Reinstalling:
 tzdata              noarch              2019c-1.el7     sl-security              475 k

Transaction Summary
====================================================================================================
Reinstall  1 Package

Total download size: 475 k
Installed size: 1.9 M
Is this ok [y/d/N]: y
Downloading packages:
tzdata-2019c-1.el7.noarch.rpm              | 475 kB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : tzdata-2019c-1.el7.noarch                                1/1   Verifying  : tzdata-2019c-1.el7.noarch                                1/1

Installed:
  tzdata.noarch 0:2019c-1.el7

Complete!
[root@3bcb3a5d96cd /]# ls -lrt /usr/share/zoneinfo
total 432
-rw-r--r--  1 root root   4463 Feb 19  2019 iso3166.tab
<etc etc>
--
Duncan Macleod
[email protected] <mailto:[email protected]>| [email protected] <mailto:[email protected]>
Sêr Cymru COFUND Fellow| Cymrawd Sêr Cymru COFUND
Cardiff University Gravity Exploration Institute| Sefydliad Archwilio Disgyrchiant Prifysgol Caerdydd

--
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org

Reply via email to