Open
Description
The installation script seems to expect sudo to be installed, which it might not be in a minimal container with only a root user.
root@121f9f88f689:/app# id
uid=0(root) gid=0(root) groups=0(root)
root@121f9f88f689:/app# /root/.mysqlsh-gui/plugin_data/gui_plugin/web_certs/install.sh
The MySQL Shell Web Root Certificate required by the MySQL for VS Code extension will now be installed on your system.
The following script will be executed. Some operations will require the sudo password , please review at your own discretion:
/root/.mysqlsh-gui/plugin_data/gui_plugin/web_certs/install.sh
The script will perform the following operations:
- Install the following requirements:
- certutil
- NSS User Database
- Install the MySQL Shell GUI certificate at the following locations:
* - NSS User Database
Do you want to continue [Y/n] ?
Installing the certificate management utility: libnss3-tools
/root/.mysqlsh-gui/plugin_data/gui_plugin/web_certs/install.sh: line 26: sudo: command not found
Failed installing libnss3-tools
Press any key to continue...
Since I already have root permission, the install script shouldn't fail.
As a temporary work around, I installed sudo and finished the install
Metadata
Metadata
Assignees
Labels
No labels