LogMailer Bug
I have updated the LogMailer program for .4-0. Instead of mv'ing the logs, i am cp'ying then rm'ing them. I don't technically know why this is neccessary, but i can make an educated guess.... I think it has something to do with the filesystem being in RAM and mv'ing the file while it is being written. I guess the file handle also gets mv'ed and when the system is done writing and closes the file handle it considers the file to be the same one it opened. Somehow this creates a link in memory to the new location in /tmp. I am guessing(please tell me if you know) that mv only changes the reference in memory, while cp creates a new reference. So i will just have the logmailer program create a cp of the existing file in /tmp then rm the original........ this should fix any short-term memory loss.
If i stop the services to mv the logs then your users will be kicked - not good.
BTW - On the ZoneCD I have done `rm -f filename` then `rm -f *` and the system gives an error "cannot remove 'filename' the file doesn't exist". Eventhough the file was already removed it is still referenced in RAM someplace.... crazy.
