Skip Menu |

This queue is for tickets about the Log-Dispatch-FileRotate CPAN distribution.

Report information
The Basics
Id: 41065
Status: resolved
Priority: 0/
Queue: Log-Dispatch-FileRotate

People
Owner: Nobody in particular
Requestors: bitcard [...] frederik.cjb.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.13
Fixed in: (no value)



Subject: fails to write completely if target file on NFS drive, due to locking mechanism
(I'm reporting something that I noticed and looked into several months ago, but didn't have time then to report. As such, I now don't have fresh memory nor exhaustive description, for which I apologize.) In my experience, FileRotate does not allow to write a log file over an NFS mount. The reason is that the lock mechanism used by FileRotate, fails over NFS. If I remember well, the file is created, but remains empty (size 0) I was using FileRotate v1.13 at the time, on a Sun Solaris 9 system, and Perl 5.8.2. I haven't seen any mention in the changelog, so I suppose it's still the same in the current v1.19. When I read up on this issue several months back, I came to understand that file locking over NFS is a very difficult issue, so this may not be (easily) solvable. But documenting it may help other users.
Subject: fails to write completely if target file on NFS mounted drive, due to locking mechanism
From: bitcard [...] frederik.cjb.net
just to emphasize: I'm talking about a *mounted* NFS drive. (so not local disk)
Issue migrated to github: https://github.com/mschout/perl-log-dispatch-filerotate/issues/16 -- Regards, Michael Schout