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

Create systemd cgroup if not present #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TanyaEleventhGoddess
Copy link

Enables non-systemd distros to host containers/docker images using systemd

@TanyaEleventhGoddess TanyaEleventhGoddess force-pushed the master branch 3 times, most recently from e5db883 to 794b827 Compare June 29, 2020 21:27
@tianon
Copy link
Owner

tianon commented Jul 6, 2020

While this is interesting, and I can see how it's useful for the particular use case of running systemd inside a container on a non-systemd host, I'm not sure that this is the appropriate place for it.

Frankly, I would love to see alternative init systems like sysvinit embrace setting up cgroups properly so that this "package" (which is really a glorified single for loop shell script) doesn't need to exist. For example, OpenRC has native support for using them, and I think it provides a lot of value for the thing responsible for scheduling/monitoring processes in the system to be able to provide and control things like resource limits.

@TanyaEleventhGoddess
Copy link
Author

TanyaEleventhGoddess commented Jul 9, 2020 via email

abelbeck added a commit to astlinux-project/astlinux that referenced this pull request Aug 22, 2020
**   Needs much testing   **
** Not yet for production **

Notable changes:
- toolchain, built with kernel 4.19 headers
- lxc, update cgroupfs-mount to support cgroup systemd
Ref: tianon/cgroupfs-mount#16
- arnofw, tweak for kernels >= 4.19 merged nf_conntrack_ipv{4,6} into nf_conntrack
- wireguard, enable kernel udp_tunnel modules
- dahdi-linux, version bump to 3.1.0, remove BR2_PACKAGE_DAHDI_HFCS and BR2_PACKAGE_RHINO
- dahdi-tools, version bump to 3.1.0
- iproute2, version bump to 4.20.0
- r8168, use native 4.19 kernel driver
- tg3, use native 4.19 kernel driver
- network bridge, tweak for kernels >= 3.18, not loading br_netfilter avoids filtering
- rngd, make CONFIG_HW_RANDOM a module so /dev/hwrng is not created by default (still needs tweaks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants