systemd 226 update broke docker containers

This forum is for supported devices using an ARMv7 Freescale SoC.

systemd 226 update broke docker containers

Postby nataraj » Wed Sep 23, 2015 6:45 am

docker run -i -t alarm/imx6-cubox-web:latest /bin/bash
Error response from daemon: Cannot start container 65888ab4680a862df7df4f31518c0d8090b39298ccaa43a6ca92af1d3ec08139: [8] System error: open /sys/fs/cgroup/cpu,cpuacct/init.scope/system.slice/docker-65888ab4680a862df7df4f31518c0d8090b39298ccaa43a6ca92af1d3ec08139.scope/cpu.shares: no such file or directory

These are the packages that were installed when things broke (docker itself was not upgraded), so maybe systemd or one of the libraries.

( 1/44) upgrading ncurses [######################] 100%
( 2/44) upgrading readline [######################] 100%
/usr/bin/bash: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory
error: command failed to execute correctly
( 3/44) upgrading bash [######################] 100%
( 4/44) upgrading psmisc [######################] 100%
( 5/44) upgrading alsa-utils [######################] 100%
( 6/44) upgrading libutil-linux [######################] 100%
( 7/44) upgrading bind-tools [######################] 100%
( 8/44) upgrading calc [######################] 100%
( 9/44) upgrading libsystemd [######################] 100%
(10/44) upgrading libdbus [######################] 100%
(11/44) upgrading dbus [######################] 100%
(12/44) upgrading gpm [######################] 100%
(13/44) upgrading less [######################] 100%
(14/44) upgrading texinfo [######################] 100%
(15/44) upgrading libtasn1 [######################] 100%
(16/44) upgrading gnutls [######################] 100%
(17/44) upgrading util-linux [######################] 100%
(18/44) upgrading systemd [######################] 100%
(19/44) upgrading libcups [######################] 100%
(20/44) upgrading gtk-update-icon-cache [######################] 100%
(21/44) upgrading graphite [######################] 100%
(22/44) upgrading libdrm [######################] 100%
(23/44) upgrading libedit [######################] 100%
(24/44) upgrading llvm-libs [######################] 100%
(25/44) upgrading gtk3 [######################] 100%
(26/44) upgrading emacs [######################] 100%
(27/44) upgrading file [######################] 100%
(28/44) upgrading gettext [######################] 100%
(29/44) upgrading pinentry [######################] 100%
(30/44) upgrading gnupg [######################] 100%
(31/44) upgrading guile [######################] 100%
(32/44) upgrading inetutils [######################] 100%
(33/44) upgrading iptraf-ng [######################] 100%
(34/44) upgrading lame [######################] 100%
(35/44) upgrading linux-imx6-cubox-dt [######################] 100%
>>> Updating module dependencies. Please wait ...
NOTE: You will probably need to copy /boot/uImage to the first partition
of your SD card.
(36/44) upgrading nano [######################] 100%
(37/44) upgrading pacman-mirrorlist [######################] 100%
(38/44) upgrading procps-ng [######################] 100%
(39/44) upgrading python [######################] 100%
(40/44) upgrading systemd-sysvcompat [######################] 100%
(41/44) upgrading vi [######################] 100%
(42/44) upgrading vte [######################] 100%
(43/44) upgrading xorg-xinit [######################] 100%
(44/44) upgrading xterm [######################] 100%
nataraj
 
Posts: 8
Joined: Fri May 15, 2015 4:59 pm

Re: latest update broke docker containers

Postby gramlich » Thu Sep 24, 2015 7:19 pm

I have the same problem.
There is an issue filed on the docker github repo:
https://github.com/docker/docker/issues/16256

It confirms your assumption that a systemd update causes the problem.

It looks like executing the following command fixes the problem (but I don't know, if this is supposed to be a permanent fix).

$this->bbcode_second_pass_code('', 'docker -d --exec-opt native.cgroupdriver=cgroupfs')


$this->bbcode_second_pass_code('', '# docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/arm
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/arm
')
$this->bbcode_second_pass_code('', '# uname -a
Linux alarm 3.10.82-8-ARCH #1 SMP PREEMPT Wed Sep 2 18:34:32 MDT 2015 armv7l GNU/Linux
')
gramlich
 
Posts: 1
Joined: Thu Sep 24, 2015 7:13 pm

Re: latest update broke docker containers

Postby WarheadsSE » Thu Sep 24, 2015 8:47 pm

that fix could be applied via a drop-in for the systemd-service unless this becomes a required change.

Though it looks like they are currently going in circles.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Freescale

Who is online

Users browsing this forum: No registered users and 4 guests