As commented in the bug (https://bugzilla.redhat.com/show_bug.cgi?id=750710): We have to check if stdout and stderr are the same in execWithRedirect() because if they are the same we should open the file only once and have the same file descriptor for both stdout and stderr. Opening the file twice (thus having two file descriptors) causes rewrites and inconsistency in the file. -- Vratislav Podzimek _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list