Am Montag, den 15.12.2008, 19:28 +0100 schrieb Miroslav Lichvar:
On Mon, Dec 15, 2008 at 04:26:55PM +0100, Harald Hoyer wrote:
>>
http://www.harald-hoyer.de/files/bootchart-16.png
>
> with newaliases this was 100% reproducable.
The fdatasync call comes from db4.
It would be nice if newaliases was executed only when /etc/aliases.db
is older than /etc/aliases, but other MTAs may use the same db file,
so it needs to be updated also after switching mta in the alternatives
system.
Maybe copy the timestamp in the init script to another file and don't
call newaliases only when the timestamps are equal?
This is probably a three line fix for an immediate gain. Sounds good :)