Microsoft/vscode

VSCode requests bluetooth access on startup

Open

#134 461 ouverte le 5 oct. 2021

Voir sur GitHub
 (18 commentaires) (1 réaction) (1 assigné)TypeScript (10 221 forks)batch import
bugelectrongood first issuelinuxupstream

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Disable and stop bluetooth.service: sudo systemctl disable bluetooth.service, sudo systemctl stop bluetooth.service
  2. Open Visual Studio Code
  3. Watch journalctl -f to see the output:
Oct 05 20:24:00 zjeffer dbus-daemon[497]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.235' (uid=1000 pid=1745936 comm="/opt/visual-studio-code/code --disable-extensions ")
Oct 05 20:24:00 zjeffer dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.

As you can see, after opening visual studio code, it requests access to the bluez service. This seems unnecessary, I guess it's Electron's doing it by default.

This is the same issue as #59162, but the OP closed it because it was fixed for him (in 2019). The issue seems to have reappeared.

Guide contributeur