Any snaps without --classic don't have access to the internet on Deepin.

Bug #1824166 reported by Dorian Klimowicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
Unassigned

Bug Description

I first noticed it with Snap Store, then went to Visual Studio Code to confirm that it's not only that app that's not working. Fate wanted that from a lot of apps that I tried only that works. Later I downloaded Firefox because I gave up on trying to repair Snap store, and snapd works. Then I saw that Firefox also couldn't resolve any address. Went to check a few other and saw that any app without --classic (Which according to my understanding sandboxes snaped app). As I am just giving Linux a chance every year or so, don't expect me to respond, just wanted to help in that way because I could get behind unifying Linux application landscape. Also I noticed (I went through 3 system reinstalls first time because lack of /snap/bin reckt everything - lack of restart after installing snapd, or mysterious bug, dunno - had to add /snap/bin to sudoers in second install) that polkit doesn't recognize some kind of action?? Unfortunately I can't be more precise because that was during first install system, and I don't remember what Terminal command spew logs containg that info. It was something snapcraft.snapcraft something when you tried to continue with installing after typing in email and password, and something ending with .manage when you clicked install on any package. So I guess that Core package on Deepin messed up and doesn't resolve everything as needed.
snap 2.38
snapd 2.38
series 16
deepin 15.9.2
kernel 4.15.0-30deepin-generic

Hope that helps in any way see you guys in next year or so. Have fun working on this, maybe you can finally make "Linux is free if your time is worthless" saying not true anymore - I spent 5 hours trying a lot of things.

Revision history for this message
Dorian Klimowicz (hisamera) wrote :
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Deepin is not a part of the snapd test suite. I would encourage anyone in the Deepin community to step up and work with us on addressing that.

Beyond this case it may be a misalignment of how a particular classic snap is made and how the hosting operating system operates. As such I don't think it's something that is a bug in snapd itself.

I would encourage the reporter to pursue the developers of snap-store directly.

Changed in snapd:
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Ken VanDine (ken-vandine) wrote :

@zyga it looks like it's the opposite case. Classic snaps can resolve DNS but strict snaps can not. The example given is firefox can't and vscode can access the network.

Also, for reference snap-store is strict, hence it falls to resolve DNS. It looks like snapd isn't exposing something that's necessary from Deepin to the sandbox.

Changed in snapd:
status: Invalid → New
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Thank you for clarifying this Ken. I've updated bug triage information now.

Changed in snapd:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Ken VanDine (ken-vandine) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.