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 1780842 - [RFE] set db home directory to /dev/shm by default
Summary: [RFE] set db home directory to /dev/shm by default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.0
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: 8.0
Assignee: mreynolds
QA Contact: RHDS QE
Marc Muehlfeld
URL:
Whiteboard:
Depends On: 1843238 2015928
Blocks: 1825061 1894575
TreeView+ depends on / blocked
 
Reported: 2019-12-07 15:58 UTC by mreynolds
Modified: 2022-05-10 14:11 UTC (History)
9 users (show)

Fixed In Version: 389-ds-1.4-8060020211021200750.ce3e8c9c
Doc Type: Enhancement
Doc Text:
.Directory Server now stores memory-mapped files of databases on a `tmpfs` file system In Directory Server, the `nsslapd-db-home-directory` parameter defines the location of memory-mapped files of databases. This enhancement changes the default value of the parameter from `/var/lib/dirsrv/slapd-__instance_name__/db/` to `/dev/shm/`. As a result, with the internal databases stored on a `tmpfs` file system, the performance of Directory Server increases.
Clone Of:
Environment:
Last Closed: 2022-05-10 13:43:00 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 2790 0 None open RFE - set db home directory to /dev/shm by default 2021-01-25 11:25:11 UTC
Red Hat Product Errata RHBA-2022:1815 0 None None None 2022-05-10 13:43:29 UTC

Description mreynolds 2019-12-07 15:58:25 UTC
This bug is created as a clone of upstream ticket:

https://pagure.io/389-ds-base/issue/49731

#### Issue Description

We get a slight performance boost by setting nsslapd-db-home-directory to /dev/shm (memory mapped file system).  We should investigate if this is worth setting by default.

Comment 1 mreynolds 2020-06-15 14:40:56 UTC
Moving to 8.4 as the selinux dependency has not been fulfilled...

Comment 9 RHEL Program Management 2021-06-07 07:30:37 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 10 thierry bordaz 2021-06-07 08:21:57 UTC
This bug is blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1843238. That is expected to land into 8.5 ITM16.
This is still valid to target this RFE for 8.6. Reopening the BZ.

Comment 12 mreynolds 2021-09-03 14:15:20 UTC
Fixed in selinux version: 

selinux-policy-3.14.3-79

Comment 20 errata-xmlrpc 2022-05-10 13:43:00 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 (389-ds:1.4 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/RHBA-2022:1815


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