Bug 1165615

Summary: Docker needs at least device-mapper-libs-1.02.90-1 to start correcty as a systemd service
Product: [Fedora] Fedora Reporter: Jan Chaloupka <jchaloup>
Component: docker-ioAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 21CC: admiller, ekuric, golang-updates, hushan.jia, jperrin, lsm5, lsm5, mattdm, mgoldman, miminar, s, thrcka, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-22 08:43:53 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:

Description Jan Chaloupka 2014-11-19 11:10:32 UTC
Description of problem:

After installing docker on clean installation of F21, systemctl start docker fails. 

Version-Release number of selected component (if applicable):
docker-io-1.3.1-2.fc21.x86_64
device-mapper-libs-1.02.88-2.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. install F21
2. yum install docker
3. systemctl start docker

Actual results:
docker does not start

Expected results:
docker starts

Additional info:
I don't update the system (no yum update), because I don't want to increase system's size in virtual machine. Thus device-mapper-libs does not get updated to the latest build.

# systemctl start docker
Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.

# status docker.service -l
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled)
   Active: failed (Result: exit-code) since Wed 2014-11-19 06:04:42 EST; 1min 16s ago
     Docs: http://docs.docker.com
  Process: 2473 ExecStart=/usr/bin/docker -d -H fd:// $OPTIONS $DOCKER_STORAGE_OPTIONS (code=exited, status=127)
 Main PID: 2473 (code=exited, status=127)

Nov 19 06:04:42 localhost.localdomain docker[2473]: 2014/11/19 06:04:42 docker daemon: 1.3.1 4e9bbfa/1.3.1; xecdriver: native; graphdriver:
Nov 19 06:04:42 localhost.localdomain docker[2473]: [54d8ccdb] +job serveapi(fd://)
Nov 19 06:04:42 localhost.localdomain docker[2473]: [info] Listening for HTTP on fd ()
Nov 19 06:04:42 localhost.localdomain docker[2473]: /usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
Nov 19 06:04:42 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=127/n/a
Nov 19 06:04:42 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Nov 19 06:04:42 localhost.localdomain systemd[1]: Unit docker.service entered failed state.

Among others:
/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference

Update of device-mapper-libs to device-mapper-libs-1.02.90-1 solves the problem.

Proposing to add device-mapper-libs >= 1.02.90-1 to spec file.

Comment 1 Lokesh Mandvekar 2015-01-15 22:03:57 UTC
This has been handled since 1.3.2-3.