Bugzilla – Attachment 55785 Details for
Bug 17332
Memcached configuration missing in koha-conf* files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17332: Remove memcached config from apache files
Bug-17332-Remove-memcached-config-from-apache-file.patch (text/plain), 3.85 KB, created by
Chris Cormack
on 2016-09-23 20:13:38 UTC
(
hide
)
Description:
Bug 17332: Remove memcached config from apache files
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2016-09-23 20:13:38 UTC
Size:
3.85 KB
patch
obsolete
>From 6bf24f3c8baef4d6e491c1778520512eb26b0e52 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 23 Sep 2016 11:33:19 -0300 >Subject: [PATCH] Bug 17332: Remove memcached config from apache files > >This patch removes Memcached configurations from the shipped apache files. > >Note: testing is not actually needed for this patch, as it is really trivial. But I >include testing steps, just in case QA members require it. > >To test: >- Apply the patch >- Do a (standard/dev/single) Koah install >=> SUCCESS: Verify the resulting koha-httpd.conf file doens't include memcached data >- Have a packages install >- Replace > * /etc/koha/apache-site-https.conf.in > * /etc/koha/apache-site.conf.in > with the ones from this patch >- Create an instance >=> SUCCESS: The apache configuration doesn't include memcached configurations >- Sign off :-D > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > debian/templates/apache-site-https.conf.in | 4 ---- > debian/templates/apache-site.conf.in | 6 +----- > etc/koha-httpd.conf | 4 ---- > 3 files changed, 1 insertion(+), 13 deletions(-) > >diff --git a/debian/templates/apache-site-https.conf.in b/debian/templates/apache-site-https.conf.in >index 44a4fc8..b0f6883 100644 >--- a/debian/templates/apache-site-https.conf.in >+++ b/debian/templates/apache-site-https.conf.in >@@ -30,8 +30,6 @@ > > ServerName __OPACSERVER__ > SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml" >- SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" >- SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" > AssignUserID __UNIXUSER__ __UNIXGROUP__ > > ErrorLog /var/log/koha/__KOHASITE__/opac-error.log >@@ -60,8 +58,6 @@ > > ServerName __INTRASERVER__ > SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml" >- SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" >- SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" > AssignUserID __UNIXUSER__ __UNIXGROUP__ > > ErrorLog /var/log/koha/__KOHASITE__/intranet-error.log >diff --git a/debian/templates/apache-site.conf.in b/debian/templates/apache-site.conf.in >index 3f7ad52..654674d 100644 >--- a/debian/templates/apache-site.conf.in >+++ b/debian/templates/apache-site.conf.in >@@ -12,8 +12,6 @@ > > ServerName __OPACSERVER__ > SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml" >- SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" >- SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" > AssignUserID __UNIXUSER__ __UNIXGROUP__ > > ErrorLog /var/log/koha/__KOHASITE__/opac-error.log >@@ -30,11 +28,9 @@ > # Include /etc/koha/apache-shared-disable.conf > # Include /etc/koha/apache-shared-intranet-plack.conf > Include /etc/koha/apache-shared-intranet.conf >- >+ > ServerName __INTRASERVER__ > SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml" >- SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" >- SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" > AssignUserID __UNIXUSER__ __UNIXGROUP__ > > ErrorLog /var/log/koha/__KOHASITE__/intranet-error.log >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index 7c212d8..2747791 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -17,8 +17,6 @@ > # TransferLog __LOG_DIR__/koha-opac-access.log > SetEnv KOHA_CONF "__KOHA_CONF_DIR__/koha-conf.xml" > SetEnv PERL5LIB "__PERL_MODULE_DIR__" >- SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" >- SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" > > # This syntax allows you to override a system preference > # for a given virtual host. Use with caution! >@@ -145,8 +143,6 @@ > # TransferLog __LOG_DIR__/koha-access.log > SetEnv KOHA_CONF "__KOHA_CONF_DIR__/koha-conf.xml" > SetEnv PERL5LIB "__PERL_MODULE_DIR__" >- SetEnv MEMCACHED_SERVERS "__MEMCACHED_SERVERS__" >- SetEnv MEMCACHED_NAMESPACE "__MEMCACHED_NAMESPACE__" > Options +FollowSymLinks > > # If you are overriding any system preferences, >-- >2.9.3
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 17332
:
55776
|
55777
|
55784
|
55785
|
55828
|
55829