[Mailman-Developers] Log file rollovers

Nadim Shaikli shaikli at yahoo.com
Mon Oct 13 15:20:26 EDT 2003


--- Brad Knowles wrote:
> 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 asits 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.

Well, if the statement "[MM] opens the file on start, and
doesn't close it" is true, then it sounds very worrying.
Shouldn't Mailman open/close upon prompting instead
(ie. upon arrival of mail and/or when prompted for action) ?

Is this a big deal to change/fix ?

Regards,

 - Nadim


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the Mailman-Developers mailing list