Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2018 03:35:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228415] [patch] sysutils/py-google-compute-engine: fix gsutil not found when it is installed, unable to execute startup script
Message-ID:  <bug-228415-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228415

            Bug ID: 228415
           Summary: [patch] sysutils/py-google-compute-engine: fix gsutil
                    not found when it is installed, unable to execute
                    startup script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch, patch-ready
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: helen.koike@collabora.com
                CC: gjb@FreeBSD.org, swills@FreeBSD.org
 Attachment #193600 maintainer-approval+
             Flags:
             Flags: maintainer-feedback+, merge-quarterly?

Created attachment 193600
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193600&action=
=3Dedit
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 n=
ot
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=3D/usr/local/bin:$PATH inside file
/usr/local/etc/rc.d/google_startup

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228415-7788>