[Koha-bugs] [Bug 24749] Plack restart should clear orphaned cgi_compile directories on restart

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 9 16:44:18 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24749

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 109826
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109826&action=edit
Bug 24749: Attempt to use tmp_path from koha-conf for TMPDIR for starman

The issue described on this bug is triggered when a process ID is reused, but
the directory
belongs to another koha instance on the same server

To mitigate this issue we attemtped to force plack to use an instance specific
TMPDIR as CGI::Compile simply uses File::Spec::tmpdir to decide where to
compile
files

If the folder belongs to the instance then we shouldn't have permissions issues

Sadly these patches, while brilliant, do not work

Attaching in the hopes someone even more brilliant can complete the work

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list