Skip to content

Latest commit

 

History

History
1030 lines (992 loc) · 67.5 KB

File metadata and controls

1030 lines (992 loc) · 67.5 KB

New in snapd 2.74

  • FDE: use new activation API from secboot
  • FDE: use activation API also with non keydata keys
  • FDE: ignore internal recovery key expiration during install
  • FDE: support adding/removing PINs post-installation
  • FDE: support changing PINs post-installation
  • FDE: support adding a recovery key post-installation
  • FDE: provide activation status via new endpoint v2/system-info/storage-encrypted
  • FDE: support sealing and resealing using the preinstall check result
  • FDE: disable passphrase support during install
  • FDE: add keyboard configuration helpers
  • FDE: lazily inject keyboard layout configuration in kernel cmdline
  • FDE: enable pin tries and limits PIN entry attempts to 3
  • FDE: extend secureboot endpoint to accept DB, KEK, and PK
  • FDE: simplify /v2/system-volumes keyslots handling by allowing name-only entries, implicitly expanding to all system containers
  • FDE: support extra non-system key slot names to support agents such as Landscape to set dedicated recovery keys
  • FDE: initialize fde state after device state
  • FDE: use device node to find the storage container and keys
  • FDE: provide user visible name for disk based on ID_MODEL
  • FDE: update secboot in snapd with latest additions and fixes
  • core-initrd: add systemd service for setting plymouth keyboard layout and X11 keyboard layouts
  • core-initrd: set plymouth cleartext toggle option
  • core-initrd: fix plymouth missing font issue
  • core-initrd: update dependency from libteec1 to libteec2
  • core-initrd: add new dlopened libs
  • LP: #2116949 Preseeding: add support for preseeding of hybrid systems via the installer API$
  • Preseeding: check whether a path is a mountpoint before remounting
  • Confdb: support tagging paths as secret in storage schemas
  • Confdb: support filtering on placeholder sub-keys
  • Confdb: support filtering in API and confdbstate
  • Confdb: support field filtering on reads
  • Confdb: support "parameters" stanza and check filters against them
  • Confdb: add support for '--with' contraints
  • Confdb: parsing fixes and error handling improvements
  • Assertions: restrict serials to new format in confdb-control
  • Assertions: add verify signature function
  • Remote device management: modify request-message assertion to expose its time constraints for remote device management
  • Remote device management: support polling of store messages
  • Remote device management: add signing of response messages with device key
  • Prompting: enable notify protocol v5 and test prompt restoration after snapd restart
  • snap: change malformed '--channel=' warning to error
  • snap: add 'snap report-issue' command to get the available contact details for the specified snap
  • snap: add 'snap version --verbose' flag to include information on snap binaries origin
  • snap: create the XDG_RUNTIME_DIR folder
  • LP: #2068493 snap: add support for 'snap refresh --tracking'
  • snapctl: add '--tracking' flag to 'snapctl refresh'
  • Reexec: include the info filepath in the version compare debug log
  • Reexec: add support for forcing reexec into and older snapd snap by setting SNAP_REEXEC=force in the environment
  • snap-confine: correct error message related to snap-confine group policy validation
  • snap-confine: ensure we only mount existing directories
  • LP: #2134364 snap-confine: handle potential race when creating /tmp/snap-private-tmp when lacking systemd-tmpfiles support
  • snap-confine: filter plus characters from security tags
  • Desktop: use desktop file IDs as desktop IDs
  • Desktop: store the common ID in the desktop file
  • Desktop: allow graphical daemons to show icons in the dock
  • Desktop: change user daemons with desktop plug defined to depend on graphical-session.target
  • dm-verity for essential snaps: made change to prerequisite struct
  • Cross-distro: modify SELinux profile to allow connecting to squid proxy
  • Cross-distro: add support for migrating snap mount directory
  • Packaging: drop ubuntu-14.04 packaging
  • Packaging: drop ubuntu-{14.04,16.04} transitional binary packages
  • Packaging: remove desktop files and state lock file during snapd purge
  • Packaging: fix inhibition hint file being left behind on failed unlink-current-snap
  • Disallow timeouts < 1us in systemd units
  • Add snap-store to the user-daemons support overrides
  • Support for SuccessExitStatus= generation for systemd daemon
  • Make standby output more verbose
  • Add prepare-serial-request hook
  • Try to discard snap mount namespaces when no processes are running during snap updates
  • Improve handling of snap downloads cache by introducing periodic cleanup with more aggressive policy
  • Interfaces: mediatek-accel | create new interface
  • Interfaces: nvidia-video-driver-libs | create new interface
  • Interfaces: *-driver-libs | accept component paths
  • Interfaces: desktop-legacy, unity7 | remove workaround for slash filtering in ibus address
  • Interfaces: fwupd | allow writing reboot notification in /run
  • Interfaces: add 'install' coreutil to base AppArmor template
  • Interfaces: u2f-devices | add apparmor permissions to allow the use of the libfido2 library in snaps
  • Interfaces: u2f-devices | add support for Thetis security key
  • Interfaces: add AppArmor workaround for mmap MAP_HUGETLB
  • Interfaces: timeserver-control | manage per-link ntp settings via systemd-networkd

New in snapd 2.73

  • FDE: do not save incomplete FDE state when resealing was skipped
  • FDE: warn of inconsistent primary or policy counter
  • Confdb: document confdb in snapctl help messages
  • Confdb: only confdb hooks wait if snaps are disabled
  • Confdb: relax confdb change conflict checks
  • Confdb: remove empty parent when removing last leaf
  • Confdb: support parsing field filters
  • Confdb: wrap confdb write values under "values" key
  • dm-verity for essential snaps: add new naming convention for verity files
  • dm-verity for essential snaps: add snap integrity discovery
  • dm-verity for essential snaps: fix verity salt calculation
  • Assertions: add hardware identity assertion
  • Assertions: add integrity stanza in snap resources revisions
  • Assertions: add request message assertion required for remote device management
  • Assertions: add response-message assertion for secure remote device management
  • Assertions: expose WithStackedBackstore in RODatabase
  • Packaging: cross-distro | install upstream NEWS file into relevant snapd package doc directory
  • Packaging: cross-distro | tweak how the blocks injecting $SNAP_MOUNT_DIR/bin are generated as required for openSUSE
  • Packaging: remove deprecated snap-gdb-shim and all references now that snap run --gdb is unsupported and replaced by --gdbserver
  • Preseed: call systemd-tmpfiles instead handle-writable-paths on uc26
  • Preseed: do not remove the /snap dir but rather all its contents during reset
  • snap-confine: attach name derived from security tag to BPF maps and programs
  • snap-confine: ensure permitted capabilities match expectation
  • snap-confine: fix cached snap-confine profile cleanup to report the correct error instead of masking backend setup failures
  • snap-confine: Improve validation of user controlled paths
  • snap-confine: tighten snap cgroup checks to ensure a snap cannot start another snap in the same cgroup, preventing incorrect device-filter installation
  • core-initrd: add 26.04 ubuntu-core-initramfs package
  • core-initrd: add missing order dependency for setting default system files
  • core-initrd: avoid scanning loop and mmc boot partitions as the boot disk won't be any of these
  • core-initrd: make cpio a Depends and remove from Build-Depends
  • core-initrd: start plymouth sooner and reload when gadget is available
  • Cross-distro: modify syscheck to account for differences in openSUSE 16.0+
  • Validation sets: use in-flight validation sets when calling 'snapctl install' from hook
  • Prompting: enable prompting for the camera interface
  • Prompting: remove polkit authentication when modifying/deleting prompting rules
  • LP: #2127189 Prompting: do not record notices for unchanged rules on snapd startup
  • AppArmor: add free and pidof to the template
  • AppArmor: adjust interfaces/profiles to cope with coreutils paths
  • Interfaces: add support for compatibility expressions
  • Interfaces: checkbox-support | complete overhaul
  • Interfaces: define vulkan-driver-libs, cuda-driver-libs, egl-driver-libs, gbm-driver-libs, opengl-driver-libs, and opengles-driver-libs
  • Interfaces: allow snaps on classic access to nvidia graphics libraries exported by *-driver-libs interfaces
  • Interfaces: fwupd | broaden access to /boot/efi/EFI
  • Interfaces: gsettings | set dconf-service as profile for ca.desrt.dconf.Writer
  • Interfaces: iscsi-initiator, dm-multipath, nvme-control | add new interfaces
  • Interfaces: opengl | grant read/write permission to /run/nvidia-persistenced/socket
  • interfaces: ros-snapd-support | add access to /v2/changes/
  • Interfaces: system-observe | read access to btrfs/ext4/zfs filesystem information
  • Interfaces: system-trace | allow /sys/kernel/tracing/** rw
  • Interfaces: usb-gadget | add support for ffs mounts in attributes
  • Add autocompletion to run command
  • Introduce option for disallowing auto-connection of a specific interface
  • Only log errors for user service operations performed as a part of snap removal
  • Patch snap names in service requests for parallel installed snaps
  • Simplify traits for eMMC special partitions
  • Strip apparmor_parser from debug symbols shrinking snapd size by ~3MB
  • Fix InstallPathMany skipping refresh control
  • Fix waiting for GDB helper to stop before attaching gdbserver
  • Protect the per-snap tmp directory against being reaped by age
  • Prevent disabling base snaps to ensure dependent snaps can be removed
  • Modify API endpoint /v2/logs to reject n <= 0 (except for special case -1 meaning all)
  • Avoid potential deadlock when task is injected after the change was aborted
  • Avoid race between store download stream and cache cleanup executing in parallel when invoked by snap download task
  • LP: #1851490 Use "current" instead of revision number for icons
  • LP: #2121853 Add snapctl version command
  • LP: #2127214 Ensure no more than one partition on disk can match a gadget partition
  • LP: #2127244 snap-confine: update AppArmor profile to allow read/write to journal as workaround for snap-confine fd inheritance prevented by newer AppArmor
  • LP: #2127766 Add new tracing mechanism with independently running strace and shim synchronization

New in snapd 2.72

  • FDE: support replacing TPM protected keys at runtime via the /v2/system-volumes endpoint
  • FDE: support secboot preinstall check fix actions for 25.10+ hybrid installs via the /v2/system/{label} endpoint
  • FDE: tweak polkit message to remove jargon
  • FDE: ensure proper sealing with kernel command line defaults
  • FDE: provide generic reseal function
  • FDE: support using OPTEE for protecting keys, as an alternative to existing fde-setup hooks (Ubuntu Core only)
  • Confdb: 'snapctl get --view' supports passing default values
  • Confdb: content sub-rules in confdb-schemas inherit their parent rule's "access"
  • Confdb: make confdb error kinds used in API more generic
  • Confdb: fully support lists and indexed paths (including unset)
  • Prompting: add notice backend for prompting types (unused for now)
  • Prompting: include request cgroup in prompt
  • Prompting: handle unsupported xattrs
  • Prompting: add permission mapping for the camera interface
  • Notices: read notices from state without state lock
  • Notices: add methods to get notice fields and create, reoccur, and deepcopy notice
  • Notices: add notice manager to coordinate separate notice backends
  • Notices: support draining notices from state when notice backend registered as producer of a particular notice type
  • Notices: query notice manager from daemon instead of querying state for notices directly
  • Packaging: Ubuntu | ignore .git directory
  • Packaging: FIPS | bump deb Go FIPS to 1.23
  • Packaging: snap | bump FIPS toolchain to 1.23
  • Packaging: debian | sync most upstream changes
  • Packaging: debian-sid | depends on libcap2-bin for postint
  • Packaging: Fedora | drop fakeroot
  • Packaging: snap | modify snapd.mk to pass build tags when running unit tests
  • Packaging: snap | modify snapd.mk to pass nooptee build tag
  • Packaging: modify Makefile.am to fix snap-confine install profile with 'make hack'
  • Packaging: modify Makefile.am to fix out-of-tree use of 'make hack'
  • LP: #2122054 Snap installation: skip snap icon download when running in a cloud or using a proxy store
  • Snap installation: add timeout to http client when downloading snap icon
  • Snap installation: use http(s) proxy for icon downloads
  • LP: #2117558 snap-confine: fix error message with /root/snap not accessible
  • snap-confine: fix non-suid limitation by switching to root:root to operate v1 freezer
  • core-initrd: do not use writable-paths when not available
  • core-initrd: remove debian folder
  • LP: #1916244 Interfaces: gpio-chardev | re-enable the gpio-chardev interface now with the more robust gpio-aggregator configfs kernel interface
  • Interfaces: gpio-chardev | exclusive snap connections, raise a conflict when both gpio-chardev and gpio are connected
  • Interfaces: gpio-chardev | fix gpio-aggregator module load order
  • Interfaces: ros-snapd-support | grant access to /v2/changes
  • Interfaces: uda-driver-libs, egl-driver-libs, gbm-driver-libs, opengl-driver-libs, opengles-driver-libs | new interfaces to support nvidia driver components
  • Interfaces: microstack-support | allow DPDK (hugepage related permissions)
  • Interfaces: system-observe | allow reading additional files in /proc, needed by node-exporter
  • Interfaces: u2f | add Cano Key, Thesis FIDO2 BioFP+ Security Key and Kensington VeriMark DT Fingerprint Key to device list
  • Interfaces: snap-interfaces-requests-control | allow shell API control
  • Interfaces: fwupd | allow access to Intel CVS sysfs
  • Interfaces: hardware-observe | allow read access to Kernel Samepage Merging (KSM)
  • Interfaces: xilinx-dma | support Multi Queue DMA (QDMA) IP
  • Interfaces: spi | relax sysfs permission rules to allow access to SPI device node attributes
  • Interfaces: content | introduce compatibility label
  • LP: #2121238 Interfaces: do not expose Kerberos tickets for classic snaps
  • Interfaces: ssh-public-keys | allow ro access to public host keys with ssh-key
  • Interfaces: Modify AppArmor template to allow listing systemd credentials and invoking systemd-creds
  • Interfaces: modify AppArmor template with workarounds for Go 1.35 cgroup aware GOMAXPROCS
  • Interfaces: modify seccomp template to allow landlock_*
  • Prevent snap hooks from running while relevant snaps are unlinked
  • Make refreshes wait before unlinking snaps if running hooks can be affected
  • Fix systemd unit generation by moving "WantedBy=" from section "unit" to "install"
  • Add opt-in logging support for snap-update-ns
  • Unhide 'snap help' sign and export-key under Development category
  • LP: #2117121 Cleanly support socket activation for classic snap
  • Add architecture to 'snap version' output
  • Add 'snap debug api' option to disable authentication through auth.json
  • Show grade in notes for 'snap info --verbose'
  • Fix preseeding failure due to scan-disk issue on RPi
  • Support 'snap debug api' queries to user session agents
  • LP: #2112626 Improve progress reporting for snap install/refresh
  • Drop legacy BAMF_DESKTOP_FILE_HINT in desktop files
  • Fix /v2/apps error for root user when user services are present
  • LP: #2114704 Extend output to indicate when snap data snapshot was created during remove
  • Improve how we handle emmc volumes
  • Improve handling of system-user extra assertions

New in snapd 2.71

  • FDE: auto-repair when recovery key is used
  • FDE: revoke keys on shim update
  • FDE: revoke old TPM keys when dbx has been updated
  • FDE: do not reseal FDE hook keys every time
  • FDE: store keys in the kernel keyring when installing from initrd
  • FDE: allow disabled DMA on Core
  • FDE: snap-bootstrap: do not check for partition in scan-disk on CVM
  • FDE: support secboot preinstall check for 25.10+ hybrid installs via the /v2/system/{label} endpoint
  • FDE: support generating recovery key at install time via the /v2/systems/{label} endpoint
  • FDE: update passphrase quality check at install time via the /v2/systems/{label} endpoint
  • FDE: support replacing recovery key at runtime via the new /v2/system-volumes endpoint
  • FDE: support checking recovery keys at runtime via the /v2/system-volumes endpoint
  • FDE: support enumerating keyslots at runtime via the /v2/system-volumes endpoint
  • FDE: support changing passphrase at runtime via the /v2/system-volumes endpoint
  • FDE: support passphrase quality check at runtime via the /v2/system-volumes endpoint
  • FDE: update secboot to revision 3e181c8edf0f
  • Confdb: support lists and indexed paths on read and write
  • Confdb: alias references must be wrapped in brackets
  • Confdb: support indexed paths in confdb-schema assertion
  • Confdb: make API errors consistent with options
  • Confdb: fetch confdb-schema assertion on access
  • Confdb: prevent --previous from being used in read-side hooks
  • Components: fix snap command with multiple components
  • Components: set revision of seed components to x1
  • Components: unmount extra kernel-modules components mounts
  • AppArmor Prompting: add lifespan "session" for prompting rules
  • AppArmor Prompting: support restoring prompts after snapd restart
  • AppArmor Prompting: limit the extra information included in probed AppArmor features and system key
  • Notices: refactor notice state internals
  • SELinux: look for restorecon/matchpathcon at all known locations rather than current PATH
  • SELinux: update policy to allow watching cgroups (for RAA), and talking to user session agents (service mgmt/refresh)
  • Refresh App Awareness: Fix unexpected inotify file descriptor cleanup
  • snap-confine: workaround for glibc fchmodat() fallback and handle ENOSYS
  • snap-confine: add support for host policy for limiting users able to run snaps
  • LP: #2114923 Reject system key mismatch advise when not yet seeded
  • Use separate lanes for essential and non-essential snaps during seeding and allow non-essential installs to retry
  • Fix bug preventing remodel from core18 to core18 when snapd snap is unchanged
  • LP: #2112551 Make removal of last active revision of a snap equal to snap remove
  • LP: #2114779 Allow non-gpt in fallback mode to support RPi
  • Switch from using systemd LogNamespace to manually controlled journal quotas
  • Change snap command trace logging to only log the command names
  • Grant desktop-launch access to /v2/snaps
  • Update code for creating the snap journal stream
  • Switch from using core to snapd snap for snap debug connectivity
  • LP: #2112544 Fix offline remodel case where we switched to a channel without an actual refresh
  • LP: #2112332 Exclude snap/snapd/preseeding when generating preseed tarball
  • LP: #1952500 Fix snap command progress reporting
  • LP: #1849346 Interfaces: kerberos-tickets | add new interface
  • Interfaces: u2f | add support for Thetis Pro
  • Interfaces: u2f | add OneSpan device and fix older device
  • Interfaces: pipewire, audio-playback | support pipewire as system daemon
  • Interfaces: gpg-keys | allow access to GPG agent sockets
  • Interfaces: usb-gadget | add new interface
  • Interfaces: snap-fde-control, firmware-updater-support | add new interfaces to support FDE
  • Interfaces: timezone-control | extend to support timedatectl varlink
  • Interfaces: cpu-control | fix rules for accessing IRQ sysfs and procfs directories
  • Interfaces: microstack-support | allow SR-IOV attachments
  • Interfaces: modify AppArmor template to allow snaps to read their own systemd credentials
  • Interfaces: posix-mq | allow stat on /dev/mqueue
  • LP: #2098780 Interfaces: log-observe | add capability dac_read_search
  • Interfaces: block-devices | allow access to ZFS pools and datasets
  • LP: #2033883 Interfaces: block-devices | opt-in access to individual partitions
  • Interfaces: accel | add new interface to support accel kernel subsystem
  • Interfaces: shutdown | allow client to bind on its side of dbus socket
  • Interfaces: modify seccomp template to allow pwritev2
  • Interfaces: modify AppArmor template to allow reading /proc/sys/fs/nr_open
  • Packaging: drop snap.failure service for openSUSE
  • Packaging: add SELinux support for openSUSE
  • Packaging: disable optee when using nooptee build tag
  • Packaging: add support for static PIE builds in snapd.mk, drop pie.patch from openSUSE
  • Packaging: add libcap2-bin runtime dependency for ubuntu-16.04
  • Packaging: use snapd.mk for packaging on Fedora
  • Packaging: exclude .git directory
  • Packaging: fix DPKG_PARSECHANGELOG assignment
  • Packaging: fix building on Fedora with dpkg installed

New in snapd 2.70

  • FDE: Fix reseal with v1 hook key format
  • FDE: set role in TPM keys
  • AppArmor prompting (experimental): add handling for expired requests or listener in the kernel
  • AppArmor prompting: log the notification protocol version negotiated with the kernel
  • AppArmor prompting: implement notification protocol v5 (manually disabled for now)
  • AppArmor prompting: register listener ID with the kernel and resend notifications after snapd restart (requires protocol v5+)
  • AppArmor prompting: select interface from metadata tags and set request interface accordingly (requires protocol v5+)
  • AppArmor prompting: include request PID in prompt
  • AppArmor prompting: move the max prompt ID file to a subdirectory of the snap run directory
  • AppArmor prompting: avoid race between closing/reading socket fd
  • Confdb (experimental): make save/load hooks mandatory if affecting ephemeral
  • Confdb: clear tx state on failed load
  • Confdb: modify 'snap sign' formats JSON in assertion bodies (e.g. confdb-schema)
  • Confdb: add NestedEphemeral to confdb schemas
  • Confdb: add early concurrency checks
  • Simplify building Arch package
  • Enable snapd.apparmor on Fedora
  • Build snapd snap with libselinux
  • Emit snapd.apparmor warning only when using apparmor backend
  • When running snap, on system key mismatch e.g. due to network attached HOME, trigger and wait for a security profiles regeneration
  • Avoid requiring state lock to get user, warnings, or pending restarts when handling API requests
  • Start/stop ssh.socket for core24+ when enabling/disabling the ssh service
  • Allow providing a different base when overriding snap
  • Modify snap-bootstrap to mount snapd snap directly to /snap
  • Modify snap-bootstrap to mount /lib/{modules,firmware} from snap as fallback
  • Modify core-initrd to use systemctl reboot instead of /sbin/reboot
  • Copy the initramfs 'manifest-initramfs.yaml' to initramfs file creation directory so it can be copied to the kernel snap
  • Build the early initrd from installed ucode packages
  • Create drivers tree when remodeling from UC20/22 to UC24
  • Load gpio-aggregator module before the helper-service needs it
  • Run 'systemctl start' for mount units to ensure they are run also when unchanged
  • Update godbus version to 'v5 v5.1.0'
  • Add support for POST to /v2/system-info with system-key-mismatch indication from the client
  • Add 'snap sign --update-timestamp' flag to update timestamp before signing
  • Add vfs support for snap-update-ns to use to simulate and evaluate mount sequences
  • Add refresh app awareness debug logging
  • Add snap-bootstrap scan-disk subcommand to be called from udev
  • Add feature to inject proxy store assertions in build image
  • Add OP-TEE bindings, enable by default in ARM and ARM64 builds
  • Fix systemd dependency options target to go under 'unit' section
  • Fix snap-bootstrap reading kernel snap instead of base resulting in bad modeenv
  • Fix a regression during seeding when using early-config
  • LP: #2107443 reset SHELL to /bin/bash in non-classic snaps
  • Make Azure kernels reboot upon panic
  • Fix snap-confine to not drop capabilities if the original user is already root
  • Fix data race when stopping services
  • Fix task dependency issue by temporarily disable re-refresh on prerequisite updates
  • Fix compiling against op-tee on armhf
  • Fix dbx update when not using FDE
  • Fix potential validation set deadlock due to bases waiting on snaps
  • LP: #2104066 Only cancel notices requests on stop/shutdown
  • Interfaces: bool-file | fix gpio glob pattern as required for '[XXXX]*' format
  • Interfaces: system-packages-doc | allow access to /usr/local/share/doc
  • Interfaces: ros-snapd-support interface | added new interface
  • Interfaces: udisks2 | allow chown capability
  • Interfaces: system-observe | allow reading cpu.max
  • Interfaces: serial-port | add ttyMAXX to allowed list
  • Interfaces: modified seccomp template to disallow 'O_NOTIFICATION_PIPE'
  • Interfaces: fwupd | add support for modem-manager plugin
  • Interfaces: gpio-chardev | make unsupported and remove experimental flag to hide this feature until gpio-aggregator is available
  • Interfaces: hardware-random | fix udev match rule
  • Interfaces: timeserver-control | extend to allow timedatectl timesync commands
  • Interfaces: add symlinks backend
  • Interfaces: system key mismatch handling

New in snapd 2.69

  • FDE: re-factor listing of the disks based on run mode model and model to correctly resolve paths
  • FDE: run snapd from snap-failure with the correct keyring mode
  • Snap components: allow remodeling back to an old snap revision that includes components
  • Snap components: fix remodel to a kernel snap that is already installed on the system, but not the current kernel due to a previous remodel.
  • Snap components: fix for snapctl inputs that can crash snapd
  • Confdb (experimental): load ephemeral data when reading data via snapctl get
  • Confdb (experimental): load ephemeral data when reading data via snap get
  • Confdb (experimental): rename {plug}-view-changed hook to observe-view-{plug}
  • Confdb (experimental): rename confdb assertion to confdb-schema
  • Confdb (experimental): change operator grouping in confdb-control assertion
  • Confdb (experimental): add confdb-control API
  • AppArmor: extend the probed features to include the presence of files, as well as directories
  • AppArmor prompting (experimental): simplify the listener
  • AppArmor metadata tagging (disabled): probe parser support for tags
  • AppArmor metadata tagging (disabled): implement notification protocol v5
  • Confidential VMs: sysroot.mount is now dynamically created by snap-bootstrap instead of being a static file in the initramfs
  • Confidential VMs: Add new implementation of snap integrity API
  • Non-suid snap-confine: first phase to replace snap-confine suid with capabilities to achieve the required permissions
  • Initial changes for dynamic security profiles updates
  • Provide snap icon fallback for /v2/icons without requiring network access at runtime
  • Add eMMC gadget update support
  • Support reexec when using /usr/libexec/snapd on the host (Arch Linux, openSUSE)
  • Auto detect snap mount dir location on unknown distributions
  • Modify snap-confine AppArmor template to allow all glibc HWCAPS subdirectories to prevent launch errors
  • LP: #2102456 update secboot to bf2f40ea35c4 and modify snap-bootstrap to remove usage of go templates to reduce size by 4MB
  • Fix snap-bootstrap to mount kernel snap from /sysroot/writable/system-data
  • LP: #2106121 fix snap-bootstrap busy loop
  • Fix encoding of time.Time by using omitzero instead of omitempty (on go 1.24+)
  • Fix setting snapd permissions through permctl for openSUSE
  • Fix snap struct json tags typo
  • Fix snap pack configure hook permissions check incorrect file mode
  • Fix gadget snap reinstall to honor existing sizes of partitions
  • Fix to update command line when re-executing a snapd tool
  • Fix 'snap validate' of specific missing newline and add error on missed case of 'snap validate --refresh' without another action
  • Workaround for snapd-confine time_t size differences between architectures
  • Disallow pack and install of snapd, base and os with specific configure hooks
  • Drop udev build dependency that is no longer required and add missing systemd-dev dependency
  • Build snap-bootstrap with nomanagers tag to decrease size by 1MB
  • Interfaces: polkit | support custom polkit rules
  • Interfaces: opengl | LP: #2088456 fix GLX on nvidia when xorg is confined by AppArmor
  • Interfaces: log-observe | add missing udev rule
  • Interfaces: hostname-control | fix call to hostnamectl in core24
  • Interfaces: network-control | allow removing created network namespaces
  • Interfaces: scsi-generic | re-enable base declaration for scsi-generic plug
  • Interfaces: u2f | add support for Arculus AuthentiKey

New in snapd 2.68.5

  • LP: #2109843 fix missing preseed files when running in a container

New in snapd 2.68.4

  • Snap components: LP: #2104933 workaround for classic 24.04/24.10 models that incorrectly specify core22 instead of core24
  • Update build dependencies

New in snapd 2.68.3

  • FDE: LP: #2101834 snapd 2.68+ and snap-bootstrap <2.68 fallback to old keyring path
  • Fix Plucky snapd deb build issue related to /var/lib/snapd/void permissions
  • Fix snapd deb build complaint about ifneq with extra bracket

New in snapd 2.68.2

  • FDE: use boot mode for FDE hooks
  • FDE: add snap-bootstrap compatibility check to prevent image creation with incompatible snapd and kernel snap
  • FDE: add argon2 out-of-process KDF support
  • FDE: have separate mutex for the sections writing a fresh modeenv
  • FDE: LP: #2099709 update secboot to e07f4ae48e98
  • Confdb: support pruning ephemeral data and process alternative types in order
  • core-initrd: look at env to mount directly to /sysroot
  • core-initrd: prepare for Plucky build and split out 24.10 (Oracular)
  • Fix missing primed packages in snapd snap manifest
  • Interfaces: posix-mq | fix incorrect clobbering of global variable and make interface more precise
  • Interfaces: opengl | add more kernel fusion driver files

New in snapd 2.68.1

  • Fix snap-confine type specifier type mismatch on armhf

New in snapd 2.68

  • FDE: add support for new and more extensible key format that is unified between TPM and FDE hook
  • FDE: add support for adding passphrases during installation
  • FDE: update secboot to 30317622bbbc
  • Snap components: make kernel components available on firstboot after either initramfs or ephemeral rootfs style install
  • Snap components: mount drivers tree from initramfs so kernel modules are available in early boot stages
  • Snap components: support remodeling to models that contain components
  • Snap components: support offline remodeling to models that contain components
  • Snap components: support creating new recovery systems with components
  • Snap components: support downloading components with 'snap download' command
  • Snap components: support sideloading asserted components
  • AppArmor Prompting(experimental): improve version checks and handling of listener notification protocol for communication with kernel AppArmor
  • AppArmor Prompting(experimental): make prompt replies idempotent, and have at most one rule for any given path pattern, with potentially mixed outcomes and lifespans
  • AppArmor Prompting(experimental): timeout unresolved prompts after a period of client inactivity
  • AppArmor Prompting(experimental): return an error if a patch request to the API would result in a rule without any permissions
  • AppArmor Prompting(experimental): warn if there is no prompting client present but prompting is enabled, or if a prompting-related error occurs during snapd startup
  • AppArmor Prompting(experimental): do not log error when converting empty permissions to AppArmor permissions
  • Confdb(experimental): rename registries to confdbs (including API /v2/registries => /v2/confdb)
  • Confdb(experimental): support marking confdb schemas as ephemeral
  • Confdb(experimental): add confdb-control assertion and feature flag
  • Refresh App Awareness(experimental): LP: #2089195 prevent possibility of incorrect notification that snap will quit and update
  • Confidential VMs: snap-bootstrap support for loading partition information from a manifest file for cloudimg-rootfs mode
  • Confidential VMs: snap-bootstrap support for setting up cloudimg-rootfs as an overlayfs with integrity protection
  • dm-verity for essential snaps: add support for snap-integrity assertion
  • Interfaces: modify AppArmor template to allow owner read on @{PROC}/@{pid}/fdinfo/*
  • Interfaces: LP: #2072987 modify AppArmor template to allow using setpriv to run daemon as non-root user
  • Interfaces: add configfiles backend that ensures the state of configuration files in the filesystem
  • Interfaces: add ldconfig backend that exposes libraries coming from snaps to either the rootfs or to other snaps
  • Interfaces: LP: #1712808 LP: 1865503 disable udev backend when inside a container
  • Interfaces: add auditd-support interface that grants audit_control capability and required paths for auditd to function
  • Interfaces: add checkbox-support interface that allows unrestricted access to all devices
  • Interfaces: fwupd | allow access to dell bios recovery
  • Interfaces: fwupd | allow access to shim and fallback shim
  • Interfaces: mount-control | add mount option validator to detect mount option conflicts early
  • Interfaces: cpu-control | add read access to /sys/kernel/irq/
  • Interfaces: locale-control | changed to be implicit on Ubuntu Core Desktop
  • Interfaces: microstack-support | support for utilizing of AMD SEV capabilities
  • Interfaces: u2f | added missing OneSpan device product IDs
  • Interfaces: auditd-support | grant seccomp setpriority
  • Interfaces: opengl interface | enable parsing of nvidia driver information files
  • Allow mksquashfs 'xattrs' when packing snap types os, core, base and snapd as part of work to support non-root snap-confine
  • Upstream/downstream packaging changes and build updates
  • Improve error logs for malformed desktop files to also show which desktop file is at fault
  • Provide more precise error message when overriding channels with grade during seed creation
  • Expose 'snap prepare-image' validation parameter
  • Add snap-seccomp 'dump' command that dumps the filter rules from a compiled profile
  • Add fallback release info location /etc/initrd-release
  • Added core-initrd to snapd repo and fixed issues with ubuntu-core-initramfs deb builds
  • Remove stale robust-mount-namespace-updates experimental feature flag
  • Remove snapd-snap experimental feature (rejected) and it's feature flag
  • Changed snap-bootstrap to mount base directly on /sysroot
  • Mount ubuntu-seed mounted as no-{suid,exec,dev}
  • Mapping volumes to disks: add support for volume-assignments in gadget
  • Fix silently broken binaries produced by distro patchelf 0.14.3 by using locally build patchelf 0.18
  • Fix mismatch between listed refresh candidates and actual refresh due to outdated validation sets
  • Fix 'snap get' to produce compact listing for tty
  • Fix missing store-url by keeping it as part of auxiliary store info
  • Fix snap-confine attempting to retrieve device cgroup setup inside container where it is not available
  • Fix 'snap set' and 'snap get' panic on empty strings with early error checking
  • Fix logger debug entries to show correct caller and file information
  • Fix issue preventing hybrid systems from being seeded on first boot
  • LP: #1966203 remove auto-import udev rules not required by deb package to avoid unwanted syslog errors
  • LP: #1886414 fix progress reporting when stdout is on a tty, but stdin is not

New in snapd 2.67.1

  • Fix apparmor permissions to allow snaps access to kernel modules and firmware on UC24, which also fixes the kernel-modules-control interface on UC24
  • AppArmor prompting (experimental): disallow /./ and /../ in path patterns
  • Fix 'snap run' getent based user lookup in case of bad PATH
  • Fix snapd using the incorrect AppArmor version during undo of an refresh for regenerating snap profiles
  • Add new syscalls to base templates
  • hardware-observe interface: allow riscv_hwprobe syscall
  • mount-observe interface: allow listmount and statmount syscalls

New in snapd 2.67

  • AppArmor prompting (experimental): allow overlapping rules
  • Registry view (experimental): Changes to registry data (from both users and snaps) can be validated and saved by custodian snaps
  • Registry view (experimental): Support 'snapctl get --pristine' to read the registry data excluding staged transaction changes
  • Registry view (experimental): Put registry commands behind experimental feature flag
  • Components: Make modules shipped/created by kernel-modules components available right after reboot
  • Components: Add tab completion for local component files
  • Components: Allow installing snaps and components from local files jointly on the CLI
  • Components: Allow 'snapctl model' command for gadget and kernel snaps
  • Components: Add 'snap components' command
  • Components: Bug fixes
  • eMMC gadget updates (WIP): add syntax support in gadget.yaml for eMMC schema
  • Support for ephemeral recovery mode on hybrid systems
  • Support for dm-verity options in snap-bootstrap
  • Support for overlayfs options and allow empty what argument for tmpfs
  • Enable ubuntu-image to determine the size of the disk image to create
  • Expose 'snap debug' commands 'validate-seed' and 'seeding'
  • Add debug API option to use dedicated snap socket /run/snapd-snap.socket
  • Hide experimental features that are no longer required (accepted/rejected)
  • Mount ubuntu-save partition with no{exec,dev,suid} at install, run and factory-reset
  • Improve memory controller support with cgroup v2
  • Support ssh socket activation configurations (used by ubuntu 22.10+)
  • Fix generation of AppArmor profile with incorrect revision during multi snap refresh
  • Fix refresh app awareness related deadlock edge case
  • Fix not caching delta updated snap download
  • Fix passing non root uid, guid to initial tmpfs mount
  • Fix ignoring snaps in try mode when amending
  • Fix reloading of service activation units to avoid systemd errors
  • Fix snapd snap FIPS build on Launchpad to use Advantage Pro FIPS updates PPA
  • Make killing of snap apps best effort to avoid possibility of malicious failure loop
  • Alleviate impact of auto-refresh failure loop with progressive delay
  • Dropped timedatex in selinux-policy to avoid runtime issue
  • Fix missing syscalls in seccomp profile
  • Modify AppArmor template to allow using SNAP_REEXEC on arch systems
  • Modify AppArmor template to allow using vim.tiny (available in base snaps)
  • Modify AppArmor template to add read-access to debian_version
  • Modify AppArmor template to allow owner to read @{PROC}/@{pid}/sessionid
  • {common,personal,system}-files interface: prohibit trailing @ in filepaths
  • {desktop,shutdown,system-observe,upower-observe} interface: improve for Ubuntu Core Desktop
  • custom-device interface: allow @ in custom-device filepaths
  • desktop interface: improve launch entry and systray integration with session
  • desktop-legacy interface: allow DBus access to com.canonical.dbusmenu
  • fwupd interface: allow access to nvmem for thunderbolt plugin
  • mpris interface: add plasmashell as label
  • mount-control interface: add support for nfs mounts
  • network-{control,manager} interface: add missing dbus link rules
  • network-manager-observe interface: add getDevices methods
  • opengl interface: add Kernel Fusion Driver access to opengl
  • screen-inhibit-control interface: improve screen inhibit control for use on core
  • udisks2 interface: allow ping of the UDisks2 service
  • u2f-devices interface: add Nitrokey Passkey

New in snapd 2.66.1:

  • AppArmor prompting (experimental): Fix kernel prompting support check
  • Allow kernel snaps to have content slots
  • Fix ignoring snaps in try mode when amending

New in snapd 2.66:

  • AppArmor prompting (experimental): expand kernel support checks
  • AppArmor prompting (experimental): consolidate error messages and add error kinds
  • AppArmor prompting (experimental): grant /v2/snaps/{name} via snap-interfaces-requests-control
  • AppArmor prompting (experimental): add checks for duplicate pattern variants
  • Registry views (experimental): add handlers that commit (and cleanup) registry transactions
  • Registry views (experimental): add a snapctl fail command for rejecting registry transactions
  • Registry views (experimental): allow custodian snaps to implement registry hooks that modify and save registry data
  • Registry views (experimental): run view-changed hooks only for snaps plugging views affected by modified paths
  • Registry views (experimental): make registry transactions serialisable
  • Snap components: handle refreshing components to revisions that have been on the system before
  • Snap components: enable creating Ubuntu Core images that contain components
  • Snap components: handle refreshing components independently of snaps
  • Snap components: handle removing components when refreshing a snap that no longer defines them
  • Snap components: extend snapd Ubuntu Core installation API to allow for picking optional snaps and components to install
  • Snap components: extend kernel.yaml with "dynamic-modules", allowing kernel to define a location for kmods from component hooks
  • Snap components: renamed component type "test" to "standard"
  • Desktop IDs: support installing desktop files with custom names based on desktop-file-ids desktop interface plug attr
  • Auto-install snapd on classic systems as prerequisite for any non-essential snap install
  • Support loading AppArmor profiles on WSL2 with non-default kernel and securityfs mounted
  • Debian/Fedora packaging updates
  • Add snap debug command for investigating execution aspects of the snap toolchain
  • Improve snap pack error for easier parsing
  • Add support for user services when refreshing snaps
  • Add snap remove --terminate flag for terminating running snap processes
  • Support building FIPS complaint snapd deb and snap
  • Fix to not use nss when looking up for users/groups from snapd snap
  • Fix ordering in which layout changes are saved
  • Patch snapd snap dynamic linker to ignore LD_LIBRARY_PATH and related variables
  • Fix libexec dir for openSUSE Slowroll
  • Fix handling of the shared snap directory for parallel installs
  • Allow writing to /run/systemd/journal/dev-log by default
  • Avoid state lock during snap removal to avoid delaying other snapd operations
  • Add nomad-support interface to enable running Hashicorp Nomad
  • Add intel-qat interface
  • u2f-devices interface: add u2f trustkey t120 product id and fx series fido u2f devices
  • desktop interface: improve integration with xdg-desktop-portal
  • desktop interface: add desktop-file-ids plug attr to desktop interface
  • unity7 interface: support desktop-file-ids in desktop files rule generation
  • desktop-legacy interface: support desktop-file-ids in desktop files rule generation
  • desktop-legacy interface: grant access to gcin socket location
  • login-session-observe interface: allow introspection
  • custom-device interface: allow to explicitly identify matching device in udev tagging block
  • system-packages-doc interface: allow reading /usr/share/javascript
  • modem-manager interface: add new format of WWAN ports
  • pcscd interface: allow pcscd to read opensc.conf
  • cpu-control interface: add IRQ affinity control to cpu_control
  • opengl interface: add support for cuda workloads on Tegra iGPU in opengl interface

New in snapd 2.65.3:

  • Fix missing aux info from store on snap setup

New in snapd 2.65.2:

  • Bump squashfuse from version 0.5.0 to 0.5.2 (used in snapd deb only)

New in snapd 2.65.1:

  • Support building snapd using base Core22 (Snapcraft 8.x)
  • FIPS: support building FIPS complaint snapd variant that switches to FIPS mode when the system boots with FIPS enabled
  • AppArmor: update to latest 4.0.2 release
  • AppArmor: enable using ABI 4.0 from host parser
  • AppArmor: fix parser lookup
  • AppArmor: support AppArmor snippet priorities
  • AppArmor: allow reading cgroup memory.max file
  • AppArmor: allow using snap-exec coming from the snapd snap when starting a confined process with jailmode
  • AppArmor prompting (experimental): add checks for prompting support, include prompting status in system key, and restart snapd if prompting flag changes
  • AppArmor prompting (experimental): include prompt prefix in AppArmor rules if prompting is supported and enabled
  • AppArmor prompting (experimental): add common types, constraints, and mappings from AppArmor permissions to abstract permissions
  • AppArmor prompting (experimental): add path pattern parsing and matching
  • AppArmor prompting (experimental): add path pattern precedence based on specificity
  • AppArmor prompting (experimental): add packages to manage outstanding request prompts and rules
  • AppArmor prompting (experimental): add prompting API and notice types, which require snap-interfaces-requests-control interface
  • AppArmor prompting (experimental): feature flag can only be enabled if prompting is supported, handler service connected, and the service can be started
  • Registry views (experimental): rename from aspects to registries
  • Registry views (experimental): support reading registry views and setting/unsetting registry data using snapctl
  • Registry views (experimental): fetch and refresh registry assertions as needed
  • Registry views (experimental): restrict view paths from using a number as first character and view names to storage path style patterns
  • Snap components: support installing snaps and components from files at the same time (no REST API/CLI)
  • Snap components: support downloading components related assertions from the store
  • Snap components: support installing components from the store
  • Snap components: support removing components individually and during snap removal
  • Snap components: support kernel modules as components
  • Snap components: support for component install, pre-refresh and post-refresh hooks
  • Snap components: initial support for building systems that contain components
  • Refresh app awareness (experimental): add data field for /v2/changes REST API to allow associating each task with affected snaps
  • Refresh app awareness (experimental): use the app name from .desktop file in notifications
  • Refresh app awareness (experimental): give snap-refresh-observe interface access to /v2/snaps/{name} endpoint
  • Improve snap-confine compatibility with nvidia drivers
  • Allow re-exec when SNAP_REEXEC is set for unlisted distros to simplify testing
  • Allow mixing revision and channel on snap install
  • Generate GNU build ID for Go binaries
  • Add missing etelpmoc.sh for shell completion
  • Do not attempt to run snapd on classic when re-exec is disabled
  • Packaging/build maintenance for Debian sid, Fedora, Arch, openSuse
  • Add snap debug API command to enable running raw queries
  • Enable snap-confine snap mount directory detection
  • Replace global seccomp filter with deny rules in standard seccomp template
  • Remove support for Ubuntu Core Launcher (superseded by snap-confine)
  • Support creating pending serial bound users after serial assertion becomes available
  • Support disabling cloud-init using kernel command-line
  • In hybrid systems, apps can refresh without waiting for restarts required by essential snaps
  • Ship snap-debug-info.sh script used for system diagnostics
  • Improve error messages when attempting to run non-existent snap
  • Switch to -u UID:GID for strace-static
  • Support enabling snapd logging with snap set system debug.snapd.{log,log-level}
  • Add options system.coredump.enable and system.coredump.maxuse to support using systemd-coredump on Ubuntu Core
  • Provide documentation URL for 'snap interface '
  • Fix snapd riscv64 build
  • Fix restarting activated services instead of their activator units (i.e. sockets, timers)
  • Fix potential unexpected auto-refresh of snap on managed schedule
  • Fix potential segfault by guarding against kernel command-line changes on classic system
  • Fix proxy entries in /etc/environment with missing newline that caused later manual entries to not be usable
  • Fix offline remodelling by ignoring prerequisites that will otherwise be downloaded from store
  • Fix devmode seccomp deny regression that caused spamming the log instead of actual denies
  • Fix snap lock leak during refresh
  • Fix not re-pinning validation sets that were already pinned when enforcing new validation sets
  • Fix handling of unexpected snapd runtime failure
  • Fix /v2/notices REST API skipping notices with duplicate timestamps
  • Fix comparing systemd versions that may contain pre-release suffixes
  • Fix udev potentially starting before snap-device-helper is made available
  • Fix race in snap seed metadata loading
  • Fix treating cloud-init exit status 2 as error
  • Fix to prevent sending refresh complete notification if snap snap-refresh-observe interface is connected
  • Fix to queue snapctl service commands if run from the default-configure hook to ensure they get up-to-date config values
  • Fix stop service failure when the service is not actually running anymore
  • Fix parsing /proc/PID/mounts with spaces
  • Add registry interface that provides snaps access to a particular registry view
  • Add snap-interfaces-requests-control interface to enable prompting client snaps
  • steam-support interface: remove all AppArmor and seccomp restrictions to improve user experience
  • opengl interface: improve compatibility with nvidia drivers
  • home interface: autoconnect home on Ubuntu Core Desktop
  • serial-port interface: support RPMsg tty
  • display-control interface: allow changing LVDS backlight power and brightness
  • power-control interface: support for battery charging thesholds, type/status and AC type/status
  • cpu-control interface: allow CPU C-state control
  • raw-usb interface: support RPi5 and Thinkpad x13s
  • custom-device interface: allow device file locking
  • lxd-support interface: allow LXD to self-manage its own cgroup
  • network-manager interface: support MPTCP sockets
  • network-control interface: allow plug/slot access to gnutls config and systemd resolved cache flushing via D-Bus
  • network-control interface: allow wpa_supplicant dbus api
  • gpio-control interface: support gpiochip* devices
  • polkit interface: fix "rw" mount option check
  • u2f-devices interface: enable additional security keys
  • desktop interface: enable kde theming support

New in snapd 2.64:

  • Support building snapd using base Core22 (Snapcraft 8.x)
  • FIPS: support building FIPS complaint snapd variant that switches to FIPS mode when the system boots with FIPS enabled
  • AppArmor: update to AppArmor 4.0.1
  • AppArmor: support AppArmor snippet priorities
  • AppArmor prompting: add checks for prompting support, include prompting status in system key, and restart snapd if prompting flag changes
  • AppArmor prompting: include prompt prefix in AppArmor rules if prompting is supported and enabled
  • AppArmor prompting: add common types, constraints, and mappings from AppArmor permissions to abstract permissions
  • AppArmor prompting: add path pattern parsing and matching
  • Registry views (experimental): rename from aspects to registries
  • Registry views (experimental): support reading registry views using snapctl
  • Registry views (experimental): restrict view paths from using a number as first character and view names to storage path style patterns
  • Snap components: support installing snaps and components from files at the same time (no REST API/CLI)
  • Snap components: support downloading components related assertions from the store
  • Snap components: support installing components from the store (no REST API/CLI)
  • Snap components: support removing components (REST API, no CLI)
  • Snap components: started support for component hooks
  • Snap components: support kernel modules as components
  • Refresh app awareness (experimental): add data field for /v2/changes REST API to allow associating each task with affected snaps
  • Refresh app awareness (experimental): use the app name from .desktop file in notifications
  • Refresh app awareness (experimental): give snap-refresh-observe interface access to /v2/snaps/{name} endpoint
  • Allow re-exec when SNAP_REEXEC is set for unlisted distros to simplify testing
  • Generate GNU build ID for Go binaries
  • Add missing etelpmoc.sh for shell completion
  • Do not attempt to run snapd on classic when re-exec is disabled
  • Packaging/build maintenance for Debian sid, Fedora, Arch, openSuse
  • Add snap debug api command to enable running raw queries
  • Enable snap-confine snap mount directory detection
  • Replace global seccomp filter with deny rules in standard seccomp template
  • Remove support for Ubuntu Core Launcher (superseded by snap-confine)
  • Support creating pending serial bound users after serial assertion becomes available
  • Support disabling cloud-init using kernel command-line
  • In hybrid systems, apps can refresh without waiting for restarts required by essential snaps
  • Ship snap-debug-info.sh script used for system diagnostics
  • Improve error messages when attempting to run non-existent snap
  • Switch to -u UID:GID for strace-static
  • Support enabling snapd logging with snap set system debug.snapd.{log,log-level}
  • Fix restarting activated services instead of their activator units (i.e. sockets, timers)
  • Fix potential unexpected auto-refresh of snap on managed schedule
  • Fix potential segfault by guarding against kernel command-line changes on classic system
  • Fix proxy entries in /etc/environment with missing newline that caused later manual entries to not be usable
  • Fix offline remodelling by ignoring prerequisites that will otherwise be downloaded from store
  • Fix devmode seccomp deny regression that caused spamming the log instead of actual denies
  • Fix snap lock leak during refresh
  • Fix not re-pinning validation sets that were already pinned when enforcing new validation sets
  • Fix handling of unexpected snapd runtime failure
  • Fix /v2/notices REST API skipping notices with duplicate timestamps
  • Fix comparing systemd versions that may contain pre-release suffixes
  • Fix udev potentially starting before snap-device-helper is made available
  • Fix race in snap seed metadata loading
  • Fix treating cloud-init exit status 2 as error
  • Fix to prevent sending refresh complete notification if snap snap-refresh-observe interface is connected
  • Fix to queue snapctl service commands if run from the default-configure hook to ensure they get up-to-date config values
  • Fix stop service failure when the service is not actually running anymore
  • Add registry interface that provides snaps access to a particular registry view
  • steam-support interface: relaxed AppArmor and seccomp restrictions to improve user experience
  • home interface: autoconnect home on Ubuntu Core Desktop
  • serial-port interface: support RPMsg tty
  • display-control interface: allow changing LVDS backlight power and brightness
  • power-control interface: support for battery charging thesholds, type/status and AC type/status
  • cpu-control interface: allow CPU C-state control
  • raw-usb interface: support RPi5 and Thinkpad x13s
  • custom-device interface: allow device file locking
  • lxd-support interface: allow LXD to self-manage its own cgroup
  • network-manager interface: support MPTCP sockets
  • network-control interface: allow plug/slot access to gnutls config and systemd resolved cache flushing via D-Bus

New in snapd 2.63:

  • Support for snap services to show the current status of user services (experimental)
  • Refresh app awareness: record snap-run-inhibit notice when starting app from snap that is busy with refresh (experimental)
  • Refresh app awareness: use warnings as fallback for desktop notifications (experimental)
  • Aspect based configuration: make request fields in the aspect-bundle's rules optional (experimental)
  • Aspect based configuration: make map keys conform to the same format as path sub-keys (experimental)
  • Aspect based configuration: make unset and set behaviour similar to configuration options (experimental)
  • Aspect based configuration: limit nesting level for setting value (experimental)
  • Components: use symlinks to point active snap component revisions
  • Components: add model assertion support for components
  • Components: fix to ensure local component installation always gets a new revision number
  • Add basic support for a CIFS remote filesystem-based home directory
  • Add support for AppArmor profile kill mode to avoid snap-confine error
  • Allow more than one interface to grant access to the same API endpoint or notice type
  • Allow all snapd service's control group processes to send systemd notifications to prevent warnings flooding the log
  • Enable not preseeded single boot install
  • Update secboot to handle new sbatlevel
  • Fix to not use cgroup for non-strict confined snaps (devmode, classic)
  • Fix two race conditions relating to freedesktop notifications
  • Fix missing tunables in snap-update-ns AppArmor template
  • Fix rejection of snapd snap udev command line by older host snap-device-helper
  • Rework seccomp allow/deny list
  • Clean up files removed by gadgets
  • Remove non-viable boot chains to avoid secboot failure
  • posix_mq interface: add support for missing time64 mqueue syscalls mq_timedreceive_time64 and mq_timedsend_time64
  • password-manager-service interface: allow kwalletd version 6
  • kubernetes-support interface: allow SOCK_SEQPACKET sockets
  • system-observe interface: allow listing systemd units and their properties
  • opengl interface: enable use of nvidia container toolkit CDI config generation

New in snapd 2.62:

  • Aspects based configuration schema support (experimental)
  • Refresh app awareness support for UI (experimental)
  • Support for user daemons by introducing new control switches --user/--system/--users for service start/stop/restart (experimental)
  • Add AppArmor prompting experimental flag (feature currently unsupported)
  • Installation of local snap components of type test
  • Packaging of components with snap pack
  • Expose experimental features supported/enabled in snapd REST API endpoint /v2/system-info
  • Support creating and removing recovery systems for use by factory reset
  • Enable API route for creating and removing recovery systems using /v2/systems with action create and /v2/systems/{label} with action remove
  • Lift requirements for fde-setup hook for single boot install
  • Enable single reboot gadget update for UC20+
  • Allow core to be removed on classic systems
  • Support for remodeling on hybrid systems
  • Install desktop files on Ubuntu Core and update after snapd upgrade
  • Upgrade sandbox features to account for cgroup v2 device filtering
  • Support snaps to manage their own cgroups
  • Add support for AppArmor 4.0 unconfined profile mode
  • Add AppArmor based read access to /etc/default/keyboard
  • Upgrade to squashfuse 0.5.0
  • Support useradd utility to enable removing Perl dependency for UC24+
  • Support for recovery-chooser to use console-conf snap
  • Add support for --uid/--gid using strace-static
  • Add support for notices (from pebble) and expose via the snapd REST API endpoints /v2/notices and /v2/notice
  • Add polkit authentication for snapd REST API endpoints /v2/snaps/{snap}/conf and /v2/apps
  • Add refresh-inhibit field to snapd REST API endpoint /v2/snaps
  • Add refresh-inhibited select query to REST API endpoint /v2/snaps
  • Take into account validation sets during remodeling
  • Improve offline remodeling to use installed revisions of snaps to fulfill the remodel revision requirement
  • Add rpi configuration option sdtv_mode
  • When snapd snap is not installed, pin policy ABI to 4.0 or 3.0 if present on host
  • Fix gadget zero-sized disk mapping caused by not ignoring zero sized storage traits
  • Fix gadget install case where size of existing partition was not correctly taken into account
  • Fix trying to unmount early kernel mount if it does not exist
  • Fix restarting mount units on snapd start
  • Fix call to udev in preseed mode
  • Fix to ensure always setting up the device cgroup for base bare and core24+
  • Fix not copying data from newly set homedirs on revision change
  • Fix leaving behind empty snap home directories after snap is removed (resulting in broken symlink)
  • Fix to avoid using libzstd from host by adding to snapd snap
  • Fix autorefresh to correctly handle forever refresh hold
  • Fix username regex allowed for system-user assertion to not allow '+'
  • Fix incorrect application icon for notification after autorefresh completion
  • Fix to restart mount units when changed
  • Fix to support AppArmor running under incus
  • Fix case of snap-update-ns dropping synthetic mounts due to failure to match desired mount dependencies
  • Fix parsing of base snap version to enable pre-seeding of Ubuntu Core Desktop
  • Fix packaging and tests for various distributions
  • Add remoteproc interface to allow developers to interact with Remote Processor Framework which enables snaps to load firmware to ARM Cortex microcontrollers
  • Add kernel-control interface to enable controlling the kernel firmware search path
  • Add nfs-mount interface to allow mounting of NFS shares
  • Add ros-opt-data interface to allow snaps to access the host /opt/ros/ paths
  • Add snap-refresh-observe interface that provides refresh-app-awareness clients access to relevant snapd API endpoints
  • steam-support interface: generalize Pressure Vessel root paths and allow access to driver information, features and container versions
  • steam-support interface: make implicit on Ubuntu Core Desktop
  • desktop interface: improved support for Ubuntu Core Desktop and limit autoconnection to implicit slots
  • cups-control interface: make autoconnect depend on presence of cupsd on host to ensure it works on classic systems
  • opengl interface: allow read access to /usr/share/nvidia
  • personal-files interface: extend to support automatic creation of missing parent directories in write paths
  • network-control interface: allow creating /run/resolveconf
  • network-setup-control and network-setup-observe interfaces: allow busctl bind as required for systemd 254+
  • libvirt interface: allow r/w access to /run/libvirt/libvirt-sock-ro and read access to /var/lib/libvirt/dnsmasq/**
  • fwupd interface: allow access to IMPI devices (including locking of device nodes), sysfs attributes needed by amdgpu and the COD capsule update directory
  • uio interface: allow configuring UIO drivers from userspace libraries
  • serial-port interface: add support for NXP Layerscape SoC
  • lxd-support interface: add attribute enable-unconfined-mode to require LXD to opt-in to run unconfined
  • block-devices interface: add support for ZFS volumes
  • system-packages-doc interface: add support for reading jquery and sphinx documentation
  • system-packages-doc interface: workaround to prevent autoconnect failure for snaps using base bare
  • microceph-support interface: allow more types of block devices to be added as an OSD
  • mount-observe interface: allow read access to /proc/{pid}/task/{tid}/mounts and proc/{pid}/task/{tid}/mountinfo
  • polkit interface: changed to not be implicit on core because installing policy files is not possible
  • upower-observe interface: allow stats refresh
  • gpg-public-keys interface: allow creating lock file for certain gpg operations
  • shutdown interface: allow access to SetRebootParameter method
  • media-control interface: allow device file locking
  • u2f-devices interface: support for Trustkey G310H, JaCarta U2F, Kensington VeriMark Guard, RSA DS100, Google Titan v2

New in snapd 2.61.3:

  • Install systemd files in correct location for 24.04

New in snapd 2.61.2:

  • Fix to enable plug/slot sanitization for prepare-image
  • Fix panic when device-service.access=offline
  • Support offline remodeling
  • Allow offline update only remodels without serial
  • Fail early when remodeling to old model revision
  • Fix to enable plug/slot sanitization for validate-seed
  • Allow removal of core snap on classic systems
  • Fix network-control interface denial for file lock on /run/netns
  • Add well-known core24 snap-id
  • Fix remodel snap installation order
  • Prevent remodeling from UC18+ to UC16
  • Fix cups auto-connect on classic with cups snap installed
  • u2f-devices interface support for GoTrust Idem Key with USB-C
  • Fix to restore services after unlink failure
  • Add libcudnn.so to Nvidia libraries
  • Fix skipping base snap download due to false snapd downgrade conflict

New in snapd 2.61.1:

  • Stop requiring default provider snaps on image building and first boot if alternative providers are included and available
  • Fix auth.json access for login as non-root group ID
  • Fix incorrect remodelling conflict when changing track to older snapd version
  • Improved check-rerefresh message
  • Fix UC16/18 kernel/gadget update failure due volume mismatch with installed disk
  • Stop auto-import of assertions during install modes
  • Desktop interface exposes GetIdletime
  • Polkit interface support for new polkit versions
  • Fix not applying snapd snap changes in tracked channel when remodelling

New in snapd 2.61:

  • Fix control of activated services in 'snap start' and 'snap stop'
  • Correctly reflect activated services in 'snap services'
  • Disabled services are no longer enabled again when snap is refreshed
  • interfaces/builtin: added support for Token2 U2F keys
  • interfaces/u2f-devices: add Swissbit iShield Key
  • interfaces/builtin: update gpio apparmor to match pattern that contains multiple subdirectories under /sys/devices/platform
  • interfaces: add a polkit-agent interface
  • interfaces: add pcscd interface
  • Kernel command-line can now be edited in the gadget.yaml
  • Only track validation-sets in run-mode, fixes validation-set issues on first boot.
  • Added support for using store.access to disable access to snap store
  • Support for fat16 partition in gadget
  • Pre-seed authority delegation is now possible
  • Support new system-user name daemon
  • Several bug fixes and improvements around remodelling
  • Offline remodelling support

New in snapd 2.60.4:

  • Switch to plug/slot in the "qualcomm-ipc-router" interface but keeping backward compatibility
  • Fix "custom-device" udev KERNEL values
  • Allow firmware-updater snap to install user-daemons
  • Allow loopback as a block device

NEW in snapd 2.60.3:

  • Fix bug in the "private" plug attribute of the shared-memory interface that can result in a crash when upgrading from an old version of snapd.
  • Fix missing integration of the /etc/apparmor.d/tunables/home.d/ apparmor to support non-standard home directories

New in snapd 2.60.2:

  • Performance improvements for apparmor_parser to compensate for the slower -O expr-simplify default used. This should bring the performance back to the 2.60 level and even increase it for many use-cases.
  • Bugfixes

New in snapd 2.60.1:

  • Bugfixes
  • Use "aes-cbc-essiv:sha256" in cryptsetup on arm 32bit devices to increase speed on devices with CAAM support
  • Stop using -O no-expr-simplify in apparmor_parser to avoid potential exponential memory use. This can lead to slower policy complication in some cases but it is much safer on low memory devices.

New in snapd 2.60:

  • Support for dynamic snapshot data exclusions
  • Apparmor userspace is vendored inside the snapd snap
  • Added a default-configure hook that exposes gadget default configuration options to snaps during first install before services are started
  • Allow install from initrd to speed up the initial installation for systems that do not have a install-device hook
  • New snap sign --chain flag that appends the account and account-key assertions
  • Support validation-sets in the model assertion
  • Support new "min-size" field in gadget.yaml
  • New interface: "userns"

New in snapd 2.59.5:

  • Explicitly disallow the use of ioctl + TIOCLINUX This fixes CVE-2023-1523.

New in snapd 2.59.4:

  • Retry when looking for disk label on non-UEFI systems
  • Fix remodel from UC20 to UC22

New in snapd 2.59.3:

  • Fix quiet boot
  • Ignore case for vfat paritions when validating
  • Restart always enabled units

New in snapd 2.59.2:

  • Notify users when a user triggered auto refresh finished

New in snapd 2.59.1:

  • Add udev rules from steam-devices to steam-support interface
  • Bugfixes for layout path checking, dm_crypt permissions, mount-control interface parameter checking, kernel commandline parsing, docker-support, refresh-app-awareness

New in snapd 2.59:

  • Support setting extra kernel command line parameters via snap configuration and under a gadget allow-list
  • Support for Full-Disk-Encryption using ICE
  • Support for arbitrary home dir locations via snap configuration
  • New nvidia-drivers-support interface
  • Support for udisks2 snap
  • Pre-download of snaps ready for refresh and automatic refresh of the snap when all apps are closed
  • New microovn interface
  • Support uboot with CONFIG_SYS_REDUNDAND_ENV=n
  • Make "snap-preseed --reset" re-exec when needed
  • Update the fwupd interface to support fully confined fwupd
  • The memory,cpu,thread quota options are no longer experimental
  • Support debugging snap client requests via the SNAPD_CLIENT_DEBUG_HTTP environment variable
  • Support ssh listen-address via snap configuration
  • Support for quotas on single services
  • prepare-image now takes into account snapd versions going into the image, including in the kernel initrd, to fetch supported assertion formats