[Bug 229817] GCE instances can't run startup scripts due to bash set as default shell instead of sh

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 17 01:38:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229817

            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 at FreeBSD.org
          Reporter: gustavo.scalet at collabora.com

Created attachment 195184
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195184&action=edit
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

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


More information about the freebsd-ports-bugs mailing list