Bug 1165615 - Docker needs at least device-mapper-libs-1.02.90-1 to start correcty as a systemd service
Summary: Docker needs at least device-mapper-libs-1.02.90-1 to start correcty as a sys...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: docker-io
Version: 21
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-19 11:10 UTC by Jan Chaloupka
Modified: 2015-03-22 18:23 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-22 08:43:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.