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 1780842

Summary: [RFE] set db home directory to /dev/shm by default
Product: Red Hat Enterprise Linux 8 Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: urgent    
Version: 8.0CC: bsmejkal, nkinder, pasik, pcech, sgouvern, spichugi, tbordaz, tmihinto, vashirov
Target Milestone: rcKeywords: FutureFeature, Reopened, TestCaseNeeded, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 13:43:00 UTC Type: ---
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: 1843238, 2015928    
Bug Blocks: 1825061, 1894575    

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