Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error: OCI runtime error: systemd not supported: Operation not supported #17196

Closed
definename opened this issue Jan 24, 2023 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@definename
Copy link

definename commented Jan 24, 2023

Issue Description

After setting cgroup_manager = "systemd" in /etc/containers/containers.conf and /usr/share/containers/containers.conf podman failed to run container with error Error: OCI runtime error: systemd not supported: Operation not supported

Steps to reproduce the issue

Steps to reproduce the issue

  1. load image
    podman load -i /opt/appl/data/containers/images/busybox-arm64v8-1.35.0.tar

  2. run container
    podman --log-level trace run -dt --name=container1 --network=none --cpu-quota=70000 docker.io/arm64v8/busybox:1.35.0 sh -c 'while true; do true; done'

Describe the results you received

[root@host ~]#
[root@host ~]# podman load -i /opt/appl/data/containers/images/busybox-arm64v8-1
.35.0.tar
Getting image source signatures
Copying blob 9c8aecfea3b4 done
Copying config 4e294bde60 done
Writing manifest to image destination
Storing signatures
Loaded image(s): docker.io/arm64v8/busybox:1.35.0
[root@host ~]#
[root@host ~]#
[root@host ~]#
[root@host ~]# podman --log-level trace run -dt --name=container1 --network=none
 --cpu-quota=70000 docker.io/arm64v8/busybox:1.35.0 sh -c 'while true; do true;
done'
INFO[0000] podman filtering at log level trace
DEBU[0000] Called run.PersistentPreRunE(podman --log-level trace run -dt --name=container1 --network=none --cpu-quota=70000 docker.io/arm64v8/busybox:1.35.0 sh -c while true; do true; done)
TRAC[0000] Reading configuration file "/usr/share/containers/containers.conf"
DEBU[0000] Merged system config "/usr/share/containers/containers.conf"
TRAC[0000] &{Containers:{Devices:[] Volumes:[] ApparmorProfile:containers-default-0.38.16 Annotations:[] CgroupNS:private Cgroups:enabled DefaultCapabilities:[CHOWN DAC_OVERRIDE FOWNER FSETID KILL NET_BIND_SERVICE SETFCAP SETGID SETPCAP SETUID SYS_CHROOT] DefaultSysctls:[net.ipv4.ping_group_range=0 0] DefaultUlimits:[nproc=4194304:4194304] DefaultMountsFile: DNSServers:[] DNSOptions:[] DNSSearches:[] EnableKeyring:true EnableLabeling:false Env:[XDG_RUNTIME_DIR=/opt/appl/data/containers/storage/${USER}] EnvHost:false HTTPProxy:true Init:false InitPath: IPCNS:private LogDriver:k8s-file LogSizeMax:-1 NetNS:bridge NoHosts:false PidsLimit:2048 PidNS:private SeccompProfile: ShmSize:65536k TZ: Umask:0022 UTSNS:private UserNS:host UserNSSize:65536} Engine:{CgroupCheck:false CgroupManager:systemd ConmonEnvVars:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] ConmonPath:[/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] DetachKeys:ctrl-p,ctrl-q EnablePortReservation:true Env:[] EventsLogFilePath:/run/libpod/events/events.log EventsLogger:file HooksDir:[/usr/share/containers/oci/hooks.d] ImageBuildFormat:oci ImageDefaultTransport:docker:// ImageParallelCopies:0 ImageDefaultFormat: InfraCommand: InfraImage:k8s.gcr.io/pause:3.5 InitPath:/usr/libexec/podman/catatonit LockType:shm MachineEnabled:false MultiImageArchive:false Namespace: NetworkCmdPath: NetworkCmdOptions:[] NoPivotRoot:false NumLocks:2048 OCIRuntime:crun OCIRuntimes:map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata:[/usr/bin/kata-runtime /usr/sbin/kata-runtime /usr/local/bin/kata-runtime /usr/local/sbin/kata-runtime /sbin/kata-runtime /bin/kata-runtime /usr/bin/kata-qemu /usr/bin/kata-fc] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc] runsc:[/usr/bin/runsc /usr/sbin/runsc /usr/local/bin/runsc /usr/local/sbin/runsc /bin/runsc /sbin/runsc /run/current-system/sw/bin/runsc]] PullPolicy:missing Remote:false RemoteURI: RemoteIdentity: ActiveService: ServiceDestinations:map[] RuntimePath:[] RuntimeSupportsJSON:[crun runc kata runsc] RuntimeSupportsNoCgroups:[crun] RuntimeSupportsKVM:[kata kata-runtime kata-qemu kata-fc] SetOptions:{StorageConfigRunRootSet:false StorageConfigGraphRootSet:false StorageConfigGraphDriverNameSet:false StaticDirSet:false VolumePathSet:false TmpDirSet:false} SignaturePolicyPath:/etc/containers/policy.json SDNotify:false StateType:3 StaticDir:/data/containers/storage/libpod StopTimeout:10 TmpDir:/run/libpod VolumePath:/data/containers/storage/volumes VolumePlugins:map[]} Network:{CNIPluginDirs:[/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] DefaultNetwork:podman DefaultSubnet:10.88.0.0/16 NetworkConfigDir:/etc/cni/net.d/}}
TRAC[0000] Reading configuration file "/etc/containers/containers.conf"
DEBU[0000] Merged system config "/etc/containers/containers.conf"
TRAC[0000] &{Containers:{Devices:[] Volumes:[] ApparmorProfile:containers-default-0.38.16 Annotations:[] CgroupNS:private Cgroups:enabled DefaultCapabilities:[CHOWN DAC_OVERRIDE FOWNER FSETID KILL NET_BIND_SERVICE SETFCAP SETGID SETPCAP SETUID SYS_CHROOT] DefaultSysctls:[net.ipv4.ping_group_range=0 0] DefaultUlimits:[nproc=4194304:4194304] DefaultMountsFile: DNSServers:[] DNSOptions:[] DNSSearches:[] EnableKeyring:true EnableLabeling:false Env:[XDG_RUNTIME_DIR=/opt/appl/data/containers/storage/${USER}] EnvHost:false HTTPProxy:true Init:false InitPath: IPCNS:private LogDriver:k8s-file LogSizeMax:-1 NetNS:bridge NoHosts:false PidsLimit:2048 PidNS:private SeccompProfile: ShmSize:65536k TZ: Umask:0022 UTSNS:private UserNS:host UserNSSize:65536} Engine:{CgroupCheck:false CgroupManager:systemd ConmonEnvVars:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] ConmonPath:[/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] DetachKeys:ctrl-p,ctrl-q EnablePortReservation:true Env:[] EventsLogFilePath:/run/libpod/events/events.log EventsLogger:file HooksDir:[/usr/share/containers/oci/hooks.d] ImageBuildFormat:oci ImageDefaultTransport:docker:// ImageParallelCopies:0 ImageDefaultFormat: InfraCommand: InfraImage:k8s.gcr.io/pause:3.5 InitPath:/usr/libexec/podman/catatonit LockType:shm MachineEnabled:false MultiImageArchive:false Namespace: NetworkCmdPath: NetworkCmdOptions:[] NoPivotRoot:false NumLocks:2048 OCIRuntime:crun OCIRuntimes:map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata:[/usr/bin/kata-runtime /usr/sbin/kata-runtime /usr/local/bin/kata-runtime /usr/local/sbin/kata-runtime /sbin/kata-runtime /bin/kata-runtime /usr/bin/kata-qemu /usr/bin/kata-fc] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc] runsc:[/usr/bin/runsc /usr/sbin/runsc /usr/local/bin/runsc /usr/local/sbin/runsc /bin/runsc /sbin/runsc /run/current-system/sw/bin/runsc]] PullPolicy:missing Remote:false RemoteURI: RemoteIdentity: ActiveService: ServiceDestinations:map[] RuntimePath:[] RuntimeSupportsJSON:[crun runc kata runsc] RuntimeSupportsNoCgroups:[crun] RuntimeSupportsKVM:[kata kata-runtime kata-qemu kata-fc] SetOptions:{StorageConfigRunRootSet:false StorageConfigGraphRootSet:false StorageConfigGraphDriverNameSet:false StaticDirSet:false VolumePathSet:false TmpDirSet:false} SignaturePolicyPath:/etc/containers/policy.json SDNotify:false StateType:3 StaticDir:/data/containers/storage/libpod StopTimeout:10 TmpDir:/run/libpod VolumePath:/data/containers/storage/volumes VolumePlugins:map[]} Network:{CNIPluginDirs:[/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] DefaultNetwork:podman DefaultSubnet:10.88.0.0/16 NetworkConfigDir:/etc/cni/net.d/}}
DEBU[0000] Using conmon: "/usr/sbin/conmon"
DEBU[0000] Initializing boltdb state at /data/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /data/containers/storage
DEBU[0000] Using run root /run/containers/storage
DEBU[0000] Using static dir /data/containers/storage/libpod
DEBU[0000] Using tmp dir /run/libpod
DEBU[0000] Using volume path /data/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] cached value indicated that overlay is supported
DEBU[0000] cached value indicated that metacopy is not being used
DEBU[0000] cached value indicated that native-diff is usable
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=true, usingMetacopy=false
DEBU[0000] Initializing event backend file
DEBU[0000] configured OCI runtime runsc initialization failed: no valid executable found for OCI runtime runsc: invalid argument
TRAC[0000] found runtime ""
DEBU[0000] configured OCI runtime runc initialization failed: no valid executable found for OCI runtime runc: invalid argument
DEBU[0000] configured OCI runtime kata initialization failed: no valid executable found for OCI runtime kata: invalid argument
DEBU[0000] Using OCI runtime "/usr/sbin/crun"
DEBU[0000] Default CNI network name podman is unchangeable
INFO[0000] Setting parallel job count to 7
DEBU[0000] Pulling image docker.io/arm64v8/busybox:1.35.0 (policy: missing)
DEBU[0000] Looking up image "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Trying "docker.io/arm64v8/busybox:1.35.0" ...
DEBU[0000] parsed reference into "[overlay@/data/containers/storage+/run/containers/storage:overlay.mountopt=nodev]@4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] Found image "docker.io/arm64v8/busybox:1.35.0" as "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Looking up image "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Trying "docker.io/arm64v8/busybox:1.35.0" ...
DEBU[0000] parsed reference into "[overlay@/data/containers/storage+/run/containers/storage:overlay.mountopt=nodev]@4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] Found image "docker.io/arm64v8/busybox:1.35.0" as "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Looking up image "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Trying "docker.io/arm64v8/busybox:1.35.0" ...
DEBU[0000] parsed reference into "[overlay@/data/containers/storage+/run/containers/storage:overlay.mountopt=nodev]@4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] Found image "docker.io/arm64v8/busybox:1.35.0" as "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Inspecting image 4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] Looking up image "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Trying "docker.io/arm64v8/busybox:1.35.0" ...
DEBU[0000] parsed reference into "[overlay@/data/containers/storage+/run/containers/storage:overlay.mountopt=nodev]@4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] Found image "docker.io/arm64v8/busybox:1.35.0" as "docker.io/arm64v8/busybox:1.35.0" in local containers storage
DEBU[0000] Inspecting image 4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] Inspecting image 4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6
DEBU[0000] using systemd mode: false
DEBU[0000] setting container name container1
DEBU[0000] No hostname set; container's hostname will default to runtime default
DEBU[0000] Loading seccomp profile from "/etc/containers/seccomp.json"
DEBU[0000] Allocated lock 0 for container cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0
DEBU[0000] parsed reference into "[overlay@/data/containers/storage+/run/containers/storage:overlay.mountopt=nodev]@4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] exporting opaque data as blob "sha256:4e294bde6038c93e7cf8a9e94ce74f3f759a865a62e88bdc54945d0426e9aea6"
DEBU[0000] created container "cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0"
DEBU[0000] container "cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0" has work directory "/data/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata"
DEBU[0000] container "cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0" has run directory "/run/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata"
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] cached value indicated that overlay is supported
DEBU[0000] cached value indicated that metacopy is not being used
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=true, usingMetacopy=false
DEBU[0000] overlay: mount_data=nodev,lowerdir=/data/containers/storage/overlay/l/ZVKP6GG2CQZOEQDDHVZP5XRINK,upperdir=/data/containers/storage/overlay/3eae02c3e7b5a9a8e58500bb6400f3016480ec4e72a0cc5e26823eebe00a4736/diff,workdir=/data/containers/storage/overlay/3eae02c3e7b5a9a8e58500bb6400f3016480ec4e72a0cc5e26823eebe00a4736/work
DEBU[0000] mounted container "cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0" at "/data/containers/storage/overlay/3eae02c3e7b5a9a8e58500bb6400f3016480ec4e72a0cc5e26823eebe00a4736/merged"
DEBU[0000] Created root filesystem for container cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0 at /data/containers/storage/overlay/3eae02c3e7b5a9a8e58500bb6400f3016480ec4e72a0cc5e26823eebe00a4736/merged
DEBU[0001] Workdir "/" resolved to host path "/data/containers/storage/overlay/3eae02c3e7b5a9a8e58500bb6400f3016480ec4e72a0cc5e26823eebe00a4736/merged"
DEBU[0001] network configuration does not support host.containers.internal address
DEBU[0001] /etc/system-fips does not exist on host, not mounting FIPS mode subscription
DEBU[0001] Setting CGroups for container cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0 to machine.slice:libpod:cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0
DEBU[0001] reading hooks from /usr/share/containers/oci/hooks.d
DEBU[0001] Created OCI spec for container cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0 at /data/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata/config.json
DEBU[0001] running conmon: /usr/sbin/conmon              args="[--api-version 1 -c cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0 -u cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0 -r /usr/sbin/crun -b /data/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata -p /run/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata/pidfile -n container1 --exit-dir /run/libpod/exits --full-attach -s -l k8s-file:/data/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata/ctr.log --log-level trace --runtime-arg --log-format=json --runtime-arg --log --runtime-arg=/run/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata/oci-log -t --conmon-pidfile /run/containers/storage/overlay-containers/cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0/userdata/conmon.pid --exit-command /usr/sbin/podman --exit-command-arg --root --exit-command-arg /data/containers/storage --exit-command-arg --runroot --exit-command-arg /run/containers/storage --exit-command-arg --log-level --exit-command-arg trace --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /run/libpod --exit-command-arg --runtime --exit-command-arg crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --storage-opt --exit-command-arg overlay.mountopt=nodev --exit-command-arg --events-backend --exit-command-arg file --exit-command-arg --syslog --exit-command-arg container --exit-command-arg cleanup --exit-command-arg cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0]"
INFO[0001] Running conmon under slice machine.slice and unitName libpod-conmon-cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0.scope
DEBU[0001] Received: -1
DEBU[0001] Cleaning up container cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0
DEBU[0001] unmounted container "cbfe118cbb0b881ff358eb55c3b046bf7577cf7b8b482b060e775f64cc7661a0"
DEBU[0001] ExitCode msg: "systemd not supported: operation not supported: oci runtime error"
Error: OCI runtime error: systemd not supported: Operation not supported
[root@host ~]#
[root@host ~]#
[root@host ~]#
[root@host ~]#
[root@host ~]# podman container list -a
CONTAINER ID  IMAGE                             COMMAND               CREATED         STATUS      PORTS       NAMES
cbfe118cbb0b  docker.io/arm64v8/busybox:1.35.0  sh -c while true;...  18 minutes ago  Created                 container1
[root@host ~]#
[root@host ~]#

The following error seen after run command and container is not running
Error: OCI runtime error: systemd not supported: Operation not supported

Describe the results you expected

I expected container will be running.

podman info output

[root@host ~]#
[root@host ~]# podman info
host:
  arch: arm64
  buildahVersion: 1.21.3
  cgroupControllers:
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: Unknown
    path: /usr/sbin/conmon
    version: 'conmon version 2.0.29, commit: 7e6de6678f6ed8a18661e1d5721b81ccee293b9b'
  cpus: 2
  distribution:
    distribution: ptxdist
    version: 2018.07.0
  eventLogger: file
  hostname: host
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 5.4.70
  linkmode: dynamic
  memFree: 1589452800
  memTotal: 2074529792
  ociRuntime:
    name: crun
    package: Unknown
    path: /usr/sbin/crun
    version: |-
      crun version 1.4.5-dirty
      commit: c381048530aa750495cf502ddb7181f2ded5b400
      spec: 1.0.0
      +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  os: linux
  remoteSocket:
    path: /run/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /etc/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  slirp4netns:
    executable: ""
    package: ""
    version: ""
  swapFree: 0
  swapTotal: 0
  uptime: 37m 59.97s
registries: {}
store:
  configFile: /etc/containers/storage.conf
  containerStore:
    number: 1
    paused: 0
    running: 0
    stopped: 1
  graphDriverName: overlay
  graphOptions:
    overlay.mountopt: nodev
  graphRoot: /data/containers/storage
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  imageStore:
    number: 1
  runRoot: /run/containers/storage
  volumePath: /data/containers/storage/volumes
version:
  APIVersion: 3.2.3
  Built: 0
  BuiltTime: Thu Jan  1 00:00:00 1970
  GitCommit: ""
  GoVersion: go1.16.5
  OsArch: linux/arm64
  Version: 3.2.3

[root@host ~]#

Podman in a container

No

Privileged Or Rootless

Privileged

Upstream Latest Release

No

Additional environment details

[root@host~]#
[root@host ~]# podman version
Version:      3.2.3
API Version:  3.2.3
Go Version:   go1.16.5
Built:        Thu Jan  1 00:00:00 1970
OS/Arch:      linux/arm64
[root@host ~]#
[root@host ~]#
[root@host ~]# uname -a
Linux host 5.4.70 #1 SMP PREEMPT Mon Jan 16 09:59:01 UTC 2023 aarch64 GNU/Linux
[root@host ~]#
[root@host ~]#

Additional information

No response

@definename definename added the kind/bug Categorizes issue or PR as related to a bug. label Jan 24, 2023
@Luap99
Copy link
Member

Luap99 commented Jan 24, 2023

Your crun version is build without systemd support. Does your system even use systemd as init system, I don't know what distro ptxdist is?
You should see +SYSTEMD in the crun version output from your podman info.

In any case this is not a podman issue so I am closing it but feel free to continue the conversation.

@Luap99 Luap99 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2023
@definename
Copy link
Author

@Luap99 yes you are right crun was built without systemd after enabling systemd for crun it works fine for root user but for rootless user the following warning messages are seen

WARN[0000] The cgroupv2 manager is set to systemd but there is no systemd user session available
WARN[0000] For using systemd, you may need to login using an user session
WARN[0000] Alternatively, you can enable lingering with: `loginctl enable-linger 10003` (possibly as root)
WARN[0000] Falling back to --cgroup-manager=cgroupfs
WARN[0000] The cgroupv2 manager is set to systemd but there is no systemd user session available
WARN[0000] For using systemd, you may need to login using an user session
WARN[0000] Alternatively, you can enable lingering with: `loginctl enable-linger 10003` (possibly as root)
WARN[0000] Falling back to --cgroup-manager=cgroupfs

I created separate issue for these warning messages #17202

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

2 participants