aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2019-02-11 18:29:01 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2019-02-11 18:29:01 +0100
commit1c84e68bde61cd5349c38e32d2de0955e141fbce (patch)
tree5becb313e41aa0a1866fcc2ed522cedc4ac30108 /gnu/services
parentdf56098220638142edb70b70853ce0d474000bfc (diff)
downloadpatches-1c84e68bde61cd5349c38e32d2de0955e141fbce.tar
patches-1c84e68bde61cd5349c38e32d2de0955e141fbce.tar.gz
services: docker: Make shepherd service also require "dbus-system",
"elogind" and "udev". Fixes <https://bugs.gnu.org/34333>. * gnu/services/docker.scm (docker-shepherd-service): Require "dbus-system", "elogind" and "udev".
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/docker.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 7cc03444d9..8b5edf5cb0 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -71,13 +71,16 @@
(documentation "Docker daemon.")
(provision '(dockerd))
(requirement '(containerd
+ dbus-system
+ elogind
file-system-/sys/fs/cgroup/blkio
file-system-/sys/fs/cgroup/cpu
file-system-/sys/fs/cgroup/cpuset
file-system-/sys/fs/cgroup/devices
file-system-/sys/fs/cgroup/memory
; TODO: file-system-/sys/fs/cgroup/pids
- networking))
+ networking
+ udev))
(start #~(make-forkexec-constructor
(list (string-append #$docker "/bin/dockerd")
"-p" "/var/run/docker.pid")