Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-61347

Directory Server is unavailable after a restart with nsslapd-readonly=on and consumes 100% CPU

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • 389-ds-base-2.7.0-4.el9
    • No
    • Low
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      .Directory Server starts correctly in the read-only mode

      Before this update, Directory Server did not start if you configured the read-only mode. With this update, the `nsslapd-readonly` attribute is processed correctly, and the server starts in the read-only mode as expected.
      Show
      .Directory Server starts correctly in the read-only mode Before this update, Directory Server did not start if you configured the read-only mode. With this update, the `nsslapd-readonly` attribute is processed correctly, and the server starts in the read-only mode as expected.
    • Done
    • None

      Description of problem:
      If you set nsslapd-readonly=on and restart the instance, ns-slapd consumes 100% CPU, no ports are opened, and the service is unavailable.

      Version-Release number of selected component (if applicable):
      389-ds-base-1.4.3.13-1.module+el8dsrv+8334+69a46a2e.x86_64

      How reproducible:
      Always.

      Steps to Reproduce:
      1. dsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-readonly=on
      2. systemctl restart dirsrv@instance_name

      Actual results:
      The systemctl command never ends, ns-slapd consumes 100% CPU, no ports are opened. The service is not available, and no meaningful error is logged.

      Expected results:
      If it's expected that the instance can't be (re-)started in read-only mode, then starting the service should fail and a meaningful information should be logged.

      If it's expected that the instance starts, then ns-slapd should not hang and start successfully in read-only mode.

              idm-ds-dev-bugs IdM DS Dev
              mmuehlfe@redhat.com Marc Muehlfeld
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: