Skip to content

[v2] code-server crashes if the system doesn't have ifconfig or ip available #911

Description

@deansheather
  • code-server version: v2

Description

If ifconfig or ip isn't on the computer/container, code-server will crash unless --disable-telemetry is set.

Steps to Reproduce

  1. Ensure ifconfig and ip don't exist on the system
  2. Run code-server without --disable-telemetry: it crashes
  3. Run code-server --disable-telemetry: no crash

Possible solution

Disable telemetry with a warning if the command fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions