[Koha-bugs] [Bug 17717] process_message_queue.pl: Can't locate Authen/CAS/Client/Response/Failure.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 2 15:36:57 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17717

--- Comment #52 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Marcel de Rooy from comment #48)
> (In reply to Marco Moreno from comment #47)
> > Understanding the problem is necessary to determine the best solution.
> [...]
> > 5. Change the current directory to one that is readable by modifying all
> > code that performs a "sudo -u".  This may be as simple as adding "cd /tmp"
> > at the beginning of /usr/sbin/koha-foreach and /usr/sbin/koha-rebuild-zebra.
> > Possibly the best solution for now.
> > 
> > Option #5 seems like the best one for now.  It is a clear, one-line solution
> > that doesn't require modifying any crons.
> 
> I would agree. Put cd /tmp very close to the sudo -u. Adding it in cron is
> more confusing.
> Clear argumentation imo!

If there's a /tmp/Koha directory, without read permissions for the instance's
user it will still fail. I think we should jump into the instance's home
directory and I'm providing a patch to do so.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list