Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 768945

Summary: sys-apps/systemd-246.6: should check CONFIG_CFS_BANDWIDTH which is required for CPUQuota= in resource control unit settings
Product: Gentoo Linux Reporter: Lin Jian <me>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED WONTFIX    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lin Jian 2021-02-06 09:21:02 UTC
According to the readme[1] of systemd, CONFIG_CFS_BANDWIDTH is required for CPUQuota= in resource control unit settings. So it should be checked when installing systemd.

Similarity, CONFIG_CGROUP_SCHED and CONFIG_FAIR_GROUP_SCHED are required for CPUShares= in resource control unit settings. Maybe they should be checked too.

[1]: https://github.com/systemd/systemd/blob/ca9fab8896995b1766787b70963ea752cbb68939/README#L96
Comment 1 Mike Gilbert gentoo-dev 2023-07-22 20:21:33 UTC
I don't think it makes sense to check for every optional kernel feature that systemd could possibly use. Especially when not used by default.