Bugzilla – Attachment 6298 Details for
Bug 7216
koha-restore doesn't set HOME
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7216 - koha-restore does not correctly set home
Bug-7216---koha-restore-does-not-correctly-set-hom.patch (text/plain), 1.18 KB, created by
Robin Sheat
on 2011-11-12 01:10:42 UTC
(
hide
)
Description:
Bug 7216 - koha-restore does not correctly set home
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2011-11-12 01:10:42 UTC
Size:
1.18 KB
patch
obsolete
>From c1249a1095447af5c939ff65a81975420b293e0e Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Fri, 11 Nov 2011 19:53:14 -0500 >Subject: [PATCH] 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> >--- > debian/scripts/koha-restore | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/debian/scripts/koha-restore b/debian/scripts/koha-restore >index 4999088..caf4c7d 100755 >--- a/debian/scripts/koha-restore >+++ b/debian/scripts/koha-restore >@@ -54,7 +54,7 @@ name=$(tar tf "$configdump" | > sed -n '/^etc\/koha\/sites\/\([^/]*\)\/$/s//\1/p') > username="$name-koha" > adduser --no-create-home --disabled-login --gecos "Koha instance $username" \ >- --quiet "$username" >+ --home "/var/lib/koha/$name" --quiet "$username" > > > # Create dirs. Some of them will be in the tarball, but not all, e.g., >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7216
:
6297
| 6298