Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1962255

Summary: ship systemd-oomd in a subpackage
Product: Red Hat Enterprise Linux 9 Reporter: Davide Cavalca <davide>
Component: systemdAssignee: systemd-maint
Status: CLOSED CURRENTRELEASE QA Contact: Frantisek Sumsal <fsumsal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, carl, dtardon, jamacku, jwboyer, kwalker, msekleta, systemd-maint-list
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-22 07:22:25 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:
Bug Depends On:    
Bug Blocks: 1941649    

Description Davide Cavalca 2021-05-19 15:23:22 UTC
systemd in c9s ships with oomd, but it's not terribly useful/usable without its config, so we should ship systemd-oomd-configs too.

Comment 1 Davide Cavalca 2021-05-19 15:24:40 UTC
Put up https://gitlab.com/redhat/centos-stream/release-engineering/comps/-/merge_requests/42 to add it to comps

Comment 2 Josh Boyer 2021-05-19 15:47:05 UTC
As mentioned on the MR, systemd-oomd will not be enabled by default in CentOS Stream or RHEL.  We can use this bug to add the package to the compose in other ways if it's something we're going to support at all.

Comment 3 Davide Cavalca 2021-05-19 15:57:39 UTC
Thanks Josh, how about https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos/-/merge_requests/42 then to add it to the pungi config for the compose? This won't have any effect unless the daemon is enabled and the package is installed, so it should be fine to do even if oomd isn't going to be enabled by default.

Comment 4 Michal Sekletar 2021-05-20 09:43:10 UTC
For CentOS Stream and RHEL-9 we are planning to put systemd-oomd to a subpackage alongside the default configuration. Package won't be installed by default and whoever wants it will get the daemon together with the default config after installing systemd-oomd subpackage.

In RHEL we want users to have the option to use it but we don't want oomd present in every environment where systemd rpm is installed (e.g. container images). Hence we need to move systemd-oomd daemon binary to a subpackage and then it make sense to also rename current config subpackage to just say systemd-oomd.

Davide, does this plan work for you?

Comment 5 Davide Cavalca 2021-05-20 15:10:41 UTC
Yeah, that works -- if we're doing a subpackage for systemd-oomd, we can put the default configs in it too. Thanks!

Comment 6 Davide Cavalca 2021-05-20 16:47:39 UTC
Put up https://gitlab.com/redhat/centos-stream/rpms/systemd/-/merge_requests/17 for this

Comment 8 Kyle Walker 2021-06-07 14:00:40 UTC
Morning all, just added a note to the MR. Looks like there was a minor miss in the scriptlets being added (MR 18).

https://gitlab.com/redhat/centos-stream/rpms/systemd/-/merge_requests/18#note_594444923

Adding the note here for visibility.