I *think* (I don't have a pre-2.35 core snap at hand) the issue is that
the 'snap' attribute of the core interfaces as reported by snapd's
/v2/interfaces endpoint used to be set to "core", whereas with 2.35 it's
reported as "system". Here's a fragment of the JSON returned by this
endpoint for the optical-drive slot:

{
        "snap": "system",
        "slot": "optical-drive",
        "interface": "optical-drive"
},

You can see this by running the following command:

$ curl --unix-socket /run/snapd.socket http:/v2/interfaces | jq

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  [2.35.1] /v2/interfaces returns "system" instead of "core" as owning
  snap of core interface slots

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1791814/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to