Created attachment 195184 [details] patch to FreeBSD's ports To use FreeBSD in the Google Cloud Engine, you need the agent provided by the package py27-google-compute-engine installed. That package has wrongly set the default shell as bash and the minimum image of FreeBSD doesn't have it installed so python commands fail when executing subprocess.Popen calls as it requests a shell that doesn't exist. The simple fix in attachment solves the issue by replacing the default shell to be /bin/sh
Comment on attachment 195184 [details] patch to FreeBSD's ports Thanks for the patch!
A commit references this bug: Author: swills Date: Wed Jul 18 14:28:04 UTC 2018 New revision: 474866 URL: https://svnweb.freebsd.org/changeset/ports/474866 Log: sysutils/py-google-compute-engine: fix default shell PR: 229817 Submitted by: Gustavo Serra Scalet <gustavo.scalet@collabora.com> Approved by: Helen Koike <helen.koike@collabora.com> (maintainer) MFH: 2018Q3 Changes: head/sysutils/py-google-compute-engine/Makefile head/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample
Committed, thanks!
A commit references this bug: Author: swills Date: Wed Jul 18 16:35:31 UTC 2018 New revision: 474882 URL: https://svnweb.freebsd.org/changeset/ports/474882 Log: MFH: r474866 sysutils/py-google-compute-engine: fix default shell PR: 229817 Submitted by: Gustavo Serra Scalet <gustavo.scalet@collabora.com> Approved by: Helen Koike <helen.koike@collabora.com> (maintainer) Approved by: ports-secteam (implicit) Changes: _U branches/2018Q3/ branches/2018Q3/sysutils/py-google-compute-engine/Makefile branches/2018Q3/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample