Snapd 2.66.1 Release Update

Dear Snapd Community,

To improve our engagement with the community, we aim to share more frequent updates about our work and upcoming releases.

We are pleased to inform you that we will release snapd 2.66.1 on Tuesday, November 26th. As always, this version is available in the candidate channel for you to test.

This will be the first release of the snapd snap built against core22. It includes important fixes and features we have been working on over the past few months. For the list of changes, please refer to the release notes.

It also comes with new AppArmor version 4.0.2, which supports AppArmor prompting and includes a security update that impacts rare and specific mount-control plug definitions.

Feel free to provide your test feedback here or directly in Launchpad.

We greatly appreciate your contributions and support!

3 Likes

I think it’d better to give feedback here. So, I do have feedback to share about the newly implement desktop-file-ids attribute in the desktop interface in Snapd. But, it only increases the redundancy and might also increase misleading information.

Not sure, how it’s internally handled, but apps already have option to declare desktop files. Now, a desktop file is declared there, but let’s say the user declares a random name in the attribute, that the snap doesn’t provide. What can happen in that case?

We also can’t really test it, until this PR is merged in snapcraft.

But, IMO, instead of redundant declarations, snapd can simply take the allowed desktop file IDs from the apps’ declarations itself. And use that to populate the dekstop-file-ids attribute.

Hello, Thanks for the feedback! It is always highly appreciated.

A snap desktop-file-id must be globally unique to avoid conflicts and also be trusted to avoid snaps misleading users. This why desktop-file-ids can only be set on the snap-declaration assertion level from the store through a public store request and not be auto-populated.

OTOH, the snapcraft.yaml app/desktop entry doesn’t actually map to the generated snap.yaml that snapd understands, AFAICT it is just a directive that tells snapcraft to copy the specified desktop file to the meta/gui directory which snapd scans/copies during installation, Please correct me if I am wrong.

I hope I have answered your questions, Please let me know if something is not clear.

1 Like

Heyy… so does that mean, whenever the attribute is set, the snap will have to go through a manual review once again?

In that case, maybe we can match it with the allowed dbus id? If those matches, the store can auto allow it without a manual review?

Thank you so much for your clarifications.

Yes

Maybe @jamesh can provide more insight there.

2 Likes

Snapd debs for Focal, Jammy, Noble, Oracular, and Plucky have just been released.

Snapd snaps progressive releases for amd64, arm64, armhf started. ppc64el, riscv64 and s390x are available immediately.