Skip to content

[FEATURE]: sub-cgroup is not supported for unified systemd (D-Bus) cgroup manager #3565

Description

@logica0419

Background

As #3210 was merged, youki now supports the exec command in sub-cgroups.
However, the unified systemd (D-Bus) cgroup manager still does not support this.

The AttachProcessesToUnit D-Bus message can take a sub-cgroup path as its second argument, but it is currently left empty, as shown below:

self.client
.add_process_to_unit(&self.unit_name, "", pid.as_raw() as u32)?;

Feature Request

Support sub-cgroups for unified systemd (D-Bus) cgroup manager.

Is the request related to some problem running youki?

No response

Proposed Solution

No response

Considerations

No response

Additional Context

refs #3342
refs #3347
dependent #3564

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions