Skip to content

Conversation

@pwa0202
Copy link

@pwa0202 pwa0202 commented Mar 5, 2016

Based on CPAN ticket 112723

Have you considered the possible enhancement to File::NFSLock of including the UID (or full domain name?) of the locker in the *.NFSLock file?

In my usage of this module I would find that to be a useful addition to the lock file...

Perhaps this info is not there thoughtfully, e.g. maybe there are security/privacy considerations that I'm overlooking - if so I'd be interested to hear about them.

hookbot and others added 30 commits May 29, 2014 14:19
 - README
 - lib/File/NFSLock.pm
Fix RT#86125
Avoid gleefully double removing possibly valid lockfile when ->unlock is explicitly called and then DESTROY is implicity called.
Avoid gleefully double removing valid lockfile when ->unlock is explicitly called.
…aturely released by the crashed lock detection cleanup process.
…ock_file has been already exclusive locked using File::NFSLock

This allows it to be more compatible with Win32 perl.
Add tests with TAINT enabled.
Testing fork()ing with a Shared Lock.
Add tests with TAINT enabled.
Update tests to reflect new fork behavior.
Update documentation to reflect the new newpid() behavior for fork()
Mention github repo
hookbot and others added 27 commits November 7, 2014 13:07
Make ->newpid method convert itself into a Shared Lock within both parent and child.
Compatibility fixes in test suite for Win32 Perl.
Add tests to test the new ->fork() method functionality.
Add travis-ci support
do "Makefile.PL" failed, '.' is no longer in @inc; did you mean do "./Makefile.PL"? at File-NFSLock.spec.PL line 32.
Makefile.PL: Missing WriteMakefile at File-NFSLock.spec.PL line 36.
make: *** [File-NFSLock.spec] Error 2
do "lib/File/NFSLock.pm" failed, '.' is no longer in @inc; did you mean do "./lib/File/NFSLock.pm"? at (eval 1) line 2.
No version! at File-NFSLock.spec.PL line 41.
make: *** [File-NFSLock.spec] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants