Vandelay record queuing can fail if spool directory is /tmp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On recent Debian and Ubuntu distributions, leaving the opensrf.xml setting open-ils.
This is because (at least) Debian Stretch and later and Ubuntu 17.04 and later [1], the systemd PrivateTmp option is enabled by default for the apache2 service. When this option is in effect, anything that an Apache process writes to /tmp is not visible to other processes, including open-ils.vandelay.
This can be worked around by setting the scratch directory to something like /openils/var/tmp. Unless there happens to be a systemd-approved way of securely saying that the contents of the Apache PrivateTmp should be visible to OpenSRF processes, we're either going to have to change the default scratch path in opensrf.xml or update the installation instructions to recommend turning off PrivateTmp.
[1] https:/
This affects any Evergreen version that's running on Debian 9+ or Ubuntu 17.04+
tags: | added: vandelay |
tags: |
added: acq-loadmarc cat-importexport removed: vandelay |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Upon a bit of searching, it looks like using JoinsNamespaceOf would be one of way of managing this in a systemd-approved manner (that is, of course, in scenarios where you're also using systemd unit files to manage the OpenSRF services).