Re: send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Sven F.
On Tue, Oct 26, 2021 at 11:13 AM Stuart Henderson wrote: > On 2021-10-26, Sven F. wrote: > > exec ('/usr/sbin/ksh -c "echo a"', $output, $retval); > > echo ''; > > echo "Returned with status $retval and output:\n"; > .. > > Returned with status 127 and output: > .. > > You need /bin/sh in the

Re: send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Michael Hekeler
Am 26.10.21 09:18 schrieb Sven F.: > }{ello, > > I updated a device and use php fpm on openbsd 7.0 > everything works fine after putting a resolv file in the chroot > but i can't send email from the chroot > > I hope I didn't see something obvious. > > to troubleshoot i drop the ksh inside the

Re: send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Stuart Henderson
On 2021-10-26, Sven F. wrote: > exec ('/usr/sbin/ksh -c "echo a"', $output, $retval); > echo ''; > echo "Returned with status $retval and output:\n"; .. > Returned with status 127 and output: .. You need /bin/sh in the chroot for this to work. "The exit status of the shell is 127 if the command

Re: send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Brian Brombacher
> On Oct 26, 2021, at 9:22 AM, Sven F. wrote: > > }{ello, > > I updated a device and use php fpm on openbsd 7.0 > everything works fine after putting a resolv file in the chroot > but i can't send email from the chroot > > I hope I didn't see something obvious. > > to troubleshoot i drop

send help ( chroot php fpm refuse to exec/popen/procopen... on 7.0 )

2021-10-26 Thread Sven F.
}{ello, I updated a device and use php fpm on openbsd 7.0 everything works fine after putting a resolv file in the chroot but i can't send email from the chroot I hope I didn't see something obvious. to troubleshoot i drop the ksh inside the chroot /var/www/usr/sbin/ksh: Start