Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 7870
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: mriedel [...] lanl.gov
Cc:
AdminCc:

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



Subject: PAR does not clean up after itself
After running PAR during INIT or in user=nobody situations, PAR does not clean up the /tmp/par-SYSTEM cache directory. In fact, it doesn't seem to clean up the cache directories in general (several instances of /tmp/par-root, as well). Because these cache directories potentially contain megabytes of libraries, etc. it's important that PAR cleans itself up afterwards. If these cache directories are being saved for diagnostic puposes, maybe a compromise could be that if a binary is built with a certain flag, it will retain cache directories. Also, cleaning up the /tmp/par-* directories after execution prevents leaving corrupt libraries behind. To summarize: Issue: PAR does not clean up after itself. Expected Results: There should be no /tmp/par-* directories after PAR exits. Actual results: /tmp/par-* contains megabytes of code that shouldn't be left. Possible solution: Have par clean up after itself, unless the binary was built with a specific flag. Thanks! Matt Riedel
[guest - Mon Oct 4 17:50:35 2004]: Its not supposed to. These directories/files are left behind so that the next time you run your packed program, it will run faster (won't need to extract again).
[guest - Fri Dec 31 06:38:43 2004]: But PAR does not reuse the old directory! Instead it creates a fresh copy each time it's started. Show quoted text
> [guest - Mon Oct 4 17:50:35 2004]: > > Its not supposed to. > These directories/files are left behind so that the next time > you run your packed program, it will run faster (won't need to
extract Show quoted text
> again).
On Mi. 17. Aug. 2005, 06:47:42, guest wrote: Show quoted text
> [guest - Fri Dec 31 06:38:43 2004]: > > But PAR does not reuse the old directory! Instead > it creates a fresh copy each time it's started.
Can you reproduce this with a current release of PAR (0.941)? If so, please provide info about your platform and perl version and I'll try to help. Steffen
Closed for now (no answer for two weeks). Will automatically be reopened when a reply arrives.