[Mailman-Developers] Log file rollovers

Brad Knowles brad.knowles at skynet.be
Thu Oct 9 20:43:10 EDT 2003


At 5:34 PM -0700 2003/10/09, Nadim Shaikli wrote:

>  Nothing looked out of place to me.  The file is being created correctly,
>  I'm just surprised that mailman would even touch a non-existent as far as
>  its concerned (mailman know not about post.1 and logrotate) unless the
>  file-handler is kept in a constant open state by mailman or something.

	When the file is renamed, the inode number and internal file 
handle do not change.  Mailman opens the file on start, and doesn't 
close it.  The file gets renamed, but this change is not relevant to 
mailman -- it just keeps using the filehandle it's already got.  This 
is why you have to use mailmanctl to stop and restart mailman.

-- 
Brad Knowles, <brad.knowles at skynet.be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.

GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E-(---) W+++(--) N+
!w--- O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++)
tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)



More information about the Mailman-Developers mailing list