From 6aed6dbcc0f5716694c38b282abd975559e04ad0 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 2 Sep 2019 15:14:57 +0200 Subject: 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 --- troubleshooting.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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. -- cgit v1.2.3-54-g00ecf