Christian Roessner:
> Hi,
>
> do you have nearer information on this:
>
> Jan 1 06:35:00 mx postfix/postscreen[5599]: close database
> /var/lib/postfix/ps_cache.db: No such file or directory (possible Berkeley DB
> bug)
Citing from the Postfix dict_db.c module:
/*
* With some Berkeley DB implementations, close fails with a bogus ENOENT
* error, while it reports no errors with put+sync, no errors with
* del+sync, and no errors with the sync operation just before this
* comment. This happens in programs that never fork and that never share
* the database with other processes. The bogus close error has been
* reported for programs that use the first/next iterator. Instead of
* making Postfix look bad because it reports errors that other programs
* ignore, I'm going to report the bogus error as a non-error.
*/
if (DICT_DB_CLOSE(dict_db->db) < 0)
msg_info("close database %s: %m (possible Berkeley DB bug)",
dict_db->dict.name);
It this bothers you, think about all the programs that silently
ignore errors.
Wietse