{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1422","repository_url":"https://api.github.com/repos/PowerShell/vscode-powershell","labels_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1422/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1422/comments","events_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1422/events","html_url":"https://github.com/PowerShell/vscode-powershell/issues/1422","id":340119680,"node_id":"MDU6SXNzdWUzNDAxMTk2ODA=","number":1422,"title":"Powershell integrated terminal in VSCode doesn't start up.","user":{"login":"Diederikjh","id":1573710,"node_id":"MDQ6VXNlcjE1NzM3MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1573710?v=4","gravatar_id":"","url":"https://api.github.com/users/Diederikjh","html_url":"https://github.com/Diederikjh","followers_url":"https://api.github.com/users/Diederikjh/followers","following_url":"https://api.github.com/users/Diederikjh/following{/other_user}","gists_url":"https://api.github.com/users/Diederikjh/gists{/gist_id}","starred_url":"https://api.github.com/users/Diederikjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diederikjh/subscriptions","organizations_url":"https://api.github.com/users/Diederikjh/orgs","repos_url":"https://api.github.com/users/Diederikjh/repos","events_url":"https://api.github.com/users/Diederikjh/events{/privacy}","received_events_url":"https://api.github.com/users/Diederikjh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-07-11T07:15:50Z","updated_at":"2018-09-20T20:44:35Z","closed_at":"2018-07-11T21:21:19Z","author_association":"NONE","body":"<!--\r\n\r\nBEFORE SUBMITTING A NEW ISSUE, PLEASE READ THE FAQ!!\r\nhttps://github.com/PowerShell/vscode-powershell/wiki/FAQ\r\n\r\nIf your issue is not addressed by the FAQ, please\r\nfill in the following details so that we can help you!\r\n\r\nIMPORTANT: you can generate a bug report directly from the\r\nPowerShell extension in Visual Studio Code by selecting\r\n\"PowerShell: Upload Bug Report to GitHub\" from the command palette.\r\n\r\nThe more repro details you can provide, along with a zip\r\nof the log files from your session, the better the chances\r\nare for a quick resolution.\r\n\r\n-->\r\n\r\n### System Details\r\n\r\n- Operating system name and version: Ubuntu 16.04\r\n- VS Code version: 1.25.0\r\n- PowerShell extension version: 1.8.0\r\n- Output from `$PSVersionTable`: (see below)\r\n\r\n```\r\nCopy / paste the following commands into the PowerShell Integrated Console, and paste the output here:  \r\n\r\nAs I can't start the integrated terminal, I ran these commands in normal powershell, ran via bash.\r\n\r\ncode -v\r\n1.25.0\r\n0f080e5267e829de46638128001aeb7ca2d6d50e\r\nx64\r\n$pseditor.EditorServicesVersion\r\n<no output>\r\ncode --list-extensions --show-versions\r\nAureliaEffect.aurelia@1.0.3\r\nbehzad88.Aurelia@1.2.2\r\nchristian-kohler.path-intellisense@1.4.2\r\nEditorConfig.EditorConfig@0.12.4\r\nms-vscode.csharp@1.15.2\r\nms-vscode.PowerShell@1.8.0\r\nmsjsdiag.debugger-for-chrome@4.7.0\r\nsteoates.autoimport@1.5.3\r\n$PSVersionTable\r\nName                           Value\r\n----                           -----\r\nPSVersion                      6.1.0-preview.2\r\nPSEdition                      Core\r\nGitCommitId                    v6.1.0-preview.2\r\nOS                             Linux 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018\r\nPlatform                       Unix\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\r\n```\r\n\r\n### Issue Description\r\n\r\nI had a working Powershell integrated terminal and debugger just yesterday, using the old version of the Powershell extension.\r\n\r\nVS code had a non clean exit (As my system locked up).  \r\n\r\nThis morning I started Visual Studio Code and the integrated terminal doesn't work. Neither does the debugger.  The Powershell extension also updated today.\r\n\r\nAfter the terminal tries to launch it shows:\r\n\r\n`PowerShell Integrated Console    Permissions to the pipe file were not set properly. Expected: 600 Actual: srw------- for file: /tmp/CoreFxPipe_PSES_5b0a428f-e0b7-4e90-b8c8-d0a44966a752`\r\n\r\nAnd after a while the terminal closes.  Logs below:\r\n\r\nthe `pwsh` app seems to work fine in normal bash.\r\n\r\nI tried to delete all the pipe like files with the following command:\r\n`rm  /tmp/CoreFxPip*` in the hope that it would re-create them correctly, but that didn't make a difference.\r\n\r\nI tried to set the permissions correctly on the file it was complaining about (by running `chmod 600` on the file it was complaining about) but that doesn't seem to work: it seems to re-create the files with incorrect permissions.\r\n\r\nRunning VSCode as root doesn't seem to help either (glad it is very loud about warning the user not to do this).\r\n\r\nI did find this [old issue](https://github.com/PowerShell/vscode-powershell/issues/1048) but this seems to be more windows specific.\r\n\r\n### Attached Logs\r\n\r\n```\r\n2018-7-11 08:39:32 [NORMAL] - Syntax Folding Provider registered\r\n2018-7-11 08:39:32 [NORMAL] - powershell.exe started, pid: 8751\r\n2018-7-11 08:39:38 [NORMAL] - powershell.exe terminated or terminal UI was closed\r\n2018-7-11 08:40:32 [NORMAL] - Language server startup failed.\r\n2018-7-11 08:40:32 [ERROR] - The language service could not be started: \r\n2018-7-11 08:40:32 [ERROR] - Timed out waiting for session file to appear.\r\n```\r\n\r\nVerbose logs attached.\r\n[logs.zip](https://github.com/PowerShell/vscode-powershell/files/2183318/logs.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/comments/423326882","html_url":"https://github.com/PowerShell/vscode-powershell/issues/1422#issuecomment-423326882","issue_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1422","id":423326882,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzMyNjg4Mg==","user":{"login":"rkeithhill","id":5177512,"node_id":"MDQ6VXNlcjUxNzc1MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5177512?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeithhill","html_url":"https://github.com/rkeithhill","followers_url":"https://api.github.com/users/rkeithhill/followers","following_url":"https://api.github.com/users/rkeithhill/following{/other_user}","gists_url":"https://api.github.com/users/rkeithhill/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeithhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeithhill/subscriptions","organizations_url":"https://api.github.com/users/rkeithhill/orgs","repos_url":"https://api.github.com/users/rkeithhill/repos","events_url":"https://api.github.com/users/rkeithhill/events{/privacy}","received_events_url":"https://api.github.com/users/rkeithhill/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T20:44:35Z","updated_at":"2018-09-20T20:44:35Z","author_association":"COLLABORATOR","body":"Is there something unusual about the `/tmp` dir or the perms on the `/tmp` dir?"}}
{"actor":{"display_login":"rkeithhill"}}