Bug 7008

Summary: Sometimes zebra needs a tmp directory that it doesn't create itself
Product: Koha Reporter: Robin Sheat <robin>
Component: PackagingAssignee: Robin Sheat <robin>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: enhancement    
Priority: PATCH-Sent (DO NOT USE) CC: m.de.rooy, mtj, paul.poulain
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 7008 - create tmp dir for zebra
modified: debian/scripts/koha-create-dirs
Bug 7008 - create tmp dir for zebra

Description Robin Sheat 2011-10-12 05:25:16 UTC
This causes errors like:

18:20:46-12/10 zebrasrv(3) [fatal] rstemp: mkstemp /var/lib/koha/rbnz/biblios/tmp/zrs_7710_usADvK [No such file or directory]

koha-create-dirs should create this.
Comment 1 Robin Sheat 2011-10-12 05:33:20 UTC Comment hidden (obsolete)
Comment 2 Paul Poulain 2011-10-24 11:38:11 UTC
Updating Version : This ENH will be for Koha 3.8
Comment 3 Paul Poulain 2011-10-25 15:05:44 UTC
Bug versionned for master. entries will be made against rel_3_8 once the patch has been applied (see thread about that on koha-devel yesterday)
Comment 4 Mason James 2011-11-04 09:06:36 UTC Comment hidden (obsolete)
Comment 5 Mason James 2011-11-04 09:23:12 UTC
Created attachment 6188 [details] [review]
Bug 7008 - create tmp dir for zebra

Sometimes zebra needs a tmp dir in order to work. This ensures that it
is created both by koha-create-dirs in the packages, and by
rebuild_zebra when it runs.
--

tested ok, signing off
Signed-off-by: Mason James <mtj@kohaaloha.com>
Comment 6 Mason James 2011-11-04 09:25:29 UTC
(In reply to comment #4)
> Created attachment 6186 [details] [review]
> modified:   debian/scripts/koha-create-dirs

oops, made a little mistake with git-bz, 

that patch ended up being a 'whitespace' patch, only
Comment 7 Marcel de Rooy 2011-12-01 08:54:04 UTC
QA: Looks good. Updated patch status.
Comment 8 Paul Poulain 2011-12-03 07:08:33 UTC
patch pushed, please test
(note I haven't tested the patch, reading it looks good & usefull)
Comment 9 Jared Camins-Esakov 2012-05-23 12:21:16 UTC
Included in 3.6 prior to 3.6.5.