-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Code C# intellisense/debugger does not work with AppArmor enabled #310
Comments
Thanks for the logs. I will fix the issue from the log soon. You may want to try Regarding vscode can you ensure it is not confined by any profile? (using
This has not been tested yet, so it is not a surprise. PR is welcome. |
Seems to be unconfined, but the .NET language server is not working. (This does not happen if I disable/unarmor AppArmor)
Denied from that same log:
The log seems to be giant for two culprits: This was compiled from 2c192df Note:
I will give AppArmor docs a read and see if I get anywhere, but I haven't touched it before. |
Thanks for these logs. Indeed, vscode and dotnet are not confined. It means they should not be blocked by apparmor.
You can check older log file with: I will improve the documentation later, but these issues can be simply fixed by some configuration on your side. As mentioned in the doc, you need to set You may also need to configure other XDG variables as by default they are in English.
These are safe ( |
Using Logs:
Thanks, just did that.
I can send older logs, they seem to have some stuff (-f2 through -f5). output-5.log
(VSC .NET stuff is still not working, for the record) -- Note: it's specific to VSC, JetBrains Rider is working as expected.
As a random note again, the applet that isn't working is not working because it has no internet access. I imagine there's no qualms on allowing all plasma applets internet access, but I dunno how you'd go about it. Afaik they just run under |
Thanks. I have integrated all these issue. It should be better now. Can you tell me the link on the marketplace of the vscode extension that does not work so I can test it. |
Thanks you too! Both the libre/OSS C# extension and the MS C# extension (and C# Dev Tools) fail. The language server fails to start. |
You mean this? https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp |
Yep, alongside https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit |
More logs updated for you to look at. |
Thanks for these additional logs. I have integrated them into the projects. Some KDE related profile should work better now. Please note that you need to configure the personal directories path as mentioned in https://apparmor.pujol.io/configuration/#personal-directories Also, as it seems you mount your SSD on |
I've got this for a few weeks on already. Anything I'm missing outside the MOUNTS? Maybe I'm missing the obvious |
IntelliSense fails to enable for me because it seems like the dotnet executable is not found by the VSC executable, saying "dotnet is not installed" (when doing the quick setup).
The issues above don't appear once AppArmor is disabled, and I can use IntelliSense and the debugger normally on VSC with it disabled.
This fails on
complain
mode.aa-log -R
doesn't seem to say much (anything, really) aboutcode
, log:As a side note, a plasmoid I have isn't working with AppArmor, it might be around the log.
The text was updated successfully, but these errors were encountered: