Skip to content

cgroup delegation #464

Description

@aanderse

i am interested in the new cgroup delegation feature introduced in 4.15! i'm trying to run podman as a service so i can have rootless podman containers, but running into some issues:

aaron@framework ~/w/podman > cat /etc/finit.d/podman.conf
service [234] \
  name:podman \
  cgroup.podman,name:'podman',delegate \
  user:aaron group:users \
  restart:10 \
  @aaron:users \
  notify:none \
  env:/nix/store/hzmsw38a9qgbi5vk0smmkyh7wgapcnfh-podman.env \
  log \
  /nix/store/99y30s7bihdgjnz34avq9i510rcninnb-podman-5.7.0/bin/podman system service --time=0 unix:///run/user/1000/podman/podman.sock \
  -- podman api for aaron

i see something unexpected in my syslog, though:

Jan  6 17:01:47 framework finit[1]: service_register():/etc/finit.d/podman.conf: skipping user:aaron: No such file or directory

and for reference:

aaron@framework ~/w/podman> grep podman /etc/finit.conf
cgroup podman

i'm not sure what i'm doing wrong... the documentation suggests this should work
as always, any help or hints would be greatly appreciated 🙇‍♂️

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions