Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In WSL mode, the variable 'PATH' set by '/etc/profile' and '~/bash_profile' files is not valid!! #136814

Closed
377960738 opened this issue Nov 10, 2021 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@377960738
Copy link

Issue Type: Bug

Today (November 10, 2021.11), the edit tip can be upgraded.After the upgrade, it is found that the information set in '/etc/profile' and '~/.bash_profile' file in WSL mode does not take effect, hope to fix this problem asap!!
Detailed configuration information is shown in the comments below in the form of pictures

VS Code version: Code 1.62.1 (f4af3cb, 2021-11-05T10:57:55.946Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 5.10.60.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz (12 x 2904)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.75GB (8.04GB free)
Process Argv --crash-reporter-id 3ac5d4aa-e0d9-4377-820c-b495552af323
Screen Reader no
VM 33%
Item Value
Remote WSL: CentOS7
OS Linux x64 5.10.60.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz (12 x 2903)
Memory (System) 12.28GB (10.04GB free)
VM 0%
Extensions (121)
Extension Author (truncated) Version
color-info bie 0.7.0
bracket-pair-colorizer Coe 1.0.61
systemd-unit-file coo 1.0.6
vscode-firefox-debug fir 2.9.4
codespaces Git 1.3.5
vue jcb 0.1.5
dotenv mik 1.0.1
vscode-apache mrm 1.2.0
vscode-language-pack-zh-hans MS- 1.62.3
jupyter-keymap ms- 1.0.0
remote-ssh ms- 0.66.1
remote-ssh-edit ms- 0.66.1
remote-wsl ms- 0.58.5
sublime-keybindings ms- 4.0.10
php-docblocker nei 2.6.1
laravel5-snippets one 1.13.0
vscode-nginx sha 0.6.0
vscode-icons vsc 11.7.0
emoji Wsc 0.0.4
JavaScriptSnippets xab 1.8.0
cloudmusic YXL 9.4.0
vscode-sqlite ale 0.14.0
laravel-extra-intellisense ami 0.6.1
vscode-color ans 0.4.5
z-reader aoo 1.1.3
gitstash art 5.1.0
vscode-database baj 2.2.3
vscode-intelephense-client bme 1.7.1
path-intellisense chr 2.4.2
laravel-goto-view cod 1.3.4
doxdocgen csc 1.3.2
vscode-mysql-client2 cwe 4.1.8
vscode-office cwe 2.4.1
vscode-redis-client cwe 1.2.8
dart-code Dar 3.28.0
flutter Dar 3.28.0
vscode-markdownlint Dav 0.45.0
tp5-snippet dax 1.0.0
vscode-eslint dba 2.2.2
githistory don 0.6.19
gitlens eam 11.6.1
EditorConfig Edi 0.16.4
vscode-npm-script eg2 0.3.23
tortoise-svn fan 0.1.1
vue-format feb 0.1.8
php-intellisense fel 2.3.14
code-runner for 0.11.6
vscode-mysql for 0.4.1
vscode-lombok Gab 1.0.1
anes gam 0.0.2
go gol 0.29.0
gc-excelviewer Gra 3.0.44
todo-tree Gru 0.0.214
google-translate han 1.2.6
openvpn idl 0.2.3
composer ika 0.7.1
vscode-edit-csv jan 0.6.4
vscode-phpfmt kok 1.0.30
vs-color-picker lih 1.0.0
git-emoji-zh mai 1.1.9
rainbow-csv mec 1.9.1
git-graph mhu 1.30.0
mp-rest-client-generator-vscode-ext Mic 0.1.2
mp-starter-vscode-ext Mic 0.2.7
vscode-microprofile-pack Mic 0.1.2
dotenv mik 1.0.1
HTMLHint mka 0.10.0
vscode-filesize mkx 3.1.0
mongodb-vscode mon 0.6.14
vscode-docker ms- 1.17.0
vscode-language-pack-zh-hans MS- 1.62.3
python ms- 2021.11.1422169775
vscode-pylance ms- 2021.11.0
jupyter ms- 2021.10.1001414422
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.3
cmake-tools ms- 1.9.1
cpptools ms- 1.7.1
vsliveshare ms- 1.0.5090
sqltools mtx 0.23.0
sqltools-driver-mysql mtx 0.2.0
sqltools-driver-pg mtx 0.2.0
sqltools-driver-sqlite mtx 0.2.0
php-docblocker nei 2.6.1
vscode-zhihu niu 0.4.0
vetur oct 0.35.0
laravel-blade one 1.28.0
laravel-extension-pack one 1.0.0
laravel5-snippets one 1.13.0
csv-to-table php 1.3.0
vscode-boot-dev-pack Piv 0.1.0
vscode-concourse Piv 1.28.0
vscode-manifest-yaml Piv 1.28.0
vscode-spring-boot Piv 1.28.0
minapp-vscode qiu 2.4.1
vscode-thunder-client ran 1.9.1
vscode-flexbox-picker Rax 0.0.1
fabric8-analytics red 0.3.4
java red 1.0.0
vscode-commons red 0.0.6
vscode-microprofile red 0.3.0
vscode-quarkus red 1.9.0
vscode-xml red 0.18.1
laravel-artisan rya 0.0.28
php-formatter Sop 0.2.4
laravel-goto-controller ste 0.0.15
pcinfobar tak 0.0.1
html-preview-vscode tht 0.2.5
cmake twx 0.0.17
vscodeintellicode Vis 1.2.14
vscode-java-debug vsc 0.36.0
vscode-java-dependency vsc 0.18.8
vscode-java-pack vsc 0.18.6
vscode-java-test vsc 0.32.0
vscode-maven vsc 0.34.1
vscode-spring-boot-dashboard vsc 0.2.0
vscode-spring-initializr vsc 0.7.0
better-align wwm 1.1.6
markdown-all-in-one yzh 3.4.0
json Zai 2.0.2
svn-helper Zlo 1.0.3
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
vsccppwtct:30382698
bridge0708:30335490
pygetstartedt3:30385195
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis400:30386382
vsaa593cf:30376535
vssld246:30386377

@377960738
Copy link
Author

The profile information

529916d5eb89b2ce349076fdd1dde34

Comparison of abnormal conditions

6ba8f8481207ccfa816582f3eccc650

@meganrogge
Copy link
Contributor

/duplicate #136791

@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@377960738 @meganrogge and others