Bug 2374205 - Fix swap allocation by SwapInitializer
Summary: Fix swap allocation by SwapInitializer
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ec2-hibinit-agent
Version: epel9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: David Duncan
QA Contact:
URL:
Whiteboard:
: 2374204 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-22 17:02 UTC by Ayushmaan Banerjee
Modified: 2026-07-07 16:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github aws amazon-ec2-hibinit-agent pull 48 0 None Merged Fix swap allocation bug 2025-06-22 17:02:17 UTC

Description Ayushmaan Banerjee 2025-06-22 17:02:17 UTC
Description of problem:
SwapInitializer was not using the greater of the two configuration options: percentage-of-ram and target-size-mb, but instead just target-size-mb in EPEL-8/9 (not tested in EPEL-10). 

Version-Release number of selected component (if applicable):
Latest

Ref: https://github.com/aws/amazon-ec2-hibinit-agent/pull/48

Fix: https://github.com/aws/amazon-ec2-hibinit-agent/commit/3700a58fb73778dd02d37617b952766d4828e332

Comment 1 Ayushmaan Banerjee 2025-06-22 17:02:41 UTC
*** Bug 2374204 has been marked as a duplicate of this bug. ***

Comment 2 David Duncan 2025-06-23 13:09:59 UTC
Reviewed with Banerjee. I am working on this today.

Comment 3 Frank Liang 2025-10-21 15:46:14 UTC
Hi David,
Penington, Matthew mentioned this fix and I created one pull request to epel9. Could you help take a look? If it is ok, I will create pr to other branches later. Thanks
https://src.fedoraproject.org/rpms/ec2-hibinit-agent/pull-request/12

Comment 4 Fedora Admin user for bugzilla script actions 2026-07-07 16:51:17 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.