[systemd-devel] disable "InaccessiblePaths" with a dropin

Reindl Harald h.reindl at thelounge.net
Thu Jan 9 05:20:30 UTC 2020


Hi

deployed http.service contains:

 * InaccessiblePaths=-/usr/bin/bash
 * InaccessiblePaths=-/usr/bin/dash
 * InaccessiblePaths=-/usr/bin/sh

now there is one instance where passthru() in a php script is desired

/etc/systemd/system/http.service/allow-paths.conf:
ReadOnlyPaths=-/usr/bin/bash
ReadOnlyPaths=-/usr/bin/dash
ReadOnlyPaths=-/usr/bin/sh

that don't work - is there a way to disable specific "InaccessiblePaths"
from the main unit with a dropin other then clone the whole httpd.service?


More information about the systemd-devel mailing list