[koha-commits] main Koha release repository branch master updated. v3.22.00-339-gc4934b2

Git repo owner gitmaster at git.koha-community.org
Wed Jan 27 03:49:09 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  c4934b2dab427da4304913b3f0f26e0a24606896 (commit)
       via  3815915a3338c4380da7773acc675b07ac82562d (commit)
      from  5b6457087d0c8be00cbe3d54a7e157706f74908b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c4934b2dab427da4304913b3f0f26e0a24606896
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Wed Jan 13 11:16:02 2016 +0100

     Bug 15553: [QA Follow-up] Replace hardcoded tmp and add instance to dirname
    
    If you use multiple instances on one server, you could have the situation
    that instance A creates the cgisess subfolder and instance B could have a
    permission problem. This patch resolves that by allowing each instance to
    have its own cgisess subfolder.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

commit 3815915a3338c4380da7773acc675b07ac82562d
Author: Blou <philippe.blouin at inlibro.com>
Date:   Mon Jan 11 16:41:11 2016 -0500

     Bug 15553 - [SIGNED-OFF] cgisess_ files polluting the /tmp directory
    
    When some users want to improve performance, one suggestion is to switch the syspref "sessionstorage" to 'tmp',
    which store the session info in the /tmp directory instead of the database.
    
    Depending on the frequency of the cleaning process (or lack thereof),
    this can be heavy pollution into the /tmp directory, making it unusable.
    "rm cgi*" would not even work since cgi* extends to over 8000 items...
    
    A simple fix is to modify the target directory in C4/Auth.pm to /tmp/cgisess.
    
    Testing scenario:
    1) change the syspref SessionStorage to 'tmp'
    2) Log into the OPAC, validate that a file named /tmp/cgisess_(something) got created
    3) Apply the patch
    4) Log into the OPAC, validate that a file /tmp/cgisess/cgisess_(something) got created
    
    Signed-off-by: Magnus Enger <magnus at libriotech.no>
    Works as advertised. Session files are created in /tmp/cgisess/ instead
    of directly in /tmp. I usually store sessions in memcached, but a
    couple of times memcached has died on me, and before I knew it, /tmp
    was so full of sessions files, I could not easily delete them with
    "rm /tmp/cgisess*". Being able to delete /tmp/cgisess/ should be a
    bit easier.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Auth.pm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list