cab3016 uninstall -v: remove Tracebacks

1 file Authored by frenaud 5 years ago, Committed by cheimes 5 years ago,
    uninstall -v: remove Tracebacks
    
    ipa-server-install --uninstall -v -U prints Traceback in its log file.
    This issue happens because it calls subprocess.Popen with close_fds=True
    (which closes all file descriptors in the child process)
    but it is trying to use the file logger in the child process
    (preexec_fn is called in the child just before the child is executed).
    The fix is using the logger only in the parent process.
    
    Fixes: https://pagure.io/freeipa/issue/7681
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+12 -11