FreeBSD Bugzilla – Attachment 195184 Details for
Bug 229817
sysutils/py-google-compute-engine: GCE instances can't run startup scripts due to bash set as default shell instead of sh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to FreeBSD's ports
0001-Fix-google-compute-engine-default-shell-to-sh-instea.patch (text/plain), 1.23 KB, created by
gustavo.scalet
on 2018-07-17 01:37:59 UTC
(
hide
)
Description:
patch to FreeBSD's ports
Filename:
MIME Type:
Creator:
gustavo.scalet
Created:
2018-07-17 01:37:59 UTC
Size:
1.23 KB
patch
obsolete
>From 9b7517079c797c62212762c0c236d4329f453c12 Mon Sep 17 00:00:00 2001 >From: Gustavo Serra Scalet <gustavo.scalet@collabora.com> >Date: Mon, 16 Jul 2018 22:35:42 -0300 >Subject: [PATCH] Fix google-compute-engine default shell to sh instead of bash > >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. >--- > .../files/instance_configs.cfg.distro.sample | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample b/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample >index cd1519c9b..08d29c76b 100644 >--- a/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample >+++ b/sysutils/py-google-compute-engine/files/instance_configs.cfg.distro.sample >@@ -5,4 +5,4 @@ usermod_cmd = pw usermod {user} -G {groups} > groupadd_cmd = pw groupadd {group} > > [MetadataScripts] >-default_shell = /bin/bash >+default_shell = /bin/sh >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229817
: 195184