[Koha-bugs] [Bug 15032] [Plack] Scripts that fork (like stage-marc-import.pl) don't work as expected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 24 14:06:08 CEST 2018


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

--- Comment #26 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I do not think your Koha::Daemon will work for the background jobs.

To me, the best way to fix this would be to provide a Koha daemon, instead.
But it would watch a DB table, which would allow us to build a view on top of
it to manage the different jobs (and history).

We could also have different daemons for different needs (a param of the daemon
matching a column in the DB table).

The question behind that is security, we will have to list the different
operations the daemon is allowed to process (and so we will loose flexibility).

I have spent a *lot* of time trying to fix this issue by forking, etc. And my
conclusion is: it's not feasible (see discussions and tries on related bug
reports)

See also bug 1993.

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


More information about the Koha-bugs mailing list