podman: Error: stat /sys/fs/cgroup/systemd/org/freedesktop/ConsoleKit/Session1: no such file or directory

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Any podman command exits with the error:

Error: stat /sys/fs/cgroup/systemd/org/freedesktop/ConsoleKit/Session1: no such file or directory

and the status 125.

Steps to reproduce the issue:

  1. Have podman 1.6.3 on Void Linux

  2. Run any podman command (ex: podman ls)

  3. Error

Describe the results you received:

Every command exits with status 125 and the error above.

Describe the results you expected:

Podman to complete action for command.

Additional information you deem important (e.g. issue happens only occasionally):

  • Happens every time
  • I’m not using a system with systemd
  • Podman had been working before I updated (Last updated ~1-2 months ago)

Output of podman version:

podman version 1.6.3

Output of podman info --debug:

Error: stat /sys/fs/cgroup/systemd/org/freedesktop/ConsoleKit/Session1: no such file or directory

But buildah info --debug doesn’t error:

{
    "debug": {
        "buildah version": "1.11.4",
        "compiler": "gc",
        "git commit": "",
        "go version": "go1.13.3"
    },
    "host": {
        "CgroupVersion": "v1",
        "Distribution": {
            "distribution": "\"void\"",
            "version": "unknown"
        },
        "MemTotal": 16611033088,
        "MenFree": 14549090304,
        "SwapFree": 0,
        "SwapTotal": 0,
        "arch": "amd64",
        "cpus": 8,
        "hostname": "apollo",
        "kernel": "5.3.14_1",
        "os": "linux",
        "rootless": true,
        "uptime": "3m 12.94s"
    },
    "store": {
        "ContainerStore": {
            "number": 22
        },
        "GraphDriverName": "vfs",
        "GraphOptions": null,
        "GraphRoot": "/home/noah/.local/share/containers/storage",
        "GraphStatus": {},
        "ImageStore": {
            "number": 31
        },
        "RunRoot": "/run/user/1000"
    }
}

Package info (e.g. output of rpm -q podman or apt list podman):

% xq podman
pkgver: podman-1.6.3_1
short_desc: Simple management tool for containers and images
architecture: x86_64
build-date: 2019-11-17 06:45 UTC
filename-sha256: 0143062169ce4be4e48d71535cc293a2c4c1475afc5c55103b6c9bdad63d9053
filename-size: 17MB
homepage: https://podman.io/
installed_size: 52MB
license: Apache-2.0
maintainer: Cameron Nemo <camerontnorman@gmail.com>
repository: http://mirror.clarkson.edu/voidlinux/current
shlib-requires:
	libpthread.so.0
	libgpgme.so.11
	libassuan.so.0
	libgpg-error.so.0
	libseccomp.so.2
	librt.so.1
	libdevmapper.so.1.02
	libc.so.6
source-revisions: podman:38b0579768
depends:
	runc>=0
	conmon>=0
	cni-plugins>=0
	slirp4netns>=0
	containers.image>=0
	glibc>=2.29_1
	libgpgme>=1.12.0_2
	libassuan>=2.0.1_1
	libgpg-error>=1.6_1
	libseccomp>=2.0.0_1
	device-mapper>=2.02.110_1

Additional environment details (AWS, VirtualBox, physical, etc.):

Void Linux with runit on a Lenovo X1 7th generation.

% uname -a
Linux apollo 5.3.14_1 #1 SMP PREEMPT Fri Nov 29 14:39:11 UTC 2019 x86_64 GNU/Linux
% lsb_release -a
LSB Version:	1.0
Distributor ID:	VoidLinux
Description:	Void Linux
Release:	rolling
Codename:	void

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 51 (27 by maintainers)

Most upvoted comments

@vrothberg I guess crun needs systemd, I can’t even build it without systemd libraries.

you can configure it with ./configure --disable-systemd

Hm. We’re running as rootless, though. Which means that at least part of the config file isn’t being respected here.