f315d67 Ticket 47385 - DS not shutting down when disk monitoring threshold is reached

Authored and Committed by mreynolds 10 years ago
    Ticket 47385 - DS not shutting down when disk monitoring threshold is reached
    
    Bug Description:  If verbose logging is enabled, it fails to correctly
                      identify that the logging was disabled, and it gets
                      stuck in an endless loop - never shutting the server down.
    
                      Also, whe the server does shutdown due to a disk full, the
                      pid file is not removed.
    
    Fix Description:  Check for the two possible error log levels that indicate
                      verbose logging is disabled.  There were also logic errors
                      when determining if it was ok to disable access/audit logging,
                      and if to delete rotated logs.
    
                      Also removed the "nsslapd-disk-monitoring-preserve-logging"
                      setting, as it really didn't served a purpose because it was
                      basically the same as "nsslapd-disk-monitoring-logging-critical".
    
                      Lastly, if the server is being shutdown from a "disk full"
                      condition, then we need to manually remove the pidfile.
    
    https://fedorahosted.org/389/ticket/47385
    
    Reviewed by: Noriko(Thanks!)
    
        
file modified
+20 -11
file modified
+1 -30
file modified
+0 -2