public inbox for gentoo-containers@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrey Utkin <andrey_utkin@gentoo.org>
To: gentoo-containers@lists.gentoo.org
Cc: andrey_utkin@fastmail.com
Subject: [gentoo-containers] Issue with docker init script
Date: Sun, 5 Nov 2017 15:55:22 +0000	[thread overview]
Message-ID: <20171105155113.GA10883@starlite> (raw)

[-- Attachment #1: Type: text/plain, Size: 1835 bytes --]

Hi Gentoo Containers project team,

I experience inability to run docker daemon with provided init script.
The blocking nature of the issue makes me wonder if that's just me, as I
don't see it reported on bugzilla.

The issue is: docker daemon won't start from init script. Status would
show "crashed" immediately. See log in the bottom.

Workarounds:

* comment out "ulimit -n 1048576" from start_pre() in init script
* do not use init script, i.e. start dockerd directly or with
  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

Could anybody please try to reproduce that, or suggest what this could be?
Thanks in advance.

Some info on my system:

app-emulation/docker-17.09.0
Kernel: 4.13.11
Portage profile: default/linux/amd64/17.0/selinux
Selinux is in permissive mode



# rc-service -v docker status
Authenticating root.
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker status
* status: stopped
[ERR=3]
15:26:06 Sun 05 Nov root@starlite /home/j
# rc-service -v docker start
Authenticating root.
* Caching service dependencies ...                                                                                   [ ok ]
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker start
* Starting docker ...
* start-stop-daemon: fopen `/run/docker.pid': No such file or directory
* Detaching to start `/usr/bin/dockerd' ...                                                                          [ ok ]
[OK]
15:26:11 Sun 05 Nov root@starlite /home/j
# rc-service -v docker status
Authenticating root.
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/docker status
* status: crashed
[ERR=32]



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 1014 bytes --]

                 reply	other threads:[~2017-11-05 15:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171105155113.GA10883@starlite \
    --to=andrey_utkin@gentoo.org \
    --cc=andrey_utkin@fastmail.com \
    --cc=gentoo-containers@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox