Skip to content

lxc-auto: Mount /sys/fs/cgroup/systemd cause lxc cgroup2 limit not apply #27755

@rbqvq

Description

@rbqvq

Package Name

lxc-auto

Maintainer

Marko Ratkaj [email protected]

OpenWrt Version

ALL

OpenWrt Target/Subtarget

ALL

Steps to Reproduce

Add lxc.cgroup2.memory.max: 1G to config and restart container.
Limits will not be apply.

Remove boot section mount systemd, limit will be apply.

Actual Behaviour

/sys/fs/cgroup/lxc.payload.<name>/memory.max is max not 1G (in bytes).

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions