Created attachment 193600 [details] Patch that fix py-google-compute-engine startup script generated using diff -u -r -N olddir newdir Please apply the attached patch that fixes the bug described below. Bug description: ---------------- When setting the startup script to google cloud bucket, startup script is not being executed. In the logs we can see the message: freebsd startup-script: WARNING gsutil is not installed, cannot download items from Google Storage. But gsutil is installed. This happens because rc.d scripts have the PATH set to "/sbin:/bin:/usr/sbin:/usr/bin" while gsutil is located at /usr/local/bin/gsutil. Solution: --------- Execute export PATH=/usr/local/bin:$PATH inside file /usr/local/etc/rc.d/google_startup
A commit references this bug: Author: swills Date: Tue May 22 13:27:41 UTC 2018 New revision: 470611 URL: https://svnweb.freebsd.org/changeset/ports/470611 Log: sysutils/py-google-compute-engine: Fix gsutil not being found PR: 228415 Submitted by: Helen Koike <helen.koike@collabora.com> (maintainer Changes: head/sysutils/py-google-compute-engine/Makefile head/sysutils/py-google-compute-engine/files/google_startup.in
Committed, thanks!
A commit references this bug: Author: swills Date: Tue May 22 13:59:39 UTC 2018 New revision: 470617 URL: https://svnweb.freebsd.org/changeset/ports/470617 Log: MFH: r470611 sysutils/py-google-compute-engine: Fix gsutil not being found PR: 228415 Submitted by: Helen Koike <helen.koike@collabora.com> (maintainer Approved by: ports-secteam (implicit) Changes: _U branches/2018Q2/ branches/2018Q2/sysutils/py-google-compute-engine/Makefile branches/2018Q2/sysutils/py-google-compute-engine/files/google_startup.in