Bugzilla – Attachment 174390 Details for
Bug 36548
koha-zebra should fix ownership on /var/run/koha/instancename files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36548: koha-zebra should fix ownership on /var/run/koha/instancename files
Bug-36548-koha-zebra-should-fix-ownership-on-varru.patch (text/plain), 1.37 KB, created by
Aleisha Amohia
on 2024-11-11 22:34:51 UTC
(
hide
)
Description:
Bug 36548: koha-zebra should fix ownership on /var/run/koha/instancename files
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-11-11 22:34:51 UTC
Size:
1.37 KB
patch
obsolete
>From cb1ba6e2833a6b3a8a93d22a954f8519aa6866e9 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 9 Apr 2024 01:19:23 +0000 >Subject: [PATCH] Bug 36548: koha-zebra should fix ownership on > /var/run/koha/instancename files > >This patch ensures the /var/run/koha/instancename/* files are owned by instancename-koha so zebra can start and stop as expected. > >Note: /var/run/koha/instancename/z3950-responder.pid must be owned by root:root but the rest should be owned by instancename-koha > >To test, confirm that: > >1. starting and stopping zebra using `koha-zebra` works as expected >2. all files in /var/run/koha/instancename/ are owned by instancename-koha > >Sponsored-by: Catalyst IT >--- > debian/scripts/koha-zebra | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-zebra b/debian/scripts/koha-zebra >index 228b8c8ca20..45a8a71f9f5 100755 >--- a/debian/scripts/koha-zebra >+++ b/debian/scripts/koha-zebra >@@ -174,7 +174,10 @@ _check_and_fix_perms() > local name=$1 > > local files="/var/log/koha/${name}/zebra-output.log \ >- /var/log/koha/${name}/zebra-error.log" >+ /var/log/koha/${name}/zebra-error.log \ >+ /var/run/koha/${name}/${name}*pid \ >+ /var/run/koha/${name}/*socket \ >+ /var/run/koha/${name}/plack*" > > for file in ${files} > do >-- >2.39.5
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 36548
:
164525
| 174390