<cgroupfs-mount> systemd mount missing, lxc container will not start
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Environment: (amd64)
Description:
cgroupfs-mount scripts seems not updated anymore
is it possible to include the patch to mount systemd?
lxc can not run latest debian and ubuntu images
https://github.com/tianon/cgroupfs-mount/pull/16/commits/794b82755846de2ec94f20bea79772378809d8f8
cgroupfs-mount
root@OpenWrt:~# lxc-start debian_buster -F
Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted
[!!!!!!] Failed to mount API filesystems.
Exiting PID 1...
temporary fix:
mkdir -p /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in utils/cgroupfs-mount and compare the package with the linked upstream cgroupfs-mount commit. Reproduce the failure with lxc-start on a Debian or Ubuntu image, then verify that the systemd cgroup mounts and the container starts without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100