]> git.koha-community.org Git - koha.git/commit
Bug 13876: [QA Follow-up] Resolve updatedatabase logfile issues
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 20 Mar 2015 15:13:51 +0000 (16:13 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 20 Apr 2015 14:23:12 +0000 (11:23 -0300)
commit7247087502d7aa45519794ab3f04659ca773914f
tree863f0f8cf0301966bb91c1f8f5001ab4e5f0480e
parentbeedb7866a8870fe501a30dd3333fb2fe41d93cc
Bug 13876: [QA Follow-up] Resolve updatedatabase logfile issues

This patch removes the test on write permissions of the logdir.
It uses File::Temp to generate a file in the logdir or otherwise in
a system tmp dir.
This resolves issues with both write permissions as well as SELinux
denials.
Note that after generating an empty file, we are appending to it in
the system statement.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended: only use File::Temp in the fallback case. Do not add the four
character suffix in the first attempt.

Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/install.pl