4cf65b3 Ticket 50208 - make instances mark off based on dse.ldif not sysconfig

5 files Authored by firstyear 4 years ago, Committed by mreynolds 4 years ago,
    Ticket 50208 - make instances mark off based on dse.ldif not sysconfig
    
    Bug Description: As sysconfig isn't cross platform compatible, and
    there are some potential plans to remove it from our systemd files,
    we need to make sure that lib389 can handle this file not being present
    in new installs.
    
    Fix Description: Thankfully, we have a file we can always guarantee
    exists: dse.ldif. This makes /etc/dirsrv/slapd-instance the only
    fixed location in the server now, all other locations can be "moved".
    
    This patch:
     * Fixes a large number of removal regressions
     * Add comments and warnings throughout remove and setup to help
         prevent future regresions
     * Create no longer creates /etc/sysconfig/dirsrv-instance
     * Create makes dse.ldif *first* as it's the marker location
     * Remove works when there is no marker file (but will remove if it
         exists)
     * Listing now ignores /etc/sysconfig, and reads dse.ldif instead
         with a follow up https://pagure.io/389-ds-base/issue/50207 to
         parse data from this file for offline
    
    https://pagure.io/389-ds-base/issue/50208
    
    Author: William Brown <william@blackhats.net.au>
    
    Review by: spichugi, abbra (Thanks)
    
        
file modified
+0 -10
file modified
+0 -2