Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2018 01:37:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229817] GCE instances can't run startup scripts due to bash set as default shell instead of sh
Message-ID:  <bug-229817-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 229817
           Summary: GCE instances can't run startup scripts due to bash
                    set as default shell instead of sh
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: gustavo.scalet@collabora.com

Created attachment 195184
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195184&action=
=3Dedit
patch to FreeBSD's ports

To use FreeBSD in the Google Cloud Engine, you need the agent provided by t=
he
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 shel=
l to
be /bin/sh

--=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-229817-7788>