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

2020-01-09 Thread Lennart Poettering
On Do, 09.01.20 06:20, Reindl Harald (h.rei...@thelounge.net) wrote: > 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

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

2020-01-09 Thread Reindl Harald
Am 09.01.20 um 08:33 schrieb Michael Chapman: > On Thu, 9 Jan 2020, Reindl Harald wrote: >> Hi >> >> deployed http.service contains: >> >> * InaccessiblePaths=-/usr/bin/bash >> * InaccessiblePaths=-/usr/bin/dash >> * InaccessiblePaths=-/usr/bin/sh >> >> now there is one instance where

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

2020-01-08 Thread Michael Chapman
On Thu, 9 Jan 2020, Reindl Harald wrote: > 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 > >

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

2020-01-08 Thread Reindl Harald
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