Bug 1124852

Summary: The default /etc/sysconfig/docker file is a bunch of HTML
Product: [Fedora] Fedora EPEL Reporter: Taylor Braun-Jones <taylor>
Component: docker-ioAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: admiller, golang-updates, hushan.jia, jperrin, lsm5, mattdm, mgoldman, puiterwijk, s, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-15 15:59:25 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:
Embargoed:
Attachments:
Description Flags
The default docker sysconfig file with a bunch of HTML. none

Description Taylor Braun-Jones 2014-07-30 13:11:39 UTC
Created attachment 922569 [details]
The default docker sysconfig file with a bunch of HTML.

Description of problem:
The default /etc/sysconfig/docker file is a bunch of HTML non-sense. Looks like a failed attempt by the package maintainer to download the latest docker.sysconfig file through the docker cgit web interface.

Version-Release number of selected component (if applicable):
docker-io-1.0.0-1.el7

How reproducible:
Always.

Steps to Reproduce:
1. sudo yum --enablerepo epel install -y docker-io
2. cat /etc/sysconfig/docker

Actual results:
<< See attachment >>

Expected results:
# Comment lines with instructions on how to modify the file.
# Maybe some default values already set.

Comment 1 Lokesh Mandvekar 2014-07-30 13:48:09 UTC
Hi Taylor, docker is available in RHEL7/CentOS7 by default, and this build should no longer be used.

Patrick: ping, looks like the epel7 build is still there. Could you check on that with rel-eng please?

Comment 2 Taylor Braun-Jones 2014-07-30 14:29:43 UTC
Hm, on my CentOS7 system running `repoquery --repoid=base docker-io` returns nothing. Indeed, I see no docker-io package in the index at:

http://mirror.centos.org/centos/7/os/x86_64/Packages/

Comment 3 Marek Goldmann 2014-07-30 14:37:07 UTC
(In reply to Taylor Braun-Jones from comment #2)
> Hm, on my CentOS7 system running `repoquery --repoid=base docker-io` returns
> nothing. Indeed, I see no docker-io package in the index at:
> 
> http://mirror.centos.org/centos/7/os/x86_64/Packages/

The package is called "docker" and is available in the extras repo: http://mirror.centos.org/centos/7/extras/x86_64/Packages/

Comment 4 Taylor Braun-Jones 2014-07-30 14:59:25 UTC
Thanks, problem resolved with the docker package from the CentOS7 extras repo.

It seems there are two actions that need to be taken to properly resolve this issue:

  - The docker-io package in the EPEL7 repo should be deleted
  - The docker package in the extras repo should have an 'Obsoletes: docker-io` in it's spec file

Comment 5 Lokesh Mandvekar 2014-07-30 15:11:51 UTC
(In reply to Taylor Braun-Jones from comment #4)
> Thanks, problem resolved with the docker package from the CentOS7 extras
> repo.
> 
> It seems there are two actions that need to be taken to properly resolve
> this issue:
> 
>   - The docker-io package in the EPEL7 repo should be deleted

Yup. Patrick is working with fedora rel-eng on that.

>   - The docker package in the extras repo should have an 'Obsoletes:
> docker-io` in it's spec file

I do see what you mean, but this probably won't go in as docker-io was an EPEL package (not vanilla RHEL), while docker officially first entered vanilla RHEL as 'docker'. Correct me if I'm wrong.

Comment 6 Lokesh Mandvekar 2014-08-15 15:59:25 UTC
docker-io build has been removed from epel7 https://dl.fedoraproject.org/pub/epel/beta/7/x86_64/ (nothing in there)

epel7 branch has the install steps for default docker package https://pkgs.fedoraproject.org/cgit/docker-io.git/tree/dead.package?h=epel7