[Koha-bugs] [Bug 6008] Installation might fail it user web doesn't have in its path the database command path
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Feb 18 08:27:47 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6008
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3532|0 |1
is obsolete| |
--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> 2012-02-18 07:27:47 UTC ---
Created attachment 7747
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7747
Bug 6008 - Locating mysql/psql commands on Installer.pm
In Installer.pm when is looking for the system command to dump a file into the
database
it might fail if the web user doesn't have it in its path. So we add before a
search with
"which" and "whereis" commands, if they fail the command is itself without
path.
E.g.: with OpenBSD 4.8 the web user "www" doesn't have the path to the
installed mysql bin:
/usr/local/bin/mysql and fails in the web installer.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Seems to work fine, has a good default for if it fails to find that
path
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list