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

`dscreate ds-root` accepts relative path

    • 389-ds-base-2.5.2-1.el9
    • None
    • None
    • rhel-sst-idm-ds
    • 25
    • 0
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Bug Fix
    • Hide
      .The `dscreate ds-root` command now accepts a relative path

      Previously, when you tried to create an instance as a non-root user and provided a `bin_dir` argument value that contained a relative path, the relative path was written to the `defaults.inf` file causing the instance creation failure. With this update, when you provide a relative path as the `bin_dir` argument value, the instance is now created successfully.
      Show
      .The `dscreate ds-root` command now accepts a relative path Previously, when you tried to create an instance as a non-root user and provided a `bin_dir` argument value that contained a relative path, the relative path was written to the `defaults.inf` file causing the instance creation failure. With this update, when you provide a relative path as the `bin_dir` argument value, the instance is now created successfully.
    • Done
    • None

      Description of problem:
      This is a continuation from https://bugzilla.redhat.com/show_bug.cgi?id=2151868

      One of the test cases still fails:
      $ dscreate ds-root test $HOME/bin

      $ grep socket test/share/dirsrv/inf/defaults.inf
      ldapi = test/run/slapd-

      {instance_name}

      .socket

      It writes relative paths to defaults.inf.

      Version-Release number of selected component (if applicable):
      389-ds-base-2.3.6-2.el9

              jira-bugzilla-migration RH Bugzilla Integration
              vashirov@redhat.com Viktor Ashirov
              James Chapman
              RH Bugzilla Integration RH Bugzilla Integration
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: