azure-cli: WSL: _openssl.abi3.so: cannot enable executable stack as shared object requires: Invalid argument

Description

Many simple commands e.g. az webapp list or az appservice plan list fail with a Python openssl error

/opt/az/lib/python3.6/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: cannot enable executable stack as shared object requires: Invalid argument
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/azure/cli/main.py", line 36, in main

I’ve just updated to the latest v2.0.12 CLI. The create options also fail


Environment summary

Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
apt-get under WSL

CLI Version: What version of the CLI and modules are installed? (Use az --version)
azure-cli (2.0.12)

OS Version: What OS and version are you using?
Windows 10 (Latest update v1703, build: 15063.482)

Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Bash for Windows

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

Thanks @jwendl. I verified it on WSL also. So I have published a patch with version 2.0.14-2.

sudo apt-get update && sudo apt-get install azure-cli to update.

Closing issue. Please comment if you still have issues.

Hi, What’s the timeline for a fix? I’ve updated to 2.0.14 and it is still broken