Bugzilla – Attachment 49576 Details for
Bug 16084
log4perl.conf not properly set on packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16084: log4perl.conf not properly set on packages
Bug-16084-log4perlconf-not-properly-set-on-package.patch (text/plain), 2.72 KB, created by
Marcel de Rooy
on 2016-03-25 08:24:32 UTC
(
hide
)
Description:
Bug 16084: log4perl.conf not properly set on packages
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-03-25 08:24:32 UTC
Size:
2.72 KB
patch
obsolete
>From 6410dcf32350979d1a89f7be33705bdbc9ba7d7f Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 16 Mar 2016 16:21:32 -0300 >Subject: [PATCH] Bug 16084: log4perl.conf not properly set on packages >Content-Type: text/plain; charset=utf-8 > >- Run koha-create to create an instance or just fire kohadevbox:ansible >=> FAIL: Notice the instance's koha-conf.xml points to __KOHA_CONF_DIR__ > instead of /etc/koha/sites/kohadev/ on the log4perl entry. >=> FAIL: the /etc/koha/sites/kohadev/log4perl.conf contains __LOG_DIR__ > instead of /var/log/koha/kohadev/ >- Apply this patch and pick the koha-conf-site.xml.in and koha-create files >- Create a new instance >=> SUCCESS: All placeholders are filled correctly. >- Sign off > >Regards > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/scripts/koha-create | 4 +++- > debian/templates/koha-conf-site.xml.in | 2 +- > 2 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index a36f7e3..2a6c87d 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -84,7 +84,8 @@ generate_config_file() { > touch "$2" > chown "root:$username" "$2" > chmod 0640 "$2" >- sed -e "s/__KOHASITE__/$name/g" \ >+ sed -e "s/__KOHA_CONF_DIR__/\/etc\/koha\/sites\/$name/g" \ >+ -e "s/__KOHASITE__/$name/g" \ > -e "s/__OPACPORT__/$OPACPORT/g" \ > -e "s/__INTRAPORT__/$INTRAPORT/g" \ > -e "s/__OPACSERVER__/$opacdomain/g" \ >@@ -110,6 +111,7 @@ generate_config_file() { > -e "s/__UNIXUSER__/$username/g" \ > -e "s/__UNIXGROUP__/$username/g" \ > -e "s#__UPLOAD_PATH__#$UPLOAD_PATH#g" \ >+ -e "s/__LOG_DIR__/\/var\/log\/koha\/$name/g" \ > -e "s/__PLUGINS_DIR__/\/var\/lib\/koha\/$name\/plugins/g" \ > -e "s/__MEMCACHED_NAMESPACE__/$MEMCACHED_NAMESPACE/g" \ > -e "s/__MEMCACHED_SERVERS__/$MEMCACHED_SERVERS/g" \ >diff --git a/debian/templates/koha-conf-site.xml.in b/debian/templates/koha-conf-site.xml.in >index 51a9d86..fc4ad04 100644 >--- a/debian/templates/koha-conf-site.xml.in >+++ b/debian/templates/koha-conf-site.xml.in >@@ -266,7 +266,7 @@ __END_SRU_PUBLICSERVER__ > <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs> > <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs> > <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes> >- <logdir>/var/log/koha/__KOHASITE__</logdir> >+ <logdir>__LOG_DIR__</logdir> > <docdir>/usr/share/doc/koha-common</docdir> > <backupdir>/var/spool/koha/__KOHASITE__</backupdir> > <!-- Enable the two following to allow superlibrarians to download >-- >1.7.10.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 16084
:
49238
|
49302
| 49576 |
49577