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 617810 - huge_page_setup_helper.py with empty answers
Summary: huge_page_setup_helper.py with empty answers
Keywords:
Status: CLOSED DUPLICATE of bug 630171
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libhugetlbfs
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Anton Arapov
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-24 05:37 UTC by Qian Cai
Modified: 2014-06-18 08:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-07 10:15:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qian Cai 2010-07-24 05:37:26 UTC
Description of problem:
Both regards hit the straight ENTER to the answers. Might we could repeat the answer for those.

What group should have access to the huge pages? (The group will be created, if need be):  <ENTER>
Traceback (most recent call last):
  File "/usr/bin/huge_page_setup_helper.py", line 139, in <module>
    if userGroupReq[0].isdigit() or userGroupReq[0] == "-":
IndexError: string index out of range

What user(s) should have access to the huge pages (space-delimited list, users created as needed)? <ENTER>

Saved original /etc/sysctl.conf as /etc/sysctl.conf.backup
Saved original /etc/security/limits.d/hugepages.conf as /etc/security/limits.d/hugepages.conf.backup

Final configuration:
 * Total System Memory......:    879 MB
 * Shared Mem Max Mapping...:    200 MB
 * System Huge Page Size....:      2 MB
 * Available Huge Pages.....:    100
 * Total size of Huge Pages.:    200 MB
 * Remaining System Memory..:    679 MB
 * Huge Page User Group.....:  huge (502)

In fact, /etc/security/limits.d/hugepages.conf did not change,
# cat /etc/security/limits.d/hugepages.conf
root		soft	memlock		2048
root		hard	memlock		2048
caiqian		soft	memlock		2048
caiqian		hard	memlock		2048

Version-Release number of selected component (if applicable):
libhugetlbfs-2.8-2.el6

Comment 1 Anton Arapov 2010-10-20 11:19:49 UTC
thanks for the valuable comment. Patch went upstream, will appear in Fedora after, and so forth... :)

Comment 2 Anton Arapov 2010-12-07 10:15:02 UTC
closed of 630171 rebase.

*** This bug has been marked as a duplicate of bug 630171 ***


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