Bug 1763435

Summary: Backport support for MemoryMin=
Product: Red Hat Enterprise Linux 8 Reporter: Michal Sekletar <msekleta>
Component: systemdAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: high    
Version: 8.1CC: dtardon, systemd-maint-list
Target Milestone: rcKeywords: FutureFeature
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:02:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Sekletar 2019-10-19 19:37:02 UTC
Description of problem:
RHEL-8 kernel has the support for memory.min memory cgroup protection. This protection is a natural follow-up (probably even more useful) on memory.low. Since the kernel supports it we should too.

Version-Release number of selected component (if applicable):
systemd-239-18.el8


How reproducible:
always

Steps to Reproduce:
1. man systemd.resource-control


Actual results:
MemoryMin= is not mentioned and is not supported.

Expected results:
MemoryMin= is fully supported and works as expected with cgroup v2. 

Additional info:
https://github.com/systemd/systemd/commit/484226357789991de0b3363beb69258be06b4c92

Comment 1 Lukáš Nykrýn 2020-06-08 20:01:06 UTC
fix merged to github master branch -> https://github.com/systemd-rhel/rhel-8/pull/101

Comment 8 errata-xmlrpc 2020-11-04 02:02:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: systemd security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4553