The fix for vscode is currently in apparmor 4.0.0-beta2-0ubuntu3 pending
a Feature Freeze exception. If the feature freeze exception is not
granted then the fix will be moved to a bug patch on the current
apparmor 4.0.0-alpha4

Atm the fix is available via ppa

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.

  vsode profile still broken

Status in apparmor package in Ubuntu:

Bug description:
  Ubuntu 24.04, VSCode installed via their repo

  Some updates ago apparmor gained an exception for /usr/bin/code to
  work again.

  The desktop file uses `/usr/share/code/code` though (see
  /usr/share/applications/code.desktop), so starting vscode from the
  dock, or from the app search results in a crash:

  [88564:0308/] Check failed: . : 
Permission denied (13)
  zsh: trace trap (core dumped)  /usr/share/code/code

  Could the profile be fixed to include all common ways to start vscode?

  My current workaround is to run this on every boot:

  sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
  sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0


To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to