Bug 1399098

Summary: Broken symbolic links in /etc
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: dockerAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: adimania, admiller, amurdaca, dwalsh, ichavero, jcajka, jchaloup, lsm5, marianne, miminar, nalin, riek, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-03 10:43:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukas Slebodnik 2016-11-28 09:40:56 UTC
Description of problem:
The latest version of docker owns few symbolic links in the /etc/docker/certs.d/
But they are broken.

Version-Release number of selected component (if applicable):
docker-1.12.3-24.git7b5044b.fc26.x86_64

How reproducible:
Deterministic

Steps to Reproduce:
1. //install docker from rawhide
   dnf install -y docker
2. file /etc/docker/certs.d/redhat.com/redhat-ca.crt /etc/docker/certs.d/redhat.io/redhat-ca.crt

Actual results:
/etc/docker/certs.d/redhat.com/redhat-ca.crt: broken symbolic link to /etc/rhsm/ca/redhat-uep.pem
/etc/docker/certs.d/redhat.io/redhat-ca.crt:  broken symbolic link to /etc/rhsm/ca/redhat-uep.pem

Expected results:
/etc/docker/certs.d/redhat.com/redhat-ca.crt: symbolic link to /etc/rhsm/ca/redhat-uep.pem
/etc/docker/certs.d/redhat.io/redhat-ca.crt:  symbolic link to /etc/rhsm/ca/redhat-uep.pem

Additional info:
sh# find /etc/docker/certs.d/
/etc/docker/certs.d/
/etc/docker/certs.d/redhat.com
/etc/docker/certs.d/redhat.com/redhat-ca.crt
/etc/docker/certs.d/redhat.io
/etc/docker/certs.d/redhat.io/redhat-ca.crt

sh# rpm -qf /etc/docker/certs.d/redhat.com/redhat-ca.crt /etc/docker/certs.d/redhat.io/redhat-ca.crt
docker-1.12.3-24.git7b5044b.fc26.x86_64
docker-1.12.3-24.git7b5044b.fc26.x86_64

sh# dnf install /etc/rhsm/ca/redhat-uep.pem

Last metadata expiration check: 0:02:53 ago on Mon Nov 28 10:30:15 2016 CET.
Dependencies resolved.
================================================================================
 Package                      Arch       Version              Repository   Size
================================================================================
Installing:
 python-rhsm-certificates     x86_64     1.18.2-1.fc26        rawhide      41 k

Transaction Summary
================================================================================
Install  1 Package

Comment 1 Antonio Murdaca 2016-11-28 10:46:09 UTC
Fixed by build: http://koji.fedoraproject.org/koji/buildinfo?buildID=820708

Comment 2 Fedora End Of Life 2017-02-28 10:40:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Fedora End Of Life 2018-05-03 08:25:38 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Lukas Slebodnik 2018-05-03 10:43:28 UTC
Works well

sh# rpm -q --requires docker | grep rhsm
python-rhsm-certificates

sh# rpm -q docker
docker-1.13.1-44.git584d391.fc26.x86_64