snapcrafters / android-studio

A community-maintained package to easily install Android Studio on Linux
https://developer.android.com/studio/index.html
47 stars 16 forks source link

Recent update breaks android-studio #45

Closed pclerie closed 2 years ago

pclerie commented 5 years ago

I've had android-studio and vscode working for a couple of weeks after working through some issues with snap-confine and NFS home directories.

snap automatically updated android-studio to 77 and core to 6405 the other night and just like both android-studio and vscode stopped working. I suspect the issue is with the core update rather than studio.

Below is the offending line from syslog:

Feb 16 09:42:12 achernar kernel: [   91.297123] audit: type=1400 audit(1550328132.129:93): apparmor="DENIED" operation="sendmsg" profile="/snap/core/6405/usr/lib/snapd/snap-confine" pid=8801 comm="snap-confine" laddr=xxxx:...:xxxx lport=921 faddr=xxxx:...:xxxx fport=2049 family="inet6" sock_type="stream" protocol=6 requested_mask="send" denied_mask="send"

File /etc/apparmor.d/usr.lib.snapd/snap-confine.real has been amended to include the fixes for NFS home directories.

snap version:

snap    2.37.2
snapd   2.37.2
series  16
ubuntu  18.04
kernel  4.18.0-15-generic

snap android-studio 77
snap core 6405 (previous was 6350)

Regards Philippe

om26er commented 2 years ago

Closing this issue as it's clearly not related to the android-studio snap itself.