Gentoo Archives: gentoo-containers

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-containers@l.g.o
Cc: andrey_utkin@××××××××.com
Subject: [gentoo-containers] Issue with docker init script
Date: Sun, 05 Nov 2017 15:55:27
Message-Id: 20171105155113.GA10883@starlite
1 Hi Gentoo Containers project team,
2
3 I experience inability to run docker daemon with provided init script.
4 The blocking nature of the issue makes me wonder if that's just me, as I
5 don't see it reported on bugzilla.
6
7 The issue is: docker daemon won't start from init script. Status would
8 show "crashed" immediately. See log in the bottom.
9
10 Workarounds:
11
12 * comment out "ulimit -n 1048576" from start_pre() in init script
13 * do not use init script, i.e. start dockerd directly or with
14 start-stop-daemon --start --exec /usr/bin/dockerd --pidfile /run/docker.pid --verbose --background --stderr /var/log/docker-err.log --stdout /var/log/docker-out.log -- -p /run/docker.pid
15
16 Could anybody please try to reproduce that, or suggest what this could be?
17 Thanks in advance.
18
19 Some info on my system:
20
21 app-emulation/docker-17.09.0
22 Kernel: 4.13.11
23 Portage profile: default/linux/amd64/17.0/selinux
24 Selinux is in permissive mode
25
26
27
28 # rc-service -v docker status
29 Authenticating root.
30 * Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker status
31 * status: stopped
32 [ERR=3]
33 15:26:06 Sun 05 Nov root@starlite /home/j
34 # rc-service -v docker start
35 Authenticating root.
36 * Caching service dependencies ... [ ok ]
37 * Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker start
38 * Starting docker ...
39 * start-stop-daemon: fopen `/run/docker.pid': No such file or directory
40 * Detaching to start `/usr/bin/dockerd' ... [ ok ]
41 [OK]
42 15:26:11 Sun 05 Nov root@starlite /home/j
43 # rc-service -v docker status
44 Authenticating root.
45 * Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker status
46 * status: crashed
47 [ERR=32]

Attachments

File name MIME type
signature.asc application/pgp-signature