Bug 7216

Summary: koha-restore doesn't set HOME
Product: Koha Reporter: Jared Camins-Esakov <jcamins>
Component: PackagingAssignee: Jared Camins-Esakov <jcamins>
Status: CLOSED FIXED QA Contact: Ian Walls <koha.sekjal>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: paul.poulain, robin
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:
Attachments: [BZ7216] koha-restore does not correctly set home
Bug 7216 - koha-restore does not correctly set home

Description Jared Camins-Esakov 2011-11-12 00:48:25 UTC
The koha-restore utility does not properly set the HOME directory for the system users it creates, resulting in problems with rebuild-zebra not cleaning up after itself. The koha-restore utility should set the HOME directory for the system users to match where it is putting the data (/var/lib/koha/$name)
Comment 1 Robin Sheat 2011-11-12 00:51:20 UTC
*** Bug 7217 has been marked as a duplicate of this bug. ***
Comment 2 Jared Camins-Esakov 2011-11-12 00:54:32 UTC Comment hidden (obsolete)
Comment 3 Robin Sheat 2011-11-12 01:10:42 UTC
Created attachment 6298 [details] [review]
Bug 7216 - koha-restore does not correctly set home

Prior to this patch, the koha-restore Debian script did not set the home
directory properly for the system users it created, causing problems down the
line for koha-rebuild-zebra. This patch fixes that by specifying the home

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Comment 4 Ian Walls 2011-12-02 13:02:46 UTC
Just adds --home param to script call.  Package only, signed off by packaging manager, so passing QA
Comment 5 Paul Poulain 2011-12-06 16:03:34 UTC
Patch pushed please test

(I haven't signed-of myself, because I can't test this patch)