gerases / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

6ddfaa0 Ticket 433 - multiple bugs in start-dirsrv, stop-dirsrv, restart-dirsrv scripts

Authored and Committed by mreynolds 11 years ago
    Ticket 433 - multiple bugs in start-dirsrv, stop-dirsrv, restart-dirsrv scripts
    
    Bug Description:  These scripts check /etc/sysconfig/ to for DS instances.  The
                      issue is that when you install 389-admin it creates a file
                      called dirsrv-admin.  Then these scripts report errors when
                      trying to start/stop/restart.
    
    Fix Description:  First, ignore instances that use "admin" for the indentifier.
                      Second, don't allow setup-ds.pl to use "admin" as the ID.  I
                      also needed to add extra checks for silent installations(which
                      do not use the DSDialogs.pm).  Also ensured the correct/detailed
                      error is displayed and logged when there is a failure.
    
    https://fedorahosted.org/389/ticket/433
    
    Reviewed by: Noriko(Thanks!)