summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-09-02 15:14:57 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-09-02 15:56:13 +0200
commit6aed6dbcc0f5716694c38b282abd975559e04ad0 (patch)
treeda0e4a6cf90faa3d0452d881d69a6da025320f48
parent1ad8fe52412c8cef215e5a5af312e5db680c3916 (diff)
downloadpodman-6aed6dbcc0f5716694c38b282abd975559e04ad0.tar.gz
podman-6aed6dbcc0f5716694c38b282abd975559e04ad0.tar.bz2
podman-6aed6dbcc0f5716694c38b282abd975559e04ad0.zip
docs: add note about failing rhel7 systemd on cgroups v2
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1747933 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--troubleshooting.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/troubleshooting.md b/troubleshooting.md
index b88940dc8..9a5b38e01 100644
--- a/troubleshooting.md
+++ b/troubleshooting.md
@@ -391,3 +391,22 @@ Choose one of the following:
* Install and configure fuse-overlayfs.
* Install the fuse-overlayfs package for your Linux Distribution.
* Add `mount_program = "/usr/bin/fuse-overlayfs` under `[storage.options]` in your `~/.config/containers/storage.conf` file.
+
+### 16) rhel7-init based images don't work with cgroups v2
+
+The systemd version shipped in rhel7-init doesn't have support for cgroups v2. You'll need at least systemd 230.
+
+#### Symptom
+```console
+
+sh# podman run --name test -d registry.access.redhat.com/rhel7-init:latest && sleep 10 && podman exec test systemctl status
+c8567461948439bce72fad3076a91ececfb7b14d469bfa5fbc32c6403185beff
+Failed to get D-Bus connection: Operation not permitted
+Error: non zero exit code: 1: OCI runtime error
+```
+
+#### Solution
+You'll need to either:
+
+* configure the host to use cgroups v1
+* update the image to use an updated version of systemd.