Azure / Azure/azure-functions-core-tools

Azure functions attempts to use /bin/bash even if it doesn't exist

Open
#3,254 2 comments 0 reactions 0 assignees View on GitHub
area: cli bug good first issue OS: linux
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

When using azure functions to start a function on nixos (linux), functions fails to start if /bin/bash does not exist. This can easily be mitigated by instead using /bin/sh or /usr/bin/env bash.

Contributor guide

Open the contributing guide

Research direction

The payload names no file or test. Start by tracing the Azure Functions Core Tools Linux startup path that invokes /bin/bash on NixOS, then reproduce with /bin/bash absent; done means a function starts successfully without that path assumption and the behavior is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, bash, csharp, linux, nixos
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.