Bug 1504065 - docker daemon failed to start (missing /etc/docker/seccomp.json)
Summary: docker daemon failed to start (missing /etc/docker/seccomp.json)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1504742 docker-seccomp (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-19 12:36 UTC by Andrew Cathrow
Modified: 2018-05-11 13:07 UTC (History)
17 users (show)

Fixed In Version: docker-1.13.1-42.git4402c09.fc27
Clone Of:
Environment:
Last Closed: 2017-11-25 02:35:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew Cathrow 2017-10-19 12:36:55 UTC
Description of problem:

Docker daemon fails to start after upgrade to docker-1.13.1-33.git790e958.fc27.x86_64

Looking in journal I see:
Error starting daemon: opening seccomp profile (/etc/docker/seccomp.json) failed: open /etc/docker/seccomp.json: no such file or directory

And indeed seccomp.json is not present on the system.

Looking at changelog I see the following:


* Tue Oct 17 2017 Lokesh Mandvekar <lsm5> - 2:1.13.1-33.git790e958
- update unitfile to include --seccomp-profile option with daemon


So the unitfile was updated but I don't (yet) see a secommp profile in the fedora 27 packages.

Comment 1 Leonid Podolny 2017-10-19 12:40:19 UTC
Same here.

Comment 2 Leonid Podolny 2017-10-19 12:44:36 UTC
As expected, removing this line from the unitfile allows the daemon to start.

Comment 3 Fedora Update System 2017-10-19 14:49:09 UTC
docker-1.13.1-35.git8fd0ebb.fc27 skopeo-0.1.24-6.dev.git28d4e08.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 4 Steve 2017-10-20 01:50:46 UTC
Alternately, you could place a default file named seccomp.json file in /etc/docker/ and it works.

I am a complete docker newbie, so I got the contents of the seccomp.json file from this location: https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json.

Comment 5 Micah Abbott 2017-10-20 14:15:20 UTC
*** Bug 1504742 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2017-10-21 19:26:16 UTC
docker-1.13.1-35.git8fd0ebb.fc27, skopeo-0.1.24-6.dev.git28d4e08.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 7 Fedora Update System 2017-11-02 19:17:05 UTC
atomic-1.19.1-5.fc27 docker-1.13.1-37.git166a52e.fc27 skopeo-0.1.24-6.dev.git28d4e08.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 8 Fedora Update System 2017-11-04 18:00:41 UTC
atomic-1.19.1-5.fc27, docker-1.13.1-38.git166a52e.fc27, skopeo-0.1.24-6.dev.git28d4e08.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 9 Fedora Update System 2017-11-06 19:01:40 UTC
atomic-1.19.1-6.fc27 docker-1.13.1-40.git877b6df.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 10 Fedora Update System 2017-11-06 21:13:43 UTC
atomic-1.19.1-6.fc27, docker-1.13.1-40.git877b6df.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 11 Fedora Update System 2017-11-12 22:13:06 UTC
docker-1.13.1-41.git0861eff.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 12 Fedora Update System 2017-11-14 10:56:07 UTC
docker-1.13.1-41.git0861eff.fc27, skopeo-0.1.25-2.git7fd6f66.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 13 Fedora Update System 2017-11-17 16:22:51 UTC
docker-1.13.1-42.git4402c09.fc27 skopeo-0.1.25-2.git7fd6f66.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 14 Fedora Update System 2017-11-18 00:53:41 UTC
docker-1.13.1-42.git4402c09.fc27, skopeo-0.1.25-2.git7fd6f66.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3da8ad596a

Comment 15 Fedora Update System 2017-11-25 02:35:06 UTC
docker-1.13.1-42.git4402c09.fc27, skopeo-0.1.25-2.git7fd6f66.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Davi Garcia 2017-12-12 23:35:19 UTC
*** Bug 1505012 has been marked as a duplicate of this bug. ***

Comment 17 erzent 2018-05-11 13:07:47 UTC
dnf info docker
Имя          : docker
Эпоха        : 2
Версия       : 1.13.1
Выпуск       : 51.git4032bd5.fc28
Архитектура  : x86_64
Размер       : 67 M
Источник     : docker-1.13.1-51.git4032bd5.fc28.src.rpm
Репозиторий  : @System
Из репозитор : fedora
Краткое опис : Automates deployment of containerized applications
URL          : https://github.com/projectatomic/docker
Лицензия     : ASL 2.0
Описание     : Docker is an open-source engine that automates the deployment of any
             : application as a lightweight, portable, self-sufficient container that will
             : run virtually anywhere.
             : 
             : Docker containers can encapsulate any payload, and will run consistently on
             : and between virtually any server. The same container that a developer builds
             : and tests on a laptop will run at scale, in production*, on VMs, bare-metal
             : servers, OpenStack clusters, public instances, or combinations of the above.

https://paste.fedoraproject.org/paste/88K5~vlHGyhCMgQBD5Is9g
https://paste.fedoraproject.org/paste/A~Y5CbV0lF19gAcJ6ywRJg


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