-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13-Aug-2002/13:36 +0800, Edward Dekkers <[EMAIL PROTECTED]> wrote: >> The initscript that is run by the 'service' command will rebuild db files, >> including access.db. > >Actually Tony I've heard that before from other people over the years as >well, but it doesn't seem to work on my server. The datestamp remains the >same as the access text file unless I run make, after which the datestamps >match. > >Unless my initscripts are broken, that is ofcourse possible, but I've never >messed with them.
Now that you mention it, I've seen this before too. So I took a look at the sendmail initscript. The problem is that the section of code that rebuilds the db files does not get called unless 'make' is missing, or there is no Makefile. Either of those conditions would prevent rebuilding the db files, so that can't be right. It turns out that there's a test to see if the db files need rebuilding (make -C /etc/mail -q), but the result of the test is not checked. This was assigned Bug# 57216 in Red Hat's Bugzilla: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=57216 But I think the proposed fix is incorrect. The initial proposed fix rebuilds the db files whether they need it or not. I added my proposed fix, which checks the result of the test and rebuilds the db files only if needed. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux: the choice of a GNU Generation. <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> iD8DBQE9WPCzpCpg3WyUI50RAoPpAJsG72Fxo9Pu8QinHU02+hPq2IjodQCfeEfC Fk+QVhDNCAyTYGsFPxhsIKo= =Qwom -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list