Bug 1924569
Summary: | dscreate error, cannot start ns-slapd with custom db_dir path, incorrect sub dir permissions | ||
---|---|---|---|
Product: | Red Hat Directory Server | Reporter: | Viktor Ashirov <vashirov> |
Component: | 389-ds-base | Assignee: | Pierre Rogier <progier> |
Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
Severity: | medium | Docs Contact: | Evgenia Martynyuk <emartyny> |
Priority: | medium | ||
Version: | 12.2 | CC: | bsmejkal, idm-ds-dev-bugs, mreynolds, msauton, pasik, progier, tbordaz |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | dirsrv-12.2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | sync-to-jira | ||
Fixed In Version: | redhat-ds-12-9020020221130212339.1674d57 | Doc Type: | Bug Fix |
Doc Text: |
.The `dscreate` utility now works correctly when it uses a custom path with the `db_dir` parameter
Previously, an instance that used custom directory paths failed to start because the custom directories had a wrong SELinux label. As a consequence, SELinux denied access to these directories and the instance was not created. With this release, `dscreate` utility sets correct SELinux labels for the custom instance directories.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-30 09:40:35 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: |
Description
Viktor Ashirov
2021-02-03 08:32:47 UTC
*** Bug 2121747 has been marked as a duplicate of this bug. *** ============================================ test session starts ============================================= platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache 389-ds-base: 2.2.6-1.module+el9dsrv+17949+63c5b04e nss: 3.79.0-14.el9_0 nspr: 4.34.0-14.el9_0 openldap: 2.6.2-3.el9 cyrus-sasl: not installed FIPS: disabled rootdir: /mnt/tests/rhds/install/ds/dirsrvtests, configfile: pytest.ini collected 1 item dirsrvtests/tests/suites/setup_ds/dscreate_test.py::test_setup_ds_custom_db_dir PASSED [100%] ============================================= 1 passed in 38.72s ============================================ WebUI also works with this custom setup. Marking as VERIFIED. Hi Viktor, Could you please review the RN text in the DocText field. Thanks, Evgenia Hi Evgenia, Minor capitalization issue: seLinux -> SELinux The rest looks good to me. Thanks. Peer comments were applied, RN text is release pending 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 (redhat-ds:12 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-2023:3344 |