Activity log for bug #2056517

Date Who What changed Old value New value Message
2024-03-08 07:07:17 Christoph Reiter bug added bug
2024-03-08 07:09:10 Christoph Reiter description Ubuntu 24.04, VSCode installed via their repo (https://packages.microsoft.com/repos/code) Some updates ago apparmor gained an exception for /usr/bin/code to work again. The desktop file uses `/usr/share/code/code` though, so starting vscode from the dock, or from the app search results in a crash: /usr/share/code/code [88564:0308/080414.682744:FATAL:credentials.cc(127)] 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 thanks Ubuntu 24.04, VSCode installed via their repo (https://packages.microsoft.com/repos/code) 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: /usr/share/code/code [88564:0308/080414.682744:FATAL:credentials.cc(127)] 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 thanks
2024-03-08 20:28:46 Launchpad Janitor apparmor (Ubuntu): status New Confirmed
2024-03-10 19:24:34 wontfix summary vsode profile still broken VS Code profile still broken.
2024-04-10 05:44:33 Archisman Panigrahi bug watch added https://github.com/johnfactotum/foliate/issues/1262
2024-06-04 13:15:30 John Johansen apparmor (Ubuntu): status Confirmed Fix Released