Bug 7216 - koha-restore doesn't set HOME
Summary: koha-restore doesn't set HOME
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 3.6
Hardware: All All
: PATCH-Sent (DO NOT USE) normal
Assignee: Jared Camins-Esakov
QA Contact: Ian Walls
URL:
Keywords:
: 7217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-12 00:48 UTC by Jared Camins-Esakov
Modified: 2012-10-25 23:10 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
[BZ7216] koha-restore does not correctly set home (1.12 KB, patch)
2011-11-12 00:54 UTC, Jared Camins-Esakov
Details | Diff | Splinter Review
Bug 7216 - koha-restore does not correctly set home (1.18 KB, patch)
2011-11-12 01:10 UTC, Robin Sheat
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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
directory.

http://bugs.koha-community.org/show_bug.cgi?id=7216
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)