[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.02-46-gd259eaa

Git repo owner gitmaster at git.koha-community.org
Fri Jan 29 15:44:27 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, 3.22.x has been updated
       via  d259eaac7ba240cbe9008271d9d123a5758547d8 (commit)
       via  6efb2ebc0f81c5eaa7e42475495131f578487ffc (commit)
      from  27f9eb01197dddb95332871eb5c1ba4fe3589af0 (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 d259eaac7ba240cbe9008271d9d123a5758547d8
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>
    (cherry picked from commit c4934b2dab427da4304913b3f0f26e0a24606896)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit 6efb2ebc0f81c5eaa7e42475495131f578487ffc
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>
    (cherry picked from commit 3815915a3338c4380da7773acc675b07ac82562d)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.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