a990d04 Issue 49974 - lib389 - List instances with initconfig_dir instead of sysconf_dir

Authored and Committed by spichugi 2 years ago
    Issue 49974 - lib389 - List instances with initconfig_dir instead of sysconf_dir
    
    Description: In lib389/instances/setup.py the _install_ds method of class SetupDs
    uses sysconf_dir with hardcoded path sysconfig instead of initconfig_dir.
    This breaks the script if initconfig_dir is not equal to /etc/sysconfig,
    e.g. /etc/default.
    
    https://pagure.io/389-ds-base/issue/49974
    
    Author: Jan N (janluca)
    
    Reviewed by: vashirov (Thanks!)