Saturday, March 1, 2008

Postfix + FreeBSD 7.0 Release fix

After upgrade to the latest sources (on the 28 th) and a portupgrade -fa, my postfix installation started saying:

postfix/tlsmgr[31413]: fatal: tls_prng_exch_open: cannot open PRNG exchange file /var/lib/postfix/prng_exch: Permission denied

...when tls was enabled.

The fix was to chmod o+rw /var/lib (it was 770 and not owned by postfix). Unclear why this was needed?

UPDATE (2008-11-14): The /var/lib now has mod 775 and /var/lib/postfix is owned by postfix and mod 700. Seems some kind of upgrade script changed this for me?

No comments: