Skip to content

code cannot start with AFS homedir #22593

@zao

Description

@zao
  • VSCode Version: 1.10.2 (code_1.10.2-1488981323_amd64.deb)
  • OS Version: Ubuntu 16.04 LTS

Steps to Reproduce:

  1. Have home directory w/ .config on AFS.
  2. Run code --verbose.
  3. Get the following error:
Error: listen EPERM /home/l/lars/.config/Code/1.10.2-main.sock
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at Server._listen2 (net.js:1240:19)
    at listen (net.js:1289:10)
    at Server.listen (net.js:1378:5)
    at /usr/share/code/resources/app/out/vs/code/electron-main/main.js:7:11235
    at new n.Class.derive._oncancel (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:6:13143)
    at Object.p [as serve] (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:7:11165)
    at o (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:13:9918)
    at te (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:13:10989)

Code starts normally if moving the .config/Code directory to a local filesystem and symlinking it in. I would reckon that it's probably not portable to put the kind of thing that 1.10.2-main.sock is in the homedir, as it may very well be mounted in fun ways or on network filesystems.

This behaviour is new since the previous release I ran, which I believe was code_1.9.1-1486597190_amd64.deb.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buglinuxIssues with VS Code on LinuxverifiedVerification succeededworkbench-os-integrationNative OS integration issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions