Comments (4)
Yes, I am interested in supporting this, and will start working on it soon.
from openrc.
Can you say about current status?
from openrc.
Cgroups v2 wasn't actually considered stable upstream until linux-4.13 which has just been released today, so I will begin working on it.
Does anyone have any suggestions about whether I should keep cgroups v1 around and how to do that?The cgroups v1 code is buggy due to race conditions which I haven't been able to reproduce, much less solve, , so the sooner I could move completely away from cgroups v1 the better.
from openrc.
I would say you should absolutely keep cgroup v1 support around despite the bugs, there are things you can't do in cgroup v2 but can in cgroup v1 (they decided to ignore some of the primary use cases in designing cgroup v2, so there are a number of people who are or will be stuck on v1 for at least the foreseeable future).
From my perspective, I would think the cleanest way to do the cgroup v2 stuff from scratch, then use whatever variable is used to select v1 or v2 to select the implementation too. There might be some shareable code, but I don't think any of that reasonably shareable code is likely to be where the race conditions are.
from openrc.
Related Issues (20)
- rc-service stop deley one second for each service HOT 3
- With logging enabled, terminal column count is broken
- [Feature Request] List only stopped/started services HOT 2
- openrc-run --dry-run does not work for extra commands
- Sysctl stopped loading .conf file. HOT 3
- Amdfand service does not always start executable.
- Broken with >=ncurses-6.4_p20230408 (OpenRC abuses tparm API) HOT 2
- net-misc/netifrc-0.7.3-r1 issue with net-misc/dhcpcd-10.0.0 HOT 3
- Usage of _unused macro conflicts with linux-headers on PowerPC HOT 2
- Hurd FTBFS HOT 1
- `do_unmount` usage of printf(1) breaks literal `%` in paths HOT 3
- util-linux-2.39 breaks mounting
- Healthcheck doesnโt work when extra_commands is set in init script
- completion scripts unset extglob, breaking bash-completion HOT 2
- The --nodeps option appears to be broken for supervised services
- rc-status -s ignores -C based on position HOT 1
- Wrong PATH order
- glibc 2.38 implements strlcat
- output_logger and error_logger in supervise-daemon HOT 2
- service pidfile handling is probably broken and insecure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openrc.