Comment 2 for bug 266408

Revision history for this message
Mark Sapiro (msapiro) wrote :

> and call "MTA.create(None, quiet=quiet)" once more before
> os.umask(omask)
> in bin/genaliases

Has this been tested? It looks like this will be a deadlock because genaliases has the lock at this point and MTA,create tries to obtain it. It seems that things need to be rearranged to

    finally:
        lock.unlock(unconditionally=True)
        MTA.create(None, quiet=quiet)
        os.umask(omask)