gopkg.in/ubuntu-core/snappy.v0@v0.0.0-20210902073436-25a8614f10a6/packaging/debian-sid/changelog (about) 1 snapd (2.51.7-1) unstable; urgency=medium 2 3 * New upstream release, LP: #1929842 4 - cmd/snap-seccomp/syscalls: update syscalls list to libseccomp 5 v2.2.0-428-g5c22d4b1 6 - tests: cherry-pick shellcheck fix `bd730fd4` 7 - interfaces/dsp: add /dev/ambad into dsp interface 8 - many: shellcheck fixes 9 - snapstate: abort kernel refresh if no gadget update can be found 10 - overlord: add manager test for "assumes" checking 11 - store: deal correctly with "assumes" from the store raw yaml 12 13 -- Ian Johnson <ian.johnson@canonical.com> Fri, 27 Aug 2021 15:26:46 -0500 14 15 snapd (2.51.6-1) unstable; urgency=medium 16 17 * New upstream release, LP: #1929842 18 - secboot: use half the mem for KDF in AddRecoveryKey 19 - secboot: switch main key KDF memory cost to 32KB 20 21 -- Ian Johnson <ian.johnson@canonical.com> Thu, 19 Aug 2021 15:49:47 -0500 22 23 snapd (2.51.5-1) unstable; urgency=medium 24 25 * New upstream release, LP: #1929842 26 - snap/squashfs: handle squashfs-tools 4.5+ 27 - tests/core20-install-device-file-install-via-hook-hack: adjust 28 test for 2.51 29 - o/devicestate/handlers_install.go: add workaround to create dirs 30 for install 31 - tests: fix linter warning 32 - tests: update other spread tests for new behaviour 33 - tests: ack assertions by default, add --noack option 34 - release-tools/changelog.py: also fix opensuse changelog date 35 format 36 - release-tools/changelog.py: fix typo in function name 37 - release-tools/changelog.py: fix fedora date format 38 - release-tools/changelog.py: handle case where we don't have a TZ 39 - release-tools/changelog.py: fix line length check 40 - release-tools/changelog.py: specify the LP bug for the release as 41 an arg too 42 - interface/modem-manager: add support for MBIM/QMI proxy 43 clients 44 - .github/workflows/test.yaml: use snapcraft 4.x to build the snapd 45 snap 46 47 -- Ian Johnson <ian.johnson@canonical.com> Mon, 16 Aug 2021 15:02:40 -0500 48 49 snapd (2.51.4-1) unstable; urgency=medium 50 51 * New upstream release, LP: #1929842 52 - {device,snap}state: skip kernel extraction in seeding 53 - vendor: move to snapshot-4c814e1 branch and set fixed KDF options 54 - tests/interfaces/tee: fix HasLen check for udev snippets 55 - interfaces/tee: add support for Qualcomm qseecom device node 56 - gadget: check for system-save with multi volumes if encrypting 57 correctly 58 - gadget: drive-by: drop unnecessary/supported passthrough in test 59 gadget.yaml 60 61 -- Ian Johnson <ian.johnson@canonical.com> Mon, 09 Aug 2021 18:56:18 -0500 62 63 snapd (2.51.3-1) unstable; urgency=medium 64 65 * New upstream release, LP: #1929842 66 - interfaces/builtin: add sd-control interface 67 - store: set ResponseHeaderTimeout on the default transport 68 69 -- Ian Johnson <ian.johnson@canonical.com> Wed, 14 Jul 2021 15:26:54 -0500 70 71 snapd (2.51.2-1) unstable; urgency=medium 72 73 * New upstream release, LP: #1929842 74 - snapstate: remove temporary snap file for local revisions early 75 - interface: allows reading sd cards internal info from block- 76 devices interface 77 - o/ifacestate: do not visit same halt tasks in waitChainSearch to 78 avoid slow convergence (or unlikely cycles) 79 - corecfg: allow using `# snapd-edit: no` header to disable pi- 80 config 81 - configcore: ignore system.pi-config.* setting on measured kernels 82 - many: pass device/model info to configcore via sysconfig.Device 83 interface 84 - o/configstate/configcore: support snap set system swap.size=... 85 - store: make the log with download size a debug one 86 - interfaces/opengl: add support for Imagination PowerVR 87 88 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 07 Jul 2021 15:35:46 +0200 89 90 snapd (2.51.1-1) unstable; urgency=medium 91 92 * New upstream release, LP: #1929842 93 - interfaces: add netlink-driver interface 94 - interfaces: builtin: add dm-crypt interface to support external 95 storage encryption 96 - interfaces/dsp: fix typo in udev rule 97 - overlord/snapstate: lock the mutex before returning from stop 98 snap services undo 99 - interfaces: opengl: change path for Xilinx zocl driver 100 - interfaces/dsp: add /dev/cavalry into dsp interface 101 - packaging/fedora/snapd.spec: correct date format in changelog 102 103 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 15 Jun 2021 12:45:08 +0200 104 105 snapd (2.51-1) unstable; urgency=medium 106 107 * New upstream release, LP: #1929842 108 - cmd/snap: stacktraces debug endpoint 109 - secboot: deactivate volume again when model checker fails 110 - store: extra log message, a few minor cleanups 111 - packaging/debian-sid: update systemd patch 112 - snapstate: adjust update-gadget-assets user visible message 113 - tests/nested/core/core20-create-recovery: verify that recovery 114 system can be created at runtime 115 - gadget: support creating vfat partitions during bootstrap 116 - daemon/api_quotas.go: support updating quotas with ensure action 117 - daemon: tighten access to a couple of POST endpoints that should 118 be really be root-only 119 - seed/seedtest, overlord/devicestate: move seed validation helper 120 to seedtest 121 - overlord/hookstate/ctlcmd: remove unneeded parameter 122 - snap/quota: add CurrentMemoryUsage for current memory usage of a 123 quota group 124 - systemd: add CurrentMemoryUsage to get current memory usage for a 125 unit 126 - o/snapstate: introduce minimalInstallInfo interface 127 - o/hookstate: print pending info (ready, inhibited or none) 128 - osutil: a helper to find out the total amount of memory in the 129 system 130 - overlord, overlord/devicestate: allow for reloading modeenv in 131 devicemgr when testing 132 - daemon: refine access testing 133 - spread: disable unattended-upgrades on debian 134 - tests/lib/reset: make nc exit after a while when connection is 135 idle 136 - daemon: replace access control flags on commands with access 137 checkers 138 - release-tools/changelog.py: refactor regexp + file reading/writing 139 - packaging/debian-sid: update locale patch for the latest master 140 - overlord/devicestate: tasks for creating recovery systems at 141 runtime 142 - release-tools/changelog.py: implement script to update all the 143 changelog files 144 - tests: change machine type used for nested testsPrices: 145 - cmd/snap: include locale when linting description being lower case 146 - o/servicestate: add RemoveSnapFromQuota 147 - interfaces/serial-port: add Qualcomm serial port devices to 148 allowed list 149 - packaging: merge 2.50.1 changelog back 150 - interfaces/builtin: introduce raw-input interface 151 - tests: remove tests.cleanup prepare from nested test 152 - cmd/snap-update-ns: fix linter errors 153 - asserts: fix errors reported by linter 154 - o/hookstate/ctlcmd: allow system-mode for non-root 155 - overlord/devicestate: comment why explicit system mode check is 156 needed in ensuring tried recovery systems (#10275) 157 - overlord/devicesate: observe snap writes when creating recovery 158 systems 159 - packaging/ubuntu-16.04/changelog: add placeholder for 2.50.1 160 - tests: moving to tests directories snaps built locally - part 1 161 - seed/seedwriter: fail early when system seed directory exists 162 - o/snapstate: autorefresh phase1 for refresh-control 163 - c/snap: more precise message for ErrorKindSystemRestart op != 164 reboot 165 - tests: simplify the tests.cleanup tool 166 - boot: helpers for manipulating current and good recovery systems 167 list 168 - o/hookstate, o/snapstate: print revision, version, channel with 169 snapctl --pending 170 - overlord: unit test tweaks, use well known snap IDs, setup snap 171 declarations for most common snaps 172 - tests/nested/manual: add test for install-device + snapctl reboot 173 - o/servicestate: restart slices + services on modifications 174 - tests: update mount-ns test to support changes in the distro 175 - interfaces: fix linter issues 176 - overlord: mock logger in managers unit tests 177 - tests: adding support for fedora-34 178 - tests: adding support for debian 10 on gce 179 - boot: reseal given keys when the respective boot chain has changed 180 - secboot: switch encryption key size to 32 byte (thanks to Chris) 181 - interfaces/dbus: allow claiming 'well-known' D-Bus names with a 182 wildcard suffix 183 - spread: bump delta reference version 184 - interfaces: builtin: update permitted paths to be compatible with 185 UC20 186 - overlord: fix errors reported by linter 187 - tests: remove old fedora systems from tests 188 - tests: update spread url 189 - interfaces/camera: allow devices in /sys/devices/platform/**/usb* 190 - interfaces/udisks2: Allow access to the login manager via dbus 191 - cmd/snap: exit normally if "snap changes" has no changes 192 (LP #1823974) 193 - tests: more fixes for spread suite on openSUSE 194 - tests: fix tests expecting cgroup v1/hybrid on openSUSE Tumbleweed 195 - daemon: fix linter errors 196 - spread: add Fedora 34, leave a TODO about dropping Fedora 32 197 - interfaces: fix linter errors 198 - tests: use op.paths tools instead of dirs.sh helper - part 2 199 - client: Fix linter errors 200 - cmd/snap: Fix errors reported by linter 201 - cmd/snap-repair: fix linter issues 202 - cmd/snap-bootstrap: Fix linter errors 203 - tests: update permission denied message for test-snapd-event on 204 ubuntu 2104 205 - cmd/snap: small tweaks based on previous reviews 206 - snap/snaptest: helper that mocks both the squashfs file and a snap 207 directory 208 - overlord/devicestate: tweak comment about creating recovery 209 systems, formatting tweaks 210 - overlord/devicestate: move devicemgr base suite helpers closer to 211 test suite struct 212 - overlord/devicestate: keep track of tried recovery system 213 - seed/seedwriter: clarify in the diagram when SetInfo is called 214 - overlord/devicestate: add helper for creating recovery systems at 215 runtime 216 - snap-seccomp: update syscalls.go list 217 - boot,image: support image.Customizations.BootFlags 218 - overlord: support snapctl --halt|--poweroff in gadget install- 219 device 220 - features,servicestate: add experimental.quota-groups flag 221 - o/servicestate: address comments from previous PR 222 - tests: basic spread test for snap quota commands 223 - tests: moving the snaps which are not locally built to the store 224 directory 225 - image,c/snap: implement prepare-image --customize 226 - daemon: implement REST API for quota groups (create / list / get) 227 - cmd/snap, client: snap quotas command 228 - o/devicestate,o/hookstate/ctlcmd: introduce SystemModeInfo methods 229 and snapctl system-mode 230 - o/servicestate/quota_control.go: introduce (very) basic group 231 manipulation methods 232 - cmd/snap, client: snap remove-quota command 233 - wrappers, quota: implement quota groups slice generation 234 - snap/quotas: followups from previous PR 235 - cmd/snap: introduce 'snap quota' command 236 - o/configstate/configcore/picfg.go: use ubuntu-seed config.txt in 237 uc20 run mode 238 - o/servicestate: test has internal ordering issues, consider both 239 cases 240 - o/servicestate/quotas: add functions for getting and setting 241 quotas in state 242 - tests: new buckets for snapd-spread project on gce 243 - spread.yaml: update the gce project to start using snapd-spread 244 - quota: new package for managing resource groups 245 - many: bind and check keys against models when using FDE hooks v2 246 - many: move responsibilities down seboot -> kernel/fde and boot -> 247 secboot 248 - packaging: add placeholder changelog 249 - o/configstate/configcore/vitality: fix RequireMountedSnapdSnap 250 bug 251 - overlord: properly mock usr-lib-snapd tests to mimic an Ubuntu 252 Core system 253 - many: hide EncryptionKey size and refactors for fde hook v2 next 254 steps 255 - tests: adding debug info for create user tests 256 - o/hookstate: add "refresh" command to snapctl (hidden, not 257 complete yet) 258 - systemd: wait for zfs mounts (LP #1922293) 259 - testutil: support referencing files in FileEquals checker 260 - many: refactor to kernel/fde and allow `fde-setup initial-setup` 261 to return json 262 - o/snapstate: store refresh-candidates in the state 263 - o/snapstate: helper for creating gate-auto-refresh hooks 264 - bootloader/bootloadertest: provide interface implementation as 265 mixins, provide a mock for recovery-aware-trusted-asses bootloader 266 - tests/lib/nested: do not compress images, return early when 267 restored from pristine image 268 - boot: split out a helper for making recovery system bootable 269 - tests: update os.query check to match new bullseye codename used 270 on sid images 271 - o/snapstate: helper for getting snaps affected by refresh, define 272 new hook 273 - wrappers: support in EnsureSnapServices a callback to observe 274 changes (#10176) 275 - gadget: multi line support in gadget's cmdline file 276 - daemon: test that requesting restart from (early) Ensure works 277 - tests: use op.paths tools instead of dirs.sh helper - part 1 278 - tests: add new command to snaps-state to get current core, kernel 279 and gadget 280 - boot, gadget: move opening the snap container into the gadget 281 helper 282 - tests, overlord: extend unit tests, extend spread tests to cover 283 full command line support 284 - interfaces/builtin: introduce dsp interface 285 - boot, bootloader, bootloader/assets: support for full command line 286 override from gadget 287 - overlord/devicestate, overlord/snapstate: add task for updating 288 kernel command lines from gadget 289 - o/snapstate: remove unused DeviceCtx argument of 290 ensureInstallPreconditions 291 - tests/lib/nested: proper status return for tpm/secure boot checks 292 - cmd/snap, boot: add snapd_full_cmdline_args to dumped boot vars 293 - wrappers/services.go: refactor helper lambda function to separate 294 function 295 - boot/flags.go: add HostUbuntuDataForMode 296 - boot: handle updating of components that contribute to kernel 297 command line 298 - tests: add 20.04 to systems for nested/core 299 - daemon: add new accessChecker implementations 300 - boot, overlord/devicestate: consider gadget command lines when 301 updating boot config 302 - tests: fix prepare-image-grub-core18 for arm devices 303 - tests: fix gadget-kernel-refs-update-pc test on arm and when 304 $TRUST_TEST_KEY is false 305 - tests: enable help test for all the systems 306 - boot: set extra command line arguments when preparing run mode 307 - boot: load bits of kernel command line from gadget snaps 308 - tests: update layout for tests - part 2 309 - tests: update layout for tests - part 1 310 - tests: remove the snap profiler from the test suite 311 - boot: drop gadget snap yaml which is already defined elsewhere in 312 the tests 313 - boot: set extra kernel command line arguments when making a 314 recovery system bootable 315 - boot: pass gadget path to command line helpers, load gadget from 316 seed 317 - tests: new os.paths tool 318 - daemon: make ucrednetGet() return a *ucrednet structure 319 - boot: derive boot variables for kernel command lines 320 - cmd/snap-bootstrap/initramfs-mounts: fix boot-flags location from 321 initramfs 322 323 -- Ian Johnson <ian.johnson@canonical.com> Thu, 27 May 2021 11:15:20 -0500 324 325 snapd (2.50.1-1) unstable; urgency=medium 326 327 * New upstream release, LP: #1926005 328 - interfaces: update permitted /lib/.. paths to be compatible with 329 UC20 330 - interfaces: builtin: update permitted paths to be compatible with 331 UC20 332 - interfaces/greengrass-support: delete white spaces at the end of 333 lines 334 - snap-seccomp: update syscalls.go list 335 - many: backport kernel command line for 2.50 336 - interfaces/dbus: allow claiming 'well-known' D-Bus names with a 337 wildcard suffix 338 - interfaces/camera: allow devices in /sys/devices/platform/**/usb* 339 - interfaces/builtin: introduce dsp interface 340 341 -- Ian Johnson <ian.johnson@canonical.com> Wed, 19 May 2021 10:46:02 -0500 342 343 snapd (2.50-1) unstable; urgency=medium 344 345 * New upstream release, LP: #1926005 346 - overlord: properly mock usr-lib-snapd tests to mimic an Ubuntu 347 Core system 348 - o/configstate/configcore/vitality: fix RequireMountedSnapdSnap bug 349 - o/servicestate/servicemgr.go: add ensure loop for snap service 350 units 351 - wrappers/services.go: introduce EnsureSnapServices() 352 - snapstate: add "kernel-assets" to featureSet 353 - systemd: wait for zfs mounts 354 - overlord: make servicestate responsible to compute 355 SnapServiceOptions 356 - boot,tests: move where we write boot-flags one level up 357 - o/configstate: don't pass --root=/ when 358 masking/unmasking/enabling/disabling services 359 - cmd/snap-bootstrap/initramfs-mounts: write active boot-flags to 360 /run 361 - gadget: be more flexible with kernel content resolving 362 - boot, cmd/snap: include extra cmdline args in debug boot-vars 363 output 364 - boot: support read/writing boot-flags from userspace/initramfs 365 - interfaces/pwm: add PWM interface 366 - tests/lib/prepare-restore.sh: clean out snapd changes and snaps 367 before purging 368 - systemd: enrich UnitStatus returned by systemd.Status() with 369 Installed flag 370 - tests: updated restore phase of spread tests - part 1 371 - gadget: add support for kernel command line provided by the gadget 372 - tests: Using GO111MODULE: "off" in spread.yaml 373 - features: add gate-auto-refresh-hook feature flag 374 - spread: ignore linux kernel upgrade in early stages for arch 375 preparation 376 - tests: use snaps-state commands and remove them from the snaps 377 helper 378 - o/configstate: fix panic with a sequence of config unset ops over 379 same path 380 - api: provide meaningful error message on connect/disconnect for 381 non-installed snap 382 - interfaces/u2f-devices: add HyperFIDO Pro 383 - tests: add simple sanity check for systemctl show 384 --property=UnitFileState for unknown service 385 - tests: use tests.session tool on interfaces-desktop-document- 386 portal test 387 - wrappers: install D-Bus service activation files for snapd session 388 tools on core 389 - many: add x-gvfs-hide option to mount units 390 - interfaces/builtin/gpio_test.go: actually test the generated gpio 391 apparmor 392 - spread: tentative workaround for arch failure caused by libc 393 upgrade and cgroups v2 394 - tests: add spread test for snap validate against store assertions 395 - tests: remove snaps which are not used in any test 396 - ci: set the accept-existing-contributors parameter for the cla- 397 check action 398 - daemon: introduce apiBaseSuite.(json|sync|async|error)Req (and 399 some apiBaseSuite cosmetics) 400 - o/devicestate/devicemgr: register install-device hook, run if 401 present in install 402 - o/configstate/configcore: simple refactors in preparation for new 403 function 404 - tests: unifying the core20 nested suite with the core nested suite 405 - tests: uboot-unpacked-assets updated to reflect the real path used 406 to find the kernel 407 - daemon: switch api_test.go to daemon_test and various other 408 cleanups 409 - o/configstate/configcore/picfg.go: add hdmi_cvt support 410 - interfaces/apparmor: followup cleanups, comments and tweaks 411 - boot: cmd/snap-bootstrap: handle a candidate recovery system v2 412 - overlord/snapstate: skip catalog refresh when snappy testing is 413 enabled 414 - overlord/snapstate, overlord/ifacestate: move late security 415 profile removal to ifacestate 416 - snap-seccomp: fix seccomp test on ppc64el 417 - interfaces, interfaces/apparmor, overlord/snapstate: late removal 418 of snap-confine apparmor profiles 419 - cmd/snap-bootstrap/initramfs-mounts: move time forward using 420 assertion times 421 - tests: reset the system while preparing the test suite 422 - tests: fix snap-advise-command check for 429 423 - gadget: policy for gadget/kernel refreshes 424 - o/configstate: deal with no longer valid refresh.timer=managed 425 - interfaces/udisks2: allow locking /run/mount/utab for udisks 2.8.4 426 - cla-check: Use has-signed-canonical-cla GitHub Action 427 - tests: validation sets spread test 428 - tests: simplify the reset.sh logic by removing not needed command 429 - overlord/snapstate: make sure that snapd current symlink is not 430 removed during refresh 431 - tests/core/fsck-on-boot: unmount /run/mnt/snapd directly on uc20 432 - tests/lib/fde-setup-hook: also verify that fde-reveal-key key data 433 is base64 434 - o/devicestate: split off ensuring next boot goes to run mode into 435 new task 436 - tests: fix cgroup-tracking test 437 - boot: export helper for clearing tried system state, add tests 438 - cmd/snap: use less aggressive client timeouts in unit tests 439 - daemon: fix signing key validity timestamp in unit tests 440 - o/{device,hook}state: encode fde-setup-request key as base64 441 string 442 - packaging: drop dh-systemd from build-depends on ubuntu-16.04+ 443 - cmd/snap/pack: unhide the compression option 444 - boot: extend set try recovery system unit tests 445 - cmd/snap-bootstrap: refactor handling of ubuntu-save, do not use 446 secboot's implicit fallback 447 - o/configstate/configcore: add hdmi_timings to pi-config 448 - snapstate: reduce reRefreshRetryTimeout to 1/2 second 449 - interfaces/tee: add TEE/OPTEE interface 450 - o/snapstate: update validation sets assertions with auto-refresh 451 - vendor: update go-tpm2/secboot to latest version 452 - seed: ReadSystemEssentialAndBetterEarliestTime 453 - tests: replace while commands with the retry tool 454 - interfaces/builtin: update unit tests to use proper distro's 455 libexecdir 456 - tests: run the reset.sh helper and check test invariants while the 457 test is restored 458 - daemon: switch preexisting daemon_test tests to apiBaseSuite and 459 .req 460 - boot, o/devicestate: split makeBootable20 into two parts 461 - interfaces/docker-support: add autobind unix rules to docker- 462 support 463 - interfaces/apparmor: allow reading 464 /proc/sys/kernel/random/entropy_avail 465 - tests: use retry tool instead a loops 466 - tests/main/uc20-create-partitions: fix tests cleanup 467 - asserts: mode where Database only assumes cur time >= earliest 468 time 469 - daemon: validation sets/api tests cleanup 470 - tests: improve tests self documentation for nested test suite 471 - api: local assertion fallback when it's not in the store 472 - api: validation sets monitor mode 473 - tests: use fs-state tool in interfaces tests 474 - daemon: move out /v2/login|logout and errToResponse tests from 475 api_test.go 476 - boot: helper for inspecting the outcome of a recovery system try 477 - o/configstate, o/snapshotstate: fix handling of nil snap config on 478 snapshot restore 479 - tests: update documentation and checks for interfaces tests 480 - snap-seccomp: add new `close_range` syscall 481 - boot: revert #10009 482 - gadget: remove `device-tree{,-origin}` from gadget tests 483 - boot: simplify systems test setup 484 - image: write resolved-content from snap prepare-image 485 - boot: reseal the run key for all recovery systems, but recovery 486 keys only for the good ones 487 - interfaces/builtin/network-setup-{control,observe}: allow using 488 netplan directly 489 - tests: improve sections prepare and restore - part 1 490 - tests: update details on task.yaml files 491 - tests: revert os.query usage in spread.yaml 492 - boot: export bootAssetsMap as AssetsMap 493 - tests/lib/prepare: fix repacking of the UC20 kernel snap for with 494 ubuntu-core-initramfs 40 495 - client: protect against reading too much data from stdin 496 - tests: improve tests documentation - part 2 497 - boot: helper for setting up a try recover system 498 - tests: improve tests documentation - part 1 499 - tests/unit/go: use tests.session wrapper for running tests as a 500 user 501 - tests: improvements for snap-seccomp-syscalls 502 - gadget: simplify filterUpdate (thanks to Maciej) 503 - tests/lib/prepare.sh: use /etc/group and friends from the core20 504 snap 505 - tests: fix tumbleweed spread tests part 2 506 - tests: use new commands of os.query tool on tests 507 - o/snapshotstate: create snapshots directory on import 508 - tests/main/lxd/prep-snapd-in-lxd.sh: dump contents of sources.list 509 - packaging: drop 99-snapd.conf via dpkg-maintscript-helper 510 - osutil: add SetTime() w/ 32-bit and 64-bit implementations 511 - interfaces/wayland: rm Xwayland Xauth file access from wayland 512 slot 513 - packaging/ubuntu-16.04/rules: turn modules off explicitly 514 - gadget,devicestate: perform kernel asset update for $kernel: style 515 refs 516 - cmd/recovery: small fix for `snap recovery` tab output 517 - bootloader/lkenv: add recovery systems related variables 518 - tests: fix new tumbleweed image 519 - boot: fix typo, should be systems 520 - o/devicestate: test that users.create.automatic is configured 521 early 522 - asserts: use Fetcher in AddSequenceToUpdate 523 - daemon,o/c/configcore: introduce users.create.automatic 524 - client, o/servicestate: expose enabled state of user daemons 525 - boot: helper for checking and marking tried recovery system status 526 from initramfs 527 - asserts: pool changes for validation-sets (#9930) 528 - daemon: move the last api_foo_test.go to daemon_test 529 - asserts: include the assertion timestamp in error message when 530 outside of signing key validity range 531 - ovelord/snapshotstate: keep a few of the last line tar prints 532 before failing 533 - gadget/many: rm, delay sector size + structure size checks to 534 runtime 535 - cmd/snap-bootstrap/triggerwatch: fix returning wrong errors 536 - interfaces: add allegro-vcu and media-control interfaces 537 - interfaces: opengl: add Xilinx zocl bits 538 - mkversion: check that version from changelog is set before 539 overriding the output version 540 - many: fix new ineffassign warnings 541 - .github/workflows/labeler.yaml: try work-around to not sync 542 labels 543 - cmd/snap, boot: add debug set-boot-vars 544 - interfaces: allow reading the Xauthority file KDE Plasma writes 545 for Wayland sessions 546 - tests/main/snap-repair: test running repair assertion w/ fakestore 547 - tests: disable lxd tests for 21.04 until the lxd images are 548 published for the system 549 - tests/regression/lp-1910456: cleanup the /snap symlink when done 550 - daemon: move single snap querying and ops to api_snaps.go 551 - tests: fix for preseed and dbus tests on 21.04 552 - overlord/snapshotstate: include the last message printed by tar in 553 the error 554 - interfaces/system-observe: Allow reading /proc/zoneinfo 555 - interfaces: remove apparmor downgrade feature 556 - snap: fix unit tests on Go 1.16 557 - spread: disable Go modules support in environment 558 - tests: use new path to find kernel.img in uc20 for arm devices 559 - tests: find files before using cat command when checking broadcom- 560 asic-control interface 561 - boot: introduce good recovery systems, provide compatibility 562 handling 563 - overlord: add manager gadget refresh test 564 - tests/lib/fakestore: support repair assertions too 565 - github: temporarily disable action labeler due to issues with 566 labels being removed 567 - o/devicestate,many: introduce DeviceManager.preloadGadget for 568 EarlyConfig 569 - tests: enable ubuntu 21.04 for spread tests 570 - snap: provide a useful error message if gdbserver is not installed 571 - data/selinux: allow system dbus to watch /var/lib/snapd/dbus-1 572 - tests/lib/prepare.sh: split reflash.sh into two parts 573 - packaging/opensuse: sync with openSUSE packaging 574 - packaging: disable Go modules in snapd.mk 575 - snap: add deprecation noticed to "snap run --gdb" 576 - daemon: add API for checking and installing available theme snaps 577 - tests: using labeler action to add automatically a label to run 578 nested tests 579 - gadget: improve error handling around resolving content sources 580 - asserts: repeat the authority cross-check in CheckSignature as 581 well 582 - interfaces/seccomp/template.go: allow copy_file_range 583 - o/snapstate/check_snap.go: add support for many subversions in 584 assumes snapdX.. 585 - daemon: move postSnap and inst.dispatch tests to api_snaps_test.go 586 - wrappers: use proper paths for mocked mount units in tests 587 - snap: rename gdbserver option to `snap run --gdbserver` 588 - store: support validation sets with fetch-assertions action 589 - snap-confine.apparmor.in: support tmp and log dirs on Yocto/Poky 590 - packaging/fedora: sync with downstream packaging in Fedora 591 - many: add Delegate=true to generated systemd units for special 592 interfaces (master) 593 - boot: use a common helper for mocking boot assets in cache 594 - api: validate snaps against validation set assert from the store 595 - wrappers: don't generate an [Install] section for timer or dbus 596 activated services 597 - tests/nested/core20/boot-config-update: skip when snapd was not 598 built with test features 599 - o/configstate,o/devicestate: introduce devicestate.EarlyConfig 600 implemented by configstate.EarlyConfig 601 - cmd/snap-bootstrap/initramfs-mounts: fix typo in func name 602 - interfaces/builtin: mock distribution in fontconfig cache unit 603 tests 604 - tests/lib/prepare.sh: add another console= to the reflash magic 605 grub entry 606 - overlord/servicestate: expose dbus activators of a service 607 - desktop/notification: test against a real session bus and 608 notification server implementation 609 - cmd/snap-bootstrap/initramfs-mounts: write realistic modeenv for 610 recover+install 611 - HACKING.md: explain how to run UC20 spread tests with QEMU 612 - asserts: introduce AtSequence 613 - overlord/devicestate: task for updating boot configs, spread test 614 - gadget: fix documentation/typos 615 - gadget: cleanup MountedFilesystem{Writer,Updater} 616 - gadget: use ResolvedSource in MountedFilesystemWriter 617 - snap/info.go: add doc-comment for SortServices 618 - interfaces: add an optional mount-host-font-cache plug attribute 619 to the desktop interface 620 - osutil: skip TestReadBuildGo inside sbuild 621 - o/hookstate/ctlcmd: add optional --pid and --apparmor-label 622 arguments to "snapctl is-connected" 623 - data/env/snapd: use quoting in case PATH contains spaces 624 - boot: do not observe successful boot assets if not in run mode 625 - tests: fix umount for snapd snap on fsck-on-boot testumount: 626 /run/mnt/ubuntu-seed/systems/*/snaps/snapd_*.snap: no mount 627 - misc: little tweaks 628 - snap/info.go: ignore unknown daemons in SortSnapServices 629 - devicestate: keep log from install-mode on installed system 630 - seed: add LoadEssentialMeta to seed16 and allow all of its 631 implementations to be called multiple times 632 - cmd/snap-preseed: initialize snap.SanitizePlugsSlots for gadget in 633 seeds 634 - tests/core/uc20-recovery: move recover mode helpers to generic 635 testslib script 636 - interfaces/fwupd: allow any distros to access fw files via fwupd 637 - store: method for fetching validation set assertion 638 - store: switch to v2/assertions api 639 - gadget: add new ResolvedContent and populate from LayoutVolume() 640 - spread: use full format when listing processes 641 - osutil/many: make all test pkgs osutil_test instead of "osutil" 642 - tests/unit/go: drop unused environment variables, skip coverage 643 - OpenGL interface: Support more Tegra libs 644 - gadget,overlord: pass kernelRoot to install.Run() 645 - tests: run unit tests in Focal instead of Xenial 646 - interfaces/browser-support: allow sched_setaffinity with browser- 647 sandbox: true 648 - daemon: move query /snaps/<name> tests to api_snaps_test.go 649 - cmd/snap-repair/runner.go: add SNAP_SYSTEM_MODE to env of repair 650 runner 651 - systemd/systemd.go: support journald JSON messages with arrays for 652 values 653 - cmd: make string/error code more robust against errno leaking 654 - github, run-checks: do not collect coverage data on subsequent 655 test runs 656 - boot: boot config update & reseal 657 - o/snapshotstate: handle conflicts between snapshot forget, export 658 and import 659 - osutil/stat.go: add RegularFileExists 660 - cmd/snapd-generator: don't create mount overrides for snap-try 661 snaps inside lxc 662 - gadget/gadget.go: rename ubuntu-* to system-* in doc-comment 663 - tests: use 6 spread workers for centos8 664 - bootloader/assets: support injecting bootloader assets in testing 665 builds of snapd 666 - gadget: enable multi-volume uc20 gadgets in 667 LaidOutSystemVolumeFromGadget; rename too 668 - overlord/devicestate, sysconfig: do nothing when cloud-init is not 669 present 670 - cmd/snap-repair: filter repair assertions based on bases + modes 671 - snap-confine: make host /etc/ssl available for snaps on classic 672 673 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 24 Apr 2021 12:17:45 +0200 674 675 snapd (2.49.2-1) unstable; urgency=medium 676 677 * New upstream release, LP: #1915248 678 - interfaces/tee: add TEE/OPTEE interface 679 - o/configstate/configcore: add hdmi_timings to pi-config 680 - interfaces/udisks2: allow locking /run/mount/utab for udisks 2.8.4 681 - snap-seccomp: fix seccomp test on ppc64el 682 - interfaces{,/apparmor}, overlord/snapstate: 683 late removal of snap-confine apparmor profiles 684 - overlord/snapstate, wrappers: add dependency on usr-lib- 685 snapd.mount for services on core with snapd snap 686 - o/configstate: deal with no longer valid refresh.timer=managed 687 - overlord/snapstate: make sure that snapd current symlink is not 688 removed during refresh 689 - packaging: drop dh-systemd from build-depends on ubuntu-16.04+ 690 - o/{device,hook}state: encode fde-setup-request key as base64 691 - snapstate: reduce reRefreshRetryTimeout to 1/2 second 692 - tests/main/uc20-create-partitions: fix tests cleanup 693 - o/configstate, o/snapshotstate: fix handling of nil snap config on 694 snapshot restore 695 - snap-seccomp: add new `close_range` syscall 696 697 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 26 Mar 2021 16:49:46 +0100 698 699 snapd (2.49.1-1) unstable; urgency=medium 700 701 * New upstream release, LP: #1915248 702 - tests: turn modules off explicitly in spread go unti test 703 - o/snapshotstate: create snapshots directory on import 704 - cmd/snap-bootstrap/triggerwatch: fix returning wrong errors 705 - interfaces: add allegro-vcu and media-control interfaces 706 - interfaces: opengl: add Xilinx zocl bits 707 - many: fix new ineffassign warnings 708 - interfaces/seccomp/template.go: allow copy_file_range 709 - interfaces: allow reading the Xauthority file KDE Plasma writes 710 for Wayland sessions 711 - data/selinux: allow system dbus to watch 712 /var/lib/snapd/dbus-1 713 - Remove apparmor downgrade feature 714 - Support tmp and log dirs on Yocto/Poky 715 716 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 08 Mar 2021 10:47:05 +0100 717 718 snapd (2.49-1) unstable; urgency=medium 719 720 * New upstream release, LP: #1915248 721 - many: add Delegate=true to generated systemd units for special 722 interfaces 723 - cmd/snap-bootstrap: rename ModeenvFromModel to 724 EphemeralModeenvForModel 725 - cmd/snap-bootstrap/initramfs-mounts: write realistic modeenv for 726 recover+install 727 - osutil: skip TestReadBuildGo inside sbuild 728 - tests: fix umount for snapd snap on fsck-on-boot test 729 - snap/info_test.go: add unit test cases for bug 730 - tests/main/services-after-before: add regression spread test 731 - snap/info.go: ignore unknown daemons in SortSnapServices 732 - cmd/snap-preseed: initialize snap.SanitizePlugsSlots for gadget in 733 seeds 734 - OpenGL interface: Support more Tegra libs 735 - interfaces/browser-support: allow sched_setaffinity with browser- 736 sandbox: true 737 - cmd: make string/error code more robust against errno leaking 738 - o/snapshotstate: handle conflicts between snapshot forget, export 739 and import 740 - cmd/snapd-generator: don't create mount overrides for snap-try 741 snaps inside lxc 742 - tests: update test pkg for fedora and centos 743 - gadget: pass sector size in to mkfs family of functions, use to 744 select block sz 745 - o/snapshotstate: fix returning of snap names when duplicated 746 snapshot is detected 747 - tests/main/snap-network-errors: skip flushing dns cache on 748 centos-7 749 - interfaces/builtin: Allow DBus property access on 750 org.freedesktop.Notifications 751 - cgroup-support.c: fix link to CGROUP DELEGATION 752 - osutil: update go-udev package 753 - packaging: fix arch-indep build on debian-sid 754 - {,sec}boot: pass "key-name" to the FDE hooks 755 - asserts: sort by revision with Sort interface 756 - gadget: add gadget.ResolveContentPaths() 757 - cmd/snap-repair: save base snap and mode in device info; other 758 misc cleanups 759 - tests: cleanup the run-checks script 760 - asserts: snapasserts method to validate installed snaps against 761 validation sets 762 - tests: normalize test tools - part 1 763 - snapshotstate: detect duplicated snapshot imports 764 - interfaces/builtin: fix unit test expecting snap-device-helper at 765 /usr/lib/snapd 766 - tests: apply workaround done for snap-advise-command to apt-hooks 767 test 768 - tests: skip main part of snap-advise test if 429 error is 769 encountered 770 - many: clarify gadget role-usage consistency checks for UC16/18 vs 771 UC20 772 - sandbox/cgroup, tess/main: fix unit tests on v2 system, disable 773 broken tests on sid 774 - interfaces/builtin: more drive by fixes, import ordering, removing 775 dead code 776 - tests: skip interfaces-openvswitch spread test on debian sid 777 - interfaces/apparmor: drive by comment fix 778 - cmd/libsnap-confine-private/cleanup-funcs-test.c: rm g_autofree 779 usage 780 - cmd/libsnap-confine-private: make unit tests execute happily in a 781 container 782 - interfaces, wrappers: misc comment fixes, etc. 783 - asserts/repair.go: add "bases" and "modes" support to the repair 784 assertion 785 - interfaces/opengl: allow RPi MMAL video decoding 786 - snap: skip help output tests for go-flags v1.4.0 787 - gadget: add validation for "$kernel:ref" style content 788 - packaging/deb, tests/main/lxd-postrm-purge: fix purge inside 789 containers 790 - spdx: update to SPDX license list version: 3.11 2020-11-25 791 - tests: improve hotplug test setup on classic 792 - tests: update check to verify is the current system is arm 793 - tests: use os-query tool to check debian, trusty and tumbleweed 794 - daemon: start moving implementation to api_snaps.go 795 - tests/main/snap-validate-basic: disable test on Fedora due to go- 796 flags panics 797 - tests: fix library path used for tests.pkgs 798 - tests/main/cohorts: replace yq with a Python snippet 799 - run-checks: update to match new argument syntax of ineffassign 800 - tests: use apiBaseSuite for snapshots tests, fix import endpoint 801 path 802 - many: separate consistency/content validation into 803 gadget.Validate|Content 804 - o/{device,snap}state: enable devmode snaps with dangerous model 805 assertions 806 secboot: add test for when systemd-run does not honor 807 RuntimeMaxSec 808 - secboot: add workaround for snapcore/core-initrd issue #13 809 - devicestate: log checkEncryption errors via logger.Noticef 810 - o/daemon: validation sets api and basic spread test 811 - gadget: move BuildPartitionList to install and make it unexported 812 - tests: add nested spread end-to-end test for fde-hooks 813 - devicestate: implement checkFDEFeatures() 814 - boot: tweak resealing with fde-setup hooks 815 - tests: add os query commands for subsystems and architectures 816 - o/snapshotstate: don't set auto flag in the snapshot file 817 - tests: use os.query tool instead of comparing the system var 818 - testutil: use the original environment when calling shellcheck 819 - sysconfig/cloudinit.go: add "manual_cache_clean: true" to cloud- 820 init restrict file 821 - gadget,o/devicestate,tests: drop EffectiveFilesystemLabel and 822 instead set the implicit labels when loading the yaml 823 - secboot: add new LockSealedKeys() that uses either TPM/fde-reveal- 824 key 825 - gadget/quantity: introduce Offset, start using it for offset 826 related fields in the gadget 827 - gadget: use "sealed-keys" to determine what method to use for 828 reseal 829 - tests/main/fake-netplan-apply: disable test on xenial for now 830 - daemon: start splitting snaps op tests out of api_test.go 831 - testutil: make DBusTest use a custom bus configuration file 832 - tests: replace pkgdb.sh (library) with tests.pkgs (program) 833 - gadget: prepare gadget kernel refs (0/N) 834 - interfaces/builtin/docker-support: allow /run/containerd/s/... 835 - cmd/snap-preseed: reset run inhibit locks on --reset. 836 - boot: add sealKeyToModeenvUsingFdeSetupHook() 837 - daemon: reorg snap.go and split out sections and icons support 838 from api.go 839 - sandbox/seccomp: use snap-seccomp's stdout for getting version 840 info 841 - daemon: split find support to its own api_*.go files and move some 842 helpers 843 - tests: move snapstate config defaults tests to a separate file. 844 - bootloader/{lk,lkenv}: followups from #9695 845 - daemon: actually move APIBaseSuite to daemon_test.apiBaseSuite 846 - gadget,o/devicestate: set implicit values for schema and role 847 directly instead of relying on Effective* accessors 848 - daemon: split aliases support to its own api_*.go files 849 - gadget: start separating rule/convention validation from basic 850 soundness 851 - cmd/snap-update-ns: add better unit test for overname sorting 852 - secboot: use `fde-reveal-key` if available to unseal key 853 - tests: fix lp-1899664 test when snapd_x1 is not installed in the 854 system 855 - tests: fix the scenario when the "$SRC".orig file does not exist 856 - cmd/snap-update-ns: fix sorting of overname mount entries wrt 857 other entries 858 - devicestate: add runFDESetupHook() helper 859 - bootloader/lk: add support for UC20 lk bootloader with V2 lkenv 860 structs 861 - daemon: split unsupported buy implementation to its own api_*.go 862 files 863 - tests: download timeout spread test 864 - gadget,o/devicestate: hybrid 18->20 ready volume setups should be 865 valid 866 - o/devicestate: save model with serial in the device save db 867 - bootloader: add check for prepare-image time and more tests 868 validating options 869 - interfaces/builtin/log_observe.go: allow controlling apparmor 870 audit levels 871 - hookstate: refactor around EphemeralRunHook 872 - cmd/snap: implement 'snap validate' command 873 - secboot,devicestate: add scaffoling for "fde-reveal-key" support 874 - boot: observe successful command line update, provide a default 875 - tests: New queries for the os tools 876 - bootloader/lkenv: specify backup file as arg to NewEnv(), use "" 877 as path+"bak" 878 - osutil/disks: add FindMatchingPartitionUUIDWithPartLabel to Disk 879 iface 880 - daemon: split out snapctl support and snap configuration support 881 to their own api_*.go files 882 - snapshotstate: improve handling of multiple errors 883 - tests: sign new nested-18|20* models to allow for generic serials 884 - bootloader: remove installableBootloader interface and methods 885 - seed: cleanup/drop some no longer valid TODOS, clarify some other 886 points 887 - boot: set kernel command line in modeenv during install 888 - many: rename disks.FindMatching... to FindMatching...WithFsLabel 889 and err type 890 - cmd/snap: suppress a case of spurious stdout logging from tests 891 - hookstate: add new HookManager.EphemeralRunHook() 892 - daemon: move some more api tests from daemon to daemon_test 893 - daemon: split apps and logs endpoints to api_apps.go and tests 894 - interfaces/utf: Add Ledger to U2F devices 895 - seed/seedwriter: consider modes when checking for deps 896 availability 897 - o/devicestate,daemon: fix reboot system action to not require a 898 system label 899 - cmd/snap-repair,store: increase initial retry time intervals, 900 stalling TODOs 901 - daemon: split interfacesCmd to api_interfaces.go 902 - github: run nested suite when commit is pushed to release branch 903 - client: reduce again the /v2/system-info timeout 904 - tests: reset fakestore unit status 905 - update-pot: fix typo in plural keyword spec 906 - tests: remove workarounds that add "ubuntu-save" if missing 907 - tests: add unit test for auto-refresh with validate-snap failure 908 - osutil: add helper for getting the kernel command line 909 - tests/main/uc20-create-partitions: verify ubuntu-save encryption 910 keys, tweak not MATCH 911 - boot: add kernel command lines to the modeenv file 912 - spread: bump delta ref, tweak repacking to make smaller delta 913 archives 914 - bootloader/lkenv: add v2 struct + support using it 915 - snapshotstate: add cleanup of abandonded snapshot imports 916 - tests: fix uc20-create-parition-* tests for updated gadget 917 - daemon: split out /v2/interfaces tests to api_interfaces_test.go 918 - hookstate: implement snapctl fde-setup-{request,result} 919 - wrappers, o/devicestate: remove EnableSnapServices 920 - tests: enable nested on 20.10 921 - daemon: simplify test helpers Get|PostReq into Req 922 - daemon: move general api to api_general*.go 923 - devicestate: make checkEncryption fde-setup hook aware 924 - client/snapctl, store: fix typos 925 - tests/main/lxd/prep-snapd-in-lxd.sh: wait for valid apt files 926 before doing apt ops 927 - cmd/snap-bootstrap: update model cross-check considerations 928 - client,snapctl: add naive support for "stdin" 929 - many: add new "install-mode: disable" option 930 - osutil/disks: allow building on mac os 931 - data/selinux: update the policy to allow operations on non-tmpfs 932 /tmp 933 - boot: add helper for generating candidate kernel lines for 934 recovery system 935 - wrappers: generate D-Bus service activation files 936 - bootloader/many: rm ConfigFile, add Present for indicating 937 presence of bloader 938 - osutil/disks: allow mocking DiskFromDeviceName 939 - daemon: start cleaning up api tests 940 - packaging/arch: sync with AUR packaging 941 - bootloader: indicate when boot config was updated 942 - tests: Fix snap-debug-bootvars test to make it work on arm devices 943 and core18 944 - tests/nested/manual/core20-save: verify handling of ubuntu-save 945 with different system variants 946 - snap: use the boot-base for kernel hooks 947 - devicestate: support "storage-safety" defaults during install 948 - bootloader/lkenv: mv v1 to separate file, 949 include/lk/snappy_boot_v1.h: little fixups 950 - interfaces/fpga: add fpga interface 951 - store: download timeout 952 - vendor: update secboot repo to avoid including secboot.test binary 953 - osutil: add KernelCommandLineKeyValue 954 - gadget/gadget.go: allow system-recovery-{image,select} as roles in 955 gadget.yaml 956 - devicestate: implement boot.HasFDESetupHook 957 - osutil/disks: add DiskFromName to get a disk using a udev name 958 - usersession/agent: have session agent connect to the D-Bus session 959 bus 960 - o/servicestate: preserve order of services on snap restart 961 - o/servicestate: unlock state before calling wrappers in 962 doServiceControl 963 - spread: disable unattended-upgrades on ubuntu 964 - tests: testing new fedora 33 image 965 - tests: fix fsck on boot on arm devices 966 - tests: skip boot state test on arm devices 967 - tests: updated the systems to run prepare-image-grub test 968 - interfaces/raw_usb: allow read access to /proc/tty/drivers 969 - tests: unmount /boot/efi in fsck-on-boot test 970 - strutil/shlex,osutil/udev/netlink: minimally import go-check 971 - tests: fix basic20 test on arm devices 972 - seed: make a shared seed system label validation helper 973 - tests/many: enable some uc20 tests, delete old unneeded tests or 974 TODOs 975 - boot/makebootable.go: set snapd_recovery_mode=install at image- 976 build time 977 - tests: migrate test from boot.sh helper to boot-state tool 978 - asserts: implement "storage-safety" in uc20 model assertion 979 - bootloader: use ForGadget when installing boot config 980 - spread: UC20 no longer needs 2GB of mem 981 - cmd/snap-confine: implement snap-device-helper internally 982 - bootloader/grub: replace old reference to Managed...Blr... with 983 Trusted...Blr... 984 - cmd/snap-bootstrap: add readme for snap-bootstrap + real state 985 diagram 986 - interfaces: fix greengrass attr namingThe flavor attribute names 987 are now as follows: 988 - tests/lib/nested: poke the API to get the snap revisions 989 - tests: compare options of mount units created by snapd and snapd- 990 generator 991 - o/snapstate,servicestate: use service-control task for service 992 actions 993 - sandbox: track applications unconditionally 994 - interfaces/greengrass-support: add additional "process" flavor for 995 1.11 update 996 - cmd/snap-bootstrap, secboot, tests: misc cleanups, add spread test 997 998 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 10 Feb 2021 10:47:17 +0100 999 1000 snapd (2.48.2-1) unstable; urgency=medium 1001 1002 * New upstream release, LP: #1906690 1003 - tests: sign new nested-18|20* models to allow for generic serials 1004 - secboot: add extra paranoia when waiting for that fde-reveal-key 1005 - tests: backport netplan workarounds from #9785 1006 - secboot: add workaround for snapcore/core-initrd issue #13 1007 - devicestate: log checkEncryption errors via logger.Noticef 1008 - tests: add nested spread end-to-end test for fde-hooks 1009 - devicestate: implement checkFDEFeatures() 1010 - boot: tweak resealing with fde-setup hooks 1011 - sysconfig/cloudinit.go: add "manual_cache_clean: true" to cloud- 1012 init restrict file 1013 - secboot: add new LockSealedKeys() that uses either TPM or 1014 fde-reveal-key 1015 - gadget: use "sealed-keys" to determine what method to use for 1016 reseal 1017 - boot: add sealKeyToModeenvUsingFdeSetupHook() 1018 - secboot: use `fde-reveal-key` if available to unseal key 1019 - cmd/snap-update-ns: fix sorting of overname mount entries wrt 1020 other entries 1021 - o/devicestate: save model with serial in the device save db 1022 - devicestate: add runFDESetupHook() helper 1023 - secboot,devicestate: add scaffoling for "fde-reveal-key" support 1024 - hookstate: add new HookManager.EphemeralRunHook() 1025 - update-pot: fix typo in plural keyword spec 1026 - store,cmd/snap-repair: increase initial expontential time 1027 intervals 1028 - o/devicestate,daemon: fix reboot system action to not require a 1029 system label 1030 - github: run nested suite when commit is pushed to release branch 1031 - tests: reset fakestore unit status 1032 - tests: fix uc20-create-parition-* tests for updated gadget 1033 - hookstate: implement snapctl fde-setup-{request,result} 1034 - devicestate: make checkEncryption fde-setup hook aware 1035 - client,snapctl: add naive support for "stdin" 1036 - devicestate: support "storage-safety" defaults during install 1037 - snap: use the boot-base for kernel hooks 1038 - vendor: update secboot repo to avoid including secboot.test binary 1039 1040 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 15 Dec 2020 20:21:44 +0100 1041 1042 snapd (2.48.1-1) unstable; urgency=medium 1043 1044 * New upstream release, LP: #1906690 1045 - gadget: disable ubuntu-boot role validation check 1046 1047 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Dec 2020 17:43:30 +0100 1048 1049 snapd (2.48-1) unstable; urgency=medium 1050 1051 * New upstream release, LP: #1904098 1052 - osutil: add KernelCommandLineKeyValue 1053 - devicestate: implement boot.HasFDESetupHook 1054 - boot/makebootable.go: set snapd_recovery_mode=install at image- 1055 build time 1056 - bootloader: use ForGadget when installing boot config 1057 - interfaces/raw_usb: allow read access to /proc/tty/drivers 1058 - boot: add scaffolding for "fde-setup" hook support for sealing 1059 - tests: fix basic20 test on arm devices 1060 - seed: make a shared seed system label validation helper 1061 - snap: add new "fde-setup" hooktype 1062 - cmd/snap-bootstrap, secboot, tests: misc cleanups, add spread test 1063 - secboot,cmd/snap-bootstrap: fix degraded mode cases with better 1064 device handling 1065 - boot,dirs,c/snap-bootstrap: avoid InstallHost* at the cost of some 1066 messiness 1067 - tests/nested/manual/refresh-revert-fundamentals: temporarily 1068 disable secure boot 1069 - snap-bootstrap,secboot: call BlockPCRProtectionPolicies in all 1070 boot modes 1071 - many: address degraded recover mode feedback, cleanups 1072 - tests: Use systemd-run on tests part2 1073 - tests: set the opensuse tumbleweed system as manual in spread.yaml 1074 - secboot: call BlockPCRProtectionPolicies even if the TPM is 1075 disabled 1076 - vendor: update to current secboot 1077 - cmd/snap-bootstrap,o/devicestate: use a secret to pair data and 1078 save 1079 - spread.yaml: increase number of workers on 20.10 1080 - snap: add new `snap recovery --show-keys` option 1081 - tests: minor test tweaks suggested in the review of 9607 1082 - snapd-generator: set standard snapfuse options when generating 1083 units for containers 1084 - tests: enable lxd test on ubuntu-core-20 and 16.04-32 1085 - interfaces: share /tmp/.X11-unix/ from host or provider 1086 - tests: enable main lxd test on 20.10 1087 - cmd/s-b/initramfs-mounts: refactor recover mode to implement 1088 degraded mode 1089 - gadget/install: add progress logging 1090 - packaging: keep secboot/encrypt_dummy.go in debian 1091 - interfaces/udev: use distro specific path to snap-device-helper 1092 - o/devistate: fix chaining of tasks related to regular snaps when 1093 preseeding 1094 - gadget, overlord/devicestate: validate that system supports 1095 encrypted data before install 1096 - interfaces/fwupd: enforce the confined fwupd to align Ubuntu Core 1097 ESP layout 1098 - many: add /v2/system-recovery-keys API and client 1099 - secboot, many: return UnlockMethod from Unlock* methods for future 1100 usage 1101 - many: mv keys to ubuntu-boot, move model file, rename keyring 1102 prefix for secboot 1103 - tests: using systemd-run instead of manually create a systemd unit 1104 - part 1 1105 - secboot, cmd/snap-bootstrap: enable or disable activation with 1106 recovery key 1107 - secboot: refactor Unlock...IfEncrypted to take keyfile + check 1108 disks first 1109 - secboot: add LockTPMSealedKeys() to lock access to keys 1110 independently 1111 - gadget: correct sfdisk arguments 1112 - bootloader/assets/grub: adjust fwsetup menuentry label 1113 - tests: new boot state tool 1114 - spread: use the official image for Ubuntu 20.10, no longer an 1115 unstable system 1116 - tests/lib/nested: enable snapd logging to console for core18 1117 - osutil/disks: re-implement partition searching for disk w/ non- 1118 adjacent parts 1119 - tests: using the nested-state tool in nested tests 1120 - many: seal a fallback object to the recovery boot chain 1121 - gadget, gadget/install: move helpers to install package, refactor 1122 unit tests 1123 - dirs: add "gentoo" to altDirDistros 1124 - update-pot: include file locations in translation template, and 1125 extract strings from desktop files 1126 - gadget/many: drop usage of gpt attr 59 for indicating creation of 1127 partitions 1128 - gadget/quantity: tweak test name 1129 - snap: fix failing unittest for quantity.FormatDuration() 1130 - gadget/quantity: introduce a new package that captures quantities 1131 - o/devicestate,a/sysdb: make a backup of the device serial to save 1132 - tests: fix rare interaction of tests.session and specific tests 1133 - features: enable classic-preserves-xdg-runtime-dir 1134 - tests/nested/core20/save: check the bind mount and size bump 1135 - o/devicetate,dirs: keep device keys in ubuntu-save/save for UC20 1136 - tests: rename hasHooks to hasInterfaceHooks in the ifacestate 1137 tests 1138 - o/devicestate: unit test tweaks 1139 - boot: store the TPM{PolicyAuthKey,LockoutAuth}File in ubuntu-save 1140 - testutil, cmd/snap/version: fix misc little errors 1141 - overlord/devicestate: bind mount ubuntu-save under 1142 /var/lib/snapd/save on startup 1143 - gadget/internal: tune ext4 setting for smaller filesystems 1144 - tests/nested/core20/save: a test that verifies ubuntu-save is 1145 present and set up 1146 - tests: update google sru backend to support groovy 1147 - o/ifacestate: handle interface hooks when preseeding 1148 - tests: re-enable the apt hooks test 1149 - interfaces,snap: use correct type: {os,snapd} for test data 1150 - secboot: set metadata and keyslots sizes when formatting LUKS2 1151 volumes 1152 - tests: improve uc20-create-partitions-reinstall test 1153 - client, daemon, cmd/snap: cleanups from #9489 + more unit tests 1154 - cmd/snap-bootstrap: mount ubuntu-save during boot if present 1155 - secboot: fix doc comment on helper for unlocking volume with key 1156 - tests: add spread test for refreshing from an old snapd and core18 1157 - o/snapstate: generate snapd snap wrappers again after restart on 1158 refresh 1159 - secboot: version bump, unlock volume with key 1160 - tests/snap-advise-command: re-enable test 1161 - cmd/snap, snapmgr, tests: cleanups after #9418 1162 - interfaces: deny connected x11 plugs access to ICE 1163 - daemon,client: write and read a maintenance.json file for when 1164 snapd is shut down 1165 - many: update to secboot v1 (part 1) 1166 - osutil/disks/mockdisk: panic if same mountpoint shows up again 1167 with diff opts 1168 - tests/nested/core20/gadget,kernel-reseal: add sanity checks to the 1169 reseal tests 1170 - many: implement snap routine console-conf-start for synchronizing 1171 auto-refreshes 1172 - dirs, boot: add ubuntu-save directories and related locations 1173 - usersession: fix typo in test name 1174 - overlord/snapstate: refactor ihibitRefresh 1175 - overlord/snapstate: stop warning about inhibited refreshes 1176 - cmd/snap: do not hardcode snapshot age value 1177 - overlord,usersession: initial notifications of pending refreshes 1178 - tests: add a unit test for UpdateMany where a single snap fails 1179 - o/snapstate/catalogrefresh.go: don't refresh catalog in install 1180 mode uc20 1181 - tests: also check snapst.Current in undo-unlink tests 1182 - tests: new nested tool 1183 - o/snapstate: implement undo handler for unlink-snap 1184 - tests: clean systems.sh helper and migrate last set of tests 1185 - tests: moving the lib section from systems.sh helper to os.query 1186 tool 1187 - tests/uc20-create-partitions: don't check for grub.cfg 1188 - packaging: make sure that static binaries are indeed static, fix 1189 openSUSE 1190 - many: have install return encryption keys for data and save, 1191 improve tests 1192 - overlord: add link participant for linkage transitions 1193 - tests: lxd smoke test 1194 - tests: add tests for fsck; cmd/s-b/initramfs-mounts: fsck ubuntu- 1195 seed too 1196 - tests: moving main suite from systems.sh to os.query tool 1197 - tests: moving the core test suite from systems.sh to os.query tool 1198 - cmd/snap-confine: mask host's apparmor config 1199 - o/snapstate: move setting updated SnapState after error paths 1200 - tests: add value to INSTANCE_KEY/regular 1201 - spread, tests: tweaks for openSUSE 1202 - cmd/snap-confine: update path to snap-device-helper in AppArmor 1203 profile 1204 - tests: new os.query tool 1205 - overlord/snapshotstate/backend: specify tar format for snapshots 1206 - tests/nested/manual/minimal-smoke: use 384MB of RAM for nested 1207 UC20 1208 - client,daemon,snap: auto-import does not error on managed devices 1209 - interfaces: PTP hardware clock interface 1210 - tests: use tests.backup tool 1211 - many: verify that unit tests work with nosecboot tag and without 1212 secboot package 1213 - wrappers: do not error out on read-only /etc/dbus-1/session.d 1214 filesystem on core18 1215 - snapshots: import of a snapshot set 1216 - tests: more output for sbuild test 1217 - o/snapstate: re-order remove tasks for individual snap revisions 1218 to remove current last 1219 - boot: skip some unit tests when running as root 1220 - o/assertstate: introduce 1221 ValidationTrackingKey/ValidationSetTracking and basic methods 1222 - many: allow ignoring running apps for specific request 1223 - tests: allow the searching test to fail under load 1224 - overlord/snapstate: inhibit startup while unlinked 1225 - seed/seedwriter/writer.go: check DevModeConfinement for dangerous 1226 features 1227 - tests/main/sudo-env: snap bin is available on Fedora 1228 - boot, overlord/devicestate: list trusted and managed assets 1229 upfront 1230 - gadget, gadget/install: support for ubuntu-save, create one during 1231 install if needed 1232 - spread-shellcheck: temporary workaround for deadlock, drop 1233 unnecessary test 1234 - snap: support different exit-code in the snap command 1235 - logger: use strutil.KernelCommandLineSplit in 1236 debugEnabledOnKernelCmdline 1237 - logger: fix snapd.debug=1 parsing 1238 - overlord: increase refresh postpone limit to 14 days 1239 - spread-shellcheck: use single thread pool executor 1240 - gadget/install,secboot: add debug messages 1241 - spread-shellcheck: speed up spread-shellcheck even more 1242 - spread-shellcheck: process paths from arguments in parallel 1243 - tests: tweak error from tests.cleanup 1244 - spread: remove workaround for openSUSE go issue 1245 - o/configstate: create /etc/sysctl.d when applying early config 1246 defaults 1247 - tests: new tests.backup tool 1248 - tests: add tests.cleanup pop sub-command 1249 - tests: migration of the main suite to snaps-state tool part 6 1250 - tests: fix journal-state test 1251 - cmd/snap-bootstrap/initramfs-mounts: split off new helper for misc 1252 recover files 1253 - cmd/snap-bootstrap/initramfs-mounts: also copy /etc/machine-id for 1254 same IP addr 1255 - packaging/{ubuntu,debian}: add liblzo2-dev as a dependency for 1256 building snapd 1257 - boot, gadget, bootloader: observer preserves managed bootloader 1258 configs 1259 - tests/nested/manual: add uc20 grade signed cloud-init test 1260 - o/snapstate/autorefresh.go: eliminate race when launching 1261 autorefresh 1262 - daemon,snapshotstate: do not return "size" from Import() 1263 - daemon: limit reading from snapshot import to Content-Length 1264 - many: set/expect Content-Length header when importing snapshots 1265 - github: switch from ::set-env command to environment file 1266 - tests: migration of the main suite to snaps-state tool part 5 1267 - client: cleanup the Client.raw* and Client.do* method families 1268 - tests: moving main suite to snaps-state tool part 4 1269 - client,daemon,snap: use constant for snapshot content-type 1270 - many: fix typos and repeated "the" 1271 - secboot: fix tpm connection leak when it's not enabled 1272 - many: scaffolding for snapshots import API 1273 - run-checks: run spread-shellcheck too 1274 - interfaces: update network-manager interface to allow 1275 ObjectManager access from unconfined clients 1276 - tests: move core and regression suites to snaps-state tool 1277 - tests: moving interfaces tests to snaps-state tool 1278 - gadget: preserve files when indicated by content change observer 1279 - tests: moving smoke test suite and some tests from main suite to 1280 snaps-state tool 1281 - o/snapshotstate: pass set id to backend.Open, update tests 1282 - asserts/snapasserts: introduce ValidationSets 1283 - o/snapshotstate: improve allocation of new set IDs 1284 - boot: look at the gadget for run mode bootloader when making the 1285 system bootable 1286 - cmd/snap: allow snap help vs --all to diverge purposefully 1287 - usersession/userd: separate bus name ownership from defining 1288 interfaces 1289 - o/snapshotstate: set snapshot set id from its filename 1290 - o/snapstate: move remove-related tests to snapstate_remove_test.go 1291 - desktop/notification: switch ExpireTimeout to time.Duration 1292 - desktop/notification: add unit tests 1293 - snap: snap help output refresh 1294 - tests/nested/manual/preseed: include a system-usernames snap when 1295 preseeding 1296 - tests: fix sudo-env test 1297 - tests: fix nested core20 shellcheck bug 1298 - tests/lib: move to new directory when restoring PWD, cleanup 1299 unpacked unpacked snap directories 1300 - desktop/notification: add bindings for FDO notifications 1301 - dbustest: fix stale comment references 1302 - many: move ManagedAssetsBootloader into TrustedAssetsBootloader, 1303 drop former 1304 - snap-repair: add uc20 support 1305 - tests: print all the serial logs for the nested test 1306 - o/snapstate/check_snap_test.go: mock osutil.Find{U,G}id to avoid 1307 bug in test 1308 - cmd/snap/auto-import: stop importing system user assertions from 1309 initramfs mnts 1310 - osutil/group.go: treat all non-nil errs from user.Lookup{Group,} 1311 as Unknown* 1312 - asserts: deserialize grouping only once in Pool.AddBatch if needed 1313 - gadget: allow content observer to have opinions about a change 1314 - tests: new snaps-state command - part1 1315 - o/assertstate: support refreshing any number of snap-declarations 1316 - boot: use test helpers 1317 - tests/core/snap-debug-bootvars: also check snap_mode 1318 - many/apparmor: adjust rules for reading profile/ execing new 1319 profiles for new kernel 1320 - tests/core/snap-debug-bootvars: spread test for snap debug boot- 1321 vars 1322 - tests/lib/nested.sh: more little tweaks 1323 - tests/nested/manual/grade-signed-above-testkeys-boot: enable kvm 1324 - cmd/s-b/initramfs-mounts: use ConfigureTargetSystem for install, 1325 recover modes 1326 - overlord: explicitly set refresh-app-awareness in tests 1327 - kernel: remove "edition" from kernel.yaml and add "update" 1328 - spread: drop vendor from the packed project archive 1329 - boot: fix debug bootloader variables dump on UC20 systems 1330 - wrappers, systemd: allow empty root dir and conditionally do not 1331 pass --root to systemctl 1332 - tests/nested/manual: add test for grades above signed booting with 1333 testkeys 1334 - tests/nested: misc robustness fixes 1335 - o/assertstate,asserts: use bulk refresh to refresh snap- 1336 declarations 1337 - tests/lib/prepare.sh: stop patching the uc20 initrd since it has 1338 been updated now 1339 - tests/nested/manual/refresh-revert-fundamentals: re-enable test 1340 - update-pot: ignore .go files inside .git when running xgettext-go 1341 - tests: disable part of the lxd test completely on 16.04. 1342 - o/snapshotstate: tweak comment regarding snapshot filename 1343 - o/snapstate: improve snapshot iteration 1344 - bootloader: lk cleanups 1345 - tests: update to support nested kvm without reboots on UC20 1346 - tests/nested/manual/preseed: disable system-key check for 20.04 1347 image 1348 - spread.yaml: add ubuntu-20.10-64 to qemu 1349 - store: handle v2 error when fetching assertions 1350 - gadget: resolve device mapper devices for fallback device lookup 1351 - tests/nested/cloud-init-many: simplify tests and unify 1352 helpers/seed inputs 1353 - tests: copy /usr/lib/snapd/info to correct directory 1354 - check-pr-title.py * : allow "*" in the first part of the title 1355 - many: typos and small test tweak 1356 - tests/main/lxd: disable cgroup combination for 16.04 that is 1357 failing a lot 1358 - tests: make nested signing helpers less confusing 1359 - tests: misc nested changes 1360 - tests/nested/manual/refresh-revert-fundamentals: disable 1361 temporarily 1362 - tests/lib/cla_check: default to Python 3, tweaks, formatting 1363 - tests/lib/cl_check.py: use python3 compatible code 1364 1365 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 19 Nov 2020 17:51:02 +0100 1366 1367 snapd (2.47.1-1) unstable; urgency=medium 1368 1369 * New upstream release, LP: #1895929 1370 - o/configstate: create /etc/sysctl.d when applying early config 1371 defaults 1372 - cmd/snap-bootstrap/initramfs-mounts: also copy /etc/machine-id for 1373 same IP addr 1374 - packaging/{ubuntu,debian}: add liblzo2-dev as a dependency for 1375 building snapd 1376 - cmd/snap: allow snap help vs --all to diverge purposefully 1377 - snap: snap help output refresh 1378 1379 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 08 Oct 2020 09:30:44 +0200 1380 1381 snapd (2.47-1) unstable; urgency=medium 1382 1383 * New upstream release, LP: #1895929 1384 - tests: fix nested core20 shellcheck bug 1385 - many/apparmor: adjust rule for reading apparmor profile for new 1386 kernel 1387 - snap-repair: add uc20 support 1388 - cmd/snap/auto-import: stop importing system user assertions from 1389 initramfs mnts 1390 - cmd/s-b/initramfs-mounts: use ConfigureTargetSystem for install, 1391 recover modes 1392 - gadget: resolve device mapper devices for fallback device lookup 1393 - secboot: add boot manager profile to pcr protection profile 1394 - sysconfig,o/devicestate: mv DisableNoCloud to 1395 DisableAfterLocalDatasourcesRun 1396 - tests: make gadget-reseal more robust 1397 - tests: skip nested images pre-configuration by default 1398 - tests: fix for basic20 test running on external backend and rpi 1399 - tests: improve kernel reseal test 1400 - boot: adjust comments, naming, log success around reseal 1401 - tests/nested, fakestore: changes necessary to run nested uc20 1402 signed/secured tests 1403 - tests: add nested core20 gadget reseal test 1404 - boot/modeenv: track unknown keys in Read and put back into modeenv 1405 during Write 1406 - interfaces/process-control: add sched_setattr to seccomp 1407 - boot: with unasserted kernels reseal if there's a hint modeenv 1408 changed 1409 - client: bump the default request timeout to 120s 1410 - configcore: do not error in console-conf.disable for install mode 1411 - boot: streamline bootstate20.go reseal and tests changes 1412 - boot: reseal when changing kernel 1413 - cmd/snap/model: specify grade in the model command output 1414 - tests: simplify 1415 repack_snapd_snap_with_deb_content_and_run_mode_first_boot_tweaks 1416 - test: improve logging in nested tests 1417 - nested: add support to telnet to serial port in nested VM 1418 - secboot: use the snapcore/secboot native recovery key type 1419 - tests/lib/nested.sh: use more focused cloud-init config for uc20 1420 - tests/lib/nested.sh: wait for the tpm socket to exist 1421 - spread.yaml, tests/nested: misc changes 1422 - tests: add more checks to disk space awareness spread test 1423 - tests: disk space awareness spread test 1424 - boot: make MockUC20Device use a model and MockDevice more 1425 realistic 1426 - boot,many: reseal only when meaningful and necessary 1427 - tests/nested/core20/kernel-failover: add test for failed refresh 1428 of uc20 kernel 1429 - tests: fix nested to work with qemu and kvm 1430 - boot: reseal when updating boot assets 1431 - tests: fix snap-routime-portal-info test 1432 - boot: verify boot chain file in seal and reseal tests 1433 - tests: use full path to test-snapd-refresh.version binary 1434 - boot: store boot chains during install, helper for checking 1435 whether reseal is needed 1436 - boot: add call to reseal an existing key 1437 - boot: consider boot chains with unrevisioned kernels incomparable 1438 - overlord: assorted typos and miscellaneous changes 1439 - boot: group SealKeyModelParams by model, improve testing 1440 - secboot: adjust parameters to buildPCRProtectionProfile 1441 - strutil: add SortedListsUniqueMergefrom the doc comment: 1442 - snap/naming: upgrade TODO to TODO:UC20 1443 - secboot: add call to reseal an existing key 1444 - boot: in seal.go adjust error message and function names 1445 - o/snapstate: check available disk space in RemoveMany 1446 - boot: build bootchains data for sealing 1447 - tests: remove "set -e" from function only shell libs 1448 - o/snapstate: disk space check on UpdateMany 1449 - o/snapstate: disk space check with snap update 1450 - snap: implement new `snap reboot` command 1451 - boot: do not reorder boot assets when generating predictable boot 1452 chains and other small tweaks 1453 - tests: some fixes and improvements for nested execution 1454 - tests/core/uc20-recovery: fix check for at least specific calls to 1455 mock-shutdown 1456 - boot: be consistent using bootloader.Role* consts instead of 1457 strings 1458 - boot: helper for generating secboot load chains from a given boot 1459 asset sequence 1460 - boot: tweak boot chains to support a list of kernel command lines, 1461 keep track of model and kernel boot file 1462 - boot,secboot: switch to expose and use snapcore/secboot load event 1463 trees 1464 - tests: use `nested_exec` in core{20,}-early-config test 1465 - devicestate: enable cloud-init on uc20 for grade signed and 1466 secured 1467 - boot: add "rootdir" to baseBootenvSuite and use in tests 1468 - tests/lib/cla_check.py: don't allow users.noreply.github.com 1469 commits to pass CLA 1470 - boot: represent boot chains, helpers for marshalling and 1471 equivalence checks 1472 - boot: mark successful with boot assets 1473 - client, api: handle insufficient space error 1474 - o/snapstate: disk space check with single snap install 1475 - configcore: "service.console-conf.disable" is gadget defaults only 1476 - packaging/opensuse: fix for /usr/libexec on TW, do not hardcode 1477 AppArmor profile path 1478 - tests: skip udp protocol in nfs-support test on ubuntu-20.10 1479 - packaging/debian-sid: tweak code preparing _build tree 1480 - many: move seal code from gadget/install to boot 1481 - tests: remove workaround for cups on ubuntu-20.10 1482 - client: implement RebootToSystem 1483 - many: seed.Model panics now if called before LoadAssertions 1484 - daemon: add /v2/systems "reboot" action API 1485 - github: run tests also on push to release branches 1486 - interfaces/bluez: let slot access audio streams 1487 - seed,c/snap-bootstrap: simplify snap-bootstrap seed reading with 1488 new seed.ReadSystemEssential 1489 - interfaces: allow snap-update-ns to read /proc/cmdline 1490 - tests: new organization for nested tests 1491 - o/snapstate, features: add feature flags for disk space awareness 1492 - tests: workaround for cups issue on 20.10 where default printer is 1493 not configured. 1494 - interfaces: update cups-control and add cups for providing snaps 1495 - boot: keep track of the original asset when observing updates 1496 - tests: simplify and fix tests for disk space checks on snap remove 1497 - sysconfig/cloudinit.go: add AllowCloudInit and use GadgetDir for 1498 cloud.conf 1499 - tests/main: mv core specific tests to core suite 1500 - tests/lib/nested.sh: reset the TPM when we create the uc20 vm 1501 - devicestate: rename "mockLogger" to "logbuf" 1502 - many: introduce ContentChange for tracking gadget content in 1503 observers 1504 - many: fix partion vs partition typo 1505 - bootloader: retrieve boot chains from bootloader 1506 - devicestate: add tests around logging in RequestSystemAction 1507 - boot: handle canceled update 1508 - bootloader: tweak doc comments (thanks Samuele) 1509 - seed/seedwriter: test local asserted snaps with UC20 grade signed 1510 - sysconfig/cloudinit.go: add DisableNoCloud to 1511 CloudInitRestrictOptions 1512 - many: use BootFile type in load sequences 1513 - boot,bootloader: clarifications after the changes to introduce 1514 bootloader.Options.Role 1515 - boot,bootloader,gadget: apply new bootloader.Options.Role 1516 - o/snapstate, features: add feature flag for disk space check on 1517 remove 1518 - testutil: add checkers for symbolic link target 1519 - many: refactor tpm seal parameter setting 1520 - boot/bootstate20: reboot to rollback to previous kernel 1521 - boot: add unit test helpers 1522 - boot: observe update & rollback of trusted assets 1523 - interfaces/utf: Add MIRKey to u2f devices 1524 - o/devicestate/devicestate_cloudinit_test.go: test cleanup for uc20 1525 cloud-init tests 1526 - many: check that users of BaseTest don't forget to consume 1527 cleanups 1528 - tests/nested/core20/tpm: verify trusted boot assets tracking 1529 - github: run macOS job with Go 1.14 1530 - many: misc doc-comment changes and typo fixes 1531 - o/snapstate: disk space check with InstallMany 1532 - many: cloud-init cleanups from previous PR's 1533 - tests: running tests on opensuse leap 15.2 1534 - run-checks: check for dirty build tree too 1535 - vendor: run ./get-deps.sh to update the secboot hash 1536 - tests: update listing test for "-dirty" versions 1537 - overlord/devicestate: do not release the state lock when updating 1538 gadget assets 1539 - secboot: read kernel efi image from snap file 1540 - snap: add size to the random access file return interface 1541 - daemon: correctly parse Content-Type HTTP header. 1542 - tests: account for apt-get on core18 1543 - cmd/snap-bootstrap/initramfs-mounts: compute string outside of 1544 loop 1545 - mkversion.sh: simple hack to include dirty in version if the tree 1546 is dirty 1547 - cgroup,snap: track hooks on system bus only 1548 - interfaces/systemd: compare dereferenced Service 1549 - run-checks: only check files in git for misspelling 1550 - osutil: add a package doc comment (via doc.go) 1551 - boot: complain about reused asset name during initial install 1552 - snapstate: installSize helper that calculates total size of snaps 1553 and their prerequisites 1554 - snapshots: export of snapshots 1555 - boot/initramfs_test.go: reset boot vars on the bootloader for each 1556 iteration 1557 1558 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 29 Sep 2020 17:19:13 +0200 1559 1560 snapd (2.46.1-1) unstable; urgency=medium 1561 1562 * New upstream release, LP: #1891134 1563 - interfaces: allow snap-update-ns to read 1564 /proc/cmdline 1565 - github: run macOS job with Go 1.14 1566 - o/snapstate, features: add feature flag for disk space check on 1567 remove 1568 - tests: account for apt-get on core18 1569 - mkversion.sh: include dirty in version if the tree 1570 is dirty 1571 - interfaces/systemd: compare dereferenced Service 1572 - vendor.json: update mysterious secboot SHA again 1573 1574 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Sep 2020 17:42:54 +0200 1575 1576 snapd (2.46-1) unstable; urgency=medium 1577 1578 * New upstream release, LP: #1891134 1579 - logger: add support for setting snapd.debug=1 on kernel cmdline 1580 - o/snapstate: check disk space before creating automatic snapshot 1581 on remove 1582 - boot, o/devicestate: observe existing recovery bootloader trusted 1583 boot assets 1584 - many: use transient scope for tracking apps and hooks 1585 - features: add HiddenSnapFolder feature flag 1586 - tests/lib/nested.sh: fix partition typo, unmount the image on uc20 1587 too 1588 - runinhibit: open the lock file in read-only mode in IsLocked 1589 - cmd/s-b/initramfs-mounts: make recover -> run mode transition 1590 automatic 1591 - tests: update spread test for unknown plug/slot with snapctl is- 1592 connected 1593 - osutil: add OpenExistingLockForReading 1594 - kernel: add kernel.Validate() 1595 - interfaces: add vcio interface 1596 - interfaces/{docker,kubernetes}-support: load overlay and support 1597 systemd cgroup driver 1598 - tests/lib/nested.sh: use more robust code for finding what loop 1599 dev we mounted 1600 - cmd/snap-update-ns: detach all bind-mounted file 1601 - snap/snapenv: set SNAP_REAL_HOME 1602 - packaging: umount /snap on purge in containers 1603 - interfaces: misc policy updates xlvi 1604 - secboot,cmd/snap-bootstrap: cross-check partitions before 1605 unlocking, mounting 1606 - boot: copy boot assets cache to new root 1607 - gadget,kernel: add new kernel.{Info,Asset} struct and helpers 1608 - o/hookstate/ctlcmd: make is-connected check whether the plug or 1609 slot exists 1610 - tests: find -ignore_readdir_race when scanning cgroups 1611 - interfaces/many: deny arbitrary desktop files and misc from 1612 /usr/share 1613 - tests: use "set -ex" in prep-snapd-in-lxd.sh 1614 - tests: re-enable udisks test on debian-sid 1615 - cmd/snapd-generator: use PATH fallback if PATH is not set 1616 - tests: disable udisks2 test on arch linux 1617 - github: use latest/stable go, not latest/edge 1618 - tests: remove support for ubuntu 19.10 from spread tests 1619 - tests: fix lxd test wrongly tracking 'latest' 1620 - secboot: document exported functions 1621 - cmd: compile snap gdbserver shim correctly 1622 - many: correctly calculate the desktop file prefix everywhere 1623 - interfaces: add kernel-crypto-api interface 1624 - corecfg: add "system.timezone" setting to the system settings 1625 - cmd/snapd-generator: generate drop-in to use fuse in container 1626 - cmd/snap-bootstrap/initramfs-mounts: tweak names, add comments 1627 from previous PR 1628 - interfaces/many: miscellaneous updates for strict microk8s 1629 - secboot,cmd/snap-bootstrap: don't import boot package from secboot 1630 - cmd/snap-bootstrap/initramfs-mounts: call systemd-mount instead of 1631 the-tool 1632 - tests: work around broken update of systemd-networkd 1633 - tests/main/install-fontconfig-cache-gen: enhance test by 1634 verifying, add fonts to test 1635 - o/devicestate: wrap asset update observer error 1636 - boot: refactor such that bootStateUpdate20 mainly carries Modeenv 1637 - mkversion.sh: disallow changelog versions that have git in it, if 1638 we also have git version 1639 - interfaces/many: miscellaneous updates for strict microk8s 1640 - snap: fix repeated "cannot list recovery system" and add test 1641 - boot: track trusted assets during initial install, assets cache 1642 - vendor: update secboot to fix key data validation 1643 - tests: unmount FUSE file-systems from XDG runtime dir 1644 - overlord/devicestate: workaround non-nil interface with nil struct 1645 - sandbox/cgroup: remove temporary workaround for multiple cgroup 1646 writers 1647 - sandbox/cgroup: detect dangling v2 cgroup 1648 - bootloader: add helper for creating a bootloader based on gadget 1649 - tests: support different images on nested execution 1650 - many: reorg cmd/snapinfo.go into snap and new client/clientutil 1651 - packaging/arch: use external linker when building statically 1652 - tests: cope with ghost cgroupv2 1653 - tests: fix issues related to restarting systemd-logind.service 1654 - boot, o/devicestate: TrustedAssetUpdateObserver stubs, hook up to 1655 gadget updates 1656 - vendor: update github.com/kr/pretty to fix diffs of values with 1657 pointer cycles 1658 - boot: move bootloaderKernelState20 impls to separate file 1659 - .github/workflows: move snap building to test.yaml as separate 1660 cached job 1661 - tests/nested/manual/minimal-smoke: run core smoke tests in a VM 1662 meeting minimal requirements 1663 - osutil: add CommitAs to atomic file 1664 - gadget: introduce content update observer 1665 - bootloader: introduce TrustedAssetsBootloader, implement for grub 1666 - o/snapshotstate: helpers for calculating disk space needed for an 1667 automatic snapshot 1668 - gadget/install: retrieve command lines from bootloader 1669 - boot/bootstate20: unify commit method impls, rm 1670 bootState20MarkSuccessful 1671 - tests: add system information and image information when debug 1672 info is displayed 1673 - tests/main/cgroup-tracking: try to collect some information about 1674 cgroups 1675 - boot: introduce current_boot_assets and 1676 current_recovery_boot_assets to modeenv 1677 - tests: fix for timing issues on journal-state test 1678 - many: remove usage and creation of hijacked pid cgroup 1679 - tests: port regression-home-snap-root-owned to tests.session 1680 - tests: run as hightest via tests.session 1681 - github: run CLA checks on self-hosted workers 1682 - github: remove Ubuntu 19.10 from actions workflow 1683 - tests: remove End-Of-Life opensuse/fedora releases 1684 - tests: remove End-Of-Life releases from spread.yaml 1685 - tests: fix debug section of appstream-id test 1686 - interfaces: check !b.preseed earlier 1687 - tests: work around bug in systemd/debian 1688 - boot: add deepEqual, Copy helpers for Modeenv to simplify 1689 bootstate20 refactor 1690 - cmd: add new "snap recovery" command 1691 - interfaces/systemd: use emulation mode when preseeding 1692 - interfaces/kmod: don't load kernel modules in kmod backend when 1693 preseeding 1694 - interfaces/udev: do not reload udevadm rules when preseeding 1695 - cmd/snap-preseed: use snapd from the deb if newer than from seeds 1696 - boot: fancy marshaller for modeenv values 1697 - gadget, osutil: use atomic file copy, adjust tests 1698 - overlord: use new tracking cgroup for refresh app awareness 1699 - github: do not skip gofmt with Go 1.9/1.10 1700 - many: introduce content write observer, install mode glue, initial 1701 seal stubs 1702 - daemon,many: switch to use client.ErrorKind and drop the local 1703 errorKind... 1704 - tests: new parameters for nested execution 1705 - client: move all error kinds into errors.go and add doc strings 1706 - cmd/snap: display the error in snap debug seeding if seeding is in 1707 error 1708 - cmd/snap/debug/seeding: use unicode for proper yaml 1709 - tests/cmd/snap-bootstrap/initramfs-mounts: add test case for empty 1710 recovery_mode 1711 - osutil/disks: add mock disk and tests for happy path of mock disks 1712 - tests: refresh/revert snapd in uc20 1713 - osutil/disks: use a dedicated error to indicate a fs label wasn't 1714 found 1715 - interfaces/system-key: in WriteSystemKey during tests, don't call 1716 ParserFeatures 1717 - boot: add current recovery systems to modeenv 1718 - bootloader: extend managed assets bootloader interface to compose 1719 a candidate command line 1720 - interfaces: make the unmarshal test match more the comment 1721 - daemon/api: use pointers to time.Time for debug seeding aspect 1722 - o/ifacestate: update security profiles in connect undo handler 1723 - interfaces: add uinput interface 1724 - cmd/snap-bootstrap/initramfs-mounts: add doSystemdMount + unit 1725 tests 1726 - o/devicestate: save seeding/preseeding times for use with debug 1727 seeding api 1728 - cmd/snap/debug: add "snap debug seeding" command for preseeding 1729 debugging 1730 - tests/main/selinux-clean: workaround SELinux denials triggered by 1731 linger setup on Centos8 1732 - bootloader: compose command line with mode and extra arguments 1733 - cmd/snap, daemon: detect and bail purge on multi-snap 1734 - o/ifacestate: fix bug in snapsWithSecurityProfiles 1735 - interfaces/builtin/multipass: replace U+00A0 no-break space with 1736 simple space 1737 - bootloader/assets: generate bootloader assets from files 1738 - many/tests/preseed: reset the preseeded images before preseeding 1739 them 1740 - tests: drop accidental accents from e 1741 - secboot: improve key sealing tests 1742 - tests: replace _wait_for_file_change with retry 1743 - tests: new fs-state which replaces the files.sh helper 1744 - sysconfig/cloudinit_test.go: add test for initramfs case, rm "/" 1745 from path 1746 - cmd/snap: track started apps and hooks 1747 - tests/main/interfaces-pulseaudio: disable start limit checking for 1748 pulseaudio service 1749 - api: seeding debug api 1750 - .github/workflows/snap-build.yaml: build the snapd snap via GH 1751 Actions too 1752 - tests: moving journalctl.sh to a new journal-state tool 1753 - tests/nested/manual: add spread tests for cloud-init vuln 1754 - bootloader/assets: helpers for registering per-edition snippets, 1755 register snippets for grub 1756 - data,packaging,wrappers: extend D-Bus service activation search 1757 path 1758 - spread: add opensuse 15.2 and tumbleweed for qemu 1759 - overlord,o/devicestate: restrict cloud-init on Ubuntu Core 1760 - sysconfig/cloudinit: add RestrictCloudInit 1761 - cmd/snap-preseed: check that target path exists and is a directory 1762 on --reset 1763 - tests: check for pids correctly 1764 - gadget,gadget/install: refactor partition table update 1765 - sysconfig/cloudinit: add CloudInitStatus func + CloudInitState 1766 type 1767 - interface/fwupd: add more policies for making fwupd upstream 1768 strict 1769 - tests: new to-one-line tool which replaces the strings.sh helper 1770 - interfaces: new helpers to get and compare system key, for use 1771 with seeding debug api 1772 - osutil, many: add helper for checking whether the process is a go 1773 test binary 1774 - cmd/snap-seccomp/syscalls: add faccessat2 1775 - tests: adjust xdg-open after launcher changes 1776 - tests: new core config helper 1777 - usersession/userd: do not modify XDG_DATA_DIRS when calling xdg- 1778 open 1779 - cmd/snap-preseed: handle relative chroot path 1780 - snapshotstate: move sizer to osutil.Sizer() 1781 - tests/cmd/snap-bootstrap/initramfs-mounts: rm duplicated env ref 1782 kernel tests 1783 - gadget/install,secboot: use snapcore/secboot luks2 api 1784 - boot/initramfs_test.go: add Commentf to more Assert()'s 1785 - tests/lib: account for changes in arch package file name extension 1786 - bootloader/bootloadertest: fix comment typo 1787 - bootloader: add helper for getting recovery system environment 1788 variables 1789 - tests: preinstall shellcheck and run tests on focal 1790 - strutil: add a helper for parsing kernel command line 1791 - osutil: add CheckFreeSpace helper 1792 - secboot: update tpm connection error handling 1793 - packaging, cmd/snap-mgmt, tests: remove modules files on purge 1794 - tests: add tests.cleanup helper 1795 - packaging: add "ca-certificates" to build-depends 1796 - tests: more checks in core20 early config spread test 1797 - tests: fix some snapstate tests to use pointers for 1798 snapmgrTestSuite 1799 - boot: better naming of helpers for obtaining kernel command line 1800 - many: use more specific check for unit test mocking 1801 - systemd/escape: fix issues with "" and "\t" handling 1802 - asserts: small improvements and corrections for sequence-forming 1803 assertions' support 1804 - boot, bootloader: query kernel command line of run mod and 1805 recovery mode systems 1806 - snap/validate.go: disallow snap layouts with new top-level 1807 directories 1808 - tests: allow to add a new label to run nested tests as part of PR 1809 validation 1810 - tests/core/gadget-update-pc: port to UC20 1811 - tests: improve nested tests flexibility 1812 - asserts: integer headers: disallow prefix zeros and make parsing 1813 more uniform 1814 - asserts: implement Database.FindSequence 1815 - asserts: introduce SequenceMemberAfter in the asserts backstores 1816 - spread.yaml: remove tests/lib/tools from PATH 1817 - overlord: refuse to install snaps whose activatable D-Bus services 1818 conflict with installed snaps 1819 - tests: shorten lxd-state undo-mount-changes 1820 - snap-confine: don't die if a device from sysfs path cannot be 1821 found by udev 1822 - tests: fix argument handling of apt-state 1823 - tests: rename lxd-tool to lxd-state 1824 - tests: rename user-tool to user-state, fix --help 1825 - interfaces: add gconf interface 1826 - sandbox/cgroup: avoid parsing security tags twice 1827 - tests: rename version-tool to version-compare 1828 - cmd/snap-update-ns: handle anomalies better 1829 - tests: fix call to apt.Package.mark_install(auto_inst=True) 1830 - tests: rename mountinfo-tool to mountinfo.query 1831 - tests: rename memory-tool to memory-observe-do 1832 - tests: rename invariant-tool to tests.invariant 1833 - tests: rename apt-tool to apt-state 1834 - many: managed boot config during run mode setup 1835 - asserts: introduce the concept of sequence-forming assertion types 1836 - tests: tweak comments/output in uc20-recovery test 1837 - tests/lib/pkgdb: do not use quiet when purging debs 1838 - interfaces/apparmor: allow snap-specific /run/lock 1839 - interfaces: add system-source-code for access to /usr/src 1840 - sandbox/cgroup: extend SnapNameFromPid with tracking cgroup data 1841 - gadget/install: move udev trigger to gadget/install 1842 - many: make nested spread tests more reliable 1843 - tests/core/uc20-recovery: apply hack to get gopath in recover mode 1844 w/ external backend 1845 - tests: enable tests on uc20 which now work with the real model 1846 assertion 1847 - tests: enable system-snap-refresh test on uc20 1848 - gadget, bootloader: preserve managed boot assets during gadget 1849 updates 1850 - tests: fix leaked dbus-daemon in selinux-clean 1851 - tests: add servicestate.Control tests 1852 - tests: fix "restart.service" 1853 - wrappers: helper for enabling services - extract and move enabling 1854 of services into a helper 1855 - tests: new test to validate refresh and revert of kernel and 1856 gadget on uc20 1857 - tests/lib/prepare-restore: collect debug info when prepare purge 1858 fails 1859 - bootloader: allow managed bootloader to update its boot config 1860 - tests: Remove unity test from nightly test suite 1861 - o/devicestate: set mark-seeded to done in the task itself 1862 - tests: add spread test for disconnect undo caused by failing 1863 disconnect hook 1864 - sandbox/cgroup: allow discovering PIDs of given snap 1865 - osutil/disks: support IsDecryptedDevice for mountpoints which are 1866 dm devices 1867 - osutil: detect autofs mounted in /home 1868 - spread.yaml: allow amazon-linux-2-64 qemu with 1869 ec2-user/ec2-user 1870 - usersession: support additional zoom URL schemes 1871 - overlord: mock timings.DurationThreshold in TestNewWithGoodState 1872 - sandbox/cgroup: add tracking helpers 1873 - tests: detect stray dbus-daemon 1874 - overlord: refuse to install snaps providing user daemons on Ubuntu 1875 14.04 1876 - many: move encryption and installer from snap-boostrap to gadget 1877 - o/ifacestate: fix connect undo handler 1878 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 1879 - bootloader: introduce managed bootloader, implement for grub 1880 - tests: fix incorrect check in smoke/remove test 1881 - asserts,seed: split handling of essential/not essential model 1882 snaps 1883 - gadget: fix typo in mounted filesystem updater 1884 - gadget: do only one mount point lookup in mounted fs updater 1885 - tests/core/snap-auto-mount: try to make the test more robust 1886 - tests: adding ubuntu-20.04 to google-sru backend 1887 - o/servicestate: add updateSnapstateServices helper 1888 - bootloader: pull recovery grub config from internal assets 1889 - tests/lib/tools: apply linger workaround when needed 1890 - overlord/snapstate: graceful handling of denied "managed" refresh 1891 schedule 1892 - snapstate: fix autorefresh from classic->strict 1893 - overlord/configstate: add system.kernel.printk.console-loglevel 1894 option 1895 - tests: fix assertion disk handling for nested UC systems 1896 - snapstate: use testutil.HostScaledTimeout() in snapstate tests 1897 - tests: extra worker for google-nested backend to avoid timeout 1898 error on uc20 1899 - snapdtool: helper to check whether the current binary is reexeced 1900 from a snap 1901 - tests: mock servicestate in api tests to avoid systemctl checks 1902 - many: rename back snap.Info.GetType to Type 1903 - tests/lib/cla_check: expect explicit commit range 1904 - osutil/disks: refactor diskFromMountPointImpl a bit 1905 - o/snapstate: service-control task handler 1906 - osutil: add disks pkg for associating mountpoints with 1907 disks/partitions 1908 - gadget,cmd/snap-bootstrap: move partitioning to gadget 1909 - seed: fix LoadEssentialMeta when gadget is not loaded 1910 - cmd/snap: Debian does not allow $SNAP_MOUNT_DIR/bin in sudo 1911 secure_path 1912 - asserts: introduce new assertion validation-set 1913 - asserts,daemon: add support for "serials" field in system-user 1914 assertion 1915 - data/sudo: drop a failed sudo secure_path workaround 1916 - gadget: mv encodeLabel to osutil/disks.EncodeHexBlkIDFormat 1917 - boot, snap-bootstrap: move initramfs-mounts logic to boot pkg 1918 - spread.yaml: update secure boot attribute name 1919 - interfaces/block_devices: add NVMe subsystem devices, support 1920 multipath paths 1921 - tests: use the "jq" snap from the edge channel 1922 - tests: simplify the tpm test by removing the test-snapd-mokutil 1923 snap 1924 - boot/bootstate16.go: clean snap_try_* vars when not in Trying 1925 status too 1926 - tests/main/sudo-env: check snap path under sudo 1927 - tests/main/lxd: add test for snaps inside nested lxd containers 1928 not working 1929 - asserts/internal: expand errors about invalid serialized grouping 1930 labels 1931 - usersession/userd: add msteams url support 1932 - tests/lib/prepare.sh: adjust comment about sgdisk 1933 - tests: fix how gadget pc is detected when the snap does not exist 1934 and ls fails 1935 - tests: move a few more tests to snapstate_update_test.go 1936 - tests/main: add spread test for running svc from install hook 1937 - tests/lib/prepare: increase the size of the uc16/uc18 partitions 1938 - tests/special-home-can-run-classic-snaps: re-enable 1939 - workflow: test PR title as part of the static checks again 1940 - tests/main/xdg-open-compat: backup and restore original xdg-open 1941 - tests: move update-related tests to snapstate_update_test.go 1942 - cmd,many: move Version and bits related to snapd tools to 1943 snapdtool, merge cmdutil 1944 - tests/prepare-restore.sh: reset-failed systemd-journald before 1945 restarting 1946 - interfaces: misc small interface updates 1947 - spread: use find rather than recursive ls, skip mounted snaps 1948 - tests/lib/prepare-restore.sh: if we failed to purge snapd deb, ls 1949 /var/lib/snapd 1950 - tests: enable snap-auto-mount test on core20 1951 - cmd/snap: do not show $PATH warning when executing under sudo on a 1952 known distro 1953 - asserts/internal: add some iteration benchmarks 1954 - sandbox/cgroup: improve pid parsing code 1955 - snap: add new `snap run --experimental-gdbserver` option 1956 - asserts/internal: limit Grouping size switching to a bitset 1957 representationWe don't always use the bit-set representation 1958 because: 1959 - snap: add an activates-on property to apps for D-Bus activation 1960 - dirs: delete unused Cloud var, fix typo 1961 - sysconfig/cloudinit: make callers of DisableCloudInit use 1962 WritableDefaultsDir 1963 - tests: fix classic ubuntu core transition auth 1964 - tests: fail in setup_reflash_magic() if there is snapd state left 1965 - tests: port interfaces-many-core-provided to tests.session 1966 - tests: wait after creating partitions with sfdisk 1967 - bootloader: introduce bootloarder assets, import grub.cfg with an 1968 edition marker 1969 - riscv64: bump timeouts 1970 - gadget: drop dead code, hide exports that are not used externally 1971 - tests: port 2 uc20 part1 1972 - tests: fix bug waiting for snap command to be ready 1973 - tests: move try-related tests to snapstate_try_test.go 1974 - tests: add debug for 20.04 prepare failure 1975 - travis.yml: removed, all our checks run in GH actions now 1976 - tests: clean up up the use of configcoreSuite in the configcore 1977 tests 1978 - sandbox/cgroup: remove redundant pathOfProcPidCgroup 1979 - sandbox/cgroup: add tests for ParsePids 1980 - tests: fix the basic20 test for uc20 on external backend 1981 - tests: use configcoreSuite in journalSuite and remove some 1982 duplicated code 1983 - tests: move a few more tests to snapstate_install_test 1984 - tests: assorted small patches 1985 - dbusutil/dbustest: separate license from package 1986 - interfaces/builtin/time-control: allow POSIX clock API 1987 - usersession/userd: add "slack" to the white list of URL schemes 1988 handled by xdg-open 1989 - tests: check that host settings like hostname are settable on core 1990 - tests: port xdg-settings test to tests.session 1991 - tests: port snap-handle-link test to tests.session 1992 - arch: add riscv64 1993 - tests: core20 early defaults spread test 1994 - tests: move install tests from snapstate_test.go to 1995 snapstate_install_test.go 1996 - github: port macOS sanity checks from travis 1997 - data/selinux: allow checking /var/cache/app-info 1998 - o/devicestate: core20 early config from gadget defaults 1999 - tests: autoremove after removing lxd in preseed-lxd test 2000 - secboot,cmd/snap-bootstrap: add tpm sealing support to secboot 2001 - sandbox/cgroup: move FreezerCgroupDir from dirs.go 2002 - tests: update the file used to detect the boot path on uc20 2003 - spread.yaml: show /var/lib/snapd in debug 2004 - cmd/snap-bootstrap/initramfs-mounts: also copy systemd clock + 2005 netplan files 2006 - snap/naming: add helpers to parse app and hook security tags 2007 - tests: modernize retry tool 2008 - tests: fix and trim debug section in xdg-open-portal 2009 - tests: modernize and use snapd.tool 2010 - vendor: update to latest github.com/snapcore/bolt for riscv64 2011 - cmd/snap-confine: add support for libc6-lse 2012 - interfaces: miscellaneous policy updates xlv 2013 - interfaces/system-packages-doc: fix typo in variable names 2014 - tests: port interfaces-calendar-service to tests.session 2015 - tests: install/run the lzo test snap too 2016 - snap: (small) refactor of `snap download` code for 2017 testing/extending 2018 - data: fix shellcheck warnings in snapd.sh.in 2019 - packaging: disable buildmode=pie for riscv64 2020 - tests: install test-snapd-rsync snap from edge channel 2021 - tests: modernize tests.session and port everything using it 2022 - tests: add ubuntu 20.10 to spread tests 2023 - cmd/snap/remove: mention snap restore/automatic snapshots 2024 - dbusutil: move all D-Bus helpers and D-Bus test helpers 2025 - wrappers: pass 'disable' flag to StopServices wrapper 2026 - osutil: enable riscv64 build 2027 - snap/naming: add ParseSecurityTag and friends 2028 - tests: port document-portal-activation to session-tool 2029 - bootloader: rename test helpers to reflect we are mocking EFI boot 2030 locations 2031 - tests: disable test of nfs v3 with udp proto on debian-sid 2032 - tests: plan to improve the naming and uniformity of utilities 2033 - tests: move *-tool tests to their own suite 2034 - snap-bootstrap: remove sealed key file on reinstall 2035 - bootloader/ubootenv: don't panic with an empty uboot env 2036 - systemd: rename actualFsTypeAndMountOptions to 2037 hostFsTypeAndMountOptions 2038 - daemon: fix filtering of service-control changes for snap.app 2039 - tests: spread test for preseeding in lxd container 2040 - tests: fix broken snapd.session agent.socket 2041 - wrappers: add RestartServices function and ReloadOrRestart to 2042 systemd 2043 - o/cmdstate: handle ignore flag on exec-command tasks 2044 - gadget: make ext4 filesystems with or without metadata checksum 2045 - tests: update statx test to run on all LTS releases 2046 - configcore: show better error when disabling services 2047 - interfaces: add hugepages-control 2048 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 2049 - tests: run ubuntu-20.04-* tests on all ubuntu-2* releases 2050 - tests: skip interfaces-openvswitch for centos 8 in nightly suite 2051 - tests: reload systemd --user for root, if present 2052 - tests: reload systemd after editing /etc/fstab 2053 - tests: add missing dependencies needed for sbuild test on debian 2054 - tests: reload systemd after removing pulseaudio 2055 - image, tests: core18 early config. 2056 - interfaces: add system-packages-doc interface 2057 - cmd/snap-preseed, systemd: fix handling of fuse.squashfuse when 2058 preseeding 2059 - interfaces/fwupd: allow bind mount to /boot on core 2060 - tests: improve oom-vitality tests 2061 - tests: add fedora 32 to spread.yaml 2062 - config: apply vitality-hint immediately when the config changes 2063 - tests: port snap-routine-portal-info to session-tool 2064 - configcore: add "service.console-conf.disable" config option 2065 - tests: port xdg-open to session-tool 2066 - tests: port xdg-open-compat to session-tool 2067 - tests: port interfaces-desktop-* to session-tool 2068 - spread.yaml: apply yaml formatter/linter 2069 - tests: port interfaces-wayland to session-tool 2070 - o/devicestate: refactor current system handling 2071 - snap-mgmt: perform cleanup of user services 2072 - snap/snapfile,squashfs: followups from 8729 2073 - boot, many: require mode in modeenv 2074 - data/selinux: update policy to allow forked processes to call 2075 getpw*() 2076 - tests: log stderr from dbus-monitor 2077 - packaging: build cmd/snap and cmd/snap-bootstrap with nomanagers 2078 tag 2079 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 2080 layout 2081 - interfaces/builtin/desktop: do not mount fonts cache on distros 2082 with quirks 2083 - data/selinux: allow snapd to remove/create the its socket 2084 - testutil/exec.go: set PATH after running shellcheck 2085 - tests: silence stderr from dbus-monitor 2086 - snap,many: mv Open to snapfile pkg to support add'l options to 2087 Container methods 2088 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 2089 gadget 2090 - github: remove workaround for bug 133 in actions/cache 2091 - tests: remove dbus.sh 2092 - cmd/snap-preseed: improve mountpoint checks of the preseeded 2093 chroot 2094 - spread.yaml: add ps aux to debug section 2095 - github: run all spread systems in a single go with cached results 2096 - test: session-tool cli tweaks 2097 - asserts: rest of the Pool API 2098 - tests: port interfaces-network-status-classic to session-tool 2099 - packaging: remove obsolete 16.10,17.04 symlinks 2100 - tests: setup portals before starting user session 2101 - o/devicestate: typo fix 2102 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 2103 devices 2104 - cmd/snap/model: support store, system-user-authority keys in 2105 --verbose 2106 - o/devicestate: raise conflict when requesting system action while 2107 seeding 2108 - tests: detect signs of crashed snap-confine 2109 - tests: sign kernel and gadget to run nested tests using current 2110 snapd code 2111 - tests: remove gnome-online-accounts we install 2112 - tests: fix the issue where all the tests were executed on secboot 2113 system 2114 - tests: port interfaces-accounts-service to session-tool 2115 - interfaces/network-control: bring /var/lib/dhcp from host 2116 - image,cmd/snap,tests: add support for store-wide cohort keys 2117 - configcore: add nomanagers buildtag for conditional build 2118 - tests: port interfaces-password-manager-service to session-tool 2119 - o/devicestate: cleanup system actions supported by recover mode 2120 - snap-bootstrap: remove create-partitions and update tests 2121 - tests: fix nested tests 2122 - packaging/arch: update PKGBUILD to match one in AUR 2123 - tests: port interfaces-location-control to session-tool 2124 - tests: port interfaces-contacts-service to session-tool 2125 - state: log task errors in the journal too 2126 - o/devicestate: change how current system is reported for different 2127 modes 2128 - devicestate: do not report "ErrNoState" for seeded up 2129 - tests: add a note about broken test sequence 2130 - tests: port interfaces-autopilot-introspection to session-tool 2131 - tests: port interfaces-dbus to session-tool 2132 - packaging: update sid packaging to match 16.04+ 2133 - tests: enable degraded test on uc20 2134 - c/snaplock/runinhibit: add run inhibition operations 2135 - tests: detect and report root-owned files in /home 2136 - tests: reload root's systemd --user after snapd tests 2137 - tests: test registration with serial-authority: [generic] 2138 - cmd/snap-bootstrap/initramfs-mounts: copy auth.json and macaroon- 2139 key in recover 2140 - tests/mount-ns: stop binfmt_misc mount unit 2141 - cmd/snap-bootstrap/initramfs-mounts: use booted kernel partition 2142 uuid if available 2143 - daemon, tests: indicate system mode, test switching to recovery 2144 and back to run 2145 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 2146 denials 2147 - tests/mount-ns: update to reflect new UEFI boot mode 2148 - usersession,tests: clean ups for userd/settings.go and move 2149 xdgopenproxy under usersession 2150 - tests: disable mount-ns test 2151 - tests: test user belongs to systemd-journald, on core20 2152 - tests: run core/snap-set-core-config on uc20 too 2153 - tests: remove generated session-agent units 2154 - sysconfig: use new _writable_defaults dir to create cloud config 2155 - cmd/snap-bootstrap/initramfs-mounts: cosmetic changes in prep for 2156 future work 2157 - asserts: make clearer that with label we mean a serialized label 2158 - cmd/snap-bootstrap: tweak recovery trigger log messages 2159 - asserts: introduce PoolTo 2160 - userd: allow setting default-url-scheme-handler 2161 - secboot: append uuid to ubuntu-data when decrypting 2162 - o/configcore: pass extra options to FileSystemOnlyApply 2163 - tests: add dbus-user-session to bionic and reorder package names 2164 - boot, bootloader: adjust comments, expand tests 2165 - tests: improve debugging of user session agent tests 2166 - packaging: add the inhibit directory 2167 - many: add core.resiliance.vitality-hint config setting 2168 - tests: test adjustments and fixes for recently published images 2169 - cmd/snap: coldplug auto-import assertions from all removable 2170 devices 2171 - secboot,cmd/snap-bootstrap: move initramfs-mounts tpm access to 2172 secboot 2173 - tests: not fail when boot dir cannot be determined 2174 - tests: new directory used to store the cloud images on gce 2175 - tests: inject snapd from edge into seeds of the image in manual 2176 preseed test 2177 - usersession/agent,wrappers: fix races between Shutdown and Serve 2178 - tests: add dependency needed for next upgrade of bionic 2179 - tests: new test user is used for external backend 2180 - cmd/snap: fix the order of positional parameters in help output 2181 - tests: don't create root-owned things in ~test 2182 - tests/lib/prepare.sh: delete patching of the initrd 2183 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 2184 as well 2185 - progress: tweak multibyte label unit test data 2186 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline 2187 - gadget: fix fallback device lookup for 'mbr' type structures 2188 - configcore: only reload journald if systemd is new enough 2189 - cmd/snap-boostrap, boot: use /run/mnt/data instead of ubuntu-data 2190 - wrappers: allow user mode systemd daemons 2191 - progress: fix progress bar with multibyte duration units 2192 - tests: fix raciness in pulseaudio test 2193 - asserts/internal: introduce Grouping and Groupings 2194 - tests: remove user.sh 2195 - tests: pair of follow-ups from earlier reviews 2196 - overlord/snapstate: warn of refresh/postpone events 2197 - configcore,tests: use daemon-reexec to apply watchdog config 2198 - c/snap-bootstrap: check mount states via initramfsMountStates 2199 - store: implement DownloadAssertions 2200 - tests: run smoke test with different bases 2201 - tests: port user-mounts test to session-tool 2202 - store: handle error-list in fetch-assertions results 2203 - tests: port interfaces-audio-playback-record to session-tool 2204 - data/completion: add `snap` command completion for zsh 2205 - tests/degraded: ignore failure in systemd-vconsole-setup.service 2206 - image: stub implementation of image.Prepare for darwin 2207 - tests: session-tool --restore -u stops user-$UID.slice 2208 - o/ifacestate/handlers.go: fix typo 2209 - tests: port pulseaudio test to session-tool 2210 - tests: port user-session-env to session-tool 2211 - tests: work around journald bug in core16 2212 - tests: add debug to core-persistent-journal test 2213 - tests: port selinux-clean to session-tool 2214 - tests: port portals test to session-tool, fix portal tests on sid 2215 - tests: adding option --no-install-recommends option also when 2216 install all the deps 2217 - tests: add session-tool --has-systemd-and-dbus 2218 - packaging/debian-sid: add gcc-multilib to build deps 2219 - osutil: expand FileLock to support shared locks and more 2220 - packaging: stop depending on python-docutils 2221 - store,asserts,many: support the new action fetch-assertions 2222 - tests: port snap-session-agent-* to session-tool 2223 - packaging/fedora: disable FIPS compliant crypto for static 2224 binaries 2225 - tests: fix for preseeding failures 2226 2227 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 25 Aug 2020 17:26:21 +0200 2228 2229 snapd (2.45.3.1-1) unstable; urgency=medium 2230 2231 * New upstream release, LP: #1875071 2232 - o/ifacestate: fix bug in snapsWithSecurityProfiles 2233 - tests/main/selinux-clean: workaround SELinux denials triggered by 2234 linger setup on Centos8 2235 2236 -- Samuele Pedroni <pedronis@lucediurna.net> Tue, 28 Jul 2020 21:43:38 +0200 2237 2238 snapd (2.45.3-1) unstable; urgency=medium 2239 2240 * New upstream release, LP: #1875071 2241 - many: backport _writable_defaults dir changes 2242 - tests: fix incorrect check in smoke/remove test 2243 - cmd/snap-bootstrap,seed: backport of uc20 PRs 2244 - tests: avoid exit when nested type var is not defined 2245 - cmd/snap-preseed: backport fixes 2246 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 2247 - many: cherry-picks for 2.45, gh-action, test fixes 2248 - tests/lib: account for changes in arch package file name extension 2249 - postrm, snap-mgmt: cleanup modules and other cherry-picks 2250 - snap-confine: don't die if a device from sysfs path cannot be 2251 found by udev 2252 - data/selinux: update policy to allow forked processes to call 2253 getpw*() 2254 - tests/main/interfaces-time-control: exercise setting time via date 2255 - interfaces/builtin/time-control: allow POSIX clock API 2256 - usersession/userd: add "slack" to the white list of URL schemes 2257 handled by xdg-open 2258 2259 -- Zygmunt Krynicki <me@zygoon.pl> Mon, 27 Jul 2020 12:01:14 +0200 2260 2261 snapd (2.45.2-1) unstable; urgency=high 2262 2263 * SECURITY UPDATE: sandbox escape vulnerability on snapctl xdg-open 2264 implementation 2265 - usersession/userd/launcher.go: remove XDG_DATA_DIRS environment 2266 variable modification when calling the system xdg-open. Patch 2267 thanks to James Henstridge 2268 - packaging/ubuntu-16.04/snapd.postinst: ensure "snap userd" is 2269 restarted. Patch thanks to Michael Vogt 2270 - CVE-2020-11934 2271 * SECURITY UPDATE: arbitrary code execution vulnerability on core 2272 devices with access to physical removable media 2273 - devicestate: Disable/restrict cloud-init after seeding. 2274 - CVE-2020-11933 2275 2276 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 10 Jul 2020 20:06:29 +0200 2277 2278 snapd (2.45.1-1) unstable; urgency=medium 2279 2280 * New upstream release, LP: #1875071 2281 - data/selinux: allow checking /var/cache/app-info 2282 - cmd/snap-confine: add support for libc6-lse 2283 - interfaces: miscellaneous policy updates xlv 2284 - snap-bootstrap: remove sealed key file on reinstall 2285 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 2286 - gadget: make ext4 filesystems with or without metadata checksum 2287 - interfaces/fwupd: allow bind mount to /boot on core 2288 - tests: cherry-pick test fixes from master 2289 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 2290 layout 2291 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 2292 devices 2293 - snap,many: mv Open to snapfile pkg to support add'l options to 2294 Container methods 2295 - interfaces/builtin/desktop: do not mount fonts cache on distros 2296 with quirks 2297 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 2298 gadget 2299 - data/completion, packaging: cherry-pick zsh completion 2300 - state: log task errors in the journal too 2301 - devicestate: do not report "ErrNoState" for seeded up 2302 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 2303 denials 2304 - packaging/fedora: disable FIPS compliant crypto for static 2305 binaries 2306 - packaging: stop depending on python-docutils 2307 2308 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 05 Jun 2020 15:13:49 +0200 2309 2310 snapd (2.45-1) unstable; urgency=medium 2311 2312 * New upstream release, LP: #1875071 2313 - o/devicestate: support doing system action reboots from recover 2314 mode 2315 - vendor: update to latest secboot 2316 - tests: not fail when boot dir cannot be determined 2317 - configcore: only reload journald if systemd is new enough 2318 - cmd/snap-bootstrap/initramfs-mounts: append uuid to ubuntu-data 2319 when decrypting 2320 - tests/lib/prepare.sh: delete patching of the initrd 2321 - cmd/snap: coldplug auto-import assertions from all removable 2322 devices 2323 - cmd/snap: fix the order of positional parameters in help output 2324 - c/snap-bootstrap: port mount state mocking to the new style on 2325 master 2326 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 2327 as well 2328 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline, 2329 unlock in recover mode initramfs 2330 - progress: tweak multibyte label unit test data 2331 - gadget: fix fallback device lookup for 'mbr' type structures 2332 - progress: fix progress bar with multibyte duration units 2333 - many: use /run/mnt/data over /run/mnt/ubuntu-data for uc20 2334 - many: put the sealed keys in a directory on seed for tidiness 2335 - cmd/snap-bootstrap: measure epoch and model before unlocking 2336 encrypted data 2337 - o/configstate: core config handler for persistent journal 2338 - bootloader/uboot: use secondary ubootenv file boot.sel for uc20 2339 - packaging: add "$TAGS" to dh_auto_test for debian packaging 2340 - tests: ensure $cache_dir is actually available 2341 - secboot,cmd/snap-bootstrap: add model to pcr protection profile 2342 - devicestate: do not use snap-boostrap in devicestate to install 2343 - tests: fix a typo in nested.sh helper 2344 - devicestate: add support for cloud.cfg.d config from the gadget 2345 - cmd/snap-bootstrap: cleanups, naming tweaks 2346 - testutil: add NewDBusTestConn 2347 - snap-bootstrap: lock access to sealed keys 2348 - overlord/devicestate: preserve the current model inside ubuntu- 2349 boot 2350 - interfaces/apparmor: use differently templated policy for non-core 2351 bases 2352 - seccomp: add get_tls, io_pg* and *time64/*64 variants for existing 2353 syscalls 2354 - cmd/snap-bootstrap/initramfs-mounts: mount ubuntu-seed first, 2355 other misc changes 2356 - o/snapstate: tweak "waiting for restart" message 2357 - boot: store model model and grade information in modeenv 2358 - interfaces/firewall-control: allow -legacy and -nft for core20 2359 - boot: enable makeBootable20RunMode for EnvRefExtractedKernel 2360 bootloaders 2361 - boot/bootstate20: add EnvRefExtractedKernelBootloader bootstate20 2362 implementation 2363 - daemon: fix error message from `snap remove-user foo` on classic 2364 - overlord: have a variant of Mock that can take a state.State 2365 - tests: 16.04 and 18.04 now have mediating pulseaudio (again) 2366 - seed: clearer errors for missing essential snapd or core snap 2367 - cmd/snap-bootstrap/initramfs-mounts: support 2368 EnvRefExtractedKernelBootloader's 2369 - gadget, cmd/snap-bootstrap: MBR schema support 2370 - image: improve/adjust DownloadSnap doc comment 2371 - asserts: introduce ModelGrade.Code 2372 - tests: ignore user-12345 slice and service 2373 - image,seed/seedwriter: support redirect channel aka default 2374 tracks 2375 - bootloader: use binary.Read/Write 2376 - tests: uc20 nested suite part II 2377 - tests/boot: refactor to make it easier for new 2378 bootloaderKernelState20 impl 2379 - interfaces/openvswitch: support use of ovs-appctl 2380 - snap-bootstrap: copy auth data from real ubuntu-data in recovery 2381 mode 2382 - snap-bootstrap: seal and unseal encryption key using tpm 2383 - tests: disable special-home-can-run-classic-snaps due to jenkins 2384 repo issue 2385 - packaging: fix build on Centos8 to support BUILDTAGS 2386 - boot/bootstate20: small changes to bootloaderKernelState20 2387 - cmd/snap: Implement a "snap routine file-access" command 2388 - spread.yaml: switch back to latest/candidate for lxd snap 2389 - boot/bootstate20: re-factor kernel methods to use new interface 2390 for state 2391 - spread.yaml,tests/many: use global env var for lxd channel 2392 - boot/bootstate20: fix bug in try-kernel cleanup 2393 - config: add system.store-certs.[a-zA-Z0-9] support 2394 - secboot: key sealing also depends on secure boot enabled 2395 - httputil: fix client timeout retry tests 2396 - cmd/snap-update-ns: handle EBUSY when unlinking files 2397 - cmd/snap/debug/boot-vars: add opts for setting dir and/or uc20 2398 vars 2399 - secboot: add tpm support helpers 2400 - tests/lib/assertions/developer1-pi-uc20.model: use 20/edge for 2401 kernel and gadget 2402 - cmd/snap-bootstrap: switch to a 64-byte key for unlocking 2403 - tests: preserve size for centos images on spread.yaml 2404 - github: partition the github action workflows 2405 - run-checks: use consistent "Checking ..." style messages 2406 - bootloader: add efi pkg for reading efi variables 2407 - data/systemd: do not run snapd.system-shutdown if finalrd is 2408 available 2409 - overlord: update tests to work with latest go 2410 - cmd/snap: do not hide debug boot-vars on core 2411 - cmd/snap-bootstrap: no error when not input devices are found 2412 - snap-bootstrap: fix partition numbering in create-partitions 2413 - httputil/client_test.go: add two TLS version tests 2414 - tests: ignore user@12345.service hierarchy 2415 - bootloader, gadget, cmd/snap-bootstrap: misc cosmetic things 2416 - tests: rewrite timeserver-control test 2417 - tests: fix racy pulseaudio tests 2418 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 2419 - tests: update snap-preseed --reset logic to accommodate for 2.44 2420 change 2421 - cmd/snap: don't wait for system key when stopping 2422 - sandbox/cgroup: avoid making arrays we don't use 2423 - osutil: mock proc/self/mountinfo properly everywhere 2424 - selinux: export MockIsEnforcing; systemd: use in tests 2425 - tests: add 32 bit machine to GH actions 2426 - tests/session-tool: kill cron session, if any 2427 - asserts: it should be possible to omit many snap-ids if allowed, 2428 fix 2429 - boot: cleanup more things, simplify code 2430 - github: skip spread jobs when corresponding label is set 2431 - dirs: don't depend on osutil anymore, mv apparmor vars to apparmor 2432 pkg 2433 - tests/session-tool: add session-tool --dump 2434 - github: allow cached debian downloads to restore 2435 - tests/session-tool: session ordering is non-deterministic 2436 - tests: enable unit tests on debian-sid again 2437 - github: move spread to self-hosted workers 2438 - secboot: import secboot on ubuntu, provide dummy on !ubuntu 2439 - overlord/devicestate: support for recover and run modes 2440 - snap/naming: add validator for snap security tag 2441 - interfaces: add case for rootWritableOverlay + NFS 2442 - tests/main/uc20-create-partitions: tweaks, renames, switch to 2443 20.04 2444 - github: port CLA check to Github Actions 2445 - interfaces/many: miscellaneous policy updates xliv 2446 - configcore,tests: fix setting watchdog options on UC18/20 2447 - tests/session-tool: collect information about services on startup 2448 - tests/main/uc20-snap-recovery: unbreak, rename to uc20-create- 2449 partitions 2450 - state: add state.CopyState() helper 2451 - tests/session-tool: stop anacron.service in prepare 2452 - interfaces: don't use the owner modifier for files shared via 2453 document portal 2454 - systemd: move the doc comments to the interface so they are 2455 visible 2456 - cmd/snap-recovery-chooser: tweaks 2457 - interfaces/docker-support: add overlayfs file access 2458 - packaging: use debian/not-installed to ignore snap-preseed 2459 - travis.yml: disable unit tests on travis 2460 - store: start splitting store.go and store_test.go into subtopic 2461 files 2462 - tests/session-tool: stop cron/anacron from meddling 2463 - github: disable fail-fast as spread cannot be interrupted 2464 - github: move static checks and spread over 2465 - tests: skip "/etc/machine-id" in "writablepaths" test 2466 - snap-bootstrap: store encrypted partition recovery key 2467 - httputil: increase testRetryStrategy max timelimit to 5s 2468 - tests/session-tool: kill leaking closing session 2469 - interfaces: allow raw access to USB printers 2470 - tests/session-tool: reset failed session-tool units 2471 - httputil: increase httpclient timeout in 2472 TestRetryRequestTimeoutHandling 2473 - usersession: extend timerange in TestExitOnIdle 2474 - client: increase timeout in client tests to 100ms 2475 - many: disentagle release and snapdenv from sandbox/* 2476 - boot: simplify modeenv mocking to always write a modeenv 2477 - snap-bootstrap: expand data partition on install 2478 - o/configstate: add backlight option for core config 2479 - cmd/snap-recovery-chooser: add recovery chooser 2480 - features: enable robust mount ns updates 2481 - snap: improve TestWaitRecovers test 2482 - sandbox/cgroup: add ProcessPathInTrackingCgroup 2483 - interfaces/policy: fix comment in recent new test 2484 - tests: make session tool way more robust 2485 - interfaces/seccomp: allow passing an address to setgroups 2486 - o/configcore: introduce core config handlers (3/N) 2487 - interfaces: updates to login-session-observe, network-manager and 2488 modem-manager interfaces 2489 - interfaces/policy/policy_test.go: add more tests'allow- 2490 installation: false' and we grant based on interface attributes 2491 - packaging: detect/disable broken seed in the postinst 2492 - cmd/snap-confine/mount-support-nvidia.c: add libnvoptix as nvidia 2493 library 2494 - tests: remove google-tpm backend from spread.yaml 2495 - tests: install dependencies with apt using --no-install-recommends 2496 - usersession/userd: add zoommtg url support 2497 - snap-bootstrap: fix disk layout sanity check 2498 - snap: add `snap debug state --is-seeded` helper 2499 - devicestate: generate warning if seeding fails 2500 - config, features: move and rename config.GetFeatureFlag helper to 2501 features.Flag 2502 - boot, overlord/devicestate, daemon: implement requesting boot 2503 into a given recovery system 2504 - xdgopenproxy: forward requests to the desktop portal 2505 - many: support immediate reboot 2506 - store: search v2 tweaks 2507 - tests: fix cross build tests when installing dependencies 2508 - daemon: make POST /v2/systems/<label> root only 2509 - tests/lib/prepare.sh: use only initrd from the kernel snap 2510 - cmd/snap,seed: validate full seeds (UC 16/18) 2511 - tests/main/user-session-env: stop the user session before deleting 2512 the test-zsh user 2513 - overlord/devicestate, daemon: record the seed current system was 2514 installed from 2515 - gadget: SystemDefaults helper function to convert system defaults 2516 config into a flattened map suitable for FilesystemOnlyApply. 2517 - many: comment or avoid cryptic snap-ids in tests 2518 - tests: add LXD_CHANNEL environment 2519 - store: support for search API v2 2520 - .github: register a problem matcher to detect spread failures 2521 - seed: add Info() method for seed.Snap 2522 - github: always run the "Discard spread workers" step, even if the 2523 job fails 2524 - github: offload self-hosted workers 2525 - cmd/snap: the model command needs just a client, no waitMixin 2526 - github: combine tests into one workflow 2527 - github: fix order of go get caches 2528 - tests: adding more workers for ubuntu 20.04 2529 - boot,overlord: rename operating mode to system mode 2530 - config: add new Transaction.GetPristine{,Maybe}() function 2531 - o/devicestate: rename readMaybe* to maybeRead* 2532 - github: cache Debian dependencies for unit tests 2533 - wrappers: respect pre-seeding in error path 2534 - seed: validate UC20 seed system label 2535 - client, daemon, overlord/devicestate: request system action API 2536 and stubs 2537 - asserts,o/devicestate: support model specified alternative serial- 2538 authority 2539 - many: introduce naming.WellKnownSnapID 2540 - o/configcore: FilesystemOnlyApply method for early configuration 2541 of core (1/N) 2542 - github: run C unit tests 2543 - github: run spread tests on PRs only 2544 - interfaces/docker-support: make containerd abstract socket more 2545 generic 2546 - tests: cleanup security-private-tmp properly 2547 - overlord/devicestate,boot: do not hold to the originally read 2548 modeenv 2549 - dirs: rm RunMnt; boot: add vars for early boot env layout; 2550 sysconfig: take targetdir arg 2551 - cmd/snap-bootstrap/initramfs-mounts/tests: use dirs.RunMnt over 2552 s.runMnt 2553 - tests: add regression test for MAAS refresh bug 2554 - errtracker: add missing mocks 2555 - github: apt-get update before installing build-deps 2556 - github: don't fail-fast 2557 - github: run spread via github actions 2558 - boot,many: add modeenv.WriteTo, make Write take no args 2559 - wrappers: fix timer schedules that are days only 2560 - tests/main/snap-seccomp-syscalls: install gperf 2561 - github: always checkout to snapcore/snapd 2562 - github: add prototype workflow running unit tests 2563 - many: improve comments, naming, a possible TODO 2564 - client: use Assert when checking for error 2565 - tests: ensure sockets target is ready in session agent spread 2566 tests 2567 - osutil: do not leave processes behind after the test run 2568 - tests: update proxy-no-core to match latest CDN changes 2569 - devicestate,sysconfig: support "cloud.cfg.d" in uc20 for grade: 2570 dangerous 2571 - cmd/snap-failure,tests: try to make snap-failure more robust 2572 - many: fix packages having mistakenly their copyright as doc 2573 - many: enumerate system seeds, return them on the /v2/systems API 2574 endpoint 2575 - randutil: don't consume kernel entropy at init, just mix more info 2576 to try to avoid fleet collisions 2577 - snap-bootstrap: add creationSupported predicate for partition 2578 types 2579 - tests: umount partitions which are not umounted after remount 2580 gadget 2581 - snap: run gofmt -s 2582 - many: improve environment handling, fixing duplicate entries 2583 - boot_test: add many boot robustness tests for UC20 kernel 2584 MarkBootSuccessul and SetNextBoot 2585 - overlord: remove unneeded overlord.MockPruneInterval() mocks 2586 - interfaces/greengrass-support: fix typo 2587 - overlord,timings,daemon: separate timings from overlord/state 2588 - tests: enable nested on core20 and test current branch 2589 - snap-bootstrap: remove created partitions on reinstall 2590 - boot: apply Go 1.10 formatting 2591 - apparmor: use rw for uuidd request to default and remove from 2592 elsewhere 2593 - packaging: add README.source for debian 2594 - tests: cleanup various uc20 boot tests from previous PR 2595 - devicestate: disable cloud-init by default on uc20 2596 - run-checks: tweak formatting checks 2597 - packaging,tests: ensure debian-sid builds without vendor/ 2598 - travis.yml: run unit tests with go/master as well* travis.yml: run 2599 unit tests with go/master as well 2600 - seed: make Brand() part of the Seed interface 2601 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 2602 - daemon: do a forceful server shutdown if we hit a deadline 2603 - tests/many: don't use StartLimitInterval anymore, unify snapd- 2604 failover variants, build snapd snap for UC16 tests 2605 - snap-seccomp: robustness improvements 2606 - run-tests: disable -v for go test to avoid spaming the logs 2607 - snap: whitelist lzo as support compression for snap pack 2608 - snap: tweak comment in Install() for overlayfs detection 2609 - many: introduce snapdenv.Preseeding instead of release.PreseedMode 2610 - client, daemon, overlord/devicestate: structures and stubs for 2611 systems API 2612 - o/devicestate: delay the creation of mark-seeded task until 2613 asserts are loaded 2614 - data/selinux, tests/main/selinux: cleanup tmpfs operations in the 2615 policy, updates 2616 - interfaces/greengrass-support: add new 1.9 access 2617 - snap: do not hardlink on overlayfs 2618 - boot,image: ARM kernel extract prepare image 2619 - interfaces: make gpio robust against not-existing gpios in /sys 2620 - cmd/snap-preseed: handle --reset flag 2621 - many: introduce snapdenv to present common snapd env options 2622 - interfaces/kubernetes-support: allow autobind to journald socket 2623 - snap-seccomp: allow mprotect() to unblock the tests 2624 - tests/lib/reset: workaround unicode dot in systemctl output 2625 - interfaces/udisks2: also allow Introspection on 2626 /org/freedesktop/UDisks/** 2627 - snap: introduce Container.RandomAccessFile 2628 - o/ifacestate, api: implementation of snap disconnect --forget 2629 - cmd/snap: make the portal-info command search for the network- 2630 status interface 2631 - interfaces: work around apparmor_parser slowness affecting uio 2632 - tests: fix/improve failing spread tests 2633 - many: clean separation of bootenv mocking vs mock bootloader kinds 2634 - tests: mock prune ticker in overlord tests to reduce wait times 2635 - travis: disable arm64 again 2636 - httputil: add support for extra snapd certs 2637 - travis.yml: run unit tests on arm64 as well 2638 - many: fix a pair of ineffectual assignments 2639 - tests: add uc20 kernel snap upgrade managers test, fix 2640 bootloadertest bugs 2641 - o/snapstate: set base in SnapSetup on snap revert 2642 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 2643 - cmd/snap-exec: add test case for LP bug 1860369 2644 - interfaces: make the network-status interface implicit on 2645 classic 2646 - interfaces: power control interfaceIt is documented in the 2647 kernel 2648 - interfaces: miscellaneous policy updates 2649 - cmd/snap: add a "snap routine portal-info" command 2650 - usersession/userd: add "apt" to the white list of URL schemes 2651 handled by xdg-open 2652 - interfaces/desktop: allow access to system prompter interface 2653 - devicestate: allow encryption regardless of grade 2654 - tests: run ipv6 network-retry test too 2655 - tests: test that after "remove-user" the system is unmanaged 2656 - snap-confine: unconditionally add /dev/net/tun to the device 2657 cgroup 2658 - snapcraft.yaml: use sudo -E and remove workaround 2659 - interfaces/audio_playback: Fix pulseaudio config access 2660 - ovelord/snapstate: update only system wide fonts cache 2661 - wrappers: import /etc/environment in all services 2662 - interfaces/u2f: Add Titan USB-C key 2663 - overlord, taskrunner: exit on task/ensure error when preseeding 2664 - tests: add session-tool, a su / sudo replacement 2665 - wrappers: add mount unit dependency for snapd services on core 2666 devices 2667 - tests: just remove user when the system is not managed on create- 2668 user-2 test 2669 - snap-preseed: support for preseeding of snapd and core18 2670 - boot: misc UC20 changes 2671 - tests: adding arch-linux execution 2672 - packaging: revert "work around review-tools and snap-confine" 2673 - netlink: fix panic on arm64 with the new rawsockstop codewith a 2674 nil Timeval panics 2675 - spread, data/selinux: add CentOS 8, update policy 2676 - tests: updating checks to new test account for snapd-test snaps 2677 - spread.yaml: mv opensuse 15.1 to unstable 2678 - cmd/snap-bootstrap,seed: verify only in-play snaps 2679 - tests: use ipv4 in retry-network to unblock failing master 2680 - data/systemd: improve the description 2681 - client: add "Resume" to DownloadOptions and new test 2682 - tests: enable snapd-failover on uc20 2683 - tests: add more debug output to the snapd-failure handling 2684 - o/devicestate: unset recovery_system when done seeding 2685 2686 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 May 2020 17:17:57 +0200 2687 2688 snapd (2.44.5-1) unstable; urgency=medium 2689 2690 * New upstream release, LP: #1864808 2691 - spread.yaml: adding more workers for ubuntu 20.04 2692 - packaging: stop depending on python-docutils on opensuse 2693 - spread.yaml: do not run ubuntu-core-20-64 with snapd 2.44, snapd 2694 is not recent enough to drive ubuntu-core-20 2695 - spread.yaml: Preserve size for centos images on spread.yaml 2696 - spread.yaml: use non-uefi enabled image for uc20 2697 - tests: ensure $cache_dir is actually available 2698 - tests: disable preseed tests, they work in master but require too 2699 much cherry-picking here 2700 - travis.yml: remove go/master unit tests from 2.44 2701 2702 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 30 Apr 2020 09:09:22 +0200 2703 2704 snapd (2.44.4-1) unstable; urgency=medium 2705 2706 * New upstream release, LP: #1864808 2707 - packaging/fedora: disable FIPS compliant crypto for static 2708 binaries 2709 - interfaces/firewall-control: allow -legacy and -nft for core20 2710 - seccomp: add get_tls, io_pg* and *time64/*64 variants for existing 2711 syscalls 2712 - tests: 16.04 and 18.04 now have mediating pulseaudio 2713 - tests: ignore user@12345.service hierarchy 2714 2715 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 Apr 2020 08:32:56 +0200 2716 2717 snapd (2.44.3-1) unstable; urgency=medium 2718 2719 * New upstream release, LP: #1864808 2720 - tests: fix racy pulseaudio tests 2721 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 2722 - tests: update snap-preseed --reset logic 2723 - tests: backport partition fixes 2724 - cmd/snap: don't wait for system key when stopping 2725 - interfaces/many: miscellaneous policy updates xliv 2726 - tests/main/uc20-snap-recovery: use 20.04 system 2727 - tests: skip "/etc/machine-id" in "writablepaths 2728 - interfaces/docker-support: add overlays file access 2729 2730 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 10 Apr 2020 16:57:25 +0200 2731 2732 snapd (2.44.2-1) unstable; urgency=medium 2733 2734 * New upstream release, LP: #1864808 2735 - packaging: detect/disable broken seeds in the postinst 2736 - cmd/snap,seed: validate full seeds (UC 16/18) 2737 - snap: add `snap debug state --is-seeded` helper 2738 - devicestate: generate warning if seeding fails 2739 - store: support for search API v2 2740 - cmd/snap-seccomp/syscalls: update the list of known syscalls 2741 - snap/cmd: the model command needs just a client, no waitMixin 2742 - tests: cleanup security-private-tmp properly 2743 - wrappers: fix timer schedules that are days only 2744 - tests: update proxy-no-core to match latest CDN changes 2745 - cmd/snap-failure,tests: make snap-failure more robust 2746 - tests, many: don't use StartLimitInterval anymore, unify snapd- 2747 failover variants, build snapd snap for UC16 tests 2748 2749 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Apr 2020 09:51:34 +0200 2750 2751 snapd (2.44.1-1) unstable; urgency=medium 2752 2753 * New upstream release, LP: #1864808 2754 - randutil: switch back to setting up seed with lower entropy data 2755 - interfaces/greengrass-support: fix typo 2756 - packaging,tests: ensure debian-sid builds without vendor/ 2757 - travis.yml: run unit tests with go/master as well 2758 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 2759 2760 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 21 Mar 2020 18:32:12 +0100 2761 2762 snapd (2.44-1) unstable; urgency=medium 2763 2764 * New upstream release, LP: #1864808 2765 - daemon: do a forceful serer shutdown if we hit a deadline 2766 - snap: whitelist lzo as support compression for snap pack 2767 - data/selinux: update policy to allow more ops 2768 - interfaces/greengrass-support: add new 1.9 access 2769 - snap: do not hardlink on overlayfs 2770 - cmd/snap-preseed: handle --reset flag 2771 - interfaces/kubernetes-support: allow autobind to journald socket 2772 - snap-seccomp: allow mprotect() to unblock the tests 2773 - tests/lib/reset: workaround unicode dot in systemctl output 2774 - interfaces: work around apparmor_parser slowness affecting uio 2775 - interfaces/udisks2: also allow Introspection on 2776 /org/freedesktop/UDisks2/** 2777 - tests: mock prune ticker in overlord tests to reduce wait times 2778 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 2779 - interfaces: miscellaneous policy updates 2780 - interfaces/audio_playback: Fix pulseaudio config access 2781 - overlord: disable Test..AbortShortlyAfterStartOfOperation for 2.44 2782 - ovelord/snapstate: update only system wide fonts cache 2783 - wrappers: import /etc/environment in all services 2784 - interfaces/u2f: Add Titan USB-C key 2785 - overlord, taskrunner: exit on task/ensure error when preseeding 2786 - overlord/snapstate/backend: update snapd services contents in unit 2787 tests 2788 - wrappers: add mount unit dependency for snapd services on core 2789 devices 2790 - Revert "tests: remove /tmp/snap.* left over by other tests" 2791 - Revert "packaging: work around review-tools and snap-confine" 2792 - netlink: fix panic on arm64 with the new rawsockstop code 2793 - spread, data/selinux: add CentOS 8, update policy 2794 - spread.yaml: mv opensuse tumbleweed to unstable too 2795 - spread.yaml: mv opensuse 15.1 to unstable 2796 - tests: use ipv4 in retry-network to unblock failing master 2797 - data/systemd: improve the description 2798 - tests/lib/prepare.sh: simplify, combine code paths 2799 - tests/main/user-session-env: add test verifying environment 2800 variables inside the user session 2801 - spread.yaml: make qemu ubuntu-core-20-64 use ubuntu-20.04-64 2802 - run-checks: SKIP_GMFMT really skips formatting checks 2803 - tests: enable more tests for UC20/UC18 2804 - tests: remove tmp dir for snap not-test-snapd-sh on security- 2805 private-tmp test 2806 - seed,cmd/snap-bootstrap: introduce seed.Snap.EssentialType, 2807 simplify bootstrap code 2808 - snapstate: do not restart in undoLinkSnap unless on first install 2809 - cmd/snap-bootstrap: subcommand to detect UC chooser trigger 2810 - cmd/snap-bootstrap/initramfs-mounts: mount the snapd snap in run- 2811 mode too 2812 - cmd/libsnap, tests: fix C unit tests failing as non-root 2813 - cmd/snap-bootstrap: verify kernel snap is in modeenv before 2814 mounting it 2815 - tests: adding amazon linux to google backend 2816 - cmd/snap-failure/snapd: rm snapd.socket, reset snapd.socket failed 2817 status 2818 - client: add support for "ResumeToken", "HeaderPeek" to download 2819 - build: enable type: snapd 2820 - tests: rm -rf /tmp/snap.* in restore 2821 - cmd/snap-confine: deny snap-confine to load nss libs 2822 - snapcraft.yaml: add comments, rename snapd part to snapd-deb 2823 - boot: write current_kernels in bootstate20, makebootable 2824 - packaging: work around review-tools and snap-confine 2825 - tests: skipping interfaces-openvswitch on centos due to package is 2826 not available 2827 - packaging,snap-confine: stop being setgid root 2828 - cmd/snap-confine: bring /var/lib/dhcp from host, if present 2829 - store: rely on CommandFromSystemSnap to find xdelta3 2830 - tests: bump sleep time of the new overlord tests 2831 - cmd/snap-preseed: snapd version check for the target 2832 - netlink: fix/support stopping goroutines reading netlink raw 2833 sockets 2834 - tests: reset PS1 before possibly interactive dash 2835 - overlord, state: don't abort changes if spawn time before 2836 StartOfOperationTime (2/2) 2837 - snapcraft.yaml: add python3-apt, tzdata as build-deps for the 2838 snapd snap 2839 - tests: ask tar to speak English 2840 - tests: using google storage when downloading ubuntu cloud images 2841 from gce 2842 - Coverity produces false positives for code like this: 2843 - many: maybe restart & security backend options 2844 - o/standby: add SNAPD_STANDBY_WAIT to control standby in 2845 development 2846 - snap: use the actual staging snap-id for snapd 2847 - cmd/snap-bootstrap: create a new parser instance 2848 - snapcraft.yaml: use build-base and adopt-info, rm builddeb 2849 plugin 2850 - tests: set StartLimitInterval in snapd failover test 2851 - tests: disable archlinux system 2852 - tests: add preseed test for classic 2853 - many, tests: integrate all preseed bits and add spread tests 2854 - daemon: support resuming downloads 2855 - tests: use Filename() instead of filepath.Base(sn.MountFile()) 2856 - tests/core: add swapfiles test 2857 - interfaces/cpu-control: allow to control cpufreq tunables 2858 - interfaces: use commonInteface for desktopInterface 2859 - interfaces/{desktop-legacy,unity7}: adjust for new ibus socket 2860 location 2861 - snap/info: add Filename 2862 - bootloader: make uboot a RecoveryAwareBootloader 2863 - gadget: skip update when mounted filesystem content is identical 2864 - systemd: improve is-active check for 'failed' services 2865 - boot: add current_kernels to modeenv 2866 - o/devicestate: StartOfOperationTime helper for Prune (1/2) 2867 - tests: detect LXD launching i386 containers 2868 - tests: move main/ubuntu-core-* tests to core/ suite 2869 - tests: remove snapd in ubuntu-core-snapd 2870 - boot: enable base snap updates in bootstate20 2871 - tests: Fix core revert channel after 2.43 has been released to 2872 stable 2873 - data/selinux: unify tabs/spaces 2874 - o/ifacestate: move ResolveDisconnect to ifacestate 2875 - spread: move centos to stable systems 2876 - interfaces/opengl: allow datagrams to nvidia-driver 2877 - httputil: add NoNetwork(err) helper, spread test and use in serial 2878 acquire 2879 - store: detect if server does not support http range headers 2880 - test/lib/user: add helper lib for doing things for and as a user 2881 - overlord/snapstate, wrappers: undo of snapd on core 2882 - tests/main/interfaces-pulseaudio: use custom pulseaudio script, 2883 set kill timeout 2884 - store: add support for resume in DownloadStream 2885 - cmd/snap: implement 'snap remove-user' 2886 - overlord/devicestate: fix preseed unit tests on systems not using 2887 /snap 2888 - tests/main/static: ldd in glibc 2.31 logs to stderr now 2889 - run-checks, travis: allow skipping spread jobs by adding a label 2890 - tests: add new backend which includes images with tpm support 2891 - boot: use constants for boot status values 2892 - tests: add "core" suite for UC specific tests 2893 - tests/lib/prepare: use a local copy of uc20 initramfs skeleton 2894 - tests: retry mounting the udisk2 device due to timing issue 2895 - usersession/client: add a client library for the user session 2896 agent 2897 - o/devicestate: Handle preseed mode in the firstboot mode (core16 2898 only for now). 2899 - boot: add TryBase and BaseStatus to modeenv; use in snap-bootstrap 2900 - cmd/snap-confine: detect base transitions on core16 2901 - boot: don't use "kernel" from the modeenv anymore 2902 - interfaces: add uio interface 2903 - tests: repack the initramfs + kernel snap for UC20 spread tests 2904 - interfaces/greengrass-support: add /dev/null -> 2905 /proc/latency_stats mount 2906 - httputil: remove workaround for redirect handling in go1.7 2907 - httputil: remove go1.6 transport workaround 2908 - snap: add `snap pack --compression=<comp>` options 2909 - tests/lib/prepare: fix hardcoded loopback device names for UC 2910 images 2911 - timeutil: add a unit test case for trivial schedule 2912 - randutil,o/snapstate,-mkauthors.sh: follow ups to randutil 2913 introduction 2914 - dirs: variable with distros using alternate snap mount 2915 - many,randutil: centralize and streamline our random value 2916 generation 2917 - tests/lib/prepare-restore: Revert "Continue on errors updating or 2918 installing dependencies" 2919 - daemon: Allow clients to call /v2/logout via Polkit 2920 - dirs: manjaro-arm is like manjaro 2921 - data, packaging: Add sudoers snippet to allow snaps to be run with 2922 sudo 2923 - daemon, store: better expose single action errors 2924 - tests: switch mount-ns test to differential data set 2925 - snapstate: refactor things to add the re-refresh task last 2926 - daemon: drop support for the DELETE method 2927 - client: move to /v2/users; implement RemoveUser 2928 - boot: enable UC20 kernel extraction and bootState20 handling 2929 - interfaces/policy: enforce plug-names/slot-names constraints 2930 - asserts: parse plug-names/slot-names constraints 2931 - daemon: make users result more consistent 2932 - cmd/snap-confine,tests: support x.y.z nvidia version 2933 - dirs: fixlet for XdgRuntimeDirGlob 2934 - boot: add bootloader options to coreKernel 2935 - o/auth,daemon: do not remove unknown user 2936 - tests: tweak and enable tests on ubuntu 20.04 2937 - daemon: implement user removal 2938 - cmd/snap-confine: allow snap-confine to link to libpcre2 2939 - interfaces/builtin: Allow NotificationReplied signal on 2940 org.freedesktop.Notifications 2941 - overlord/auth: add RemoveUserByName 2942 - client: move user-related things to their own files 2943 - boot: tweak kernel cmdline helper docstring 2944 - osutil: implement deluser 2945 - gadget: skip update when raw structure content is unchanged 2946 - boot, cmd/snap, cmd/snap-bootstrap: move run mode and system label 2947 detection to boot 2948 - tests: fix revisions leaking from snapd-refresh test 2949 - daemon: refactor create-user to a user action & hide behind a flag 2950 - osutil/tests: check there are no leftover symlinks with 2951 AtomicSymlink 2952 - grub: support atomically renaming kernel symlinks 2953 - osutil: add helpers for creating symlinks and renaming in an 2954 atomic manner 2955 - tests: add marker tag for core 20 test failure 2956 - tests: fix gadget-update-pc test leaking snaps 2957 - tests: remove revision leaking from ubuntu-core-refresh 2958 - tests: remove revision leaking from remodel-kernel 2959 - tests: disable system-usernames test on core20 2960 - travis, tests, run-checks: skip nakedret 2961 - tests: run `uc20-snap-recovery-encrypt` test on 20.04-64 as well 2962 - tests: update mount-ns test tables 2963 - snap: disable auto-import in uc20 install-mode 2964 - tests: add a command-chain service test 2965 - tests: use test-snapd-upower instead of upower 2966 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 2967 - spread.yaml: fix ubuntu 19.10 and 20.04 names 2968 - debian: check embedded keys for snap-{bootstrap,preseed} too 2969 - interfaces/apparmor: fix doc-comments, unnecessary code 2970 - o/ifacestate,o/devicestatate: merge gadget-connect logic into 2971 auto-connect 2972 - bootloader: add ExtractedRunKernelImageBootloader interface, 2973 implement in grub 2974 - tests: add spread test for hook permissions 2975 - cmd/snap-bootstrap: check device size before boostrapping and 2976 produce a meaningful error 2977 - cmd/snap: add ability to register "snap routine" commands 2978 - tests: add a test demonstrating that snaps can't access the 2979 session agent socket 2980 - api: don't return connections referring to non-existing 2981 plugs/slots 2982 - interfaces: refactor path() from raw-volume into utils with 2983 comments for old 2984 - gitignore: ignore snap files 2985 - tests: skip interfaces-network-manager on arm devices 2986 - o/devicestate: do not create perfTimings if not needed inside 2987 ensureSeed/Operational 2988 - tests: add ubuntu 20.04 to the tests execution and remove 2989 tumbleweed from unstable 2990 - usersession: add systemd user instance service control to user 2991 session agent 2992 - cmd/snap: print full channel in 'snap list', 'snap info' 2993 - tests: remove execution of ubuntu 19.04 from google backend 2994 - cmd/snap-boostrap: add mocking for fakeroot 2995 - tests/core18/snapd-failover: collect more debug info 2996 - many: run black formatter on all python files 2997 - overlord: increase settle timeout for slow machines 2998 - httputil: use shorter timeout in TestRetryRequestTimeoutHandling 2999 - store, o/snapstate: send default-tracks header, use 3000 RedirectChannel 3001 - overlord/standby: fix possible deadlock in standby test 3002 - cmd/snap-discard-ns: fix pattern for .info files 3003 - boot: add HasModeenv to Device 3004 - devicestate: do not allow remodel between core20 models 3005 - bootloader,snap: misc tweaks 3006 - store, overlord/snapstate, etc: SnapAction now returns a []…Result 3007 - snap-bootstrap: create encrypted partition 3008 - snap: remove "host" output from `snap version` 3009 - tests: use snap remove --purge flag in most of the spread tests 3010 - data/selinux, test/main/selinux-clean: update the test to cover 3011 more scenarios 3012 - many: drop NameAndRevision, use snap.PlaceInfo instead 3013 - boot: split MakeBootable tests into their own file 3014 - travis-ci: add go import path 3015 - boot: split MakeBootable implementations into their own file 3016 - tests: enable a lot of the tests of main on uc20 3017 - packaging, tests: stop services in prerm 3018 - tests: enable regression suite on core20 3019 - overlord/snapstate: improve snapd snap backend link unit tests 3020 - boot: implement SetNextBoot in terms of bootState.setNext 3021 - wrappers: write and undo snapd services on core 3022 - boot,o/devicestate: refactor MarkBootSuccessful over bootState 3023 - snap-bootstrap: mount the correct snapd snap to /run/mnt/snapd 3024 - snap-bootstrap: refactor partition creation 3025 - tests: use new snapd.spread-tests-run-mode-tweaks.service unit 3026 - tests: add core20 tests 3027 - boot,o/snapstate: SetNextBoot/LinkSnap return whether to reboot, 3028 use the information 3029 - tests/main/snap-sign: add test for non-stdin signing 3030 - snap-bootstrap: trigger udev after filesystem creation 3031 - boot,overlord: introduce internal abstraction bootState and use it 3032 for InUse/GetCurrentBoot 3033 - overlord/snapstate: tracks are now sticky 3034 - cmd: sign: add filename param 3035 - tests: remove "test-snapd-tools" in smoke/sandbox on restore 3036 - cmd/snap, daemon: stop over-normalising channels 3037 - tests: fix classic-ubuntu-core-transition-two-cores after refactor 3038 of MATCH -v 3039 - packaging: ship var/lib/snapd/desktop/applications in the pkg 3040 - spread: drop copr repo with F30 build dependencies 3041 - tests: use test-snapd-sh snap instead of test-snapd-tools - Part 3 3042 - tests: fix partition creation test 3043 - tests: unify/rename services-related spread tests to start with 3044 services- prefix 3045 - test: extract code that modifies "writable" for test prep 3046 - systemd: handle preseed mode 3047 - snap-bootstrap: read only stdout when parsing the sfdisk json 3048 - interfaces/browser-support: add more product/vendor paths 3049 - boot: write compat UC16 bootvars in makeBootable20RunMode 3050 - devicestate: avoid adding mockModel to deviceMgrInstallModeSuite 3051 - devicestate: request reboot after successful doSetupRunSystem() 3052 - snapd.core-fixup.sh: do not run on UC20 at all 3053 - tests: unmount automounted snap-bootstrap devices 3054 - devicestate: run boot.MakeBootable in doSetupRunSystem 3055 - boot: copy kernel/base to data partition in makeBootable20RunMode 3056 - tests: also check nested lxd container 3057 - run-checks: complain about MATCH -v 3058 - boot: always return the trivial boot participant in ephemeral mode 3059 - o/devicestate,o/snapstate: move the gadget.yaml checkdrive-by: use 3060 gadget.ReadInfoFromSnapFile in checkGadgetRemodelCompatible 3061 - snap-bootstrap: append new partitions 3062 - snap-bootstrap: mount filesystems after creation 3063 - snapstate: do not try to detect rollback in ephemeral modes 3064 - snap-bootstrap: trigger udev for new partitions 3065 - cmd/snap-bootstrap: xxx todos about kernel cross-checks 3066 - tests: avoid mask rsyslog service in case is not enabled on the 3067 system 3068 - tests: fix use of MATCH -v 3069 - cmd/snap-preseed: update help strings 3070 - cmd/snap-bootstrap: actually parse snapd_recovery_system label 3071 - bootstrap: reduce runmode mounts from 5 to 2 steps. 3072 - lkenv.go: adjust for new location of include file 3073 - snap: improve squashfs.ReadFile() error 3074 - systemd: fix uc20 shutdown 3075 - boot: write modeenv when creating the run mode 3076 - boot,image: add skeleton boot.makeBootable20RunMode 3077 - cmd/snap-preseed: add snap-preseed executable 3078 - overlord,boot: follow ups to #7889 and #7899 3079 - interfaces/wayland: Add access to Xwayland's shm files 3080 - o/hookstate/ctlcmd: fix command name in snapctl -h 3081 - daemon,snap: remove screenshot deprecation notice 3082 - overlord,o/snapstate: make sure we never leave config behind 3083 - many: pass consistently boot.Device state to boot methods 3084 - run-checks: check multiline string blocks in 3085 restore/prepare/execute sections of spread tests 3086 - intrefaces: login-session-control - added missing dbus commands 3087 - tests/main/parallel-install-remove-after: parallel installs should 3088 not break removal 3089 - overlord/snapstate: tweak assumes error hint 3090 - overlord: replace DeviceContext.OldModel with GroundContext 3091 - devicestate: use httputil.ShouldRetryError() in 3092 prepareSerialRequest 3093 - tests: replace "test-snapd-base-bare" with real "bare" base snap 3094 - many: pass a Model to the gadget info reading functions 3095 - snapstate: relax gadget constraints in ConfigDefaults Et al. 3096 - devicestate: only run ensureBootOk() in "run" mode 3097 - tests/many: quiet lxc launching, file pushing 3098 - tests: disable apt-hooks test until it can be properly fixed 3099 - tests: 16.04 and 18.04 now have mediating pulseaudio 3100 3101 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 17 Mar 2020 20:55:47 +0100 3102 3103 snapd (2.43.3-1) unstable; urgency=medium 3104 3105 * New upstream release, LP: #1856159 3106 - interfaces/opengl: allow datagrams to nvidia-driver 3107 - httputil: add NoNetwork(err) helper, spread test and use 3108 in serial acquire 3109 - interfaces: add uio interface 3110 - interfaces/greengrass-support: 'aws-iot-greengrass' snap fails to 3111 start due to apparmor deny on mounting of "/proc/latency_stats". 3112 - data, packaging: Add sudoers snippet to allow snaps to be run with 3113 sudo 3114 3115 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 12 Feb 2020 14:59:15 +0100 3116 3117 snapd (2.43.2-1) unstable; urgency=medium 3118 3119 * New upstream release, LP: #1856159 3120 - cmd/snap-confine: Revert #7421 (unmount /writable from snap view) 3121 - overlord/snapstate: fix for re-refresh bug 3122 - tests, run-checks, many: fix nakedret issues 3123 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 3124 - tests: use test-snapd-upower instead of upower 3125 - overlord: increase overall settle timeout for slow arm boards 3126 3127 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 28 Jan 2020 15:50:25 +0100 3128 3129 snapd (2.43.1-1) unstable; urgency=medium 3130 3131 * New upstream release, LP: #1856159 3132 - devicestate: use httputil.ShouldRetryError() in prepareSerialRequest 3133 - overlord/standby: fix possible deadlock in standby test 3134 - cmd/snap-discard-ns: fix pattern for .info files 3135 - overlord,o/snapstate: make sure we never leave config behind 3136 - data/selinux: update policy to cover more cases 3137 - snap: remove "host" output from `snap version` 3138 3139 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 14 Jan 2020 20:30:07 +0100 3140 3141 snapd (2.43-1) unstable; urgency=medium 3142 3143 * New upstream release 3144 3145 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 09 Jan 2020 17:16:12 +0100 3146 3147 snapd (2.42.5-1) unstable; urgency=medium 3148 3149 * New upstream release, LP: #1853244 3150 - snap-confine: revert, with comment, explicit unix deny for nested 3151 lxd 3152 - Disable mount-ns test on 16.04. It is too flaky currently. 3153 3154 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 06 Dec 2019 14:10:56 +0100 3155 3156 snapd (2.42.4-1) unstable; urgency=medium 3157 3158 * New upstream release, LP: #1853244 3159 - overlord/snapstate: make sure configuration defaults are applied 3160 only once 3161 3162 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 28 Nov 2019 06:48:26 +0100 3163 3164 snapd (2.42.3-1) unstable; urgency=medium 3165 3166 * New upstream release, LP: #1853244 3167 - overlord/snapstate: pick up system defaults when seeding the snapd 3168 snap 3169 - cmd/snap-update-ns: fix overlapping, nested writable mimic 3170 handling 3171 - interfaces: misc updates for u2f-devices, browser-support, 3172 hardware-observe, et al 3173 - tests: reset failing "fwupd-refresh.service" if needed 3174 - tests/main/gadget-update-pc: use a program to modify gadget yaml 3175 - snap-confine: suppress noisy classic snap file_inherit denials 3176 3177 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 27 Nov 2019 12:41:07 +0100 3178 3179 snapd (2.42.2-1) unstable; urgency=medium 3180 3181 * New upstream release, LP: #1853244 3182 - interfaces/lxd-support: Fix on core18 3183 - tests/main/system-usernames: Amazon Linux 2 comes with libseccomp 3184 2.4.1 now 3185 - snap-seccomp: add missing clock_getres_time64 3186 - cmd/snap-seccomp/syscalls: update the list of known 3187 syscalls 3188 - sandbox/seccomp: accept build ID generated by Go toolchain 3189 - interfaces: allow access to ovs bridge sockets 3190 3191 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 20 Nov 2019 08:09:15 +0100 3192 3193 snapd (2.42.1-1) unstable; urgency=medium 3194 3195 * New upstream release, LP: #1846181 3196 - interfaces: de-duplicate emitted update-ns profiles 3197 - packaging: tweak handling of usr.lib.snapd.snap-confine 3198 - interfaces: allow introspecting network-manager on core 3199 - tests/main/interfaces-contacts-service: disable on openSUSE 3200 Tumbleweed 3201 - tests/lib/lxd-snapfuse: restore mount changes introduced by LXD 3202 - snap: fix default-provider in seed validation 3203 - tests: update system-usernames test now that opensuse-15.1 works 3204 - overlord: set fake sertial in TestRemodelSwitchToDifferentKernel 3205 - gadget: rename "boot{select,img}" -> system-boot-{select,image} 3206 - tests: listing test, make accepted snapd/core versions consistent 3207 3208 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 30 Oct 2019 13:17:43 +0100 3209 3210 snapd (2.42-1) unstable; urgency=medium 3211 3212 * New upstream release 3213 3214 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 01 Oct 2019 11:40:58 +0200 3215 3216 snapd (2.41-1) unstable; urgency=medium 3217 3218 [ Michael Vogt ] 3219 * New upstream release, LP: #1840740 3220 3221 [ Jamie Strandboge ] 3222 * debian/control: Depends on apparmor >= 2.10.95-5 instead of 3223 2.10.95-0ubuntu2.2 since 2.10.95-5 in Debian is the first version to have 3224 all the patches that 2.10.95-0ubuntu2.2 in Ubuntu brought. 3225 3226 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 30 Aug 2019 08:53:57 +0200 3227 3228 snapd (2.40-1) unstable; urgency=medium 3229 3230 * New upstream release. 3231 3232 -- Michael Vogt <mvo@debian.org> Tue, 23 Jul 2019 15:38:36 +0200 3233 3234 snapd (2.39.3-1) unstable; urgency=medium 3235 3236 * New upstream release, LP: #1827495 3237 - daemon: increase `shutdownTimeout` to 25s to deal with slow HW 3238 - spread: run tests against openSUSE 15.1 3239 - data/selinux: fix policy for snaps with bases and classic snaps 3240 3241 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 21 Jun 2019 09:06:01 +0200 3242 3243 snapd (2.39.2-1) unstable; urgency=medium 3244 3245 * New upstream release, LP: #1827495 3246 - debian: rework how we run autopkgtests 3247 - interfaces/docker-support: add overlayfs accesses for ubuntu core 3248 - data/selinux: permit init_t to remount snappy_snap_t 3249 - strutil/shlex: fix ineffassign 3250 - packaging: fix build-depends on powerpc 3251 3252 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 05 Jun 2019 08:46:14 +0200 3253 3254 snapd (2.39-1) unstable; urgency=medium 3255 3256 * New upstream release 3257 * d/patches0008-snap-squashsh-skip-TestBuildDate-on-Debian.patch: drop, 3258 fixed upstream 3259 3260 -- Zygmunt Krynicki <me@zygoon.pl> Thu, 28 Feb 2019 18:21:26 +0100 3261 3262 snapd (2.39.1-1) unstable; urgency=medium 3263 3264 * New upstream release 3265 3266 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 May 2019 12:08:43 +0200 3267 3268 snapd (2.38-1) unstable; urgency=medium 3269 3270 * New upstream release 3271 3272 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 21 Mar 2019 11:02:04 +0100 3273 3274 snapd (2.37.4-1) unstable; urgency=medium 3275 3276 * New upstream release 3277 * d/patches0008-snap-squashsh-skip-TestBuildDate-on-Debian.patch: drop, 3278 fixed upstream 3279 3280 -- Zygmunt Krynicki <me@zygoon.pl> Thu, 28 Feb 2019 18:21:26 +0100 3281 3282 snapd (2.37.3-1) unstable; urgency=medium 3283 3284 * New upstream release 3285 3286 -- Zygmunt Krynicki <me@zygoon.pl> Tue, 19 Feb 2019 13:46:24 +0100 3287 3288 snapd (2.37.2-1) unstable; urgency=medium 3289 3290 * New upstream releease. 3291 3292 -- Michael Hudson-Doyle <mwhudson@debian.org> Thu, 07 Feb 2019 21:26:34 +1300 3293 3294 snapd (2.37.1-1) unstable; urgency=medium 3295 3296 * New upstream release. 3297 * d/patches/0009-interfaces-apparmor-mock-presence-of-overlayfs-root.patch: 3298 applied upstream 3299 3300 -- Zygmunt Krynicki <me@zygoon.pl> Tue, 29 Jan 2019 19:24:35 +0100 3301 3302 snapd (2.37-3) unstable; urgency=medium 3303 3304 * Fix --no-arch-any build. 3305 3306 -- Michael Hudson-Doyle <mwhudson@debian.org> Thu, 24 Jan 2019 16:11:17 +1300 3307 3308 snapd (2.37-2) unstable; urgency=medium 3309 3310 * d/patches/0010-man-page-sections.patch: fix a couple of instances of the 3311 lintian warning 'manpage-section-mismatch'. 3312 3313 -- Michael Hudson-Doyle <mwhudson@debian.org> Thu, 24 Jan 2019 09:52:09 +1300 3314 3315 snapd (2.37-1) unstable; urgency=medium 3316 3317 [ Michael Hudson-Doyle ] 3318 * New upstream version. 3319 * d/control: make myself Maintainer, use my Debian address, update Vcs-* to 3320 point to salsa. 3321 * Add new build-dependencies. 3322 * d/watch: update to download new upstream-provided no-vendor tarballs. 3323 * d/patches: refresh/drop. 3324 * d/patches/no-snapfuse.patch: do not depend on snapfuse fork of squashfuse. 3325 * d/patches/upstram-bolt.patch: use upstream version of boltdb. 3326 * d/patches/systemd-activation-compat.patch: compatibility for the 3327 newer go-systemd in debian 3328 3329 [ Ondřej Nový ] 3330 * d/copyright: Use https protocol in Format field 3331 * d/changelog: Remove trailing whitespaces 3332 3333 [ Zygmunt Krynicki ] 3334 * Update unreleased package to 2.37 3335 * Drop and recreate all patches 3336 * Add patches for failing unit tests 3337 * Reconcile packaging with snapd upstream 3338 3339 -- Zygmunt Krynicki <me@zygoon.pl> Tue, 22 Jan 2019 12:39:58 +0100 3340 3341 snapd (2.30-5) unstable; urgency=medium 3342 3343 * Team upload. 3344 * add fix-pkg-config-line.patch to fix FTBFS 3345 * Set XS-Go-Import-Path 3346 3347 -- Michael Stapelberg <stapelberg@debian.org> Sat, 10 Feb 2018 23:18:15 +0100 3348 3349 snapd (2.30-4) unstable; urgency=medium 3350 3351 * Fix Built-Using computation on Debian. 3352 * Add d/patches/disable-TestDoRequestSerialErrorsOnNoHost.patch to disable 3353 a flaky test. 3354 3355 -- Michael Hudson-Doyle <mwhudson@debian.org> Tue, 16 Jan 2018 13:02:31 +1300 3356 3357 snapd (2.30-3) unstable; urgency=medium 3358 3359 * Fix arch builds again, sigh, 3360 3361 -- Michael Hudson-Doyle <mwhudson@debian.org> Tue, 09 Jan 2018 13:56:48 +1300 3362 3363 snapd (2.30-2) unstable; urgency=medium 3364 3365 * Fix arch-all-only build. (Closes: 886431) 3366 3367 -- Michael Hudson-Doyle <mwhudson@debian.org> Tue, 09 Jan 2018 10:48:20 +1300 3368 3369 snapd (2.30-1) unstable; urgency=medium 3370 3371 * New upstream release. 3372 * Remove several patches: 3373 - 0001-osutil-adjust-StreamCommand-tests-for-golang-1.9.patch: included in 3374 release. 3375 - apparmor-compat.patch, no-reexec-on-debian.patch: Removed as upstream 3376 now implements a better solution to the problem. 3377 - pb.v1-canonical-path.patch: applied upstream. 3378 * Stop installing udev/rules.d/80-snappy-assign.rules, gone upstream 3379 3380 -- Michael Hudson-Doyle <mwhudson@debian.org> Fri, 05 Jan 2018 09:39:07 +1300 3381 3382 snapd (2.28.5) xenial; urgency=medium 3383 3384 * New upstream release, LP: #1714984 3385 - snap-confine: cleanup broken nvidia udev tags 3386 - cmd/snap-confine: update valid security tag regexp 3387 - overlord/ifacestate: refresh udev backend on startup 3388 - dbus: ensure io.snapcraft.Launcher.service is created on re- 3389 exec 3390 - snap-confine: add support for handling /dev/nvidia-modeset 3391 - interfaces/network-control: remove incorrect rules for tun 3392 3393 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 Oct 2017 23:25:46 +0200 3394 3395 snapd (2.28.4) xenial; urgency=medium 3396 3397 * New upstream release, LP: #1714984 3398 - interfaces/opengl: don't udev tag nvidia devices and use snap- 3399 confine instead 3400 - debian: fix replaces/breaks for snap-xdg-open (thanks to apw!) 3401 3402 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Oct 2017 19:40:57 +0200 3403 3404 snapd (2.28.3) xenial; urgency=medium 3405 3406 * New upstream release, LP: #1714984 3407 - interfaces/lxd: lxd slot implementation can also be an app 3408 snap 3409 3410 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Oct 2017 08:20:26 +0200 3411 3412 snapd (2.28.2) xenial; urgency=medium 3413 3414 * New upstream release, LP: #1714984 3415 - interfaces: fix udev rules for tun 3416 - release,cmd,dirs: Redo the distro checks to take into account 3417 distribution families 3418 3419 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 10 Oct 2017 18:39:58 +0200 3420 3421 snapd (2.28.1) xenial; urgency=medium 3422 3423 * New upstream release, LP: #1714984 3424 - snap-confine: update apparmor rules for fedora based basesnaps 3425 - snapstate: rename refresh hook to post-refresh for consistency 3426 3427 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 27 Sep 2017 17:59:49 -0400 3428 3429 snapd (2.28) xenial; urgency=medium 3430 3431 * New upstream release, LP: #1714984 3432 - hooks: rename refresh to after-refresh 3433 - snap-confine: bind mount /usr/lib/snapd relative to snap-confine 3434 - cmd,dirs: treat "liri" the same way as "arch" 3435 - snap-confine: fix base snaps on core 3436 - hooks: substitute env vars when executing hooks 3437 - interfaces: updates for default, browser-support, desktop, opengl, 3438 upower and stub-resolv.conf 3439 - cmd,dirs: treat manjaro the same as arch 3440 - systemd: do not run auto-import and repair services on classic 3441 - packaging/fedora: Ensure vendor/ is empty for builds and fix spec 3442 to build current master 3443 - many: fix TestSetConfNumber missing an Unlock and other fragility 3444 improvements 3445 - osutil: adjust StreamCommand tests for golang 1.9 3446 - daemon: allow polkit authorisation to install/remove snaps 3447 - tests: make TestCmdWatch more robust 3448 - debian: improve package description 3449 - interfaces: add netlink kobject uevent to hardware observe 3450 - debian: update trusted account-keys check on 14.04 packaging 3451 - interfaces/network-{control,observe}: allow receiving 3452 kobject_uevent() messages 3453 - tests: fix lxd test for external backend 3454 - snap-confine,snap-update-ns: add -no-pie to fix FTBFS on 3455 go1.7,ppc64 3456 - corecfg: mock "systemctl" in all corecfg tests 3457 - tests: fix unit tests on Ubuntu 14.04 3458 - debian: add missing flags when building static snap-exec 3459 - many: end-to-end support for the bare base snap 3460 - overlord/snapstate: SetRootDir from SetUpTest, not in just some 3461 tests 3462 - store: have an ad-hoc method on cfg to get its list of uris for 3463 tests 3464 - daemon: let client decide whether to allow interactive auth via 3465 polkit 3466 - client,daemon,snap,store: add license field 3467 - overlord/snapstate: rename HasCurrent to IsInstalled, remove 3468 superfluous/misleading check from All 3469 - cmd/snap: SetRootDir from SetUpTest, not in just some individual 3470 tests. 3471 - systemd: rename snap-repair.{service,timer} to snapd.snap- 3472 repair.{service,timer} 3473 - snap-seccomp: remove use of x/net/bpf from tests 3474 - httputil: more naive per go version way to recreate a default 3475 transport for tls reconfig 3476 - cmd/snap-seccomp/main_test.go: add one more syscall for arm64 3477 - interfaces/opengl: use == to compare, not = 3478 - cmd/snap-seccomp/main_test.go: add syscalls for armhf and arm64 3479 - cmd/snap-repair: track and use a lower bound for the time for 3480 TLS checks 3481 - interfaces: expose bluez interface on classic OS 3482 - snap-seccomp: add in-kernel bpf tests 3483 - overlord: always try to get a serial, lazily on classic 3484 - tests: add nmcli regression test 3485 - tests: deal with __PNR_chown on aarch64 to fix FTBFS on arm64 3486 - tests: add autopilot-introspection interface test 3487 - vendor: fix artifact from manually editing vendor/vendor.json 3488 - tests: rename complexion to test-snapd-complexion 3489 - interfaces: add desktop and desktop-legacy 3490 interfaces/desktop: add new 'desktop' interface for modern DEs 3491 interfaces/builtin/desktop_test.go: use modern testing techniques 3492 interfaces/wayland: allow read on /etc/drirc for Plasma desktop 3493 interfaces/desktop-legacy: add new 'legacy' interface (currently 3494 for a11y and input) 3495 - tests: fix race in snap userd test 3496 - devices/iio: add read/write for missing sysfs entries 3497 - spread: don't set HTTPS?_PROXY for linode 3498 - cmd/snap-repair: check signatures of repairs from Next 3499 - env: set XDG_DATA_DIRS for wayland et.al. 3500 - interfaces/{default,account-control}: Use username/group instead 3501 of uid/gid 3502 - interfaces/builtin: use udev tagging more broadly 3503 - tests: add basic lxd test 3504 - wrappers: ensure bash completion snaps install on core 3505 - vendor: use old golang.org/x/crypto/ssh/terminal to build on 3506 powerpc again 3507 - docs: add PULL_REQUEST_TEMPLATE.md 3508 - interfaces: fix network-manager plug 3509 - hooks: do not error out when hook is optional and no hook handler 3510 is registered 3511 - cmd/snap: add userd command to replace snapd-xdg-open 3512 - tests: new regex used to validate the core version on extra snaps 3513 ass... 3514 - snap: add new `snap switch` command 3515 - tests: wait more and more debug info about fakestore start issues 3516 - apparmor,release: add better apparmor detection/mocking code 3517 - interfaces/i2c: adjust sysfs rule for alternate paths 3518 - interfaces/apparmor: add missing call to dirs.SetRootDir 3519 - cmd: "make hack" now also installs snap-update-ns 3520 - tests: copy files with less verbosity 3521 - cmd/snap-confine: allow using additional libraries required by 3522 openSUSE 3523 - packaging/fedora: Merge changes from Fedora Dist-Git 3524 - snapstate: improve the error message when classic confinement is 3525 not supported 3526 - tests: add test to ensure amd64 can run i386 syscall binaries 3527 - tests: adding extra info for fakestore when fails to start 3528 - tests: install most important snaps 3529 - cmd/snap-repair: more test coverage of filtering 3530 - squashfs: remove runCommand/runCommandWithOutput as we do not need 3531 it 3532 - cmd/snap-repair: ignore superseded revisions, filter on arch and 3533 models 3534 - hooks: support for refresh hook 3535 - Partial revert "overlord/devicestate, store: update device auth 3536 endpoints URLs" 3537 - cmd/snap-confine: allow reading /proc/filesystems 3538 - cmd/snap-confine: genearlize apparmor profile for various lib 3539 layout 3540 - corecfg: fix proxy.* writing and add integration test 3541 - corecfg: deal with system.power-key-action="" correctly 3542 - vendor: update vendor.json after (presumed) manual edits 3543 - cmd/snap: in `snap info`, don't print a newline between tracks 3544 - daemon: add polkit support to /v2/login 3545 - snapd,snapctl: decode json using Number 3546 - client: fix go vet 1.7 errors 3547 - tests: make 17.04 shellcheck clean 3548 - tests: remove TestInterfacesHelp as it breaks when go-flags 3549 changes 3550 - snapstate: undo a daemon restart on classic if needed 3551 - cmd/snap-repair: recover brand/model from 3552 /var/lib/snapd/seed/assertions checking signatures and brand 3553 account 3554 - spread: opt into unsafe IO during spread tests 3555 - snap-repair: update snap-repair/runner_test.go for API change in 3556 makeMockServer 3557 - cmd/snap-repair: skeleton code around actually running a repair 3558 - tests: wait until the port is listening after start the fake store 3559 - corecfg: fix typo in tests 3560 - cmd/snap-repair: test that redirects works during fetching 3561 - osutil: honor SNAPD_UNSAFE_IO for testing 3562 - vendor: explode and make more precise our golang.go/x/crypto deps, 3563 use same version as Debian unstable 3564 - many: sanitize NewStoreStack signature, have shared default store 3565 test private keys 3566 - systemd: disable `Nice=-5` to fix error when running inside lxd 3567 - spread.yaml: update delta ref to 2.27 3568 - cmd/snap-repair: use E-Tags when refetching a repair to retry 3569 - interfaces/many: updates based on chromium and mrrescue denials 3570 - cmd/snap-repair: implement most logic to get the next repair to 3571 run/retry in a brand sequence 3572 - asserts/assertstest: copy headers in SigningDB.Sign 3573 - interfaces: convert uhid to common interface and test cases 3574 improvement for time_control and opengl 3575 - many tests: move all panicing fake store methods to a common place 3576 - asserts: add store assertion type 3577 - interfaces: don't crash if content slot has no attributes 3578 - debian: do not build with -buildmode=pie on i386 3579 - wrappers: symlink completion snippets when symlinking binaries 3580 - tests: adding more debug information for the interfaces-cups- 3581 control … 3582 - apparmor: pass --quiet to parser on load unless SNAPD_DEBUG is set 3583 - many: allow and support serials signed by the 'generic' authority 3584 instead of the brand 3585 - corecfg: add proxy configuration via `snap set core 3586 proxy.{http,https,ftp}=...` 3587 - interfaces: a bunch of interfaces test improvement 3588 - tests: enable regression and completion suites for opensuse 3589 - tests: installing snapd for nested test suite 3590 - interfaces: convert lxd_support to common iface 3591 - interfaces: add missing test for camera interface. 3592 - snap: add support for parsing snap layout section 3593 - cmd/snap-repair: like for downloads we cannot have a timeout (at 3594 least for now), less aggressive retry strategies 3595 - overlord: rely on more conservative ensure interval 3596 - overlord,store: no piles of return args for methods gathering 3597 device session request params 3598 - overlord,store: send model assertion when setting up device 3599 sessions 3600 - interfaces/misc: updates for unity7/x11, browser- 3601 support, network-control and mount-observe 3602 interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 3603 interfaces/browser-support: update sysfs reads for 3604 newer browser versions, interfaces/network-control: rw for 3605 ieee80211 advanced wireless interfaces/mount-observe: allow read 3606 on sysfs entries for block devices 3607 - tests: use dnf --refresh install to avert stale cache 3608 - osutil: ensure TestLockUnlockWorks uses supported flock 3609 - interfaces: convert lxd to common iface 3610 - tests: restart snapd to ensure re-exec settings are applied 3611 - tests: fix interfaces-cups-control test 3612 - interfaces: improve and tweak bunch of interfaces test cases. 3613 - tests: adding extra worker for fedora 3614 - asserts,overlord/devicestate: support predefined assertions that 3615 don't establish foundational trust 3616 - interfaces: convert two hardware_random interfaces to common iface 3617 - interfaces: convert io_ports_control to common iface 3618 - tests: fix for upgrade test on fedora 3619 - daemon, client, cmd/snap: implement snap start/stop/restart 3620 - cmd/snap-confine: set _FILE_OFFSET_BITS to 64 3621 - interfaces: covert framebuffer to commonInterface 3622 - interfaces: convert joystick to common iface 3623 - interfaces/builtin: add the spi interface 3624 - wrappers, overlord/snapstate/backend: make link-snap clean up on 3625 failure. 3626 - interfaces/wayland: add wayland interface 3627 - interfaces: convert kvm to common iface 3628 - tests: extend upower-observe test to cover snaps providing slots 3629 - tests: enable main suite for opensuse 3630 - interfaces: convert physical_memory_observe to common iface 3631 - interfaces: add missing test for optical_drive interface. 3632 - interfaces: convert physical_memory_control to common iface 3633 - interfaces: convert ppp to common iface 3634 - interfaces: convert time-control to common iface 3635 - tests: fix failover test 3636 - interfaces/builtin: rework for avahi interface 3637 - interfaces: convert broadcom-asic-control to common iface 3638 - snap/snapenv: document the use of CoreSnapMountDir for SNAP 3639 - packaging/arch: drop patches merged into master 3640 - cmd: fix mustUnsetenv docstring (thanks to Chipaca) 3641 - release: remove default from VERSION_ID 3642 - tests: enable regression, upgrade and completion test suites for 3643 fedora 3644 - tests: restore interfaces-account-control properly 3645 - overlord/devicestate, store: update device auth endpoints URLs 3646 - tests: fix install-hook test failure 3647 - tests: download core and ubuntu-core at most once 3648 - interfaces: add common support for udev 3649 - overlord/devicestate: fix, don't assume that the serial is backed 3650 by a 1-key chain 3651 - cmd/snap-confine: don't share /etc/nsswitch from host 3652 - store: do not resume a download when we already have the whole 3653 thing 3654 - many: implement "snap logs" 3655 - store: don't call useDeltas() twice in quick succession 3656 - interfaces/builtin: add kvm interface 3657 - snap/snapenv: always expect /snap for $SNAP 3658 - cmd: mark arch as non-reexecing distro 3659 - cmd: fix tests that assume /snap mount 3660 - gitignore: ignore more build artefacts 3661 - packaging: add current arch packaging 3662 - interfaces/unity7: allow receiving media key events in (at least) 3663 gnome-shell 3664 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 3665 - interfaces/builtin: implement broadcom-asic-control interface 3666 - interfaces/builtin: reduce duplication and remove cruft in 3667 Sanitize{Plug,Slot} 3668 - tests: apply underscore convention for SNAPMOUNTDIR variable 3669 - interfaces/greengrass-support: adjust accesses now that have 3670 working snap 3671 - daemon, client, cmd/snap: implement "snap services" 3672 - tests: fix refresh tests not stopping fake store for fedora 3673 - many: add the interface command 3674 - overlord/snapstate/backend: some copydata improvements 3675 - many: support querying and completing assertion type names 3676 - interfaces/builtin: discard empty Validate{Plug,Slot} 3677 - cmd/snap-repair: start of Runner, implement first pass of Peek 3678 and Fetch 3679 - tests: enable main suite on fedora 3680 - snap: do not always quote the snap info summary 3681 - vendor: update go-flags to address crash in "snap debug" 3682 - interfaces: opengl support pci device and vendor 3683 - many: start implenting "base" snap type on the snapd side 3684 - arch,release: map armv6 correctly 3685 - many: expose service status in 'snap info' 3686 - tests: add browser-support interface test 3687 - tests: disable snapd-notify for the external backend 3688 - interfaces: Add /run/uuid/request to openvswitch 3689 - interfaces: add password-manager-service implicit classic 3690 interface 3691 - cmd: rework reexec detection 3692 - cmd: fix re-exec bug when starting from snapd 2.21 3693 - tests: dependency packages installed during prepare-project 3694 - tests: remove unneeded check for re-exec in InternalToolPath() 3695 - cmd,tests: fix classic confinement confusing re-execution code 3696 - store: configurable base api 3697 - tests: fix how package lists are updated for opensuse and fedora 3698 3699 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 25 Sep 2017 12:07:34 -0400 3700 3701 snapd (2.27.6-2) unstable; urgency=medium 3702 3703 * Add d/patches/0001-osutil-adjust-StreamCommand-tests-for-golang-1.9.patch 3704 to fix FTBFS with Go 1.9. (Closes: #876867) 3705 3706 -- Michael Hudson-Doyle <mwhudson@debian.org> Tue, 26 Sep 2017 13:41:53 -0400 3707 3708 snapd (2.27.6-1) unstable; urgency=medium 3709 3710 * New upstream release, LP: #1703798: 3711 - interfaces: add udev netlink support to hardware-observe 3712 - interfaces/network-{control,observe}: allow receiving 3713 kobject_uevent() messages 3714 3715 -- Zygmunt Krynicki <me@zygoon.pl> Fri, 08 Sep 2017 00:03:18 +0200 3716 3717 snapd (2.27.5-1) unstable; urgency=medium 3718 3719 * New upstream release. 3720 - interfaces: fix network-manager plug regression 3721 - hooks: do not error when hook handler is not registered 3722 - interfaces/alsa,pulseaudio: allow read on udev data for sound 3723 - interfaces/optical-drive: read access to udev data for /dev/scd* 3724 - interfaces/browser-support: read on /proc/vmstat and misc udev data 3725 3726 -- Zygmunt Krynicki <me@zygoon.pl> Thu, 31 Aug 2017 10:11:20 +0200 3727 3728 snapd (2.27.4-1) unstable; urgency=medium 3729 3730 * New upstream release. 3731 * Enable seccomp. 3732 3733 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Thu, 24 Aug 2017 22:12:52 +1200 3734 3735 snapd (2.27.2-2) unstable; urgency=medium 3736 3737 * Fix re-exec test failure. 3738 3739 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 18 Aug 2017 11:37:47 +1200 3740 3741 snapd (2.27.2-1) unstable; urgency=medium 3742 3743 * New upstream release. 3744 * Stop using single-debian-patch, split delta into separate patches. 3745 * Allow confining snap-confine even when --disable-apparmor is used. 3746 * Pass --enable-static-libcap to cmd/configure, as was always the intention. 3747 * Disable re-exec on Debian until core snap can cope with a partial apparmor 3748 implementation. (Closes: #851473) 3749 3750 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 18 Aug 2017 11:00:31 +1200 3751 3752 snapd (2.27.1-1) unstable; urgency=medium 3753 3754 * New upstream release. (Closes: #868959, #869268, #872071) 3755 * New changes to upstream sources: 3756 - Disable cmd/snap-seccomp tests as they depend on an unpackaged fork of 3757 golang/x/net. 3758 - Use upstream version of libseccomp-golang. 3759 * Do not install ancient ubuntu-core-launcher symlink. 3760 3761 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 14 Aug 2017 21:53:09 +1200 3762 3763 snapd (2.27.1) xenial; urgency=medium 3764 3765 * New upstream release, LP: #1703798: 3766 - tests: use dnf --refresh install to avert stale cache 3767 - tests: fix test failure on 14.04 due to old version of 3768 flock 3769 - updates for unity7/x11, browser-support, network-control, 3770 mount-observe 3771 - interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 3772 - interfaces/browser-support: update sysfs reads for 3773 newer browser versions 3774 - interfaces/network-control: rw for ieee80211 advanced wireless 3775 - interfaces/mount-observe: allow read on sysfs entries for block 3776 devices 3777 3778 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 14 Aug 2017 08:02:17 +0200 3779 3780 snapd (2.27) xenial; urgency=medium 3781 3782 * New upstream release, LP: #1703798 3783 - fix build failure on 32bit fedora 3784 - interfaces: add password-manager-service implicit classic interface 3785 - interfaces/greengrass-support: adjust accesses now that have working 3786 snap 3787 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 3788 - interfaces/unity7: allow receiving media key events in (at least) 3789 gnome-shell 3790 - cmd: fix re-exec bug when starting from snapd 2.21 3791 - tests: restore interfaces-account-control properly 3792 - cmd: fix tests that assume /snap mount 3793 - cmd: mark arch as non-reexecing distro 3794 - snap-confine: don't share /etc/nsswitch from host 3795 - store: talk to api.snapcraft.io for purchases 3796 - hooks: support for install and remove hooks 3797 - packaging: fix Fedora support 3798 - tests: add bluetooth-control interface test 3799 - store: talk to api.snapcraft.io for assertions 3800 - tests: remove snapd before building from branch 3801 - tests: add avahi-observe interface test 3802 - store: orders API now checks if customer is ready 3803 - cmd/snap: snap find only searches stable 3804 - interfaces: updates default, mir, optical-observe, system-observe, 3805 screen-inhibit-control and unity7 3806 - tests: speedup prepare statement part 1 3807 - store: do not send empty refresh requests 3808 - asserts: fix error handling in snap-developer consistency check 3809 - systemd: add explicit sync to snapd.core-fixup.sh 3810 - snapd: generate snap cookies on startup 3811 - cmd,client,daemon: expose "force devmode" in sysinfo 3812 - many: introduce and use strutil.ListContains and also 3813 strutil.SortedListContains 3814 - assserts,overlord/assertstate: test we don't accept chains of 3815 assertions founded on a self-signed key coming externally 3816 - interfaces: enable access to bridge settings 3817 - interfaces: fix copy-pasted iio vs io in io-ports-control 3818 - cmd/snap-confine: various small fixes and tweaks to seccomp 3819 support code 3820 - interfaces: bring back seccomp argument filtering 3821 - systemd, osutil: rework systemd logs in preparation for services 3822 commands 3823 - tests: store /etc/systemd/system/snap-*core*.mount in snapd- 3824 state.tar.gz 3825 - tests: shellcheck improvements for tests/main tasks - first set of 3826 tests 3827 - cmd/snap: `--last` for abort and watch, and aliases 3828 (search→find, change→tasks) 3829 - tests: shellcheck improvements for tests/lib scripts 3830 - tests: create ramdisk if it's not present 3831 - tests: shellcheck improvements for nightly upgrade and regressions 3832 tests 3833 - snapd: fix for snapctl get panic on null config values. 3834 - tests: fix for rng-tools service not restarting 3835 - systemd: add snapd.core-fixup.service unit 3836 - cmd: avoid using current symlink in InternalToolPath 3837 - tests: fix timeout issue for test refresh core with hanging … 3838 - intefaces: control bridged vlan/ppoe-tagged traffic 3839 - cmd/snap: include snap type in notes 3840 - overlord/state: Abort() only visits each task once 3841 - tests: extend find-private test to cover more cases 3842 - snap-seccomp: skip socket() tests on systems that use socketcall() 3843 instead of socket() 3844 - many: support snap title as localized/title-cased name 3845 - snap-seccomp: deal with mknod on aarch64 in the seccomp tests 3846 - interfaces: put base policy fragments inside each interface 3847 - asserts: introduce NewDecoderWithTypeMaxBodySize 3848 - tests: fix snapd-notify when it takes more time to restart 3849 - snap-seccomp: fix snap-seccomp tests in artful 3850 - tests: fix for create-key task to avoid rng-tools service ramains 3851 alive 3852 - snap-seccomp: make sure snap-seccomp writes the bpf file 3853 atomically 3854 - tests: do not disable ipv6 on core systems 3855 - arch: the kernel architecture name is armv7l instead of armv7 3856 - snap-confine: ensure snap-confine waits some seconds for seccomp 3857 security profiles 3858 - tests: shellcheck improvements for tests/nested tasks 3859 - wrappers: add SyslogIdentifier to the service unit files. 3860 - tests: shellcheck improvements for unit tasks 3861 - asserts: implement FindManyTrusted as well 3862 - asserts: open up and optimize Encoder to help avoiding unnecessary 3863 copying 3864 - interfaces: simplify snap-confine by just loading pre-generated 3865 bpf code 3866 - tests: restart rng-tools services after few seconds 3867 - interfaces, tests: add mising dbus abstraction to system-observe 3868 and extend spread test 3869 - store: change main store host to api.snapcraft.io 3870 - overlord/cmdstate: new package for running commands as tasks. 3871 - spread: help libapt resolve installing libudev-dev 3872 - tests: show the IP from .travis.yaml 3873 - tests/main: use pkgdb function in more test cases 3874 - cmd,daemon: add debug command for displaying the base policy 3875 - tests: prevent quoting error on opensuse 3876 - tests: fix nightly suite 3877 - tests: add linode-sru backend 3878 - snap-confine: validate SNAP_NAME against security tag 3879 - tests: fix ipv6 disable for ubuntu-core 3880 - tests: extend core-revert test to cover bluez issues 3881 - interfaces/greengrass-support: add support for Amazon Greengrass 3882 as a snap 3883 - asserts: support timestamp and optional disabled header on repair 3884 - tests: reboot after upgrading to snapd on the -proposed pocket 3885 - many: fix test cases to work with different DistroLibExecDir 3886 - tests: reenable help test on ubuntu and debian systems 3887 - packaging/{opensuse,fedora}: allow package build with testkeys 3888 included 3889 - tests/lib: generalize RPM build support 3890 - interfaces/builtin: sync connected slot and permanent slot snippet 3891 - tests: fix snap create-key by restarting automatically rng-tools 3892 - many: switch to use http numeric statuses as agreed 3893 - debian: add missing Type=notify in 14.04 packaging 3894 - tests: mark interfaces-openvswitch as manual due to prepare errors 3895 - debian: unify built_using between the 14.04 and 16.04 packaging 3896 branch 3897 - tests: pull from urandom when real entropy is not enough 3898 - tests/main/manpages: install missing man package 3899 - tests: add refresh --time output check 3900 - debian: add missing "make -C data/systemd clean" 3901 - tests: fix for upgrade test when it is repeated 3902 - tests/main: use dir abstraction in a few more test cases 3903 - tests/main: check for confinement in a few more interface tests 3904 - spread: add fedora snap bin dir to global PATH 3905 - tests: check that locale-control is not present on core 3906 - many: snapctl outside hooks 3907 - tests: add whoami check 3908 - interfaces: compose the base declaration from interfaces 3909 - tests: fix spread flaky tests linode 3910 - tests,packaging: add package build support for openSUSE 3911 - many: slight improvement of some snap error messaging 3912 - errtracker: Include /etc/apparmor.d/usr.lib.snap-confine md5sum in 3913 err reports 3914 - tests: fix for the test postrm-purge 3915 - tests: restoring the /etc/environment and service units config for 3916 each test 3917 - daemon: make snapd a "Type=notify" daemon and notify when startup 3918 is done 3919 - cmd/snap-confine: add support for --base snap 3920 - many: derive implicit slots from interface meta-data 3921 - tests: add core revert test 3922 - tests,packaging: add package build support for Fedora for our 3923 spread setup 3924 - interfaces: move base declaration to the policy sub-package 3925 - tests: fix for snapd-reexec test cheking for restart info on debug 3926 log 3927 - tests: show available entropy on error 3928 - tests: clean journalctl logs on trusty 3929 - tests: fix econnreset on staging 3930 - tests: modify core before calling set 3931 - tests: add snap-confine privilege test 3932 - tests: add staging snap-id 3933 - interfaces/builtin: silence ptrace denial for network-manager 3934 - tests: add alsa interface spread test 3935 - tests: prefer ipv4 over ipv6 3936 - tests: fix for econnreset test checking that the download already 3937 started 3938 - httputil,store: extract retry code to httputil, reorg usages 3939 - errtracker: report if snapd did re-execute itself 3940 - errtracker: include bits of snap-confine apparmor profile 3941 - tests: take into account staging snap-ids for snap-info 3942 - cmd: add stub new snap-repair command and add timer 3943 - many: stop "snap refresh $x --channel invalid" from working 3944 - interfaces: revert "interfaces: re-add reverted ioctl and quotactl 3945 - snapstate: consider connect/disconnect tasks in 3946 CheckChangeConflict. 3947 - interfaces: disable "mknod |N" in the default seccomp template 3948 again 3949 - interfaces,overlord/ifacestate: make sure installing slots after 3950 plugs works similarly to plugs after slots 3951 - interfaces/seccomp: add bind() syscall for forced-devmode systems 3952 - packaging/fedora: Sync packaging from Fedora Dist-Git 3953 - tests: move static and unit tests to spread task 3954 - many: error types should be called FooError, not ErrFoo. 3955 - partition: add directory sync to the save uboot.env file code 3956 - cmd: test everything (100% coverage \o/) 3957 - many: make shell scripts shellcheck-clean 3958 - tests: remove additional setup for docker on core 3959 - interfaces: add summary to each interface 3960 - many: remove interface meta-data from list of connections 3961 - logger (& many more, to accommodate): drop explicit syslog. 3962 - packaging: import packaging bits for opensuse 3963 - snapstate,many: implement snap install --unaliased 3964 - tests/lib: abstract build dependency installation a bit more 3965 - interfaces, osutil: move flock code from interfaces/mount to 3966 osutil 3967 - cmd: auto import assertions only from ext4,vfat file systems 3968 - many: refactor in preparation for 'snap start' 3969 - overlord/snapstate: have an explicit code path last-refresh 3970 unset/zero => immediately refresh try 3971 - tests: fixes for executions using the staging store 3972 - tests: use pollinate to seed the rng 3973 - cmd/snap,tests: show the sha3-384 of the snap for snap info 3974 --verbose SNAP-FILE 3975 - asserts: simplify and adjust repair assertion definition 3976 - cmd/snap,tests: show the snap id if available in snap info 3977 - daemon,overlord/auth: store from model assertion wins 3978 - cmd/snap,tests/main: add confinement switch instead of spread 3979 system blacklisting 3980 - many: cleanup MockCommands and don't leave a process around after 3981 hookstate tests 3982 - tests: update listing test to the core version number schema 3983 - interfaces: allow snaps to use the timedatectl utility 3984 - packaging: Add Fedora packaging files 3985 - tests/libs: add distro_auto_remove_packages function 3986 - cmd/snap: correct devmode note for anomalous state 3987 - tests/main/snap-info: use proper pkgdb functions to install distro 3988 packages 3989 - tests/lib: use mktemp instead of tempfile to work cross-distro 3990 - tests: abstract common dirs which differ on distributions 3991 - many: model and expose interface meta-data. 3992 - overlord: make config defaults from gadget work also at first boot 3993 - interfaces/log-observe: allow using journalctl from hostfs for 3994 classic distro 3995 - partition,snap: add support for android boot 3996 - errtracker: small simplification around readMachineID 3997 - snap-confine: move rm_rf_tmp to test-utils. 3998 - tests/lib: introduce pkgdb helper library 3999 - errtracker: try multiple paths to read machine-id 4000 - overlord/hooks: make sure only one hook for given snap is executed 4001 at a time. 4002 - cmd/snap-confine: use SNAP_MOUNT_DIR to setup /snap inside the 4003 confinement env 4004 - tests: bump kill-timeout and remove quiet call on build 4005 - tests/lib/snaps: add a test store snap with a passthrough 4006 configure hook 4007 - daemon: teach the daemon to wait on active connections when 4008 shutting down 4009 - tests: remove unit tests task 4010 - tests/main/completion: source from /usr/share/bash-completion 4011 - assertions: add "repair" assertion 4012 - interfaces/seccomp: document Backend.NewSpecification 4013 - wrappers: make StartSnapServices cleanup any services that were 4014 added if a later one fails 4015 - overlord/snapstate: avoid creating command aliases for daemons 4016 - vendor: remove unused packages 4017 - vendor,partition: fix panics from uenv 4018 - cmd,interfaces/mount: run snap-update-ns and snap-discard-ns from 4019 core if possible 4020 - daemon: do not allow to install ubuntu-core anymore 4021 - wrappers: service start/stop were inconsistent 4022 - tests: fix failing tests (snap core version, syslog changes) 4023 - cmd/snap-update-ns: add actual implementation 4024 - tests: improve entropy also for ubuntu 4025 - cmd/snap-confine: use /etc/ssl from the core snap 4026 - wrappers: don't convert between []byte and string needlessly. 4027 - hooks: default timeout 4028 - overlord/snapstate: Enable() was ignoring the flags from the 4029 snap's state, resulting in losing "devmode" on disable/enable. 4030 - difs,interfaces/mount: add support for locking namespaces 4031 - interfaces/mount: keep track of kept mount entries 4032 - tests/main: move a bunch of greps over to MATCH 4033 - interfaces/builtin: make all interfaces private 4034 - interfaces/mount: spell unmount correctly 4035 - tests: allow 16-X.Y.Z version of core snap 4036 - the timezone_control interface only allows changing /etc/timezone 4037 and /etc/writable/timezone. systemd-timedated also updated the 4038 link of /etc/localtime and /etc/writable/localtime ... allow 4039 access to this file too 4040 - cmd/snap-confine: aggregate operations holding global lock 4041 - api, ifacestate: resolve disconnect early 4042 - interfaces/builtin: ensure we don't register interfaces twice 4043 4044 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Aug 2017 12:43:16 +0200 4045 4046 snapd (2.26.14) xenial; urgency=medium 4047 4048 * New upstream release, LP: #1690083 4049 - cmd: fix incorrect re-exec when starting from snapd 2.21 4050 4051 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 20 Jul 2017 13:52:05 +0200 4052 4053 snapd (2.26.13) xenial; urgency=medium 4054 4055 * New upstream release, LP: #1690083 4056 - cmd,tests: fix classic confinement confusing re-execution code 4057 - cmd: fix incorrect check check for re-exec in InternalToolPath() 4058 - snap-seccomp: add secondary arch for unrestricted snaps as well 4059 4060 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 18 Jul 2017 20:34:33 +0200 4061 4062 snapd (2.26.10) xenial; urgency=medium 4063 4064 * New upstream release, LP: #1690083 4065 - Fix snap-seccomp tests in artful/trusty on i386/s390x/aarch64 4066 4067 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 17 Jul 2017 11:58:22 +0200 4068 4069 snapd (2.26.9) xenial; urgency=medium 4070 4071 * New upstream release, LP: #1690083 4072 - statically link libseccomp in snap-seccomp to fix refresh issue 4073 on trusty 4074 4075 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 12 Jul 2017 08:27:14 +0200 4076 4077 snapd (2.26.8) xenial; urgency=medium 4078 4079 * New upstream release, LP: #1690083 4080 - Fix snap-seccomp tests in artful/trusty on i386/s390x/aarch64 4081 - add snapd.core-fixup.service unit 4082 - ensure re-exec uses the right internal tools 4083 4084 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 05 Jul 2017 07:48:22 +0200 4085 4086 snapd (2.26.6) xenial; urgency=medium 4087 4088 * New upstream release, LP: #1690083 4089 - interfaces: allow snaps to use the timedatectl utility in 4090 time-control 4091 4092 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 27 Jun 2017 08:36:23 +0100 4093 4094 snapd (2.26.5) xenial; urgency=medium 4095 4096 * New upstream release, LP: #1690083 4097 - backport of seccomp-bpf branch to the 2.26 release to ensure snap 4098 revert with new seccomp syntax works correctly 4099 4100 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 26 Jun 2017 15:30:15 +0100 4101 4102 snapd (2.26.4) xenial; urgency=medium 4103 4104 * New upstream release, LP: #1690083 4105 - partly revert aace15ab53 to unbreak core reverts 4106 - Revert "interfaces: re-add reverted ioctl and quotactl (revert 21bc6b9f)" 4107 - Disable "mknod |N" in the default seccomp template 4108 reasons outline in https://forum.snapcraft.io/t/snapd-2-25-blocked-because-of-revert-race-condition 4109 - errtracker: include bits of snap-confine apparmor profile 4110 - errtracker: report if snapd did re-execute itself 4111 4112 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 01 Jun 2017 18:50:52 +0200 4113 4114 snapd (2.26.3) xenial; urgency=medium 4115 4116 * New upstream release, LP: #1690083 4117 - cherry pick test fixes f0103a6, 9de5c8a, d7725a7 to make 4118 sure the image tests are updated for the changes in the 4119 `snap info core` output and the removal of the rsyslog 4120 package from core. 4121 4122 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 17 May 2017 11:31:56 +0200 4123 4124 snapd (2.26.2) xenial; urgency=medium 4125 4126 * New upstream release, LP: #1690083 4127 - cherry pick d444728 to make the uboot.env file parsing more 4128 robust 4129 4130 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 16 May 2017 18:37:07 +0200 4131 4132 snapd (2.26.1) xenial; urgency=medium 4133 4134 * New upstream release, LP: #1690083 4135 - store: fix panic error in auth 4136 - tests: the new ubuntu-image snap needs classic confinement, adjust 4137 tests 4138 - cmd/snap-confine: don't fail on pre 3.8 kernel 4139 4140 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 May 2017 21:44:27 +0200 4141 4142 snapd (2.26) xenial; urgency=medium 4143 4144 * New upstream release, LP: #1690083 4145 - timeutil: avoid panicking when the window is very small 4146 - image: fix go vet issue 4147 - overlord/ifacestate: don't spam logs with harmless auto-connect 4148 messages 4149 - interfaces/builtin: add network-status interface 4150 - interfaces/builtin: add online-accounts-service interface 4151 - interfaces/builtin: distribute code of touching allInterfaces 4152 - interfaces: API additions for interface hooks 4153 - interfaces/builtin: add storage-framework-service interface 4154 - tests: disable create-key test on ppc64el for artful (expect not 4155 working) 4156 - snap: make `snap prepare-image --extra-snaps` derive side info 4157 - tests: unify tests/{main/completion,completion}/lib.exp0 4158 - cmd/snap: tweak info channels output 4159 - interfaces: ensure that legacy interface methods are unused 4160 - packaging: cleanup how built-using is generated 4161 - tests: extend kernel-module-control interface test 4162 - interfaces/network: workaround Go's need for NETLINK_ROUTE with 4163 'net'. 4164 - cmd/snap-confine: use defensive argument parser 4165 - tests: add test for empty snap name on revert 4166 - overlord/hookstate: remove unused Context.timeout 4167 - tests: additional setup in docker test for core systems 4168 - configstate: return error if patch is invalid 4169 - interfaces: add random interface 4170 - store, daemon, client, cmd/snap: handle PASSWORD_POLICY_ERROR 4171 - cmd/snap, client: add "whoami" command 4172 - cmd/snap: iterate interface tab completion 4173 - snap: move locale-control to only be present on classic 4174 - interfaces/browser-support: deny read on squashfs backing files 4175 and LVM vg names 4176 - tests: wait for the docker socket to be listening 4177 - snap: add `snap refresh --time` option 4178 - tests: re-enable and moderninze /media sharing test 4179 - cmd: make rst2man optional 4180 - tests: remove quoting from [[ ]] when globs 4181 - interfaces: allow plugging DBus clients to introspect the slot 4182 service 4183 - packaging/ubuntu*/changelog: drop extra dash 4184 - snap-confine: init the ENTRY variable, coverity is unhappy 4185 otherwise 4186 - cmd/snap-confine/spread-tests: discard useless --version test 4187 - spread: add spread target qemu:debian-9-64 4188 - interfaces: mediate netlink sockets via seccomp 4189 - tests,cmd/snap-confine: port older snapd-discard-ns tests 4190 - cmd/snap-confine/tests: fix shellcheck on recently added files 4191 - tests/upgrade: force install core snap from beta for debian 4192 - overlord/snapstate/backend,interfaces/mount: move ns management 4193 code. 4194 - tests: extend network-control spread test to cope with network 4195 namespaces 4196 - tests: fail early in the spread suite if trying to run it inside a 4197 container 4198 - tests: set ownership of $PROJECT_PATH for the external backend 4199 - tests: specify the auto-refreshable snap being tested 4200 - many: fix tests with go1.8 / artful 4201 - fix for tests: debian does not have /snap/bin in secure_path so 4202 sudo 4203 - snap: support for snap tasks --last=... 4204 - cmd/snap-confine: remove obsolete debug message 4205 - address review feedback, add a lot of comments :-), call 4206 shellcheck on the completion scripts, fix a bug in compopt 4207 4208 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 May 2017 10:05:44 +0200 4209 4210 snapd (2.25) xenial; urgency=medium 4211 4212 * New upstream release, LP: #1686713 4213 - interfaces/default: allow mknod for regular files, pipes and 4214 sockets 4215 - many: use "SNAP.APP as ALIAS" instead of => when listing 4216 added/removed aliases 4217 - cmd/snap-confine: write current mount profile 4218 - cmd/snap-discard-ns: remove current profile when cleaning up 4219 - many: support debian in our CI 4220 - tests: tweak time for econnreset test a bit more 4221 - cmd/snap-confine: re-enable re-assciate fix for CE 4222 - many: aliases v2 cleanups 4223 - cmd/snap-confine: don't use apparmor if it is disabled on boot 4224 - many: implement `snap prefer <snap>` (aliases v2) 4225 - many: adjust /aliases and "snap aliases" to aliases v2, also some 4226 cleanup 4227 - snapstate: normalize gadget defaults 4228 - many: allow core refresh.schedule setting 4229 - many: show alias changes on snap alias/unalias (aliases v2) 4230 - client,cmd/snap: improve messaging on --devmode and --classic 4231 - many: implement `snap unalias <alias-or-snap>` (aliases v2) 4232 - store: retry on connection reset 4233 - interfaces/mount: add Change.Perform 4234 - tests: add openvswitch interface spread test 4235 - interfaces/i2c: allow modifying device-specific sysfs entries 4236 - interfaces: allow writing to /run/systemd/journal/stdout by 4237 default 4238 - tests: ensure travis fails early if static checks fail 4239 - store,daemon: make store interpret channel="" as stable in most 4240 cases 4241 - overlord/snapstate: make UpdateAliases idempotent, simplify the 4242 backend interface bits for aliases not used anymore (aliases v2) 4243 - many: implement snap alias <snap.app> <alias> (aliases v2) 4244 - snap-confine: add code to ensure that / or /snap is mounted 4245 "shared" 4246 - many: show available "tracks" in `snap info` 4247 - cmd/snap: make users Xauthority file available in snap environment 4248 - interfaces/mount: write current fstab files with mode 0644 4249 - overlord: switch to aliases v2 tasks for install/refresh etc ops 4250 plus transition 4251 - tests: parameterize gadget snap channel (#3117) 4252 - tests: copy .real profile as .real 4253 - tests: add empty initrd failover test 4254 - many: mount squashfs as read-only 4255 - cmd: make locking around namespaces explicit 4256 - tests: address review comments from #3186 4257 - tests: add dbus interface spread test 4258 - interfaces/mount: add ReadMountInfo and LoadMountInfo 4259 - snap: require snap name for 'revert' 4260 - overlord: maintain per-revision snapshots of snap configuration 4261 - tests: relax network-bind interface regexps 4262 - interfaces: re-add reverted ioctl and quotactl (revert 21bc6b9f) 4263 - store: retry once on hashsum mismatches in a Download() 4264 - interfaces/builtin: don't panic if content plug has nil attrs 4265 - interfaces/mount: pass mount.Profile to mount.NeededChanges 4266 - packaging: add `built-using` header for 16.04 packaging 4267 - interfaces: add media-hub interface 4268 - interfaces/builtin: allow full access to properties iface of the 4269 udisks service 4270 - tests: handle case when both .real and plain are present 4271 - interfaces/mount: add Change.String for readable output 4272 - tests: ensure we mock force dev mode as well to fix FTBFS in 4273 sbuild 4274 - store: add more logs around retry in download 4275 - interfaces/mount: add stub Change.{Needed,Perform} 4276 - tests: allow installing snapd from -proposed for SRU validation 4277 - interfaces/mount: parse mount options to map[string]string 4278 - snap: added tasks subcommand 4279 - tests: copy snap-confine apparmor profile into testbed 4280 - interfaces/mount: improve go identifier names of mountinfo, parse 4281 optional fields 4282 - Arch Linux wants to respect FHS 4283 (https://bugs.archlinux.org/task/53656), 4284 - daemon: do not set RemoveSnapPath flag when doing a try 4285 - debian: add maintscript helper to remove usr.lib.snapd.snap- 4286 confine in snap-confine 4287 - cmd/snap-confine: don't use plain "classic" term 4288 - cmd/snap-confine: set TMPDIR and TEMPDIR each time 4289 - many: fixes for `go vet` in go 1.7 4290 - tests: add kernel-module-control interface test 4291 - overlord/snapstate: introduce tasks for aliases v2 semantics with 4292 temporary names for now (aliases v2) 4293 - overlord/devicestate: switch to ssh-keygen for device key 4294 generation 4295 - snap: skip /dev/ram from auto-import assertions to make it less 4296 noisy (#3010) 4297 - interfaces: add kubernetes-support interface and adjust related 4298 interfaces (LP: #1664638) 4299 - tests: download previous snapd package from published versions 4300 instead of specific PPA 4301 - snap: run snap-confine from core if snap is also running from core 4302 - overlord/ifacestate: automatically rename connections on core snap 4303 - many: break the /aliases mutation API with a clean 400 (aliases 4304 v2) 4305 - interfaces/builting: allow read-only access to /sys/module 4306 - tests: add extra test after the core transition for snap get/set 4307 core 4308 - store: misc cleanups in tests 4309 - interfaces/mount: add parser for mountinfo entries 4310 - store: tests for unexpected EOF 4311 - tests: fix unity test 4312 - interfaces,overlord: log interface auto-connection failures 4313 - cmd/snap-update-ns: add C preamble for setns 4314 - interfaces: validate plug/slot uniqueness 4315 4316 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 28 Apr 2017 07:57:49 +0200 4317 4318 snapd (2.24.1) xenial; urgency=medium 4319 4320 * New upstream release, LP: #1681799: 4321 - fix autopkgtest failures with stable core snap 4322 - ensure the snap-confine transitional package cleans up 4323 the no-longer-used apparmor profile to fix the kernels 4324 autopkgtest failures 4325 4326 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 19 Apr 2017 11:54:33 +0200 4327 4328 snapd (2.24) xenial; urgency=medium 4329 4330 * New upstream release, LP: #1681799: 4331 - interfaces/mount: add InfoEntry type 4332 - many: fix plug auto-connect during core transition 4333 - interfaces: fold network bind into core support with tests 4334 - .travis.yml: add option to make raw log less noisy 4335 - interfaces: adjust shm accesses to use 'm' for updated mmap kernel 4336 mediation 4337 - many: rename two core plugs that clash with slot names 4338 - snap-confine,browser-support: /dev/tty for snap-confine, misc 4339 browser-support for gnome-shell 4340 - store: add download test with EOF in the middle 4341 - tests: adjust to look for network-bind-plug 4342 - store: make hash error message more accurate 4343 - overlord/snapstate: simplify AliasesStatus down to just an 4344 AutoAliasesDisabled bool flag (aliases v2) 4345 - errtracker: never send errtracker reports when running under 4346 SNAPPY_TESTING 4347 - interfaces/repo: validate slot/plug names 4348 - daemon: Give the snap directories via GET /v2/system-info 4349 - interfaces/unity7: support unity messaging menu 4350 - interfaces/mount: add high-level Profile functions 4351 - git: ignore only the cmd/Makefile{,.in} 4352 - cmd: explicitly set _GNU_SOURCE and _FILE_OFFSET_BITS for xfs 4353 support 4354 - daemon: add desktop file location for app to the API 4355 - overlord,release: disable classic snap support when not possible 4356 - overlord: fix TestEnsureLoopPrune not to be so racy 4357 - many: abstract path to /bin/{true,false} 4358 - data/systemd: tweak data/systemd/Makefile to be slightly simpler 4359 - store: handle EOF via url.Error check 4360 - packaging: use templates for relevant systemd units 4361 - tests: run gccgo only on ubuntu-16.04-64 4362 - .travis.yml: remove travis matrix and do a single sequential run 4363 - overlord/state: make sure that setting to nil a state key is 4364 equivalent to deleting it 4365 - tests: fix incorrect shell expression 4366 - interfaces/mount: add OptsToFlags for converting arguments to 4367 syscall… 4368 - interfaces: add a joystick interface 4369 - tests: enable docker test for more ubuntu-core systems 4370 - tests: download and install additional dependencies when using 4371 prepackaged snapd 4372 - many: add support for partially static builds 4373 - interfaces: allow slot to introspect dbus-daemon in dbus 4374 interface, allow /usr/bin/arch by default 4375 - interfaces/mount: fix golint issues 4376 - interfaces/mount: add function for saving fstab-like file 4377 - osutil: introducing GetenvInt64, like GetenvBool but Int64er. 4378 - interfaces: drop udev tagging from framebuffer interface 4379 - snapstate: more helpers to work with aliases state (aliases 4380 v2) 4381 - interfaces/mount: add function for parsing fstab-like file 4382 - cmd: disable the re-associate fix as requested by jdstrand 4383 - overlord/snapstate: unlock/relock the state less, especially not 4384 across mutating the SnapState of a snap 4385 - interfaces: allow executing ld.so (needed with new AppArmor base 4386 abstraction) 4387 - interfaces/mount: add function for parsing mount entries 4388 - cmd: rework header check for xfs/xqm.h 4389 - cmd: add poky to the list of distros which don't support reexec 4390 - overlord: finish reorg, revert "be more conservative until we have 4391 cut 2.23.x" 4392 - cmd: select what socket to use in cmd/snap{,ctl} 4393 - overlord: remove snap config values when snap is removed 4394 - snapstate: introduce helper to apply to disk a alias states change 4395 for a snap (aliases v2) 4396 - configstate,hookstate: timeout the configure hook after 5 mins, 4397 report failures to the errtracker 4398 - interfaces/seccomp: add bind as part of the default seccomp policy 4399 for hooks 4400 - cmd: discard the C implementation of snap-update-ns 4401 - tests: remove stale apt proxy leftover from cloud-init 4402 - tests: move unity test to nightly suite 4403 - interfaces: add support for location-observe for 4404 dbus::ObjectManager session paths 4405 - boot: log error in KernelOrOsRebootRequired 4406 - interfaces: remove old API 4407 - interfaces: use udev spec 4408 - interfaces: convert systemd backend to new APIs 4409 - osutil: add BootID 4410 - tests: move docker test to new nightly suite 4411 - interfaces/mount: compute mount changes required to transition 4412 mount profiles 4413 - data/selinux: add context definition for snapctl 4414 - overlord: clean up organization under state packages 4415 - overlord: make sure all managers packages have *state.go with the 4416 main state manipulation/query APIs 4417 - interfaces: use spec in the dbus backend 4418 - store: download from authenticated URL if there is a device 4419 session set 4420 - tests: remove core_name variable 4421 - interfaces: rename thumbnailer to thumbnailer-service 4422 - interfaces: add chroot to base templates 4423 - asserts: remove some unused things 4424 - systemd: mount the squashfs with nodev 4425 - overlord: when shutting down assume errors might be due to 4426 cancellation so retry 4427 - cmd: rename all unit tests to $command/unit-test 4428 - cmd/snap: fix help string for version command 4429 - asserts: don't allow revocations with other items for the same 4430 developer 4431 - tests: skip lp-1644439 test on older kernels 4432 - interfaces: allow "sync" to be used by core support 4433 - assertstate,snapstate: have assertstate.AutoAliases use the 4434 "aliases" header 4435 - interfaces: allow writing config.txt.tmp in the core-support 4436 interface 4437 - tests: adjust network-bind test 4438 - interfaces: dbus backend spec 4439 - asserts: introduce a snap-declaration "aliases" header to list 4440 auto aliases with explicit targets 4441 - cmd: enable large file support 4442 - cmd/snap: handle missing snap-confine 4443 - cmd/snap-confine: re-associate with pid-1 mount namespace if 4444 required 4445 - cmd/libsnap: make mountinfo structures public 4446 - tests: fix interfaces-cups-control for zesty 4447 - misc: revert "Log if the system goes into ForceDevMode" 4448 - interfaces: seccomp tests cleanup 4449 - cmd: validate SNAP_NAME 4450 - interfaces: log if the system goes into ForceDevMode 4451 - tests: fix classic-ubuntu-core-transition race 4452 - interfaces: use apparmor spec in the apparmor backend 4453 - interfaces: alphabetize framebuffer in base decl and add it to 4454 all_test.go 4455 - tests: add ubuntu-core-16-32 system to the external backend and 4456 fix docker test 4457 - cmd/libsnap: simplify sc_string_quote default case 4458 - osutil: fix double expand in environment map code and add test 4459 - interfaces: extend location-control out-of-process provider 4460 support 4461 - cmd/snap-update-ns: use bidirectional lists for mount entries 4462 - tests: prevent automatic transition before setting the initial 4463 state of the test 4464 - release: detect if we are in ForcedDevMode by inspecting the 4465 kernel 4466 - tests: add core-snap-refresh test 4467 - interfaces: add maliit input method interface 4468 - interfaces: seccomp spec API tweaks for better tests 4469 - interfaces: updates for mir-kiosk in browser-support, mir, opengl, 4470 unity7 4471 - testutils: address review feedback from PR#2997 4472 - tests: specify the core version to be unsquashfs'ed in the 4473 failover tests 4474 - interfaces: use MockInfo in tests 4475 - cmd/libsnap: add sc_quote_string 4476 - cmd/snap-confine: use sc_do_umount everywhere 4477 - interfaces: add unity8 plug permissions 4478 - timeutil: a few helpers for the recurring events 4479 - asserts: implement snap-developer type 4480 - partition: deal with grub{,2}-editenv in tests 4481 - many: add new (hidden) `snap debug ensure-state-soon` command and 4482 use in tests 4483 - interfaces/builtin: small refactor of dbus tests 4484 - packaging, tests: use "systemctl list-unit-files --full" 4485 everywhere 4486 - many: some opensuse patches that are ready to go into master 4487 - packaging: add opensuse permissions files 4488 - client, daemon: move "snap list" name filtering into snapd. 4489 - interfaces: use seccomp specs 4490 - overlord/snapstate: small cleanup of 4491 ensureForceDevmodeDropsDevmodeFromState 4492 - interfaces/builtin/alsa: add read access to alsa state dir 4493 - interfaces: use spec in kmod backend, updated firewall_control, 4494 openvswitch_support, ppp 4495 - cmd/snap-confine: use sc_do_mount everywhere 4496 - tests: remove workaround for docker again, snap-declaration is 4497 fixed now 4498 - interfaces: interface to allow autopilot introspection 4499 4500 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 11 Apr 2017 13:31:46 +0200 4501 4502 snapd (2.23.6) xenial; urgency=medium 4503 4504 * New upstream release, LP: #1673568 4505 - cmd: use the most appropriate snap/snapctl sockets 4506 - tests: fix interfaces-cups-control for zesty 4507 - configstate,hookstate: timeout the configure hook after 5 mins, 4508 report failures 4509 - packaging: rename the file shipping snap-confine AA profile to 4510 workaround dpkg bug #858004 4511 - many: ignore configure hook failures on core refresh to ensure 4512 upgrades are always possible 4513 - snapstate: restart as needed if we undid unlinking aka relinked 4514 core or kernel snap 4515 4516 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 Mar 2017 15:30:35 +0200 4517 4518 snapd (2.23.5) xenial; urgency=medium 4519 4520 * New upstream release, LP: #1673568 4521 - allow "sync" in core-support 4522 4523 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Mar 2017 18:13:43 +0100 4524 4525 snapd (2.23.4) xenial; urgency=medium 4526 4527 * New upstream release, LP: #1673568 4528 - fix core-support interface for the new pi-config options 4529 4530 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Mar 2017 16:05:57 +0100 4531 4532 snapd (2.23.3) xenial; urgency=medium 4533 4534 * FTBFS due to missing files in vendor/ 4535 4536 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Thu, 16 Mar 2017 19:56:55 +0100 4537 4538 snapd (2.23.2) xenial; urgency=medium 4539 4540 * New upstream release, LP: #1673568 4541 - cmd/snap: handle missing snap-confine (#3041) 4542 4543 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Thu, 16 Mar 2017 19:38:24 +0100 4544 4545 snapd (2.23.1) xenial; urgency=medium 4546 4547 * New upstream release, LP: #1665608 4548 - packaging, tests: use "systemctl list-unit-files --full" 4549 everywhere 4550 - interfaces: fix default content attribute value 4551 - tests: do not nuke the entire snapd.conf.d dir when changing 4552 store settings 4553 - hookstate: run the right "snap" command in the hookmanager 4554 - snapstate: revert PR#2958, run configure hook again everywhere 4555 4556 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 08 Mar 2017 14:29:56 +0100 4557 4558 snapd (2.23) xenial; urgency=medium 4559 4560 * New upstream release, LP: #1665608 4561 - overlord: phase 2 with 2nd setup-profiles and hook done after 4562 restart for core installation 4563 - data: re-add snapd.refresh.{timer,service} with weekly schedule 4564 - interfaces: allow 'getent' by default with some missing dbs to 4565 various interfaces 4566 - overlord/snapstate: drop forced devmode 4567 - snapstate: disable running the configure hook on classic for the 4568 core snap 4569 - ifacestate: re-generate apparmor in InterfaceManager.initialize() 4570 - daemon: DevModeDistro does not imply snapstate.Flags{DevMode:true} 4571 - interfaces/bluez,network-manager: implement ConnectedSlot policy 4572 - cmd: add helpers for mounting / unmounting 4573 - snapstate: error in LinkSnap() if revision is unset 4574 - release: add linuxmint 18 to the non-devmode distros 4575 - cmd: fixes to run correctly on opensuse 4576 - interfaces: consistently use 'const' instead of 'var' for security 4577 policy 4578 - interfaces: miscellaneous policy updates for unity7, udisks2 and 4579 browser-support 4580 - interfaces/apparmor: compensate for kernel behavior change 4581 - many: only tweak core config if hook exists 4582 - overlord/hookstate: don't report a run hook output error without 4583 any context 4584 - cmd/snap-update-ns: move test data and helpers to new module 4585 - vet: fix vet error on mount test. 4586 - tests: empty init (systemd) failover test 4587 - cmd: add .indent.pro file to the tree 4588 - interfaces: specs for apparmor, seccomp, udev 4589 - wrappers/services: RemainAfterExit=yes for oneshot daemons w/ stop 4590 cmds 4591 - tests: several improvements to the nested suite 4592 - tests: do not use core for "All snaps up to date" check 4593 - cmd/snap-update-ns: add function for sorting mount entries 4594 - httputil: copy some headers over redirects 4595 - data/selinux: merge SELinux policy module 4596 - kmod: added Specification for kmod security backend 4597 - tests: failover test for rc.local crash 4598 - debian/tests: map snapd deb pockets to core snap channels for 4599 autopkgtest 4600 - many: switch channels on refresh if needed 4601 - interfaces/builtin: add /boot/uboot/config.txt access to core- 4602 support 4603 - release: assume higher version of supported distros will still 4604 work 4605 - cmd/snap-update-ns: add compare function for mount entries 4606 - tests: enable docker test 4607 - tests: bail out if core snap is not installed 4608 - interfaces: use mount.Entry instead of string snippets. 4609 - osutil: trivial tweaks to build ID support 4610 - many: display kernel version in 'snap version' 4611 - osutil: add package for reading Build-ID 4612 - snap: error when `snap list foo` is run and no snap is installed 4613 - cmd/snap-confine: don't crash if nvidia module is loaded but 4614 drivers are not available 4615 - tests: update listing test for latest core snap version update 4616 - overlord/hookstate/ctlcmd: helper function for creating a deep 4617 copy of interface attributes 4618 - interfaces: add a linux framebuffer interface 4619 - cmd/snap, store: change error messages to reflect latest UX doc 4620 - interfaces: initial unity8 interface 4621 - asserts: improved information about assertions format in the 4622 Decode doc comment 4623 - snapstate: ensure snapstate.CanAutoRefresh is nil in tests 4624 - mkversion.sh: Add support for taking the version as a parameter 4625 - interfaces: add an interface for use by thumbnailer 4626 - cmd/snap-confine: ensure that hostfs is root owned. 4627 - screen-inhibit-control: add methods for delaying screensavers 4628 - overlord: optional device registration and gadget support on 4629 classic 4630 - overlord: make seeding work also on classic, optionally 4631 - image,cmd/snap: refactoring and initial envvar support to use 4632 stores needing auth 4633 - tests: add libvirt interface spread test 4634 - cmd/libsnap: add helper for dropping permissions 4635 - interfaces: misc updates for network-control, firewall-control, 4636 unity7 and default policy 4637 - interfaces: allow recv* and send* by default, accept4 with accept 4638 and other cleanups 4639 - interfaces/builtin: add classic-support interface 4640 - store: use xdelta3 from core if available and not on the regular 4641 system 4642 - snap: add contact: line in `snap info` 4643 - interfaces/builtin: add network-setup-control which allows rw 4644 access to netplan 4645 - unity7: support missing signals and methods for status icons 4646 - cmd: autoconf for RHEL 4647 - cmd/snap-confine: look for PROCFS_SUPER_MAGIC 4648 - dirs: use the right snap mount dir for the distribution 4649 - many: differentiate between "distro" and "core" libexecdir 4650 - cmd: don't reexec on RHEL family 4651 - config: make helpers reusable 4652 - snap-exec: support nested environment variables in environment 4653 - release: add galliumos support 4654 - interfaces/builtin: more path options for serial 4655 - i18n: look into core snaps when checking for translations 4656 - tests: nested image testing 4657 - tests: add basic test for docker 4658 - hookstate,ifacestate: support snapctl set/get slot and plug attrs 4659 (step 3) 4660 - cmd/snap: add shell completion to connect 4661 - cmd: add functions to load/save fstab-like files 4662 - snap run: create "current" symlink in user data dir 4663 - cmd: autoconf for centos 4664 - tests: add more debug if ubuntu-core-upgrade fails 4665 - tests: increase service retries 4666 - packaging/ubuntu-14.04: inform user how to extend PATH with 4667 /snap/bin. 4668 - cmd: add helpers for working with mount/umount commands 4669 - overlord/snapstate: prepare for using snap-update-ns 4670 - cmd: use per-snap mount profile to populate the mount namespace 4671 - overlord/ifacestate: setup seccomp security on startup 4672 - interface/seccomp: sort combined snippets 4673 - release: don't force devmode on LinuxMint "serena" 4674 - tests: filter ubuntu-core systems for authenticated find-private 4675 test 4676 - interfaces/builtin/core-support: Allow modifying logind 4677 configuration from the core snap 4678 - tests: fix "snap managed" output check and suppress output from 4679 expect in the authenticated login tests 4680 - interfaces: shutdown: also allow shutdown/reboot/suspend via 4681 logind 4682 - cmd/snap-confine-tests: reformat test to pass shellcheck 4683 - cmd: add sc_is_debug_enabled 4684 - interfaces/mount: add dedicated mount entry type 4685 - interfaces/core-support: allow modifying systemd-timesyncd and 4686 sysctl configuration 4687 - snap: improve message after `snap refresh pkg1 pkg2` 4688 - tests: improve snap-env test 4689 - interfaces/io-ports-control: use /dev/port, not /dev/ports 4690 - interfaces/mount-observe: add quotactl with arg filtering (LP: 4691 #1626359) 4692 - interfaces/mount: generate per-snap mount profile 4693 - tests: add spread test for delta downloads 4694 - daemon: show "$snapname (delta)" in progress when downloading 4695 deltas 4696 - cmd: use safer functions in sc_mount_opt2str 4697 - asserts: introduce a variant of model assertions for classic 4698 systems 4699 - interfaces/core-support: allow modifying snap rsyslog 4700 configuration 4701 - interfaces: remove some syscalls already in the default policy 4702 plus comment cleanups 4703 - interfaces: miscellaneous updates for hardware-observe, kernel- 4704 module-control, unity7 and default 4705 - snap-confine: add the key for which hsearch_r fails 4706 - snap: improve the error message for `snap try` 4707 - tests: fix pattern and use MATCH in find-private 4708 - tests: stop tying setting up staging store access to the setup of 4709 the state tarball 4710 - tests: add regression spread test for #1660941 4711 - interfaces/default: don't allow TIOCSTI ioctl 4712 - interfaces: allow nice/setpriority to 0-19 values for calling 4713 process by default 4714 - tests: improve debug when the core transition test hangs 4715 - tests: disable ubuntu-core->core transition on ppc64el (its just 4716 too slow) 4717 - snapstate: move refresh from a systemd timer to the internal 4718 snapstate Ensure() 4719 - tests/lib/fakestore/refresh: some more info when we fail to copy 4720 asserts 4721 - overlord/devicestate: backoff between retries if the server seems 4722 to have refused the serial-request 4723 - image: check kernel/gadget publisher vs model brand, warn on store 4724 disconnected snaps 4725 - vendor: move gettext.go back to github.com/ojii/gettext.go 4726 - store: retry on 502 http response as well 4727 - tests: increase snap-service kill-timeout 4728 - store,osutil: use new osutil.ExecutableExists(exe) check to only 4729 use deltas if xdelta3 is present 4730 - cmd: fix autogen.sh on fedora 4731 - overlord/devicemgr: fix test: setup account-key before using the 4732 key for signing 4733 - cmd: add /usr/local/* to PATH 4734 - cmd: add sc_string_append 4735 - asserts: support for correctly suggesting format 2 for snap- 4736 declaration 4737 - interfaces: port mount backend to new APIs, unify content of per 4738 app/hook profiles 4739 - overlord/devicestate: implement policy about gadget and kernel 4740 matching the model 4741 - interfaces: allow sched_setscheduler again by default 4742 - debian: update breaks/replaces for snap-confine->snapd 4743 - debian: move the snap-confine packaging into snapd 4744 - 14.04/integrationtests: rely on upstart to restart ssh. 4745 - store: enable download deltas on classic by default 4746 - spread: add unit suite 4747 - snapctl: add config in client to disable auth and use it in 4748 snapctl 4749 - overlord/ifacestate: register all security backends with the 4750 repository 4751 - overlord,tests: have enable/disable affect security profiles 4752 - tests: install ubuntu-core from the same channel as core 4753 - overlord: move configstate.Transaction into config package 4754 - seccomp-support.c: add PF_* domains which can be used instead of 4755 AF_* 4756 - store: always log retry summary when SNAPD_DEBUG is set 4757 - tests: parameterize kernel snap channel 4758 - snapenv: do not append ":" to the SNAP_LIBRARY_PATH 4759 - interfaces/builtin: refine the content interface rules using $SLOT 4760 - asserts,interfaces/policy: add support for 4761 $SLOT()/$PLUG()/$MISSING in *-attributes constraintsThis adds 4762 support for $SLOT(arg), $PLUG(arg) and $MISSING attribute 4763 constraints in plugs and slots rules in snap-declarations: 4764 - cmd/snap-confine: add snap-confine command line parser module 4765 - tests: remove (some) garbage files found by restore cleanup 4766 analysis 4767 - cmd: fix issues uncovered by valgrind 4768 - tests: fix typo in systems name 4769 - cmd: collect string utilities in one module, add missing tests 4770 - cmd: rename mountinfo to sc_mountinfo 4771 - tests: allow to install snapd debs from a ppa instead of building 4772 them 4773 - spread: remove state tar on project restore 4774 4775 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Feb 2017 12:21:42 +0100 4776 4777 snapd (2.22.7) xenial; urgency=medium 4778 4779 * New upstream release: 4780 - errtracker,overlord/snapstate: more info in errtracker reports 4781 - interfaces/apparmor: compensate for kernel behavior change 4782 4783 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 24 Feb 2017 19:24:11 +0100 4784 4785 snapd (2.22.6) xenial; urgency=medium 4786 4787 * New upstream release, LP: #1667105 4788 - overlord/ifacestate: don't fail if affected snap is gone 4789 - revert #2910: osutil: add package for reading Build-ID (#2918) 4790 - errtracker: include the build-id of host and core snapd (#2912) 4791 - errtracker: include the number of ubuntu-core -> core retries 4792 (#2915) 4793 - snapstate: retry ubuntu-core -> core transition every 6h (#2914) 4794 - osutil: add package for reading Build-ID (#2910) 4795 - errtracker: include kernel version in error reports (#2905) 4796 - release: return "unknown" if uname fails 4797 - many: rebased uname branch for 2.22 4798 - errtracker: include snapd version in err reports 4799 - overlord/ifacestate: don't unconditionally retry stuff (#2906) 4800 - snapstate: fix incorrect cut of the timestamps for the error 4801 reports (#2908) 4802 - tests: update listing test for latest core snap version update 4803 4804 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Wed, 22 Feb 2017 23:34:23 +0100 4805 4806 snapd (2.22.5) xenial; urgency=medium 4807 4808 * Fix FTBFS due to machine-id file 4809 4810 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Tue, 21 Feb 2017 09:43:42 +0100 4811 4812 snapd (2.22.4) xenial; urgency=medium 4813 4814 * New bugfix release: 4815 - errtracker: add support for error reporting via daisy.ubuntu.com 4816 - snapstate: allow for 6 retries for the core transition 4817 - httputils: ensure User-Agent works across redirects 4818 4819 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 21 Feb 2017 09:07:10 +0100 4820 4821 snapd (2.22.3) xenial; urgency=medium 4822 4823 * New bugfix release, LP: #1665729: 4824 - Limit the number of retries for the ubuntu-core -> core 4825 transition to fix possible store overload. 4826 4827 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Feb 2017 18:58:34 +0100 4828 4829 snapd (2.22.2) xenial; urgency=medium 4830 4831 * New upstream release, LP: #1659522 4832 - cherry pick fix for sched_setscheduler regression 4833 (LP: #1661265) 4834 4835 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Feb 2017 17:13:51 +0100 4836 4837 snapd (2.22.1) xenial; urgency=medium 4838 4839 * New upstream release, LP: #1659522 4840 - cherry pick fix for snapctl auth.json handling 4841 4842 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 01 Feb 2017 17:09:31 +0100 4843 4844 snapd (2.22) xenial; urgency=medium 4845 4846 * New upstream release, LP: #1659522 4847 - many: make ubuntu-core-launcher mostly go 4848 - interfaces/builtin: add account-control interface 4849 - interfaces/builtin: add missing syscalls to core-support needed 4850 for systemctl 4851 - interfaces/builtin: rework core-support to only allow full access 4852 to systemctl 4853 - debian/tests: drop stale autopkgtest dependencies. 4854 - tests: make the debugging of c-unit-tests more useful 4855 - store: retry auth-related requests 4856 - tests: integration test for system reload 4857 - snap: be more helpful in the `snap install <already-installed>` 4858 error message 4859 - tests: set SNAPPY_USE_STAGING_STORE in su call 4860 - tests: use test snap 4861 - spread: set SNAPD_DEBUG=1 in the core snap as well 4862 - tests: add extra debugging to security-setuid-root test 4863 - cmd,snap,wrappers: systemd reload command support 4864 - interfaces: builtin: mir: Allow recv and send 4865 - overlord/ifacestate: use ParseConnRef 4866 - overlord/snapstate,overlord/ifacestate: add automatic ubuntu-core 4867 -> core transition 4868 - debian: remove aliases as well in snapd.postrm 4869 - many: change interfaces.ParseID to return value 4870 - interfaces/opengl: allow access to the nvidia abstract socket 4871 - overlord, daemon: flag failures feature fancy forms. 4872 - many: add --classic support to try and revert, and make missing 4873 these things a little harder 4874 - interfaces: allow reading non-PCI-attached usb devices via raw-usb 4875 - many: rename snap-alter-ns to snap-update-ns 4876 - interfaces/builtin: add core-support 4877 - store: increase the retry.LimitTime() 4878 - debian: move the packaging out into package/$id-$version_id 4879 - overlord/stapstate: don't use unkeyed fields 4880 - many: add stub implementation of snap-alter-ns 4881 - asserts: improve error message when key is not valid at the given 4882 time 4883 - snapstate, ifacestate: add snapstate.CheckChangeConflict() to 4884 ifacestate.{Connect,Disconnect} 4885 - debian: remove trusty specific bits 4886 - docs: Add a note about building snapd. 4887 - interfaces: miscellaneous updates for default and network-control 4888 - daemon: bubble out store.ErrSnapNotFound in the findOne codepath 4889 - store: add retry logging into download as well 4890 - snap: show price in `snap info` 4891 - cmd: add fault injection support code 4892 - interfaces: network-manager: allow rw access to /etc/netplan 4893 - debian: move systemd files out of ./debian and into ./data/systemd 4894 - asserts: implement SuggestFormat to help avoid specifying the 4895 wrong format iteration for an assertion 4896 - many: detect potentially insecure use of snap-confine 4897 - interfaces: allow querying added security backends 4898 - cmd: ensure that all .c files have a -test.c file 4899 - asserts: don't use 'context' for the path of attributes, want to 4900 reuse the concept for something else 4901 - interfaces: abbreviate ConnRef construction 4902 - tests: ensure systemd override directory is available before using 4903 it 4904 - cmd: more build system cleanups and a small fix 4905 - tests: increase retries for service up 4906 - cmd: move seccomp cleanup function to seccomp-support 4907 - many: auto-connect plugs and slots symmetrically 4908 - overlord: use a ticker for the pruning 4909 - interfaces/builtin: add uhid interface 4910 - cmd/snap-confine: add shutdown helper 4911 - tests: fix path used when debugging 4912 - cmd: switch to non-recursive make 4913 - overlord/ifacestate: setup security of snaps affected by auto- 4914 connection 4915 - spread: refresh apt cache before first install 4916 - overlord: allow max 500 changes in "ready" state to avoid growing 4917 changes for 24h 4918 - snap: add {Plug,Slot}Info.SecurityTags 4919 - cmd: move snap-discard-ns to dedicated directory 4920 - tests: skip i18n test when no "snappy.mo" file is available 4921 - interfaces,overlord/ifacestate: small refactor around reference 4922 methods 4923 - tests: remove the snapd dirs last (should fix random test errors) 4924 - interfaces: mm: permissions for protocol proxies 4925 - interfaces/builtin: add evolution interfaces 4926 - many: extract the logging http client and user-agent handling for 4927 use in devicestate 4928 - interfaces: unity8-download-manager is the chosen name for this 4929 interface. 4930 - tests: add "quiet" wrapper function that only prints output on 4931 failure 4932 - tests: fix failing snapd-reexec test 4933 - docs: simplify HACKING.md that snapd itself supports setting up 4934 the sockets 4935 - overlord: flag required-snaps from model as required and prevent 4936 removing them 4937 - spread: exclude .o and .a files 4938 - tests: parameterize remote store 4939 - cmd: fix hardcoded paths to rst2man and support rst2man.py 4940 - tests: improve debug output when reexec is used 4941 - tests: disable ipv6 before unpacking delta 4942 - interfaces: add new interface API 4943 - tests: change TRUST_TEST_KEYS to be controlled from the host 4944 - spread: add boilerplate for Linode delta uploads 4945 - wrappers: add support for the X-Ayatana-Desktop-Shortcuts= 4946 extension 4947 - partition: add support for native grubenv read/write and use it 4948 - tests: add test ensuring manual pages are shipped 4949 4950 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 27 Jan 2017 23:18:57 +0100 4951 4952 snapd (2.21-2) unstable; urgency=medium 4953 4954 * Modify snap-confine's apparmor rules to work on Debian when apparmor is 4955 enabled on the kernel command line. 4956 4957 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 25 Jan 2017 10:26:51 +1300 4958 4959 snapd (2.21-1) unstable; urgency=medium 4960 4961 * New upstream release. 4962 * Disable i18n so the package can build in stretch without new packages. 4963 4964 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 16 Jan 2017 11:15:32 +1300 4965 4966 snapd (2.21) xenial; urgency=medium 4967 4968 * New upstream release, LP: #1656382 4969 - daemon: re-enable reexec 4970 - interfaces: allow reading installed files from previous revisions 4971 by default 4972 - daemon: make activation optional 4973 - tests: run all snap-confine tests in c-unit-tests task 4974 - many: fix abbreviated forms of disconnect 4975 - tests: switch more tests to MATCH 4976 - store: export userAgent. daemon: print store.UserAgent() on 4977 startup. 4978 - tests: test classic confinement `snap list` and `snap info` 4979 output 4980 - debian: skip snap-confine unit tests on nocheck 4981 - overlord/snapstate: share code between Update and UpdateMany, so 4982 that it deals with auto-aliases correctly 4983 - interfaces: upower-observe: refactor to allow snaps to provide a 4984 slot 4985 - tests: add end-to-end store test for classic confinement 4986 - overlord,overlord/snapstate: have UpdateMany retire/enable auto- 4987 aliases even without new revision 4988 - interfaces/browser-support: add @{PROC}/@{pid}/fd/[0-9] w and misc 4989 /run/udev 4990 - interfaces/builtin: add physical-memory-* and io-ports-control 4991 - interfaces: allow getsockopt by default since it is so commonly 4992 used 4993 - cmd/snap, daemon, overlord/snapstate: tests and fixes for "snap 4994 refresh" of a classic snap 4995 - interfaces: allow read/write access of real-time clock with time- 4996 control interface 4997 - store: request no CDN via a header using SNAPPY_STORE_NO_CDN 4998 envvar 4999 - snap: add information about tracking channel (not just actual 5000 channel) 5001 - interfaces: use fewer dot imports 5002 - overlord/snapstate: remove restrictions on ResetAliases 5003 - overlord, store: move confinement filtering to the overlord (from 5004 The Store) 5005 - many: move interface test helpers to ifacetest package 5006 - many: implement 'snap aliases' 5007 - vet: fix for unkeyed fields error on aliases_test.go 5008 - interfaces: miscellaneous policy updates for network-control, 5009 unity7, pulseaudio, default and home 5010 - tests: test for auto-aliases 5011 - interface hooks: connect plug slot hooks (step 2) 5012 - cmd/snap: fix internal naming in snap connect 5013 - snap: use "size" as the json tag in snap.ChannelSnapInfo 5014 - tests: restore the missing initialization of iface manager causing 5015 race 5016 - snap: fix missing sizes in `snap info <remote-snap>` 5017 - tests: improve cleanup for c-unit-tests 5018 - cmd/snap-confine: build non-installed libsnap-confine-private.a 5019 - cmd/snap-confine: small tweaks to seccomp support code 5020 - interfaces/docker-support: allow /run/shm/aufs.xeno for 14.04 5021 - many: obtain installed snaps developer/publisher username through 5022 assertions 5023 - store: setting of fields for details endpoint 5024 - cmd/snap-confine: check for rst2man on configure 5025 - snap: show `snap --help` output when just running `snap` 5026 - interface/builtin: drop the obsolete checks in udisks2 5027 SanitizeSlot 5028 - cmd/snap: remove currency switch following UX review 5029 - spread: find top-level directory before running generate- 5030 packaging-dir 5031 - interface hooks: prepare plug slot hooks (step 1) 5032 - i18n: use github.com/mvo5/gettext.go (pure go) for i18n to avoid 5033 cgo 5034 - many: put a marker in the User-Agent sent by snapd/snap when under 5035 testingThe User-Agent will look like: 5036 - tests: fix -reuse and -resend when govendor is missing 5037 - snap: provide friendlier `snap find` message when no snaps are 5038 found 5039 - tests: fix mkversions.sh failure on zesty 5040 - spread: install build-essential unconditionally 5041 - spread: improve qemu ubuntu-14.04-{32,64} support 5042 - overlord/snapstate,daemon: implement GET /v2/aliases handling 5043 - store: retry user info request 5044 - tests: port more snap-confine regression tests 5045 - tests: cancel the scheduled reboot on ubuntu-core-upgrade-no-gc 5046 and restore state 5047 - tests: debug zesty autopkgtest failures 5048 - overlord/snapstate: use keyed fields on literals 5049 - tests: use MATCH in install-remove-multi 5050 - tests: increase wait time for service to be up 5051 - tests: make debug-each succeed if DENIED doesn't match 5052 - tests: skip packaging dir generation for non-git based autopkgtest 5053 runs 5054 - tests: port refresh-all-undo to MATCH 5055 - tests: improve snap connect test 5056 - tests: port additional snap-confine regression tests 5057 - tests: show --version when it matches unknown 5058 - tests: optionally use apt proxy for qemu 5059 - tests: add hello-classic test 5060 - many: behave more consistently when pointed to staging and 5061 possibly the fake store 5062 - overlord/ifacestate: remove stale comments 5063 - interfaces/apparmor: ignore snippets in classic confinement 5064 - tests: port first regression test from snap-confine 5065 - cmd/snap-confine: disable old tests 5066 5067 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 Jan 2017 19:39:51 +0100 5068 5069 snapd (2.20.1) xenial; urgency=medium 5070 5071 * New upstream release, LP: #1648520 5072 - tests: enable the ppc64el tests again 5073 - tests: add classic confinement test 5074 - tests: run snap confine tests in debian/rules already 5075 5076 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 19 Dec 2016 11:53:29 +0100 5077 5078 snapd (2.20-2) unstable; urgency=medium 5079 5080 * Replace unversioned Conflicts on snap package with versioned 5081 Breaks/Replaces, now that snap has dropped /usr/bin/snap. 5082 Closes: #849162. 5083 5084 -- Steve Langasek <vorlon@debian.org> Sun, 25 Dec 2016 17:50:25 -0600 5085 5086 snapd (2.20-1) unstable; urgency=medium 5087 5088 * New upstream release. 5089 * Update one test (cmd/snap/cmd_interfaces_test.go) to cope with the newer 5090 golang-go-flags-dev in unstable. 5091 * Explicitly include 'udev' in Build-Depends. 5092 * Add tzdata to Build-Depends to avoid ftbfs. (Closes: #848754) 5093 5094 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 19 Dec 2016 11:43:55 +1300 5095 5096 snapd (2.20) xenial; urgency=medium 5097 5098 * New upstream release, LP: #1648520 5099 - many: implement "snap alias --reset" using snapstate.ResetAliases 5100 - debian: use a packaging branch for 14.04 5101 - store: retry downloads on io.Copy errors and sha3 checksum errors 5102 - snap: show apps in `snap info` 5103 - store: send an explicit X-Ubuntu-Classic header to the store 5104 - overlord/snapstate: implement snapstate.ResetAliases 5105 - interfaces/builtin: add dbus interface 5106 - tests: fix tests on 17.04 5107 - store: use mocked retry strategy to make store tests faster 5108 - overlord: apply auto-aliases information from the snap-declaration 5109 on install or refresh 5110 - many: prepare landing on trusty 5111 - many: implement snap unalias using snapstate.Unalias 5112 - overlord/snapstate: fixing the placement/grouping of some 5113 functions 5114 - interfaces: support network namespaces via 'ip netns' in network- 5115 control 5116 - interfaces/builtin: fix pulseaudio apparmor rules 5117 - interfaces/builtin: add iio interface 5118 - tests: update custom core snap with the freshly build snap-confine 5119 - interfaces: use sysd.{Disable,Stop} instead of sysd.DisableNow() 5120 - overlord,overlord/snapstate: implement snapstate.Unalias by 5121 generalizing the "alias" task 5122 - interfaces: misc openstack snap enablement 5123 - cmd/snap: mock terminal.ReadPassword instead of using /dev/ptmx 5124 - notifications, daemon: kill the unsupported events endpoint 5125 - client: only allow Dangerous option in InstallPath 5126 - overlord/ifacestate: no interface checks if no snap id 5127 - many: implement alias command 5128 - snap: tweak snap install output as designed by Mark 5129 - debian: fix Pre-Depends on dpkg 5130 - tests: check if snap-confine --version is unknown 5131 - cmd/snap-confine: allow content interface mounts 5132 - tests: remove ppa:snappy-dev/image again 5133 - interfaces/apparmor: allow access to core snap 5134 - tests: remove snap-confine/ubuntu-core-launcher after the tests 5135 - overlord,overlord/snapstate: implement snapstate.Alias 5136 - cmd/snap: reject "snap disconnect foo" 5137 - debian: add split ubuntu-core-launcher and snap-confine packages 5138 - cmd: fix mkversion.sh and add regression test 5139 - overlord/snapstate: setup/remove aliases as we link/unlink snaps 5140 - cmd/snap,tests: alias support in snap run 5141 - snap/snapenv: don't obscure HOME if snap uses classic confinement 5142 - store: decode response.Body json inside retry loops 5143 - cmd/snap-confine: fix compilation on platforms with gcc < 4.9.0 5144 - vendor: update tomb package fixing context support 5145 5146 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 15 Dec 2016 22:07:08 +0100 5147 5148 snapd (2.19) xenial; urgency=medium 5149 5150 * New upstream release, LP: #1648520 5151 - cmd/snap-confine: disable support for XDG_RUNTIME_DIR 5152 - cmd/snap-confine/tests: fix stale path after move to snapd 5153 - cmd/snap-confine: don't use __attribute__((nonull)) 5154 - snap: add description to `snap info` 5155 - snap: show last refresh time 5156 - store: switch default delta format from xdelta to xdelta3 5157 - interfaces: fix system-observe interface to work with ps_mem 5158 - debian: add missing ca-certificates dependency 5159 - cmd/snap-confine: add support for classic confinement 5160 - snapstate/backend: add backend methods to manage aliases 5161 - tests: re-enable snap-confine unit tests via spread 5162 - many: merge snap-confine into snapd 5163 - many: add support for classic confinement 5164 - snap: abort install with ctrl+c 5165 - cmd/snap: change terms accept URL following UX review 5166 - interfaces/apparmor: use distinct apparmor template for classic 5167 - snap: add snap size to `snap info` 5168 - interfaces: add unconfined access to modem-manager 5169 - snap: support for parsing and exposing on snap.Info aliases 5170 - debian: disable autopkgtests on ppc64el 5171 - snap: disable support for socket activation 5172 - tests: fix incorrect restore of the current symlink 5173 - asserts: introduce auto-aliases header in snap-declaration 5174 - interfaces/seccomp: add support for classic confinement 5175 - tests: do not use external snaps 5176 - daemon: close the dup()ed file descriptor to not leak it 5177 - overlord, daemon, progress: enable building snapd without CGO 5178 - daemon, store: let snap info find things in any channel 5179 - store: retry tweaks and logging 5180 - snap: Improve `snap --help` output as designed by Mark 5181 - interfaces/builtin: fix incorrect udev rule in i2c 5182 - overlord: increase test timeout and improve failure message 5183 - snap: remove unused experimental command 5184 - debian: remove unneeded conflict against the "snappy" package 5185 - daemon, strutil: move daemon.quotedNames to strutil.Quoted 5186 - docs: document SNAP_DEBUG_HTTP in HACKING.md 5187 - cmd/snap: have some completers 5188 - snap: support "daemon: notify" in snap.yaml 5189 - snap: fix try command when daemon linie is added 5190 - interfaces: apparmor support for classic confinement 5191 - debian/rules: build with -buildoptions=pie 5192 - tests: include /boot in saved state (including bootenv and any 5193 kernels) 5194 - daemon: ensure `snap try` installs core if it's missing 5195 - tests: save/restore /snap/core/current symlink 5196 - tests: decrease the number of expected featured apps 5197 - tests: add set -e to the prepare ssh script 5198 - cmd/snap: add tests for section completion; fix bugs. 5199 - cmd/snap: document 'snap list --all' 5200 5201 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 08 Dec 2016 16:16:04 +0100 5202 5203 snapd (2.18.1) xenial; urgency=medium 5204 5205 * New upstream release, LP: #1644625 5206 - daemon: fix crash when `snap refresh` contains a single update 5207 - fix unhandled error from io.Copy() in download() 5208 - interfaces/builtin: fix incorrect udev rule in i2c 5209 5210 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 05 Dec 2016 15:04:13 +0100 5211 5212 snapd (2.18) xenial; urgency=medium 5213 5214 * New upstream release, LP: #1644625 5215 - store: retry on io.EOF 5216 - tests: skip pty tests on ppc64el and powerpc 5217 - client, cmd/snap: introducing "snap info" 5218 - snap: do exit 0 on install/remove if that snap is already 5219 installed or already removed 5220 - snap: add `snap watch <change-id>` to attach to a running change 5221 - store: retry downloads using retry loop 5222 - snap: try doesn't require snap-dir when run in snap's directory 5223 - daemon: show what will change in the "refresh-all" changes 5224 - tests: disable autorefresh for the external backend 5225 - snap: add `snap list -a` to show all snaps (even inactive ones) 5226 - many: unify boolean env var handling 5227 - overlord/ifacestate: don't setup jailmode snaps with devmode 5228 confinement 5229 - snapstate: do not garbage collect the snaps used by the bootenv 5230 - debian: drop hard xdelta dependency for now 5231 - snap: make `snap login` ask for email if not given as argument 5232 - osutil: fix build on armhf (arm in go-arch) and powerpc (ppc in 5233 go-arch) 5234 - many: rename DevmodeConfinement to DevModeConfinement 5235 - store: resp.Body.Close() missing in ReadyToBuy 5236 - many: use ConfinementOptions instead of ConfinementType 5237 - snap, daemon, store: fake the channel map in the REST API 5238 - misc: run github.com/gordonklaus/ineffassign as part of the static 5239 checks 5240 - docs: add goreportcard badge and remove coveralls badge 5241 - tests: force gofmt -s in static checks 5242 - many: run gofmt -s -w on all the code 5243 - store: DRY actual retry code 5244 - many: fix various errors uncovered by goreportcard.com 5245 - interfaces/builtin: allow additional shared memory for webkit 5246 - many: some more missing snapState->snapst 5247 - asserts: introduce an optional freeform display-name for model 5248 - interfaces/builtin: rename usb-raw to raw-usb 5249 - progress: init pbar with correct total value 5250 - daemon/api.go: add quotedNames() helper 5251 - interfaces: add ConfinementOptions type 5252 - tests: add a test about the extra bits that prepare-device can 5253 specify for device registration 5254 - tests: check that gpio device nodes are exported after reboot 5255 - tests: parameterize core channel with env var for classic too 5256 - many: rename variable "ss" to "snapsup" or "snapst" or "st" 5257 (depending on context) 5258 - tests: do not use external snaps in spread 5259 - store: retry buy request 5260 - store: retry store.Find 5261 - store: retry assertion store call 5262 - store: retry call for snap details 5263 - many: use snap.ConfinementType rather than bool devmode 5264 - daemon: if a bad snap is posted it is not an internal error but a 5265 bad request 5266 - client: add "Snap.Screenshots" to the client API 5267 - interfaces: update base declaration documentation and policy for 5268 on-classic and snap-type 5269 - store: check payment method before TOS for a better UX 5270 - interfaces: allow sched_setaffinity in process-control 5271 - tests: parameterize core channel with env var 5272 - tests: ensure that the XDG_ env contains at least XDG_RUNTIME_DIR 5273 - interfaces: fcitx also listens on the session bus for Qt apps 5274 - store: retry ListRefresh 5275 - snap: use "Password of <email>:" in the `snap login` 5276 - many: reshuffle how we load/inject tests keys so image doesn't 5277 need assertstate anymore 5278 - store: use range requests if we have a local file already 5279 - dirs,interfaces,overlord,snap,snapenv,test: export per-snap 5280 XDG_RUNTIME_DIR per user 5281 - osutil: make RealUser only look at SUDO_USER when uid==0 5282 - tests: do not use the ppa:snappy-dev/image in the tests 5283 - store: retry readyToBuy request 5284 - tests: increase `expect` timeouts 5285 - static tests: add spell check 5286 - tests: add debug to all flaky expect tests 5287 - systemd: correct the mount arguments when mounting with squashfuse 5288 - interfaces: add avahi-observe 5289 - store: bring delta downloads back 5290 - interfaces: add alsa 5291 - interfaces/builtin: fix a broken test that snuck into master 5292 - osutil: add chattr funcs 5293 - image: init "snap_mode" on image creation time to avoid ugly 5294 messages 5295 - tests: test-snapd-fuse-consumer needs python-fuse as a build- 5296 package 5297 - interfaces/builtin: add i2c interface 5298 - interfaces: add ofono interface 5299 - tests: do not use hello-world in our tests 5300 - snap: add support for classic confinement 5301 - interfaces: remove LegacyAutoConnect() from the interfaces 5302 - interfaces: miscellaneous policy updates 5303 - tests: run autopkgtests in the autopkgtest.ubuntu.com 5304 infrastructure 5305 - Implement lxd-client interface exposing the lxd snap 5306 - asserts: validate optional account username 5307 - many: remove unnecessary snap name parameter from buying endpoint 5308 - tests: do not hardcode the size of /dev/ram0 5309 - tests: add test that ensures the right content for /etc/os-release 5310 - spread tests: fix snap mode check 5311 - docs: fix path for source files location in HACKING.md 5312 - interfaces/builtin/mir: allow slot to make recvfrom syscalls 5313 - store: sections/featured snaps store support 5314 5315 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 24 Nov 2016 19:43:08 +0100 5316 5317 snapd (2.17.1) xenial; urgency=medium 5318 5319 * New upstream release, LP: #1637215: 5320 - release: os-release on core has changed 5321 - tests: /dev/ptmx does not work on powerpc, skip here 5322 - docs: moved to github.com/snapcore/snapd/wiki (#2258) 5323 - debian: golang is not installable on powerpc, use golang-any 5324 5325 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Nov 2016 18:13:10 +0200 5326 5327 snapd (2.17) xenial; urgency=medium 5328 5329 * New upstream release, LP: #1637215: 5330 - overlord/ifacestate: add unit tests for undo of setup-snap- 5331 security (#2243) 5332 - daemon,overlord,snap,tests: download to .partial in final dir 5333 (#2237) 5334 - overlord/state: marshaling tests for lanes (#2245) 5335 - overlord/state: introduce state lanes (#2241) 5336 - overlord/snapstate: fix revert+refresh (#2224) 5337 - interfaces/sytemd: enable/disable generated service units (#2229) 5338 - many: fix incorrect security files generation on undo 5339 - overlord/snapstate: add dynamic snapdX.Y assumes (#2227) 5340 - interfaces: network-manager: give slot full read-write access to 5341 /run/NetworkManager 5342 - docs: update the name of the command for the cross-build 5343 - overlord/snapstate: fix missing argument to Noticef 5344 - snapstate: ensure gadget/core/kernel can not be disabled (#2218) 5345 - asserts: limit to 1y only if len(models) == 0 (#2219) 5346 - debian: only install share/locale if available (missing on 5347 powerpc) 5348 - overlrod/snapstate: fix revert followed by refresh to old-current 5349 (#2214) 5350 - interfaces/builtin: network-manager and bluez can change hostname 5351 (#2204) 5352 - snap: switch the auto-import dir to /run/snapd/auto-import 5353 - docs: less details about cloud.cfg as requested in trello (#2206) 5354 - spread.yaml: Ensure ubuntu user has passwordless sudo for 5355 autopkgtests (#2201) 5356 - interfaces/builtin: add dcdbas-control interface 5357 - boot: do not set boot to try mode if the revision is unchanged 5358 - interfaces: add shutdown interface (#2162) 5359 - interfaces: add system-power-control interface 5360 - many: use the new systemd backend for configuring GPIOs 5361 - overlord/ifacestate: setup security for slots before plugs 5362 - snap: spool assertion candidates if snapd is not up yet 5363 - store,daemon,overlord: download things to a partials dir 5364 - asserts,daemon: implement system-user-authority header/concept 5365 - interfaces/builtin: home base declaration rule using on-classic 5366 for its policy 5367 - interfaces/builtin: finish decl based checks 5368 - asserts: bump snap-declaration to allow signing with new-style 5369 plugs and slots 5370 - overlord: checks for kernel installation/refresh based on model 5371 assertion and previous kernel 5372 - tests/lib/fakestore: fix logic to distinguish assertion not found 5373 errors 5374 - client: add a few explicit error types (around the request cycle) 5375 - tests/lib/fakestore/cmd/fakestore: make it log, and fix a typo 5376 - overlord/snapstate: two bugs for one 5377 - snappy: disable auto-import of assertions on classic (#2122) 5378 - overlord/snapstate: move trash cleanup to a cleanup handler 5379 (#2173) 5380 - daemon: make create-user --known fail on classic without --force- 5381 managed (#2123) 5382 - asserts,interfaces/policy: implement on-classic plug/slot 5383 constraints 5384 - overlord: check that the first installed gadget matches the model 5385 assertion 5386 - tests: use the snapd-control-consumer snap from the store 5387 - cmd/snap: make snap run not talk to snapd for finding the revision 5388 - snap/squashfs: try to hard link instead of copying. Also, switch 5389 to osutil.CopyFile for cp invocation. 5390 - store: send supported max-format when retrieving assertions 5391 - snapstate, devicestate: do not remove seed 5392 - boot,image,overlord,partition: read/write boot variables in single 5393 operation 5394 - tests: reenable ubuntu-core tests on qemu 5395 - asserts,interfaces/policy: allow OR-ing of subrule constraints in 5396 plug/slot rules 5397 - many: move from flags as ints to flags as structs-of-bools (#2156) 5398 - many: add supports for keeping and finding assertions with 5399 different format iterations 5400 - snap: stop using ubuntu-core-launcher, use snap-confine 5401 - many: introduce an assertion format iteration concept, refuse to 5402 add unsupported assertion 5403 - interfaces: tweak wording and comment 5404 - spread.yaml: dump apparmor denials on spread failure 5405 - tests: unflake ubuntu-core-reboot (#2150) 5406 - cmd/snap: tweak unknown command error message (#2139) 5407 - client,daemon,cmd: add payment-declined error kind (#2107) 5408 - cmd/snap: update remove command help (#2145) 5409 - many: removed frameworks target and fixed service files (#2138) 5410 - asserts,snap: validate attributes to a JSON-compatible type subset 5411 (#2140) 5412 - asserts: remove unused serial-proof type 5413 - tests: skip auto-import tests on systems without test keys (#2142) 5414 - overlord/devicestate: don't spam the debug log on classic (#2141) 5415 - cmd/snap: simplify auto-import mountinfo parsing (#2135) 5416 - tests: run ubuntu-core upgrades on isolated machine (#2137) 5417 - overlord/devicestate: recover seeding from old external approach 5418 (#2134) 5419 - overlord: merge overlord/boot pkg into overlord/devicestate 5420 (#2118) 5421 - daemon: add postCreateUserSuite test suite (#2124) 5422 - tests: abort tests if an update process is scheduled (#2119) 5423 - snapstate: avoid reboots if nothing in the boot setup has changed 5424 (#2117) 5425 - cmd/snap: do not auto-import from loop or non-dev devices (#2121) 5426 - tests: add spread test for `snap auto-import` (#2126) 5427 - tests: add test for auto-mount assertion import (#2127) 5428 - osutil: add missing unit tests for IsMounted (#2133) 5429 - tests: check for failure creating user on managed ubuntu-core 5430 systems (#2096) 5431 - snap: ignore /dev/loop addings from udev (#2111) 5432 - tests: remove snapd.boot-ok reference (#2109) 5433 - tests: enable tests related to the home interface in all-snaps 5434 (#2106) 5435 - snapstate: only import defaults from gadget on install (#2105) 5436 - many: move firstboot code into the snapd daemon (#2033) 5437 - store: send correct JSON type of string for expected payment 5438 amount (#2103) 5439 - cmd/snap: rename is-managed to managed and tune (#2102) 5440 - interfaces,overlord/ifacestate: initial cleaning up of no arg 5441 AutoConnect related bits (#2090) 5442 - client, cmd: prompt for password when buying (#2086) 5443 - snapstate: fix hanging `snap remove` if snap is no longer mounted 5444 - image: support gadget specific cloud.conf file (#2101) 5445 - cmd/snap,ctlcmd: fix behavior of snap(ctl) get (#2093) 5446 - store: local users download from the anonymous url (#2100) 5447 - docs/hooks.md: fix typos (#2099) 5448 - many: check installation of slots and plugs against declarations 5449 - docs: fix missing "=" in the systemd-active docs 5450 - store: do not set store auth for local users (#2092) 5451 - interfaces,overlord/ifacestate: use declaration-based checking for 5452 auto-connect (#2071) 5453 - overlord, daemon, snap: support gadget config defaults (#2082)The 5454 main semantic changes are: 5455 - tests: fix snap-disconnect tests after core rename (#2088) 5456 - client,daemon,overlord,cmd: add /v2/users and create-user on auto- 5457 import (#2074) 5458 - many: abbreviated forms of disconnect (#2066) 5459 - asserts: require lowercase model until insensitive matching is 5460 ready (#2076) 5461 - cmd/snap: add version command, same as --version (#2075) 5462 - all: use "core" by default but allow "ubuntu-core" still (#2070) 5463 - overlord/devicestate, docs/hooks.md: nest prepare-device 5464 configuration options 5465 - daemon: fix login API to return local macaroons (#2078) 5466 - daemon: do not hardcode UID in userLookup (#2080) 5467 - client, cmd: connect fixes (#2026) 5468 - many: preparations for switching most of autoconnect to use the 5469 declarationsfor now: 5470 - overlord/auth: update CheckMacaroon to verify local snapd 5471 macaroons (#2069) 5472 - cmd/snap: trivial auto-import and download tweaks (#2067) 5473 - interfaces: add repo.ResolveConnect that handles name resolution 5474 - interfaces/policy: introduce InstallCandidate and its checks 5475 - interfaces/policy,overlord: check connection requests against the 5476 declarations in ifacestate 5477 - many: setup snapd macaroon for local users (#2051)Next step: do 5478 snapd macaroons verification. 5479 - interfaces/policy: implement snap-id/publisher-id checks 5480 - many: change Connect to take ConnRef instead of strings (#2060) 5481 - snap: auto mount block devices and import assertions (#2047) 5482 - daemon: add `snap create-user --force-managed` support (#2041) 5483 - docs: remove references to removed buying features (#2057) 5484 - interfaces,docs: allow sharing SNAP{,_DATA,_COMMON} via content 5485 iface (#2063) 5486 - interfaces: add Plug/Slot/Connection reference helpers (#2056) 5487 - client,daemon,cmd/snap: improve create-user APIs (#2054) 5488 - many: introduce snap refresh --ignore-validation <snap> to 5489 override refresh validation (#2052) 5490 - daemon: add support for `snap create-user --known` (#2040) 5491 - interfaces/policy: start of interface policy checking code based 5492 on declarations (#2050) 5493 - overlord/configstate: support nested configuration (#2039) 5494 - asserts,interfaces/builtin,overlord/assertstate: introduce base- 5495 declaration (#2037) 5496 - interfaces: builtin: Allow writing DHCP lease files to 5497 /run/NetworkManager/dhcp (#2049) 5498 - many: remove all traces of the /v2/buy/methods endpoint (#2045) 5499 - tests: add external spread backend (#1918) 5500 - asserts: parse the slot rules in snap-declarations (#2035) 5501 - interfaces: allow read of /etc/ld.so.preload by default for armhf 5502 on series 16 (#2048) 5503 - store: change purchase to order and store clean up first pass 5504 (#2043) 5505 - daemon, store: switch to new store APIs in snapd (#2036) 5506 - many: add email to UserState (#2038) 5507 - asserts: support parsing the plugs stanza i.e. plug rules in snap- 5508 declarations (#2027) 5509 - store: apply deltas if explicitly enabled (#2031) 5510 - tests: fix create-key/snap-sign test isolation (#2032) 5511 - snap/implicit: don't restrict the camera iface to classic (#2025) 5512 - client, cmd: change buy command to match UX document (#2011) 5513 - coreconfig: nuke it. Also, ignore po/snappy.pot. (#2030) 5514 - store: download deltas if explicitly enabled (#2017) 5515 - many: allow use of the system user assertion with create-user 5516 (#1990) 5517 - asserts,overlord,snap: add prepare-device hook for device 5518 registration (#2005) 5519 - debian: adjust packaging for trusty/deputy systemd (#2003) 5520 - asserts: introduce AttributeConstraints (#2015) 5521 - interface/builtin: access system bus on screen-inhibit-control 5522 - tests: add firewall-control interface test (#2009) 5523 - snapstate: pass errors from ListRefresh in updateInfo (#2018) 5524 - README: add links to IRC, mailing list and social media (#2022) 5525 - docs: add `configure` hook to hooks list (#2024)LP: #1596629 5526 - cmd/snap,configstate: rename apply-config variables to configure. 5527 (#2023) 5528 - store: retry download on 500 (#2019) 5529 - interfaces/builtin: support time and date settings via 5530 'org.freedesktop.timedate1 (#1832) 5531 5532 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 02 Nov 2016 01:17:36 +0200 5533 5534 snapd (2.16-1) unstable; urgency=medium 5535 5536 [ Michael Hudson-Doyle ] 5537 * New upstream release. 5538 * Import gopkg.in/cheggaaa/pb.v1 rather than github.com/cheggaaa/pb. 5539 * Switch to unconditional conflict against `snap` (Closes: #826884) 5540 * Update Vcs-Git and Vcs-Browser to point to alioth. 5541 5542 [ Steve Langasek ] 5543 * Remove govendor from gbp.conf, and import Ubuntu tarball as our 5544 orig.tar.gz (switching our packaging to non-native). 5545 * Add Uploaders. 5546 * Drop lintian overrides not used in Debian because we dynamically link 5547 against golang-yaml.v2. 5548 * Bump standards-version, no changes required. 5549 * Add/fix various lintian overrides. 5550 5551 -- Steve Langasek <vorlon@debian.org> Wed, 02 Nov 2016 12:14:52 +0000 5552 5553 snapd (2.16) xenial; urgency=medium 5554 5555 * New upstream release, LP: #1628425 5556 - overlord/state: prune old empty changes 5557 - interfaces: ppp: load needed kernel module (#2007) 5558 - interfaces/builtin: add missing rule to allow run-parts to 5559 execute all resolvconf scripts 5560 - many: rename apply-config hook to configure 5561 - tests: use new spread `debug` feature 5562 - many: finish `snap set` API. 5563 - overlord: fix and simplify configstate.Transaction 5564 - assertions: add system-user assertion 5565 - snap: add `snap known --remote` 5566 - tests: replace systemd-run with on-the-fly generation of units. 5567 - overlord/boot: switch to using assertstate.Batch 5568 - snap, daemon, store: pass through screenshots from store 5569 - image: add meta/gadget.yaml infrastructure 5570 - tests: add test benchmark script 5571 - daemon: add the actual ssh keys that got added to the create-user 5572 response 5573 - daemon: add REST API behind `snap get` 5574 - debian: re-add golang-github-gosexy-gettext-dev 5575 - tests: added install_local function 5576 - interfaces/builtin: fix resolvconf permissions for network-manager 5577 interface 5578 - tests: use apt as compatible with trusty 5579 - many: discard preserved namespace after removing snap 5580 - daemon, overlord, store: add ReadyToBuy API to snapd 5581 - many: add support for installing/removing multiple snaps 5582 - progress: use New64 and fix output newline 5583 - interfaces/builtin: allow network-manager to access netplan conf 5584 files 5585 - tests: build once and install test snap from cache 5586 - overlord/state: introduce cleanup support 5587 - snap: move/clarify Info.Broken 5588 - ctlcmd: add snapctl get. 5589 - overlord,store: clean up serial-proof plumbing code 5590 - interfaces/builtin: add network-setup-observe interface 5591 - daemon,overlord/assertstate: support streams of assertions with 5592 snap ack 5593 - snapd: kmod backend 5594 - tests: ensure HOME is also set correctly 5595 - configstate,hookstate: add snapctl set 5596 - tests: disable broken create-key test 5597 - interfaces: adjust bluetooth-control to allow getsockopt (LP: 5598 #1613572) 5599 - tests: add a test for core about device initialization and device 5600 registration and auth 5601 - many: show snap name before the download progress bar 5602 - interfaces/builtin: add rcvfrom for client connected plugs to mir 5603 interface 5604 - asserts: support for maps in assertions 5605 - tests: increase timeout for key generation in create-key test 5606 - many: validate refreshes against validation assertions by gating 5607 snaps 5608 - interfaces/apparmor: allow 'm' in default policy for snap-exec 5609 - many: avoid snap.InfoFromSnapYaml in tests 5610 - interfaces/builtin: allow /dev/net/tun with network-control 5611 - tests: add spread test for snap create-key/snap sign 5612 - tests: add missing quotes in security-device-cgroups/task.yaml 5613 - interfaces: drop ErrUnknownSecurity 5614 - store: add "ready to buy" method 5615 - snap/snapenv, tests: use root's data dirs when running via sudo 5616 - interfaces/builtin: add initial docker interface 5617 - snap: remove extra newline after progress is done 5618 - docs: fix formating of HACKING.md "Testing snapd" 5619 - store : add requestOptions.ExtraHeaders so that individual 5620 requests can customise headers. 5621 - many: use unique plug/slot names in tests 5622 - tests: add tests for the classic dimension 5623 - many: add vendoring of dependencies by default 5624 - tests: use in-tree snap{ctl,-exec} for all tests 5625 - many: support snapctl -h 5626 - tests: adjust regex after changes in stat output 5627 - store,snap: initial support for delta downloads 5628 - interfaces/builtin: add run/udev/data paths to mir interface 5629 - snap: lessen annoyance of implicit interface tests 5630 - tests: ensure http{,s}_proxy is defined inside the fake-store 5631 - interfaces: allow xdg-open in unity7, unity7 cleanups 5632 - daemon,store: move store login user logic to store 5633 - tests: replace realpath with readlink -f for trusty support. 5634 - tests: add https_proxy into environment as well 5635 - interfaces/builtin: allow mmaping pulseaudio buffers 5636 5637 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 28 Sep 2016 11:09:27 +0200 5638 5639 snapd (2.15.2ubuntu1) xenial; urgency=medium 5640 5641 * New upstream release, LP: #1623579 5642 - snap/snapenv, tests: use root's data dirs when running via sudo 5643 (cherry pick PR: #1857) 5644 - tests: add https_proxy into environment 5645 (cherry pick PR: #1926) 5646 - interfaces: allow xdg-open in unity7, unity7 cleanups 5647 (cherry pick PR: #1946) 5648 - tests: ensure http{,s}_proxy is defined inside the fake-store 5649 (cherry pick PR: #1949) 5650 5651 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 21 Sep 2016 17:21:12 +0200 5652 5653 snapd (2.15.2) xenial; urgency=medium 5654 5655 * New upstream release, LP: #1623579 5656 - asserts: define a bit less terse Ref.String 5657 - interfaces: disable auto-connect in libvirt interface 5658 - asserts: check that validation assertions are signed by the 5659 publisher of the gating snap 5660 5661 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 19 Sep 2016 10:42:29 +0200 5662 5663 snapd (2.15.1) xenial; urgency=medium 5664 5665 * New upstream release, LP: #1623579 5666 - image: ensure local snaps are put last in seed.yaml 5667 - asserts: revert change that made the account-key's name mandatory. 5668 - many: refresh all snap decls 5669 - interfaces/apparmor: allow reading /etc/environment 5670 5671 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 19 Sep 2016 09:19:44 +0200 5672 5673 snapd (2.15) xenial; urgency=medium 5674 5675 * New upstream release, LP: #1623579 5676 - tests: disable prepare-image-grub test in autopkgtest 5677 - interfaces: allow special casing for auto-connect until we have 5678 assertions 5679 - docs: add a little documentation on hooks. 5680 - hookstate,daemon: don't mock HookRunner, mock command. 5681 - tests: add http_proxy to /etc/environment in the autopkgtest 5682 environment 5683 - backends: first bits of kernel-module security backend 5684 - tests: ensure openssh-server is installed in autopkgtest 5685 - tests: make ubuntu-core tests more robust 5686 - many: mostly work to support ABA upgrades 5687 - cmd/snap: do runtime linting of descriptions 5688 - spread.yaml: don't assume LANG is set 5689 - snap: fix SNAP* environment merging in `snap run` 5690 - CONTRIBUTING.md: remove integration-tests, include spread 5691 - store: don't discard error body from request device session call 5692 - docs: add create-user documentation 5693 - cmd/snap: match UX document for message when buying without login 5694 - firstboot: do not overwrite any existing netplan config 5695 - tests: add debug output to ubuntu-core-update-rollback- 5696 stresstest: 5697 - tests/lib/prepare.sh: test that classic does not setting bootvars 5698 - snap: run all tests with gpg2 5699 - asserts: basic support for validation assertion and refresh- 5700 control 5701 - interfaces: miscellaneous policy updates for default, browser- 5702 support and camera 5703 - snap: (re)add --force-dangerous compat option 5704 - tests: ensure SUDO_{USER,GID} is unset in the spread tests 5705 - many: clean out left over references to integration tests 5706 - overlord/auth,store: fix raciness in updating device/user in state 5707 through authcontext and other issuesbonus fixes: 5708 - tests: fix spread tests on yakkety 5709 - store: refactor auth/refresh tests 5710 - asserts: use gpg --fixed-list-mode to be compatible with both gpg1 5711 and gpg2 5712 - cmd/snap: i18n option descriptions 5713 - asserts: required account key name header 5714 - tests: add yakkety test host 5715 - packaging: make sure debhelper-generated snippet is invoked on 5716 postrm 5717 - snap,store: capture newest digest from the store, make it 5718 DownloadInfo only 5719 - tests: add upower-observe spread test 5720 - Merge github.com:snapcore/snapd 5721 - tests: fixes to actually run the spread tests inside autopkgtest 5722 - cmd/snap: make "snap find" error nicer. 5723 - tests: get the gadget name from snap list 5724 - cmd/snap: tweak help of 'snap download' 5725 - cmd/snap,image: teach snap download to download also assertions 5726 - interfaces/builtin: tweak opengl interface 5727 - interfaces: serial-port use udevUsbDeviceSnippet 5728 - store: ensure the payment methods method handles auth failure 5729 - overlord/snapstate: support revert flags 5730 - many: add snap configuration to REST API 5731 - tests: use ubuntu-image for the ubuntu-core-16 image creation 5732 - cmd/snap: serialise empty keys list as [] rather than null 5733 - cmd/snap,client: add snap set and snap get commands 5734 - asserts: update trusted account-key asserts with names 5735 - overlord/snapstate: misc fixes/tweaks/cleanups 5736 - image: have prepare-image set devmode correctly 5737 - overlord/boot: have firstboot support assertion files with 5738 multiple assertions 5739 - daemon: bail from enable and disable if revision given, and from 5740 multi-op if unsupported optons given 5741 - osutil: call sync after cp if 5742 requested.overlord/snapstate/backend: switch to use osutil instead 5743 of another buggy call to cp 5744 - cmd/snap: generate account-key-request "since" header in UTC 5745 - many: use symlinks instead of wrappers 5746 - tests: remove silly [Service] entry from snapd.socket.d/local.conf 5747 - store: switch device session to use device-session-request 5748 assertion 5749 - snap: ensure that plug and slot names are unique 5750 - cmd/snap: fix test suite (no Exit(0) on tests!) 5751 - interfaces: add interface for hidraw devices 5752 - tests: use the real model assertion when creating the core test 5753 image 5754 - interfaces/builtin: add udisks2 and removable-media interfaces 5755 - interface: network_manager: enable resolvconf 5756 - interfaces/builtin: usb serial-port support via udev 5757 - interfaces/udev: support noneSecurityTag keyed snippets 5758 - snap: switch to the new agreed regexp for snap names 5759 - tests: adjust test setup after ubuntu user removal 5760 - many: start services only after the snap is fully ready (link-snap 5761 was run) 5762 - asserts: don't have Add/Check panic in the face of unsupported no- 5763 authority assertions 5764 - asserts: initial support to generate/sign snap-build assertions 5765 - asserts: support checking account-key-request assertions 5766 - overlord: introduce AuthContext.DeviceSessionRequest with support 5767 in devicestate 5768 - overlord/state: fix for reloaded task/change crashing on Set if 5769 checkpointed w. no custom data yet 5770 - snapd.refresh.service: require snap.socket and /snap/*/current. 5771 - many: spell --force-dangerous as just --dangerous, devmode should 5772 imply it 5773 - overlord/devicestate: try to fetch/refresh the signing key of 5774 serial (also in case is not there yet) 5775 - image,overlord/boot,snap: metadata from asserts for image snaps 5776 - many: automatically restart all-snap devices after os/kernel 5777 updates 5778 - interfaces: modem-manager: ignore camera 5779 - firstboot: only configure en* and eth* interfaces by default 5780 - interfaces: fix interface handling on no-app snaps 5781 - snap: set user variables even if HOME is unset (like with systemd 5782 services) 5783 5784 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 16 Sep 2016 07:46:22 +0200 5785 5786 snapd (2.14.2~16.04) xenial; urgency=medium 5787 5788 * New upstream release: LP: #1618095 5789 - tests: use the spread tests with the adhoc interface inside 5790 autopkgtest 5791 - interfaces: add fwupd interface 5792 - asserts,cmd/snap: add "name" header to account-key(-request) 5793 - client,cmd/snap: display os-release data only on classic 5794 - asserts/tool,cmd/snap: introduce hidden "snap sign" 5795 - many: when installing snap file derive metadata from assertions 5796 unless --force-dangerous 5797 - osutil: tweak the createUserTests a bit and extract common code 5798 - debian: umount --lazy before rm on snapd.postrm 5799 - interfaces: updates to default policy, browser-support, and x11 5800 - store: set initial device session 5801 - interfaces: add upower-observe interface (LP: #1595813) 5802 - tests: use beta u-d-f in test by default 5803 - interfaces/builtin: allow writing on /dev/vhci in bluetooth- 5804 control 5805 - interfaces/builtin: allow /dev/vhci on bluetooth-control 5806 - tests: port integration tests to spread 5807 - snapstate: use umount --lazy when removing the mount units 5808 - spread: enable halt-timeout, tweak image selection 5809 - tests: fix firstboot-assertions to actually be runnable on classic 5810 again 5811 - asserts: introduce device-session-request 5812 - interfaces: add screen-inhibit-control interface (LP: #1604880) 5813 - firstboot: change location of netplan config 5814 - overlord/devicestate: some cleanups and solving a couple todos 5815 - daemon,overlord: add subcommand handling to snapctl 5816 5817 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 01 Sep 2016 18:52:05 +0200 5818 5819 snapd (2.14.1) xenial; urgency=medium 5820 5821 * New upstream release: LP: #1618095 5822 - snap-exec: add support for commands with internal args in snap- 5823 exec 5824 - store: refresh expired device sessions 5825 - debian: re-add ubuntu-core-snapd-units as a transitional package 5826 - image: snap assertions into image 5827 - overlord/assertstate,asserts/snapasserts: give snap assertions 5828 helpers a package, introduce ReconstructSideInfo 5829 - docs/interfaces: Add empty line after lxd-support title 5830 - README: cover the new /run/snapd-snap.socket 5831 - daemon: make socket split backward-compatible. 5832 5833 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 30 Aug 2016 16:43:29 +0200 5834 5835 snapd (2.14) xenial; urgency=medium 5836 5837 * New upstream release: LP: #1618095 5838 - cmd: enable SNAP_REEXEC only if it is set to SNAP_REEXEC=1 5839 - osutil: fix create-user on classic 5840 - firstboot: disable firstboot on classic for now 5841 - cmd/snap: add export-key --account= option 5842 - many: split public snapd REST API into separate socket. 5843 - many: drop ubuntu-core-snapd-units package, use release.OnClassic 5844 instead 5845 - tests: add content-shareing binary test that excersises snap- 5846 confine 5847 - snap: use "up to date" instead of "up-to-date" 5848 - asserts: add an account-key-request assertion 5849 - asserts: fix GPG key generation parameters 5850 - tests, integration-tests: implement the cups-control manual test 5851 as a spread test 5852 - many: clarify/tie down model assertion 5853 - cmd/snap: add "snap download" command 5854 - integration-tests: remove them in favour of the spread tests 5855 - tests: test all snap ubuntu core upgrade 5856 - many: support install and remove by revision 5857 - overlord/state: prevent change ready => unready 5858 - tests: fixes to make the ubuntu-core-16 image usable with 5859 -keep/-reuse 5860 - asserts: authority-id and brand-id of serial must match 5861 - firstboot: generate netplan config rather than ifupdown 5862 - store: request device session macaroon from store 5863 - tests: add workaround for u-d-f to unblock all-snap image tests 5864 - tests: the stable ubuntu-core snap has snap run support now 5865 - many: use make StripGlobalRootDir public 5866 - asserts: add some stricter checks around format 5867 - many: have AuthContext expose device store-id, serial and serial- 5868 proof signing to the store 5869 - tests: fix "tests/main/ack" to not break if asserts are alreay 5870 there 5871 - tests/main/ack: fix test/style 5872 - snap: add key management commands 5873 - firstboot: add firstboot assertions importing 5874 5875 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 29 Aug 2016 17:07:20 +0200 5876 5877 snapd (2.13) xenial; urgency=medium 5878 5879 * New upstream release: LP: #1616157 5880 - many: respect dirs.SnapSnapsDir in tests 5881 - tests: update listing test for latest stable image 5882 - many: hook in start of code to fetch/check assertions when 5883 installing snap from store 5884 - boot: add missing udevadm mock to fix FTBFS 5885 - interfaces: add lxd-support interface 5886 - dirs,snap: handle empty root directory in SetRootDir 5887 - dirs,snap: define methods for SNAP_USER_DATA and SNAP_USER_COMMON 5888 - tests: spread all-snap test cleanup 5889 - tests: add all-snap spread image tests 5890 - store,tests: have just one envvar SNAPPY_USE_STAGING_STORE to 5891 control talking to staging 5892 - overlord/hookstate: use snap run posix parameters. 5893 - interfaces/builtin: allow bind in the network interface 5894 - asserts,overlord/devicestate: simplify private key/key pairs APIs, 5895 they take just key ids 5896 - dependencies: update godeps 5897 - boot: add support for "devmode: {true,false}" in seed.yaml 5898 - many: teach prepare-image to copy the model assertion (and 5899 prereqs) into the seed area of the image 5900 - tests: start teaching the fakestore about assertions 5901 - asserts/sysdb: embed the new format official root/trusted 5902 assertions 5903 - overlord/devicestate: first pass at device registration logic 5904 - tests: add process-control interface spread test 5905 - tests: disable unity test 5906 - tests: adapt to new spread version 5907 - asserts: add serial-proof device assertion 5908 - client, cmd/snap: use the new multi-refresh endpoint 5909 - many: preparations for image code to fetch model prereqs 5910 - debian: add extra checks when debian/snapd.postrm purge is run 5911 - overlord/snapstate, daemon: support for multi-snap refresh 5912 - tests: do not leave "squashfs-root" around 5913 - snap-exec: Fix broken `snap run --shell` and add test 5914 - overlord/snapstate: check changes to SnapState for conflicts also. 5915 - docs/interfaces: change snappy command to snap 5916 - tests: test `snap run --hook` using in-tree snap-exec. 5917 - partition: ensure that snap_{kernel,core} is not overridden with an 5918 empty value 5919 - asserts,overlord/assertstate: introduce an assertstate task 5920 handler to fetch snap assertions 5921 - spread: disable re-exec to always test development tree. 5922 - interfaces: implement a fuse interface 5923 - interfaces/hardware-observe.go: re-add /run/udev/data 5924 - overlord/assertstate,daemon: reorg how the assert manager exposes 5925 the assertion db and adding to it 5926 - release: Remove "UBUNTU_CODENAME" from the test data 5927 - many: implement snapctl command. 5928 - interfaces: mpris updates (fix unconfined introspection, add name 5929 attribute) 5930 - asserts: export DecodePublicKey 5931 - asserts: introduce support for assertions with no authority, 5932 implement serial-request 5933 - interfaces: bluez: add a few more tests to verify interface 5934 connection works 5935 - interfaces: bluez: add missing mount security snippet case 5936 - interfaces: add kernel-module interface for module insertion. 5937 - integration-tests: look for ubuntu-device-flash on PATH before 5938 calling sudo 5939 - client, cmd, daemon, osutil: support --yaml and --sudoer flags for 5940 create-user 5941 - spread: use snap-confine from ppa:snappy-dev/image for the tests 5942 - many: move to purely hash based key lookup and to new 5943 key/signature format (v1) 5944 - spread: Use /home/gopath in spread.yaml 5945 - tests: base security spread tests 5946 5947 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 24 Aug 2016 14:48:28 +0200 5948 5949 snapd (2.12) xenial; urgency=medium 5950 5951 * New upstream release: LP: #1612362 5952 - many: do not require root for `snap prepare-image` 5953 - tests: prevent restore error on test failure 5954 - osutil: change escaping for create-user's sudoers 5955 - docs: private flag doesn't exist on /v2/find (it's select) 5956 - snap: do not sort the result of `snap find` 5957 - interfaces/builtin: add gpio interface 5958 - partition: fix cleaning of the boot variables on the second good 5959 boot 5960 - tests: add udev rules spread test 5961 - docs: fix references to refresh action 5962 - interfaces/udev,osutil: avoid doubled rules and put all in a per 5963 snap file 5964 - store: minor store improvements from previous reviews 5965 - many: support interactive payments in snapd, filter from command 5966 line 5967 - docs/interfaces.md: improve interfaces documentation 5968 - overlord,store: set store device authorization header 5969 - store: add device nonce API support 5970 - many: various fixes around the `create-user` command 5971 - client, osutil: chown the auth file 5972 - interfaces/builtin: add transitional browser-support interface 5973 - snap: don't load unsupported implicit hooks. 5974 - cmd/snap,cmd/snap-exec: support hooks again. 5975 - interfaces/builtin: improve pulseaudio interface 5976 - asserts: make account-key's `until` optional to represent a never- 5977 expiring key 5978 - store: refactor newRequest/doRequest to take requestOptions 5979 - tests: allow-downgrades on upgrade test to prevent version errors 5980 - daemon: stop using group membership as succedaneous of running 5981 things with sudo 5982 - interfaces: add bluetooth-control interfaces 5983 - many: remove integration-test coverage metrics 5984 - daemon,docs: drop license docs and error kind 5985 - tests: add network-control interface spread test 5986 - tests: add hardware-observe spread test 5987 - interfaces: add system-trace interface LP: #1600085 5988 - boot: use `cp -aLv` instead of `cp -a` (no symlinks on vfat) 5989 - store: soft-refresh discharge macaroon from store when required 5990 - partition: clear snap_try_{kernel,core} on success 5991 - tests: add snapd-control interface spread test 5992 - tests: add locale-control write spread test 5993 - store: fix buy method after some refactoring broke it 5994 - interfaces/builtin: read perms for network devices in network- 5995 observe 5996 - interfaces: also allow rfkill in network_control 5997 - snapstate: remove artifacts from a snap try dir that vanished 5998 - client, cmd/snap: better errors for empty snap list result 5999 - wrappers: set BAMF_DESKTOP_FILE_HINT for unity 6000 - many: cleanup/update rest.md; improve auth errors 6001 - interfaces: miscelleneous policy updates for default, log-observe, 6002 mount-observe, opengl, pulseaudio, system-observe and unity7 6003 - interfaces: add process-control interface (LP: #1598225) 6004 - osutil: support both "nobody" and "nogroup" for grpnam tests 6005 - cmd: support defaulting to the user's preferred payment method 6006 - overlord: actually run hooks. 6007 - overlord/state,overlord/ifacestate: define basic infrastructure 6008 for and then setting up serialising of interface mgr tasks 6009 - asserts: add Assertion.Prerequisites and SigningKey, Ref and 6010 FindTrusted 6011 - overlord/snapstate: ensure calls to store are done without the 6012 state lock held 6013 - asserts,client: switch snap-build and snap-revision to be indexed 6014 by snap-sha3-384 6015 - many: make seed.yaml on firstboot mandatory and include sideInfo 6016 - asserts,many: start supporting structured headers using the new 6017 parseHeaders 6018 - many: update code for the new snap_mode 6019 - tests: added spread find private test 6020 - store: deal with 404 froms the SSO store properly 6021 - snap: remove meta/kernel.yaml again 6022 - daemon: always mock release info in tests 6023 - snapstate: drop revisions after "current" on refresh 6024 - asserts: introduce new parseHeadersThis introduces the new 6025 parseHeaders returning map[string]interface{} and capable of 6026 accepting: 6027 - asserts: remove/disable comma separated lists and their uses 6028 6029 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 Aug 2016 19:30:36 +0200 6030 6031 snapd (2.11) xenial; urgency=medium 6032 6033 * New upstream release: LP: #1605303 6034 - increase version number to reflect the nature of the update 6035 better 6036 - store, daemon, client, cmd/snap, docs/rest.md: adieu search 6037 grammar 6038 - debian: move snapd.refresh.timer into timers.target 6039 - snapstate: add daemon-reload to fix autopkgtest on yakkety 6040 - Interfaces: hardware-observe 6041 - snap: rework the output after a snap operation 6042 - daemon, cmd/snap: refresh --devmode 6043 - store, daemon, client, cmd/snap: implement `snap find --private` 6044 - tests: add network-observe interface spread test 6045 - interfaces/builtin: allow getsockopt for connected x11 plugs 6046 - osutil: check for nogrup instead of adm 6047 - store: small cleanups (more needed) 6048 - snap/squashfs: fix test not to hardcode snap size 6049 - client,cmd/snap: cleanup cmd/snap test suite, add extra args 6050 testThis cleans up the cmd/snap test suite: 6051 - wrappers: map "never" restart condition to "no." 6052 - wrappers: run update-desktop-database after add/remove of desktop 6053 files 6054 - release: work around elementary mistake 6055 - many: remove all traces of channel from the buying codepath 6056 - store: kill setUbuntuStoreHeaders 6057 - docs: add payment methods documentation 6058 - many: present user with a choice of payment backends 6059 - asserts: add cross checks for snap asserts 6060 - cmd/snap,cmd/snap-exec: support running hooks via snap-exec. 6061 - tests: improve snap run symlink tests 6062 - tests: add content sharing interface spread test 6063 - store & many: a mechanical branch shortening store names 6064 - snappy: remove old snappy pkg 6065 - overlord/snapstate: kill flagscompat 6066 - overlord/snapstate, daemon, client, cmd/snap: devmode override 6067 (aka confined) 6068 - tests: extend refresh test to talk to the staging and production 6069 stores 6070 - asserts,daemon: cross checks for account and account-key 6071 assertions 6072 - client: existing JSON fixtures uses tabs for indentation 6073 - snap-exec: add proper integration test for snap-exec 6074 - spread.yaml, tests: replace hello-world with test-snapd-tools 6075 - tests: add locale-control interface spread test 6076 - tests: add mount-observe interface spread test 6077 - tests: add system-observe interface spread test 6078 - many: add AuthContext to mediate user updates to the state 6079 - store/auth: add helper for the macaroon refresh endpoint 6080 - cmd: add buy command 6081 - overlord: switch snapstate.Update to use ListRefresh (aka 6082 /snaps/metadata) 6083 - snap-exec: fix silly off-by-one error 6084 - tests: stop using hello-world.echo in the tests 6085 - tests: add env command to test-snapd-tools 6086 - classic: remove (most of) "classic" mode, this is implemented as a 6087 snap now 6088 - many: remove snapstate.Candidate and other cleanups 6089 - many: removed authenticator, store gets a user instead 6090 - asserts: fix minor doc comment typo 6091 - snap: ensure unknown arguments to `snap run` are ignored 6092 - overlord/auth: add Device/SetDevice to persist device identity in 6093 state 6094 - overlord: make SyncBoot work again 6095 - tests: add -y flag to apt autoremove command in unity task restore 6096 - many: migrate SnapSetup and SideInfo to use RealName 6097 - daemon: drop auther() 6098 - client: improve error from client.do() on json decode failures 6099 - tests: readd the fake store tests 6100 - many: allow removal of broken snaps, add spread test 6101 - overlord: implement &Retry{After: duration} support for handlers 6102 - interface: add new interfaces.all.SecurityBackends 6103 - integration-tests: remove login tests 6104 - cmd,interfaces,snap: implement hook whitelist. 6105 - daemon,overlord/auth,store: update macaroon authentication to use 6106 the new endpoints 6107 - daemon, overlord: add buy endpoint to REST API 6108 - tests: use systemd-run for starting and stopping the unity app 6109 - tests, integration-tests: port systemd service check test to 6110 spread 6111 - store: switch search to new snap-specific endpoint 6112 - store, many: start using the new details endpoint 6113 - tests, integration-tests: port unity test to spread 6114 - tests: add spread test for tried snaps removal 6115 - tests, integration-tests: port auth errors test to spread 6116 - snapstate: rename OfficialName to RealName in the new tests 6117 - many: rename SideInfo.OfficialName to SideInfo.RealName 6118 - snapstate: use snapstate.Type in backend.RemoveSnapFiles 6119 - many: add `snap enable/disable` commands 6120 - tests, integration-tests: port refresh all test to spread 6121 - snap: add `snap run --shell` 6122 - tests: set yaml indentation to 4 spaces 6123 - snapstate: cleanup downloaded temp snap files 6124 - overlord: make patch1_test more robust 6125 - debian: add snapd.postrm that purges 6126 - integration-tests: drop already covered refresh app test 6127 - many: add concept of "broken" snaps 6128 - tests, integration-tests: port remove errors tests to spread 6129 - tests, integration-tests: port revert test to spread 6130 - debian: fix snapbuild path 6131 - overlord: fix access to the state without lock in firstboot.go and 6132 add test 6133 - snapstate: add very simple garbage collection on upgrade 6134 - asserts: introduce assertstest with helpers to test code involving 6135 assertions 6136 - tests, integration tests: port undone failed install test to 6137 spread 6138 - snap,store: switch to the new snaps/metadata endpoint, introduce 6139 and start capturing DeveloperID 6140 - tests, integration-tests: port the op remove retry test to spread 6141 - po: remove snappy.pot from git, it will be generated at build time 6142 - many: add some missing tests, clarify some things and nitpicks as 6143 follow up to `snap revert` 6144 - snapstate: when doing snapsate.Update|Install, talk to the store 6145 early 6146 - tests, integration-tests: port the op remove test to spread 6147 - interfaces: allow /usr/bin/locale in default policy 6148 - many: add `snap revert` 6149 - overlord/auth,store: add macaroon serialization/deserialization 6150 helpers 6151 - many: embed main store trusted assertions in snapd, way to have 6152 test ones, spread tests for ack and known 6153 - overlord/snapstate,daemon: clarify active vs current, add 6154 SnapState.HasCurrent,CurrentInfo 6155 - tests: do not search for a specific snap (we hit 100 items) and 6156 pagination kicks in 6157 - tests: use printf instead of echo where we need portability 6158 - tests: rename and generalize basic-binaries to test-snapd-tools 6159 6160 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 26 Jul 2016 15:49:04 +0200 6161 6162 snapd (2.0.10) xenial; urgency=medium 6163 6164 * New upstream release: LP: #1597329 6165 - interfaces: also allow @{PROC}/@{pid}/mountinfo and 6166 @{PROC}/@{pid}/mountstats 6167 - interfaces: allow read access to /etc/machine-id and 6168 @{PROC}/@{pid}/smaps 6169 - interfaces: miscelleneous policy updates for default, log-observe 6170 and system-observe 6171 - snapstate: add logging after a successful doLinkSnap 6172 - tests, integration-tests: port try tests to spread 6173 - store, cmd/snapd: send a basic user-agent to the store 6174 - store: add buy method 6175 - client: retry on failed GETs 6176 - tests: actual refresh test 6177 - docs: REST API update 6178 - interfaces: add mount support for hooks. 6179 - interfaces: add udev support for hooks. 6180 - interfaces: add dbus support for hooks. 6181 - tests, integration-tests: port refresh test to spread 6182 - tests, integration-tests: port change errors test to spread 6183 - overlord/ifacestate: don't retry snap security setup 6184 - integration-tests: remove unused file 6185 - tests: manage the socket unit when reseting state 6186 - overlord: improve organization of state patches 6187 - tests: wait for snapd listening after reset 6188 - interfaces/builtin: allow other sr*/scd* optical devices 6189 - systemd: add support for squashfuse 6190 - snap: make snaps vanishing less fatal for the system 6191 - snap-exec: os.Exec() needs argv0 in the args[] slice too 6192 - many: add new `create-user` command 6193 - interfaces: auto-connect content interfaces with the same content 6194 and developer 6195 - snapstate: add Current revision to SnapState 6196 - readme: tweak readme blurb 6197 - integration-tests: wait for listening port instead of active 6198 service reported by systemd 6199 - many: rename Current -> {CurrentSideInfo,CurrentInfo} 6200 - spread: fix home interface test after suite move 6201 - many: name unversioned data. 6202 - interfaces: add "content" interface 6203 - overlord/snapstate: defaultBackend can go away now 6204 - debian: comment to remember why the timer is setup like it is 6205 - tests,spread.yaml: introduce an upgrade test, support/split into 6206 two suites for this 6207 - overlord,overlord/snapstate: ensure we keep snap type in snapstate 6208 of each snap 6209 - many: rework the firstboot support 6210 - integration-tests: fix test failure 6211 - spread: keep core on suite restore 6212 - tests: temporary fix for state reset 6213 - overlord: add infrastructure for simple state format/content 6214 migrations 6215 - interfaces: add seccomp support for hooks. 6216 - interfaces: allow gvfs shares in home and temporarily allow 6217 socketcall by default (LP: #1592901, LP: #1594675) 6218 - tests, integration-tests: port network-bind interface tests to 6219 spread 6220 - snap,snap/snaptest: use PopulateDir/MakeTestSnapWithFiles directly 6221 and remove MockSnapWithHooks 6222 - interfaces: add mpris interface 6223 - tests: enable `snap run` on i386 6224 - tests, integration-tests: port network interface test to spread 6225 - tests, integration-tests: port interfaces cli to spread 6226 - tests, integration-tests: port leftover install tests to spread 6227 - interfaces: add apparmor support for hooks. 6228 - tests, integration-tests: port log-observe interface tests to 6229 spread 6230 - asserts: improve Decode doc comment about assertion format 6231 - tests: moved snaps to lib 6232 - many: add the camera interface 6233 - many: add optical-drive interface 6234 - interfaces: auto-connect home if running on classic 6235 - spread: bump gccgo test timeout 6236 - interfaces: use security tags to index security snippets. 6237 - daemon, overlord/snapstate, store: send confinement header to the 6238 store for install 6239 - spread: run tests on 16.04 i386 concurrently 6240 - tests,integration-tests: port install error tests to spread 6241 - interfaces: add a serial-port interface 6242 - tests, integration-tests, debian: port sideload install tests to 6243 spread 6244 - interfaces: add new bind security backend and refactor 6245 backendtests 6246 - snap: load and validate implicit hooks. 6247 - tests: add a build/run test for gccgo in spread 6248 - cmd/snap/cmd_login: Adjust message after adding support for wheel 6249 group 6250 - tests, integration-tests: ported install from store tests to 6251 spread 6252 - snap: make `snap change <taskid>` show task progress 6253 - tests, integration-tests: port search tests to spread 6254 - overlord/state,daemon: make abort proceed immediately, fix doc 6255 comment, improve tests 6256 - daemon: extend privileged access to users in "wheel" group 6257 - snap: tweak `snap refresh` and `snap refresh --list` outputTiny 6258 branch that does three things: 6259 - interfaces: refactor auto-connection candidate check 6260 - snap: add support for snap {install,refresh} 6261 --{edge,beta,candidate,stable} 6262 - release: don't force KDE Neon into devmode. 6263 6264 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 Jun 2016 21:02:39 +0200 6265 6266 snapd (2.0.9) xenial; urgency=medium 6267 6268 * New upstream release: LP: #1593201 6269 - snap: add the magic redirect part of `snap run` 6270 - tests, integration-tests: port server related tests to spread 6271 - overlord/snapstate: log restarting in the task 6272 - daemon: test restart wiring, fix setup/teardown 6273 - cmd: don't show the price if a snap has already been purchased 6274 - tests, integration-tests: port listing tests to spread 6275 - integration-tests: do not try to kill ubuntu-clock-app.clock (no 6276 longer a process) 6277 - several: tie up overlord's restart handler into daemon; adjust 6278 snap to cope 6279 - tests, integration-tests: port abort tests to spread 6280 - integration-tests: fix flaky TestRemoveBusyRetries 6281 - testutils: refactor/mock exec 6282 - snap,cmd: add hook support to snap run. 6283 - overlord/snapstate: remove Download from backend 6284 - store: use a custom logging transport 6285 - overlord/hookstate: implement basic HookManager. 6286 - spread: move the suite restore to restore-each 6287 - asserts: turn model os into model core field, making it also more 6288 like the kernel and gadget fields 6289 - asserts: / is not allowed in primary key headers, follow the store 6290 in this 6291 - release: enable full confinement on Elementary 0.4 6292 - integration-tests: fix another i386 autopkgtest failure. 6293 - cmd/snap: create SNAP_USER_DATA and common dirs in `snap run` 6294 - many: have the installation of the core snap request a restart (on 6295 classic) 6296 - asserts: allow to load also account assertions into the trusted 6297 set 6298 - many: install snaps in devmode on distributions without complete 6299 apparmor and seccomp support 6300 - spread: run on travis 6301 - snapenv: do not hardcode amd64 in tests 6302 - spread: initial harness and first test 6303 - interfaces: miscelleneous policy updates for chromium, x86, 6304 opengl, etc 6305 - integration-tests: remove daemon to use the log-observe interface 6306 - client: remove client.Revision and import snap.Revision instead 6307 - integration-tests: wait for network-bind service in try test 6308 - many: move over from snappy to snapstate/backend SetupSnap and 6309 related code 6310 - integration-tests: add interfaces cli tests 6311 - snapenv: cleanup snapenv.{Basic,User} 6312 - cmd/snap: also print slots that connect to the wanted snap (LP: 6313 #1590704) 6314 - asserts: error style, use "cannot" instead of "failed to" 6315 following the main decided style 6316 - integration-tests: wait until the network-bind service is up 6317 before testing 6318 - many: add new `snap run` command 6319 - snappy: unexport snappy.Install and snappy.Overlord.{Un,}Install 6320 - many: add some shared testing helpers to snap/snaptest and to 6321 boot/boottest 6322 - rest-api: support to send apps per snap (LP: #1564076) 6323 6324 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 16 Jun 2016 13:56:12 +0200 6325 6326 snapd (2.0.8.1) UNRELEASED; urgency=medium 6327 6328 * New upstream release 6329 - Cherry pick four commits that show snaps as installed in devmode on 6330 distributions without full confinement dependencies available: 6331 6332 25634d3364a46b5e9147e4466932c59b1b572d35 6333 53f2e8d5f1b2d7ce13f5b50be4c09fa1de8cf1e0 6334 38771f4cc324ad9dd4aa48b03108d13a2c361aad 6335 c46e069351c61e45c338c98ab12689a319790bd5 6336 6337 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Tue, 14 Jun 2016 15:55:30 +0200 6338 6339 snapd (2.0.8+1) unstable; urgency=medium 6340 6341 * New upstream release. 6342 * Update lintian-overrides for new paths. 6343 * debian/copyright: fix a typo (thanks, lintian!) 6344 6345 -- Steve Langasek <vorlon@debian.org> Fri, 10 Jun 2016 23:17:22 +0000 6346 6347 snapd (2.0.8) xenial; urgency=medium 6348 6349 * New upstream release: LP: #1589534 6350 - debian: make `snap refresh` times more random (LP: #1537793) 6351 - cmd: ExecInCoreSnap looks in "core" snap first, and only in 6352 "ubuntu-core" snap if rev>125. 6353 - cmd/snap: have 'snap list' display helper message on stderr 6354 (LP: #1587445) 6355 - snap: make app names more restrictive. 6356 6357 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 08 Jun 2016 07:56:58 +0200 6358 6359 snapd (2.0.7) xenial; urgency=medium 6360 6361 * New upstream release: LP: #1589534 6362 - debian: do not ship /etc/ld.so.conf.d/snappy.conf (LP: #1589006) 6363 - debian: fix snapd.refresh.service install and usage (LP: #1588977) 6364 - ovlerlord/state: actually support task setting themself as 6365 done/undone 6366 - snap: do not use "." import in revision_test.go, as this breaks 6367 gccgo-6 (fix build failure on powerpc) 6368 - interfaces: add fcitx and mozc input methods to unity7 6369 - interfaces: add global gsettings interfaces 6370 - interfaces: autoconnect home and doc updates (LP: #1588886) 6371 - integration-tests: remove 6372 abortSuite.TestAbortWithValidIdInDoingStatus 6373 - many: adding backward compatible code to upgrade SnapSetup.Flags 6374 - overlord/snapstate: handle sideloading over an old sideloaded snap 6375 without panicing 6376 - interfaces: add socketcall() to the network/network-bind 6377 interfaces (LP: #1588100) 6378 - overlord/snapstate,snappy: move over CanRemoveThis moves over the 6379 CanRemove check to snapstate itself.overlord/snapstate 6380 - snappy: move over CanRemove 6381 - overlord/snapstate,snappy: move over CopyData and Remove*Data code 6382 6383 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 06 Jun 2016 16:35:50 +0200 6384 6385 snapd (2.0.6) xenial; urgency=medium 6386 6387 * New upstream release: LP: #1588052: 6388 - many: repository moved to snapcore/snapd 6389 - debian: add transitional pkg for the github location change 6390 - snap: ensure `snap try` work with relative paths 6391 - debian: drop run/build dependency on lsb-release 6392 - asserts/tool: gpg key pair manager 6393 - many: add new snap-exec 6394 - many: implement `snap refresh --list` and `snap refresh` 6395 - snap: add parsing support for hooks. 6396 - many: add the cups interface 6397 - interfaces: misc policy fixes (LP: #1583794) 6398 - many: add `snap try` 6399 - interfaces: allow using sysctl and scmp_sys_resolver for parsing 6400 kernel logs 6401 - debian: make snapd get its environ from /etc/environment 6402 - daemon,client,snap: revisions are now strings 6403 - interfaces: allow access to new ibus abstract socket path 6404 LP: #1580463 6405 - integration-tests: add remove tests 6406 - asserts: stronger crypto choices and follow better latest designs 6407 - snappy,daemon: hollow out more of snappy (either removing or not 6408 exporting stuff on its way out), snappy/gadget.go is gone 6409 - asserts: rename device-serial to serial 6410 - asserts: rename identity to account (and username access) 6411 - integration-tests: add changes tests 6412 - backend: add tests for environment wrapper generation 6413 - interfaces/builtin: add location-control interface 6414 - overlord/snapstate: move over check snap logic from snappy 6415 - release: use os-release instead of lsb-release for cross-distro 6416 use 6417 - asserts: allow empty snap-name for snap-declaration 6418 - interfaces/builtin,docs,snap: add the pulseaudio interface 6419 - many: add support for an environment map inside snap.yaml 6420 - overlord/snapstate: increase robustness of doLinkSnap/undoLinkSnap 6421 with sanity unit tests 6422 - snap: parse epoch property 6423 - snappy: do nothing in SetNextBoot when running on classic 6424 - snap: validate snap type 6425 - integration-tests: extend find command tests 6426 - asserts: extend tests to cover mandatory and empty headers 6427 - tests: stop the update-pot check in run-checks 6428 - snap: parse confinement property. 6429 - store: change applyUbuntuStoreHeaders to not take accept, and to 6430 take a channel 6431 - many: struct-based revisions, new representation 6432 - interfaces: remove 'audit deny' rules from network_control.go 6433 - interfaces: add com.canonical.UrlLauncher.XdgOpen to unity7 6434 interface 6435 - interfaces: firewall-control can access xtables lock file 6436 - interfaces: allow unity7 AppMenu 6437 - interfaces: allow unity7 launcher API 6438 - interfaces/builtin: add location-observe interface 6439 - snap: fixed snap empty list text LP: #1587445 6440 6441 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Jun 2016 08:23:50 +0200 6442 6443 snapd (2.0.5+1) unstable; urgency=medium 6444 6445 * Initial Debian upload. Closes: #824943. 6446 * release/release{,_test}.go: use /etc/os-release, which is guaranteed to 6447 be part of base-files on both Ubuntu and Debian, instead of 6448 /etc/lsb-release which doesn't exist at all on Debian. 6449 * drop transitional packages, not needed in Debian. 6450 * Add lintian overrides for false-positive detection of embedded libyaml. 6451 * Update Vcs-* fields to point at maintainer's branch. 6452 * Add a further lintian override for the /snap directory so that the 6453 package is not automatically rejected by the NEW queue; this directory 6454 location is certainly subject to discussion for Debian, but let's have 6455 the discussion rather than blocking the package at the archive level. 6456 6457 -- Steve Langasek <vorlon@debian.org> Mon, 23 May 2016 00:36:06 +0000 6458 6459 snapd (2.0.5) xenial; urgency=medium 6460 6461 * New upstream release: LP: #1583085 6462 - interfaces: add dbusmenu, freedesktop and kde notifications to 6463 unity7 (LP: #1573188) 6464 - daemon: make localSnapInfo return SnapState 6465 - cmd: make snap list with no snaps not special 6466 - debian: workaround for XDG_DATA_DIRS issues 6467 - cmd,po: fix conflicts, apply review from #1154 6468 - snap,store: load and store the private flag sent by the store in 6469 SideInfo 6470 - interfaces/apparmor/template.go: adjust /dev/shm to be more usable 6471 - store: use purchase decorator in Snap and FindSnaps 6472 - interfaces: first version of the networkmanager interface 6473 - snap, snappy: implement the new (minmimal) kernel spec 6474 - cmd/snap, debian: move manpage generation to depend on an environ 6475 key; also, fix completion 6476 6477 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 19 May 2016 15:29:16 +0200 6478 6479 snapd (2.0.4) xenial; urgency=medium 6480 6481 * New upstream release: 6482 - interfaces: cleanup explicit denies 6483 - integration-tests: remove the ancient integration daemon tests 6484 - integration-tests: add network-bind interface test 6485 - integration-tests: add actual checks for undoing install 6486 - integration-tests: add store login test 6487 - snap: add certain implicit slots only on classic 6488 - integration-tests: add coverage flags to snapd.service ExecStart 6489 setting when building from branch 6490 - integration-tests: remove the tests for features removed in 16.04. 6491 - daemon, overlord/snapstate: "(de)activate" is no longer a thing 6492 - docs: update meta.md and security.md for current snappy 6493 - debian: always start snapd 6494 - integration-tests: add test for undoing failed install 6495 - overlord: handle ensureNext being in the past 6496 - overlord/snapstate,overlord/snapstate/backend,snappy: start 6497 backend porting LinkSnap and UnlinkSnap 6498 - debian/tests: add reboot capability to autopkgtest and execute 6499 snapPersistsSuite 6500 - daemon,snappy,progress: drop license agreement broken logic 6501 - daemon,client,cmd/snap: nice access denied message 6502 (LP: #1574829) 6503 - daemon: add user parameter to all commands 6504 - snap, store: rework purchase methods into decorators 6505 - many: simplify release package and add OnClassic 6506 - interfaces: miscellaneous policy updates 6507 - snappy,wrappers: move desktop files handling to wrappers 6508 - snappy: remove some obviously dead code 6509 - interfaces/builtin: quote apparmor label 6510 - many: remove the gadget yaml support from snappy 6511 - snappy,systemd,wrappers: move service units generation to wrappers 6512 - store: add method to determine if a snap must be bought 6513 - store: add methods to read purchases from the store 6514 - wrappers,snappy: move binary wrapper generation to new package 6515 wrappers 6516 - snap: add `snap help` command 6517 - integration-tests: remove framework-test data and avoid using 6518 config-snap for now 6519 - add integration test to verify fix for LP: #1571721 6520 6521 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 May 2016 17:19:37 -0700 6522 6523 snapd (2.0.3) xenial; urgency=medium 6524 6525 * New upstream micro release: 6526 - integration-tests, debian/tests: add unity snap autopkg test 6527 - snappy: introduce first feature flag for assumes: common-data-dir 6528 - timeout,snap: add YAML unmarshal function for timeout.Timeout 6529 - many: go into state.Retry state when unmounting a snap fails. 6530 (LP: #1571721, #1575399) 6531 - daemon,client,cmd/snap: improve output after snap 6532 install/refresh/remove (LP: #1574830) 6533 - integration-tests, debian/tests: add test for home interface 6534 - interfaces,overlord: support unversioned data 6535 - interfaces/builtin: improve the bluez interface 6536 - cmd: don't include the unit tests when building with go test -c 6537 for integration tests 6538 - integration-tests: teach some new trick to the fake store, 6539 reenable the app refresh test 6540 - many: move with some simplifications test snap building to 6541 snap/snaptest 6542 - asserts: define type for revision related errors 6543 - snap/snaptest,daemon,overlord/ifacestate,overlord/snapstate: unify 6544 mocking snaps behind MockSnap 6545 - snappy: fix openSnapFile's handling of sideInfo 6546 - daemon: improve snap sideload form handling 6547 - snap: add short and long description to the man-page 6548 (LP: #1570280) 6549 - snappy: remove unused SetProperty 6550 - snappy: use more accurate test data 6551 - integration-tests: add a integration test about remove removing 6552 all revisions 6553 - overlord/snapstate: make "snap remove" remove all revisions of a 6554 snap (LP: #1571710) 6555 - integration-tests: re-enable a bunch of integration tests 6556 - snappy: remove unused dbus code 6557 - overlord/ifacestate: fix setup-profiles to use new snap revision 6558 for setup (LP: #1572463) 6559 - integration-tests: add regression test for auth bug LP:#1571491 6560 - client, snap: remove obsolete TypeCore which was used in the old 6561 SystemImage days 6562 - integration-tests: add apparmor test 6563 - cmd: don't perform type assertion when we know error to be nil 6564 - client: list correct snap types 6565 - intefaces/builtin: allow getsockname on connected x11 plugs 6566 (LP: #1574526) 6567 - daemon,overlord/snapstate: read name out of sideloaded snap early, 6568 improved change summary 6569 - overlord: keep tasks unlinked from a change hidden, prune them 6570 - integration-tests: snap list on fresh boot is good again 6571 - integration-tests: add partial term to the find test 6572 - integration-tests: changed default release to 16 6573 - integration-tests: add regression test for snaps not present after 6574 reboot 6575 - integration-tests: network interface 6576 - integration-tests: add proxy related environment variables to 6577 snapd env file 6578 - README.md: snappy => snap 6579 - etc: trivial typo fix (LP:#1569892) 6580 - debian: remove unneeded /var/lib/snapd/apparmor/additional 6581 directory (LP: #1569577) 6582 - builtin/unity7.go: allow using gmenu. LP: #1576287 6583 6584 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 03 May 2016 07:51:57 +0200 6585 6586 snapd (2.0.2) xenial; urgency=medium 6587 6588 * New upstream release: 6589 - systemd: add multi-user.target (LP: #1572125) 6590 - release: our series is 16 6591 - integration-tests: fix snapd binary path for mounting the daemon 6592 built from branch 6593 - overlord,snap: add firstboot state sync 6594 6595 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 19 Apr 2016 16:02:44 +0200 6596 6597 snapd (2.0.1) xenial; urgency=medium 6598 6599 * client,daemon,overlord: fix authentication: 6600 - fix incorrect authenication check (LP: #1571491) 6601 6602 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 18 Apr 2016 07:24:33 +0200 6603 6604 snapd (2.0) xenial; urgency=medium 6605 6606 * New upstream release: 6607 - debian: put snapd in /usr/lib/snapd/ 6608 - cmd/snap: minor polishing 6609 - cmd,client,daemon: add snap abort command 6610 - overlord: don't hold locks when callling backends 6611 - release,store,daemon: no more default-channel, release=>series 6612 - many: drop support for deprecated environment variables 6613 (SNAP_APP_*) 6614 - many: support individual ids in changes cmd 6615 - overlord/state: use numeric change and task ids 6616 - overlord/auth,daemon,client,cmd/snap: logout 6617 - daemon: don't install ubuntu-core twice 6618 - daemon,client,overlord/state,cmd: add changes command 6619 - interfaces/dbus: drop superfluous backslash from template 6620 - daemon, overlord/snapstate: updates are users too! 6621 - cmd/snap,daemon,overlord/ifacestate: add support for developer 6622 mode 6623 - daemon,overlord/snapstate: on refresh use the remembered channel, 6624 default to stable channel otherwise 6625 - cmd/snap: improve UX of snap interfaces when there are no results 6626 - overlord/state: include time in task log messages 6627 - overlord: prune and abort old changes and tasks 6628 - overlord/ifacestate: add implicit slots in setup-profiles 6629 - daemon,overlord: setup authentication for store downloads 6630 - daemon: macaroon-authed users are like root, and sudoers can login 6631 - daemon,client,docs: send install options to daemon 6632 6633 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 16 Apr 2016 22:15:40 +0200 6634 6635 snapd (1.9.4) xenial; urgency=medium 6636 6637 * New upstream release: 6638 - etc: fix desktop file location 6639 - overlord/snapstate: stop an update once download sees the revision 6640 is already installed 6641 - overlord: make SnapState.DevMode a method, store flags 6642 - snappy: no more snapYaml in snappy.Snap 6643 - daemon,cmd,dirs,lockfile: drop all lockfiles 6644 - debian: use sudo in setup of the proxy environment 6645 - snap/snapenv,snappy,systemd: expose SNAP_REVISION to app 6646 environment 6647 - snap: validate similarly to what we did with old snapYaml info 6648 from squashfs snaps 6649 - daemon,store: plug in authentication for store search/details 6650 - overlord/snapstate: fix JSON name of SnapState.Candidate 6651 - overlord/snapstate: start using revisions higher than 100000 for 6652 local installs (sideloads) 6653 - interfaces,overlorf/ifacestate: honor user choice and don't auto- 6654 connect disconnected plugs 6655 - overlord/auth,daemon,client: hide user ids again 6656 - daemon,overlord/snapstate: back /snaps (and so snap list) using 6657 state 6658 - daemon,client,overlord/auth: rework state auth data 6659 - overlord/snapstate: disable Activate and Deactivate 6660 - debian: fix silly typo in autopkgtest setup 6661 - overlord/ifacestate: remove connection state with discard-conns 6662 task, on the removal of last snap 6663 - daemon,client: rename API update action to refresh 6664 - cmd/snap: rework login to be more resilient 6665 - overlord/snapstate: deny two changes on one snap 6666 - snappy: fix crash on certain snap.yaml 6667 - systemd: use native systemctl enable instead of our own 6668 implementation 6669 - store: add workaround for misbehaving store 6670 - debian: make autopkgtest use the right env vars 6671 - state: log do/undo status too when a task is run 6672 - docs: update rest.md with price information 6673 - daemon: only include price property if the snap is non-free 6674 - daemon, client, cmd/snap: connect/disconnect now async 6675 - snap,snappy: allow snaps to require system features 6676 - integration-tests: fix report of skips in SetUpTest method 6677 - snappy: clean out major bits (still using Installed) now 6678 unreferenced as cmd/snappy is gone 6679 - daemon/api,overlord/auth: add helper to get UserState from a 6680 client request 6681 6682 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 15 Apr 2016 23:30:00 +0200 6683 6684 snapd (1.9.3) xenial; urgency=medium 6685 6686 * New upstream release: 6687 - many: prepare for opengl support on classic 6688 - interfaces/apparmor: load all apparmor profiles on snap setup 6689 - daemon,client: move async resource to change in meta 6690 - debian: disable autopilot 6691 - snap: add basic progress reporting 6692 - client,cmd,daemon,snap,store: show the price of snaps in the cli 6693 - state: add minimal taskrunner logging 6694 - daemon,snap,overlord/snapstate: in the API get the snap icon using 6695 state 6696 - client,daemon,overlord: don't guess snap file vs. name 6697 - overlord/ifacestate: reload snap connections when setting up 6698 security for a given snap 6699 - snappy: remove cmd/snappy (superseded in favour of cmd/snap) 6700 - interfaecs/apparmor: remove all traces of old-security from 6701 apparmor backend 6702 - interfaces/builtin: add bluez interface 6703 - overlord/ifacestate: don't crash if connection cannot be reloaded 6704 - debian: add searchSuite to autopkgtest 6705 - client, daemon, cmd/snap: no more tasks; everything is changes 6706 - client: send authorization header in client requests 6707 - client, daemon: marshal suggested currency over REST 6708 - docs, snap: enumerate snap types correctly in docs and comments 6709 - many: add store authenticator parameter 6710 - overlord/ifacestate,daemon: setup security on conect and 6711 disconnect 6712 - interfaces/apparmor: remove unused apparmor variables 6713 - snapstate: add missing "TaskProgressAdapter.Write()" for working 6714 progress reporting 6715 - many: clean out snap config related code not for OS 6716 - daemon,client,cmd: return snap list from /v2/snaps 6717 - docs: update `/v2/snaps` endpoint documentation 6718 - interfaces: rename developerMode to devMode 6719 - daemon,client,overlord: progress current => done 6720 - daemon,client,cmd/snap: move query metadata to top-level doc 6721 - interfaces: add TestSecurityBackend 6722 - many: replace typographic quotes with ASCII 6723 - client, daemon: rework rest changes to export "ready" and "err" 6724 - overlord/snapstate,snap,store: track snap-id in side-info and 6725 therefore in state 6726 - daemon: improve mocking of interfaces API tests 6727 - integration-tests: remove origins in default snap names for udf 6728 call 6729 - integration-test: use "snap list" in GetCurrentVersion 6730 - many: almost no more NewInstalledSnap reading manifest from 6731 snapstate and backend 6732 - daemon: auto install ubuntu-core if missing 6733 - oauth,store: remove OAuth authentication logic 6734 - overlord/ifacestate: simplify some tests with implicit manager 6735 initialization 6736 - store, snappy: move away from hitting details directly 6737 - overlord/ifacestate: reload connections when restarting the 6738 manager 6739 - overlord/ifacestate: increase flexibility of unit tests 6740 - overlord: use state to discover all installed snaps 6741 - overlord/ifacestate: track connections in the state 6742 - many: separate copy-data from unlinking of current snap 6743 - overlord/auth,store/auth: add macaroon authenticator to UserState 6744 - client: support for /v2/changes and /v2/changes/{id} 6745 - daemon/api,overlord/auth: rework authenticated users information 6746 in state 6747 6748 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 14 Apr 2016 23:29:43 +0200 6749 6750 snapd (1.9.2) xenial; urgency=medium 6751 6752 * New upstream release: 6753 - cmd/snap,daemon,store: rework login command to use daemon login 6754 API 6755 - store: cache suggested currency from the store 6756 - overlord/ifacestate: modularize and extend tests 6757 - integration-tests: reenable failure tests 6758 - daemon: include progress in rest changes 6759 - daemon, overlord/state: expose individual changes 6760 - overlord/ifacestate: drop duplicate package comment 6761 - overlord/ifacestate: allow tests to override security backends 6762 - cmd/snap: install *.snap and *.snap.* as files too 6763 - interfaces/apparmor: replace /var/lib/snap with /var/snap 6764 - daemon,overlord/ifacestate: connect REST API to interfaces in the 6765 overlord 6766 - debian: remove unneeded dependencies from snapd 6767 - overlord/state: checkpoint on final progress only 6768 - osutil: introduce IsUIDInAny 6769 - overlord/snapstate: rename GetSnapState to Get, SetSnapState to 6770 Set 6771 - daemon: add id to changes json 6772 - overlord/snapstate: SetSnapState() needs locks 6773 - overlord: fix broken tests 6774 - overlord/snapstate,overlord/ifacestate: reimplement SnapInfo (as 6775 Info) actually using the state 6776 6777 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 13 Apr 2016 17:27:00 +0200 6778 6779 snapd (1.9.1.1) xenial; urgency=medium 6780 6781 * debian/tests/control: 6782 - add git to make autopkgtest work 6783 6784 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Apr 2016 17:19:19 +0200 6785 6786 snapd (1.9.1) xenial; urgency=medium 6787 6788 * Add warning about installing ubuntu-core-snapd-units on Desktop systems. 6789 * Add ${misc:Depends} to ubuntu-core-snapd-units. 6790 * interfaces,overlord: add support for auto-connecting plugs on 6791 install 6792 * fix sideloading snaps and (re)add tests for this 6793 * add `ca-certificates` to the test-dependencies to fix autopkgtest 6794 failure on armhf 6795 6796 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Apr 2016 14:39:57 +0200 6797 6798 snapd (1.9) xenial; urgency=medium 6799 6800 * rename source and binary package to "snapd" 6801 * update directory layout to final 16.04 layout 6802 * use `snap` command instead of the previous `snappy` 6803 * use `interface` based security 6804 * use new state engine for install/update/remove 6805 6806 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Apr 2016 01:05:09 +0200 6807 6808 ubuntu-snappy (1.7.3+20160310ubuntu1) xenial; urgency=medium 6809 6810 - debian: update versionized ubuntu-core-launcher dependency 6811 - debian: tweak desktop file dir, ship Xsession.d snip for seamless 6812 integration 6813 - snappy: fix hw-assign to work with per-app udev tags 6814 - snappy: use $snap.$app as per-app udev tag 6815 - snap,snappy,systemd: %s/\<SNAP_ORIGIN\>/SNAP_DEVELOPER/g 6816 - snappy: add mksquashfs --no-xattrs parameter 6817 - snap,snappy,systemd: kill SNAP_FULLNAME 6818 6819 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Mar 2016 09:26:20 +0100 6820 6821 ubuntu-snappy (1.7.3+20160308ubuntu1) xenial; urgency=medium 6822 6823 - snappy,snap: move icon under meta/gui/ 6824 - debian: add snap.8 manpage 6825 - debian: move snapd to /usr/lib/snappy/snapd 6826 - snap,snappy,systemd: remove TMPDIR, TEMPDIR, SNAP_APP_TMPDIR 6827 - snappy,dirs: add support to use desktop files from inside snaps 6828 - daemon: snapd API events endpoint redux 6829 - interfaces/builtin: add "network" interface 6830 - overlord/state: do small fixes (typo, id clashes paranoia) 6831 - overlord: add first pass of the logic in StateEngine itself 6832 - overlord/state: introduce Status/SetStatus on Change 6833 - interfaces: support permanent security snippets 6834 - overlord/state: introduce Status/SetStatus and 6835 Progress/SetProgress on Task 6836 - overlord/state: introduce Task and Change.NewTask 6837 - many: selectively swap semantics of plugs and slots 6838 - client,cmd/snap: remove useless indirection in Interfaces 6839 - interfaces: maintain Plug and Slot connection details 6840 - client,daemon,cmd/snap: change POST /2.0/interfaces to work with 6841 lists 6842 - overlord/state: introduce Change and NewChange on state to create 6843 them 6844 - snappy: bugfix for snap.yaml parsing to be more consistent with 6845 the spec 6846 - snappy,systemd: remove "ports" from snap.yaml 6847 6848 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 08 Mar 2016 11:24:09 +0100 6849 6850 ubuntu-snappy (1.7.3+20160303ubuntu4) xenial; urgency=medium 6851 6852 * rename: 6853 debian/golang-snappy-dev.install -> 6854 debian/golang-github-ubuntu-core-snappy-dev.install: 6855 6856 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 12:29:16 +0100 6857 6858 ubuntu-snappy (1.7.3+20160303ubuntu3) xenial; urgency=medium 6859 6860 * really fix typo in dependency name 6861 6862 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 12:21:39 +0100 6863 6864 ubuntu-snappy (1.7.3+20160303ubuntu2) xenial; urgency=medium 6865 6866 * fix typo in dependency name 6867 6868 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 12:05:36 +0100 6869 6870 ubuntu-snappy (1.7.3+20160303ubuntu1) xenial; urgency=medium 6871 6872 - debian: update build-depends for MIR 6873 - many: implement new REST API: GET /2.0/interfaces 6874 - integration-tests: properly stop snapd from branch 6875 - cmd/snap: update tests for go-flags changes 6876 - overlord/state: implement Lock/Unlock with implicit checkpointing 6877 - overlord: split out the managers and State to their own 6878 subpackages of overlord 6879 - snappy: rename "migration-skill" to "old-security" and use new 6880 interface names instead of skills 6881 - client,cmd/snap: clarify name ambiguity in Plug or Slot 6882 - overlord: start working on state engine along spec v2, have the 6883 main skeleton follow that 6884 - classic, oauth: update tests for change in MakeRandomString() 6885 - client,cmd/snap: s/add/install/:-( 6886 - interfaces,daemon: specialize Name to either Plug or Slot 6887 - interfaces,interfaces/types: unify security snippet functions 6888 - snapd: close the listener on Stop, to force the http.Serve loop to 6889 exit 6890 - snappy,daemon,snap/lightweight,cmd/snappy,docs/rest.md: expose 6891 explicit channel selection to rest api 6892 - interfaces,daemon: rename package holding built-in interfaces 6893 - integration-tests: add the first classic dimension tests 6894 - client,deaemon,docs: rename skills to interfaces on the wire 6895 - asserts: add identity assertion type 6896 - integration-tests: add the no_proxy env var 6897 - debian: update build-depends for new package names 6898 - oauth: fix oauth & quoting in the oauth_signature 6899 - integration-tests: remove unused field 6900 - integration-tests: add the http proxy argument 6901 - interfaces,interfaces/types,deamon: mass internal rename to 6902 interfaces 6903 - client,cmd/snap: rename skills to interfaces (part 2) 6904 - arch: fix missing mapping for powerpc 6905 6906 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 11:00:19 +0100 6907 6908 ubuntu-snappy (1.7.3+20160225ubuntu1) xenial; urgency=medium 6909 6910 - integration-tests: always use the built snapd when compiling 6911 binaries from branch 6912 - cmd/snap: rename skills to interfaces 6913 - testutil,skills/types,skills,daemon: tweak discovery of know skill 6914 types 6915 - docs: add docs for arm64 cross building 6916 - overlord: implement basic ReadState/WriteState 6917 - overlord: implement Get/Set/Copy on State 6918 - integration-tests: fix dd output check 6919 - integration-tests: add fromBranch config field 6920 - integration-tests: use cli pkg methods in hwAssignSuite 6921 - debian: do not create the snappypkg user, we don't need it anymore 6922 - arch: fix build failure on s390x 6923 - classic: cleanup downloaded lxd tarball 6924 - cmd/snap,client,integration-tests: rename snap subcmds 6925 'assert'=>'ack', 'asserts'=>'known' 6926 - skills: fix broken tests builds 6927 - skills,skills/types: pass slot to SlotSecuritySnippet() 6928 - skills/types: teach bool-file about udev security 6929 6930 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 25 Feb 2016 16:17:19 +0100 6931 6932 ubuntu-snappy (1.7.2+20160223ubuntu1) xenial; urgency=medium 6933 6934 * New git snapshot: 6935 - asserts: introduce snap-declaration 6936 - cmd/snap: fix integration tests for the "cmd_asserts" 6937 - integration-tests: fix fanctl output check 6938 - cmd/snap: fix test failure after merging 23a64e6 6939 - cmd/snap: replace skip-help with empty description 6940 - docs: update security.md to match current migration-skill 6941 semantics 6942 - snappy: treat commands with 'daemon' field as services 6943 - asserts: use more consistent names for receivers in 6944 snap_asserts*.go 6945 - debian: add missing golang-websocket-dev build-dependency 6946 - classic: if classic fails to get created, undo the bind mounts 6947 - snappy: never return nil in NewLocalSnapRepository() 6948 - notifications: A simple notification system 6949 - snappy: when using staging, authenticate there instead 6950 - integration-tests/snapd: fix the start of the test snapd socket 6951 - skills/types: use CamelCase for security names 6952 - skills: add support for implicit revoke 6953 - skills: add security layer 6954 - integration-tests: use exec.Command wrapper for updates 6955 - cmd/snap: add 'snap skills' 6956 - cms/snap: add 'snap revoke' 6957 - docs: add docs for skills API 6958 - cmd/snap: add 'snap grant' 6959 - cmd/snappy, coreconfig, daemon, snappy: move config to always be 6960 bytes (in and out) 6961 - overlord: start with a skeleton and stubs for Overlord, 6962 StateEngine, StateJournal and managers 6963 - integration-tests: skip tests affected by LP: #1544507 6964 - skills/types: add bool-file 6965 - po: refresh translation templates 6966 - cmd/snap: add 'snap experimental remove-skill-slot' 6967 - asserts: introduce device assertion 6968 - cmd/snap: implemented add, remove, purge, refresh, rollback, 6969 activate, deactivate 6970 - cmd/snap: add 'snap experimental add-skill-slot' 6971 - cmd/snap: add 'snap experimental remove-skill' 6972 - cmd/snap: add tests for common skills code 6973 - cmd/snap: add 'snap experimental add-skill' 6974 - asserts: make assertion checkers used by db.Check modular and 6975 pluggable 6976 - cmd,client,daemon,caps,docs,po: remove capabilities 6977 - scripts: move the script to get dependencies to a separate file 6978 - asserts: make the disk layout compatible for storing more than one 6979 revision 6980 - cmd/snap: make the assert command options exported 6981 - integration-tests: Remove the target release and channel 6982 - asserts: introduce model assertion 6983 - integration-tests: add exec.Cmd wrapper 6984 - cmd/snap: add client test support methods 6985 - cmd/snap: move key=value attribute parsing to commmon 6986 - cmd/snap: apply new style consistency to "snap" commands. 6987 - cmd/snap: support redirecting the client for testing 6988 - cmd/snap: support testing command output 6989 - snappy,daemon: remove the meta repositories abstractions 6990 - cmd: add support for experimental commands 6991 - cmd/snappy,daemon,snap,snappy: remove SetActive from parts 6992 - cmd/snappy,daemon,snappy,snap: remove config from parts interface 6993 - client: improve test data 6994 - cmd: allow to construct a fresh parser 6995 - cmd: don't treat help as an error 6996 - cmd/snappy,snappy: remove "Details" from the repository interface 6997 - asserts: check that primary keys are set when 6998 Decode()ing/assembling assertions 6999 - snap,snappy: refactor to remove "Install" from the Part interface 7000 - client,cmd: make client.New() configurable 7001 - client: enable retrieving asynchronous operation information with 7002 `Client.Operation`. 7003 7004 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 23 Feb 2016 11:28:18 +0100 7005 7006 ubuntu-snappy (1.7.2+20160204ubuntu1) xenial; urgency=medium 7007 7008 * New git snapshot: 7009 - integration-tests: fix the rollback error messages 7010 - integration-test: use the common cli method when trying to install 7011 an unexisting snap 7012 - integration-tests: rename snap find test 7013 - daemon: refactor makeErrorResponder() 7014 - integration: add regression test for LP: #1541317 7015 - integration-tests: reenable TestRollbackMustRebootToOtherVersion 7016 - asserts: introduce "snap asserts" subcmd to show assertions in the 7017 system db 7018 - docs: fix parameter style 7019 - daemon: use underscore in JSON interface 7020 - client: add skills API 7021 - asserts,docs/rest.md: change Encoder not to add extra newlines at 7022 the end of the stream 7023 - integration-tests: "snappy search" is no more, its "snap search" 7024 now 7025 - README, integration-tests/tests: chmod snapd.socket after manual 7026 start. 7027 - snappy: add default security profile if none is specified 7028 - skills,daemon: add REST APIs for skills 7029 - cmd/snap, cmd/snappy: move from `snappy search` to `snap find`. 7030 - The first step towards REST world domination: search is now done 7031 via 7032 - debian: remove obsolete /etc/grub.d/09_snappy on upgrade 7033 - skills: provide different security snippets for skill and slot 7034 side 7035 - osutil: make go vet happy again 7036 - snappy,systemd: use Type field in systemd.ServiceDescription 7037 - skills: add basic grant-revoke methods 7038 - client,daemon,asserts: expose the ability to query assertions in 7039 the system db 7040 - skills: add basic methods for slot handling 7041 - snappy,daemon,snap: move "Uninstall" into overlord 7042 - snappy: move SnapFile.Install() into Overlord.Install() 7043 - integration-tests: re-enable some failover tests 7044 - client: remove snaps 7045 - asserts: uniform searching across trusted (account keys) and main 7046 backstore 7047 - asserts: introduce Decoder to parse streams of assertions and 7048 Encoder to build them 7049 - client: filter snaps with a search query 7050 - client: pass query as well as path in client internals 7051 - skills: provide different security snippets for skill and slot 7052 side 7053 - snappy: refactor snapYaml to remove methods on snapYaml type 7054 - snappy: remove unused variable from test 7055 - skills: add basic methods for skill handing 7056 - snappy: remove support for meta/package.yaml and implement new 7057 meta/snap.yaml 7058 - snappy: add new overlord type responsible for 7059 Installed/Install/Uninstall/SetActive and stub it out 7060 - skills: add basic methods for type handling 7061 - daemon, snappy: add find (aka search) 7062 - client: filter snaps by type 7063 - skills: tweak valid names and error messages 7064 - skills: add special skill type for testing 7065 - cmd/snapd,daemon: filter snaps by type 7066 - partition: remove obsolete uEnv.txt 7067 - skills: add Type interface 7068 - integration-tests: fix the bootloader path 7069 - asserts: introduce a memory backed assertion backstore 7070 - integration-tests: get name of OS snap from bootloader 7071 - cmd/snapd,daemon: filter snaps by source 7072 - asserts,daemon: bump some copyright years for things that have 7073 been touched in the new year 7074 - skills: add the initial Repository type 7075 - skills: add a name validation function 7076 - client: filter snaps by source 7077 - snappy: unmount the squashfs snap again if it fails to install 7078 - snap: make a copy of the search uri before mutating it 7079 Closes: LP#1537005 7080 - cmd/snap,client,daemon,asserts: introduce "assert " snap 7081 subcommand 7082 - cmd/snappy, snappy: fix failover handling of the "active" 7083 kernel/os snap 7084 - daemon, client, docs/rest.md, snapd integration tests: move to the 7085 new error response 7086 - asserts: change Backstore interface, backstores can now access 7087 primary key names from types 7088 - asserts: make AssertionType into a real struct exposing the 7089 metadata Name and PrimaryKey 7090 - caps: improve bool-file sanitization 7091 - asserts: fixup toolbelt to use exposed key ID. 7092 - client: return by reference rather than by value 7093 - asserts: exported filesystem backstores + explicit backstores 7094 7095 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 04 Feb 2016 16:35:31 +0100 7096 7097 ubuntu-snappy (1.7.2+20160113ubuntu1) xenial; urgency=medium 7098 7099 * New git snapshot 7100 7101 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 13 Jan 2016 11:25:40 +0100 7102 7103 ubuntu-snappy (1.7.2ubuntu1) xenial; urgency=medium 7104 7105 * New upstream release: 7106 - bin-path integration 7107 - assertions/capability work 7108 - fix squashfs based snap building 7109 7110 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Dec 2015 08:46:35 +0100 7111 7112 ubuntu-snappy (1.7.1ubuntu1) xenial; urgency=medium 7113 7114 * New upstream release: 7115 - fix dependencies 7116 - fix armhf builds 7117 7118 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 02 Dec 2015 07:46:07 +0100 7119 7120 ubuntu-snappy (1.7ubuntu1) xenial; urgency=medium 7121 7122 * New upstream release: 7123 - kernel/os snap support 7124 - squashfs snap support 7125 - initial capabilities work 7126 - initial assertitions work 7127 - rest API support 7128 7129 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 18 Nov 2015 19:59:51 +0100 7130 7131 ubuntu-snappy (1.6ubuntu1) wily; urgency=medium 7132 7133 * New upstream release, including the following changes: 7134 - Fix hwaccess for gpio (LP: #1493389, LP: #1488618) 7135 - Fix handleAssets name normalization 7136 - Run boot-ok job late (LP: #1476129) 7137 - Add support for systemd socket files 7138 - Add "snappy service" command 7139 - Documentation improvements 7140 - Many test improvements (unit and integration) 7141 - Override sideload versions 7142 - Go1.5 fixes 7143 - Add i18n 7144 - Add man-page 7145 - Add .snapignore 7146 - Run services that uses external ports only after the network is up 7147 - Bufix in Synbootloader (LP: 1474125) 7148 - Use uboot.env for boot state tracking 7149 7150 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 09 Sep 2015 14:20:22 +0200 7151 7152 ubuntu-snappy (1.5ubuntu1) wily; urgency=medium 7153 7154 * New upstream release, including the following changes: 7155 - Use O_TRUNC when copying files 7156 - Added path redefinition to include test's binaries location 7157 - Don't run update-grub, instead use grub.cfg from the oem 7158 package 7159 - Do network configuration from first boot 7160 - zero size systemd of new partition made executable to 7161 prevent unrecoverable boot failure 7162 - Close downloaded files 7163 7164 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Mon, 06 Jul 2015 15:14:37 -0300 7165 7166 ubuntu-snappy (1.4ubuntu1) wily; urgency=medium 7167 7168 * New upstream release, including the following changes: 7169 - Allow to run the integration tests using snappy from branch 7170 - Add CopyFileOverwrite flag and behaviour to helpers.CopyFile 7171 - add a bunch of missing i18n.G() now that we have gettext 7172 - Generate only the translators comments that start with 7173 TRANSLATORS 7174 - Try both clickpkg and snappypkg when dropping privs 7175 7176 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Thu, 02 Jul 2015 16:21:53 -0300 7177 7178 ubuntu-snappy (1.3ubuntu1) wily; urgency=medium 7179 7180 * New upstream release, including the following changes: 7181 - gettext support 7182 - use snappypkg user for the installed snaps 7183 - switch to system-image-3.x as the system-image backend 7184 - more reliable developer mode detection 7185 7186 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 01 Jul 2015 10:37:05 +0200 7187 7188 ubuntu-snappy (1.2-0ubuntu1) wily; urgency=medium 7189 7190 * New upstream release, including the following changes: 7191 - Consider the root directory when installing and removing policies 7192 - In the uboot TestHandleAssetsNoHardwareYaml, patch the cache dir 7193 before creating the partition type 7194 - In the PartitionTestSuite, remove the unnecessary patches for 7195 defaultCacheDir 7196 - Fix the help output of "snappy install -h" 7197 7198 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Wed, 17 Jun 2015 11:42:47 -0300 7199 7200 ubuntu-snappy (1.1.2-0ubuntu1) wily; urgency=medium 7201 7202 * New upstream release, including the following changes: 7203 - Remove compatibility for click-bin-path in generated exec-wrappers 7204 - Release the readme.md after parsing it 7205 7206 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Thu, 11 Jun 2015 23:42:49 -0300 7207 7208 ubuntu-snappy (1.1.1-0ubuntu1) wily; urgency=medium 7209 7210 * New upstream release, including the following changes: 7211 - Set all app services to restart on failure 7212 - Fixes the missing oauth quoting and makes the code a bit nicer 7213 - Added integrate() to set Integration to default values needed for 7214 integration 7215 - Moved setActivateClick to be a method of SnapPart 7216 - Make unsetActiveClick a method of SnapPart 7217 - Check the package.yaml for the required fields 7218 - Integrate lp:snappy/selftest branch into snappy itself 7219 - API to record information about the image and to check if the kernel was 7220 sideloaded. 7221 - Factor out update from cmd 7222 - Continue updating when a sideload error is returned 7223 7224 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Wed, 10 Jun 2015 15:54:12 -0300 7225 7226 ubuntu-snappy (1.1-0ubuntu1) wily; urgency=low 7227 7228 * New wily upload with fix for go 1.4 syscall.Setgid() breakage 7229 7230 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 09 Jun 2015 10:02:04 +0200 7231 7232 ubuntu-snappy (1.0.1-0ubuntu1) vivid; urgency=low 7233 7234 * fix symlink unpacking 7235 * fix typo in apparmor rules generation 7236 7237 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 23 Apr 2015 16:09:56 +0200 7238 7239 ubuntu-snappy (1.0-0ubuntu1) vivid; urgency=low 7240 7241 * 15.04 archive upload 7242 7243 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 23 Apr 2015 11:08:22 +0200 7244 7245 ubuntu-snappy (0.1.2-0ubuntu1) vivid; urgency=medium 7246 7247 * initial ubuntu archive upload 7248 7249 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 13 Apr 2015 22:48:13 -0500 7250 7251 ubuntu-snappy (0.1.1-0ubuntu1) vivid; urgency=low 7252 7253 * new snapshot 7254 7255 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 12 Feb 2015 13:51:22 +0100 7256 7257 ubuntu-snappy (0.1-0ubuntu1) vivid; urgency=medium 7258 7259 * Initial packaging 7260 7261 -- Sergio Schvezov <sergio.schvezov@canonical.com> Fri, 06 Feb 2015 02:25:43 -0200