github.com/chipaca/snappy@v0.0.0-20210104084008-1f06296fe8ad/packaging/ubuntu-16.04/changelog (about) 1 snapd (2.48.2) xenial; urgency=medium 2 3 * New upstream release, LP: #1906690 4 - tests: sign new nested-18|20* models to allow for generic serials 5 - secboot: add extra paranoia when waiting for that fde-reveal-key 6 - tests: backport netplan workarounds from #9785 7 - secboot: add workaround for snapcore/core-initrd issue #13 8 - devicestate: log checkEncryption errors via logger.Noticef 9 - tests: add nested spread end-to-end test for fde-hooks 10 - devicestate: implement checkFDEFeatures() 11 - boot: tweak resealing with fde-setup hooks 12 - sysconfig/cloudinit.go: add "manual_cache_clean: true" to cloud- 13 init restrict file 14 - secboot: add new LockSealedKeys() that uses either TPM or 15 fde-reveal-key 16 - gadget: use "sealed-keys" to determine what method to use for 17 reseal 18 - boot: add sealKeyToModeenvUsingFdeSetupHook() 19 - secboot: use `fde-reveal-key` if available to unseal key 20 - cmd/snap-update-ns: fix sorting of overname mount entries wrt 21 other entries 22 - o/devicestate: save model with serial in the device save db 23 - devicestate: add runFDESetupHook() helper 24 - secboot,devicestate: add scaffoling for "fde-reveal-key" support 25 - hookstate: add new HookManager.EphemeralRunHook() 26 - update-pot: fix typo in plural keyword spec 27 - store,cmd/snap-repair: increase initial expontential time 28 intervals 29 - o/devicestate,daemon: fix reboot system action to not require a 30 system label 31 - github: run nested suite when commit is pushed to release branch 32 - tests: reset fakestore unit status 33 - tests: fix uc20-create-parition-* tests for updated gadget 34 - hookstate: implement snapctl fde-setup-{request,result} 35 - devicestate: make checkEncryption fde-setup hook aware 36 - client,snapctl: add naive support for "stdin" 37 - devicestate: support "storage-safety" defaults during install 38 - snap: use the boot-base for kernel hooks 39 - vendor: update secboot repo to avoid including secboot.test binary 40 41 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 15 Dec 2020 20:21:44 +0100 42 43 snapd (2.48.1) xenial; urgency=medium 44 45 * New upstream release, LP: #1906690 46 - gadget: disable ubuntu-boot role validation check 47 48 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Dec 2020 17:43:30 +0100 49 50 snapd (2.48) xenial; urgency=medium 51 52 * New upstream release, LP: #1904098 53 - osutil: add KernelCommandLineKeyValue 54 - devicestate: implement boot.HasFDESetupHook 55 - boot/makebootable.go: set snapd_recovery_mode=install at image- 56 build time 57 - bootloader: use ForGadget when installing boot config 58 - interfaces/raw_usb: allow read access to /proc/tty/drivers 59 - boot: add scaffolding for "fde-setup" hook support for sealing 60 - tests: fix basic20 test on arm devices 61 - seed: make a shared seed system label validation helper 62 - snap: add new "fde-setup" hooktype 63 - cmd/snap-bootstrap, secboot, tests: misc cleanups, add spread test 64 - secboot,cmd/snap-bootstrap: fix degraded mode cases with better 65 device handling 66 - boot,dirs,c/snap-bootstrap: avoid InstallHost* at the cost of some 67 messiness 68 - tests/nested/manual/refresh-revert-fundamentals: temporarily 69 disable secure boot 70 - snap-bootstrap,secboot: call BlockPCRProtectionPolicies in all 71 boot modes 72 - many: address degraded recover mode feedback, cleanups 73 - tests: Use systemd-run on tests part2 74 - tests: set the opensuse tumbleweed system as manual in spread.yaml 75 - secboot: call BlockPCRProtectionPolicies even if the TPM is 76 disabled 77 - vendor: update to current secboot 78 - cmd/snap-bootstrap,o/devicestate: use a secret to pair data and 79 save 80 - spread.yaml: increase number of workers on 20.10 81 - snap: add new `snap recovery --show-keys` option 82 - tests: minor test tweaks suggested in the review of 9607 83 - snapd-generator: set standard snapfuse options when generating 84 units for containers 85 - tests: enable lxd test on ubuntu-core-20 and 16.04-32 86 - interfaces: share /tmp/.X11-unix/ from host or provider 87 - tests: enable main lxd test on 20.10 88 - cmd/s-b/initramfs-mounts: refactor recover mode to implement 89 degraded mode 90 - gadget/install: add progress logging 91 - packaging: keep secboot/encrypt_dummy.go in debian 92 - interfaces/udev: use distro specific path to snap-device-helper 93 - o/devistate: fix chaining of tasks related to regular snaps when 94 preseeding 95 - gadget, overlord/devicestate: validate that system supports 96 encrypted data before install 97 - interfaces/fwupd: enforce the confined fwupd to align Ubuntu Core 98 ESP layout 99 - many: add /v2/system-recovery-keys API and client 100 - secboot, many: return UnlockMethod from Unlock* methods for future 101 usage 102 - many: mv keys to ubuntu-boot, move model file, rename keyring 103 prefix for secboot 104 - tests: using systemd-run instead of manually create a systemd unit 105 - part 1 106 - secboot, cmd/snap-bootstrap: enable or disable activation with 107 recovery key 108 - secboot: refactor Unlock...IfEncrypted to take keyfile + check 109 disks first 110 - secboot: add LockTPMSealedKeys() to lock access to keys 111 independently 112 - gadget: correct sfdisk arguments 113 - bootloader/assets/grub: adjust fwsetup menuentry label 114 - tests: new boot state tool 115 - spread: use the official image for Ubuntu 20.10, no longer an 116 unstable system 117 - tests/lib/nested: enable snapd logging to console for core18 118 - osutil/disks: re-implement partition searching for disk w/ non- 119 adjacent parts 120 - tests: using the nested-state tool in nested tests 121 - many: seal a fallback object to the recovery boot chain 122 - gadget, gadget/install: move helpers to install package, refactor 123 unit tests 124 - dirs: add "gentoo" to altDirDistros 125 - update-pot: include file locations in translation template, and 126 extract strings from desktop files 127 - gadget/many: drop usage of gpt attr 59 for indicating creation of 128 partitions 129 - gadget/quantity: tweak test name 130 - snap: fix failing unittest for quantity.FormatDuration() 131 - gadget/quantity: introduce a new package that captures quantities 132 - o/devicestate,a/sysdb: make a backup of the device serial to save 133 - tests: fix rare interaction of tests.session and specific tests 134 - features: enable classic-preserves-xdg-runtime-dir 135 - tests/nested/core20/save: check the bind mount and size bump 136 - o/devicetate,dirs: keep device keys in ubuntu-save/save for UC20 137 - tests: rename hasHooks to hasInterfaceHooks in the ifacestate 138 tests 139 - o/devicestate: unit test tweaks 140 - boot: store the TPM{PolicyAuthKey,LockoutAuth}File in ubuntu-save 141 - testutil, cmd/snap/version: fix misc little errors 142 - overlord/devicestate: bind mount ubuntu-save under 143 /var/lib/snapd/save on startup 144 - gadget/internal: tune ext4 setting for smaller filesystems 145 - tests/nested/core20/save: a test that verifies ubuntu-save is 146 present and set up 147 - tests: update google sru backend to support groovy 148 - o/ifacestate: handle interface hooks when preseeding 149 - tests: re-enable the apt hooks test 150 - interfaces,snap: use correct type: {os,snapd} for test data 151 - secboot: set metadata and keyslots sizes when formatting LUKS2 152 volumes 153 - tests: improve uc20-create-partitions-reinstall test 154 - client, daemon, cmd/snap: cleanups from #9489 + more unit tests 155 - cmd/snap-bootstrap: mount ubuntu-save during boot if present 156 - secboot: fix doc comment on helper for unlocking volume with key 157 - tests: add spread test for refreshing from an old snapd and core18 158 - o/snapstate: generate snapd snap wrappers again after restart on 159 refresh 160 - secboot: version bump, unlock volume with key 161 - tests/snap-advise-command: re-enable test 162 - cmd/snap, snapmgr, tests: cleanups after #9418 163 - interfaces: deny connected x11 plugs access to ICE 164 - daemon,client: write and read a maintenance.json file for when 165 snapd is shut down 166 - many: update to secboot v1 (part 1) 167 - osutil/disks/mockdisk: panic if same mountpoint shows up again 168 with diff opts 169 - tests/nested/core20/gadget,kernel-reseal: add sanity checks to the 170 reseal tests 171 - many: implement snap routine console-conf-start for synchronizing 172 auto-refreshes 173 - dirs, boot: add ubuntu-save directories and related locations 174 - usersession: fix typo in test name 175 - overlord/snapstate: refactor ihibitRefresh 176 - overlord/snapstate: stop warning about inhibited refreshes 177 - cmd/snap: do not hardcode snapshot age value 178 - overlord,usersession: initial notifications of pending refreshes 179 - tests: add a unit test for UpdateMany where a single snap fails 180 - o/snapstate/catalogrefresh.go: don't refresh catalog in install 181 mode uc20 182 - tests: also check snapst.Current in undo-unlink tests 183 - tests: new nested tool 184 - o/snapstate: implement undo handler for unlink-snap 185 - tests: clean systems.sh helper and migrate last set of tests 186 - tests: moving the lib section from systems.sh helper to os.query 187 tool 188 - tests/uc20-create-partitions: don't check for grub.cfg 189 - packaging: make sure that static binaries are indeed static, fix 190 openSUSE 191 - many: have install return encryption keys for data and save, 192 improve tests 193 - overlord: add link participant for linkage transitions 194 - tests: lxd smoke test 195 - tests: add tests for fsck; cmd/s-b/initramfs-mounts: fsck ubuntu- 196 seed too 197 - tests: moving main suite from systems.sh to os.query tool 198 - tests: moving the core test suite from systems.sh to os.query tool 199 - cmd/snap-confine: mask host's apparmor config 200 - o/snapstate: move setting updated SnapState after error paths 201 - tests: add value to INSTANCE_KEY/regular 202 - spread, tests: tweaks for openSUSE 203 - cmd/snap-confine: update path to snap-device-helper in AppArmor 204 profile 205 - tests: new os.query tool 206 - overlord/snapshotstate/backend: specify tar format for snapshots 207 - tests/nested/manual/minimal-smoke: use 384MB of RAM for nested 208 UC20 209 - client,daemon,snap: auto-import does not error on managed devices 210 - interfaces: PTP hardware clock interface 211 - tests: use tests.backup tool 212 - many: verify that unit tests work with nosecboot tag and without 213 secboot package 214 - wrappers: do not error out on read-only /etc/dbus-1/session.d 215 filesystem on core18 216 - snapshots: import of a snapshot set 217 - tests: more output for sbuild test 218 - o/snapstate: re-order remove tasks for individual snap revisions 219 to remove current last 220 - boot: skip some unit tests when running as root 221 - o/assertstate: introduce 222 ValidationTrackingKey/ValidationSetTracking and basic methods 223 - many: allow ignoring running apps for specific request 224 - tests: allow the searching test to fail under load 225 - overlord/snapstate: inhibit startup while unlinked 226 - seed/seedwriter/writer.go: check DevModeConfinement for dangerous 227 features 228 - tests/main/sudo-env: snap bin is available on Fedora 229 - boot, overlord/devicestate: list trusted and managed assets 230 upfront 231 - gadget, gadget/install: support for ubuntu-save, create one during 232 install if needed 233 - spread-shellcheck: temporary workaround for deadlock, drop 234 unnecessary test 235 - snap: support different exit-code in the snap command 236 - logger: use strutil.KernelCommandLineSplit in 237 debugEnabledOnKernelCmdline 238 - logger: fix snapd.debug=1 parsing 239 - overlord: increase refresh postpone limit to 14 days 240 - spread-shellcheck: use single thread pool executor 241 - gadget/install,secboot: add debug messages 242 - spread-shellcheck: speed up spread-shellcheck even more 243 - spread-shellcheck: process paths from arguments in parallel 244 - tests: tweak error from tests.cleanup 245 - spread: remove workaround for openSUSE go issue 246 - o/configstate: create /etc/sysctl.d when applying early config 247 defaults 248 - tests: new tests.backup tool 249 - tests: add tests.cleanup pop sub-command 250 - tests: migration of the main suite to snaps-state tool part 6 251 - tests: fix journal-state test 252 - cmd/snap-bootstrap/initramfs-mounts: split off new helper for misc 253 recover files 254 - cmd/snap-bootstrap/initramfs-mounts: also copy /etc/machine-id for 255 same IP addr 256 - packaging/{ubuntu,debian}: add liblzo2-dev as a dependency for 257 building snapd 258 - boot, gadget, bootloader: observer preserves managed bootloader 259 configs 260 - tests/nested/manual: add uc20 grade signed cloud-init test 261 - o/snapstate/autorefresh.go: eliminate race when launching 262 autorefresh 263 - daemon,snapshotstate: do not return "size" from Import() 264 - daemon: limit reading from snapshot import to Content-Length 265 - many: set/expect Content-Length header when importing snapshots 266 - github: switch from ::set-env command to environment file 267 - tests: migration of the main suite to snaps-state tool part 5 268 - client: cleanup the Client.raw* and Client.do* method families 269 - tests: moving main suite to snaps-state tool part 4 270 - client,daemon,snap: use constant for snapshot content-type 271 - many: fix typos and repeated "the" 272 - secboot: fix tpm connection leak when it's not enabled 273 - many: scaffolding for snapshots import API 274 - run-checks: run spread-shellcheck too 275 - interfaces: update network-manager interface to allow 276 ObjectManager access from unconfined clients 277 - tests: move core and regression suites to snaps-state tool 278 - tests: moving interfaces tests to snaps-state tool 279 - gadget: preserve files when indicated by content change observer 280 - tests: moving smoke test suite and some tests from main suite to 281 snaps-state tool 282 - o/snapshotstate: pass set id to backend.Open, update tests 283 - asserts/snapasserts: introduce ValidationSets 284 - o/snapshotstate: improve allocation of new set IDs 285 - boot: look at the gadget for run mode bootloader when making the 286 system bootable 287 - cmd/snap: allow snap help vs --all to diverge purposefully 288 - usersession/userd: separate bus name ownership from defining 289 interfaces 290 - o/snapshotstate: set snapshot set id from its filename 291 - o/snapstate: move remove-related tests to snapstate_remove_test.go 292 - desktop/notification: switch ExpireTimeout to time.Duration 293 - desktop/notification: add unit tests 294 - snap: snap help output refresh 295 - tests/nested/manual/preseed: include a system-usernames snap when 296 preseeding 297 - tests: fix sudo-env test 298 - tests: fix nested core20 shellcheck bug 299 - tests/lib: move to new directory when restoring PWD, cleanup 300 unpacked unpacked snap directories 301 - desktop/notification: add bindings for FDO notifications 302 - dbustest: fix stale comment references 303 - many: move ManagedAssetsBootloader into TrustedAssetsBootloader, 304 drop former 305 - snap-repair: add uc20 support 306 - tests: print all the serial logs for the nested test 307 - o/snapstate/check_snap_test.go: mock osutil.Find{U,G}id to avoid 308 bug in test 309 - cmd/snap/auto-import: stop importing system user assertions from 310 initramfs mnts 311 - osutil/group.go: treat all non-nil errs from user.Lookup{Group,} 312 as Unknown* 313 - asserts: deserialize grouping only once in Pool.AddBatch if needed 314 - gadget: allow content observer to have opinions about a change 315 - tests: new snaps-state command - part1 316 - o/assertstate: support refreshing any number of snap-declarations 317 - boot: use test helpers 318 - tests/core/snap-debug-bootvars: also check snap_mode 319 - many/apparmor: adjust rules for reading profile/ execing new 320 profiles for new kernel 321 - tests/core/snap-debug-bootvars: spread test for snap debug boot- 322 vars 323 - tests/lib/nested.sh: more little tweaks 324 - tests/nested/manual/grade-signed-above-testkeys-boot: enable kvm 325 - cmd/s-b/initramfs-mounts: use ConfigureTargetSystem for install, 326 recover modes 327 - overlord: explicitly set refresh-app-awareness in tests 328 - kernel: remove "edition" from kernel.yaml and add "update" 329 - spread: drop vendor from the packed project archive 330 - boot: fix debug bootloader variables dump on UC20 systems 331 - wrappers, systemd: allow empty root dir and conditionally do not 332 pass --root to systemctl 333 - tests/nested/manual: add test for grades above signed booting with 334 testkeys 335 - tests/nested: misc robustness fixes 336 - o/assertstate,asserts: use bulk refresh to refresh snap- 337 declarations 338 - tests/lib/prepare.sh: stop patching the uc20 initrd since it has 339 been updated now 340 - tests/nested/manual/refresh-revert-fundamentals: re-enable test 341 - update-pot: ignore .go files inside .git when running xgettext-go 342 - tests: disable part of the lxd test completely on 16.04. 343 - o/snapshotstate: tweak comment regarding snapshot filename 344 - o/snapstate: improve snapshot iteration 345 - bootloader: lk cleanups 346 - tests: update to support nested kvm without reboots on UC20 347 - tests/nested/manual/preseed: disable system-key check for 20.04 348 image 349 - spread.yaml: add ubuntu-20.10-64 to qemu 350 - store: handle v2 error when fetching assertions 351 - gadget: resolve device mapper devices for fallback device lookup 352 - tests/nested/cloud-init-many: simplify tests and unify 353 helpers/seed inputs 354 - tests: copy /usr/lib/snapd/info to correct directory 355 - check-pr-title.py * : allow "*" in the first part of the title 356 - many: typos and small test tweak 357 - tests/main/lxd: disable cgroup combination for 16.04 that is 358 failing a lot 359 - tests: make nested signing helpers less confusing 360 - tests: misc nested changes 361 - tests/nested/manual/refresh-revert-fundamentals: disable 362 temporarily 363 - tests/lib/cla_check: default to Python 3, tweaks, formatting 364 - tests/lib/cl_check.py: use python3 compatible code 365 366 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 19 Nov 2020 17:51:02 +0100 367 368 snapd (2.47.1) xenial; urgency=medium 369 370 * New upstream release, LP: #1895929 371 - o/configstate: create /etc/sysctl.d when applying early config 372 defaults 373 - cmd/snap-bootstrap/initramfs-mounts: also copy /etc/machine-id for 374 same IP addr 375 - packaging/{ubuntu,debian}: add liblzo2-dev as a dependency for 376 building snapd 377 - cmd/snap: allow snap help vs --all to diverge purposefully 378 - snap: snap help output refresh 379 380 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 08 Oct 2020 09:30:44 +0200 381 382 snapd (2.47) xenial; urgency=medium 383 384 * New upstream release, LP: #1895929 385 - tests: fix nested core20 shellcheck bug 386 - many/apparmor: adjust rule for reading apparmor profile for new 387 kernel 388 - snap-repair: add uc20 support 389 - cmd/snap/auto-import: stop importing system user assertions from 390 initramfs mnts 391 - cmd/s-b/initramfs-mounts: use ConfigureTargetSystem for install, 392 recover modes 393 - gadget: resolve device mapper devices for fallback device lookup 394 - secboot: add boot manager profile to pcr protection profile 395 - sysconfig,o/devicestate: mv DisableNoCloud to 396 DisableAfterLocalDatasourcesRun 397 - tests: make gadget-reseal more robust 398 - tests: skip nested images pre-configuration by default 399 - tests: fix for basic20 test running on external backend and rpi 400 - tests: improve kernel reseal test 401 - boot: adjust comments, naming, log success around reseal 402 - tests/nested, fakestore: changes necessary to run nested uc20 403 signed/secured tests 404 - tests: add nested core20 gadget reseal test 405 - boot/modeenv: track unknown keys in Read and put back into modeenv 406 during Write 407 - interfaces/process-control: add sched_setattr to seccomp 408 - boot: with unasserted kernels reseal if there's a hint modeenv 409 changed 410 - client: bump the default request timeout to 120s 411 - configcore: do not error in console-conf.disable for install mode 412 - boot: streamline bootstate20.go reseal and tests changes 413 - boot: reseal when changing kernel 414 - cmd/snap/model: specify grade in the model command output 415 - tests: simplify 416 repack_snapd_snap_with_deb_content_and_run_mode_first_boot_tweaks 417 - test: improve logging in nested tests 418 - nested: add support to telnet to serial port in nested VM 419 - secboot: use the snapcore/secboot native recovery key type 420 - tests/lib/nested.sh: use more focused cloud-init config for uc20 421 - tests/lib/nested.sh: wait for the tpm socket to exist 422 - spread.yaml, tests/nested: misc changes 423 - tests: add more checks to disk space awareness spread test 424 - tests: disk space awareness spread test 425 - boot: make MockUC20Device use a model and MockDevice more 426 realistic 427 - boot,many: reseal only when meaningful and necessary 428 - tests/nested/core20/kernel-failover: add test for failed refresh 429 of uc20 kernel 430 - tests: fix nested to work with qemu and kvm 431 - boot: reseal when updating boot assets 432 - tests: fix snap-routime-portal-info test 433 - boot: verify boot chain file in seal and reseal tests 434 - tests: use full path to test-snapd-refresh.version binary 435 - boot: store boot chains during install, helper for checking 436 whether reseal is needed 437 - boot: add call to reseal an existing key 438 - boot: consider boot chains with unrevisioned kernels incomparable 439 - overlord: assorted typos and miscellaneous changes 440 - boot: group SealKeyModelParams by model, improve testing 441 - secboot: adjust parameters to buildPCRProtectionProfile 442 - strutil: add SortedListsUniqueMergefrom the doc comment: 443 - snap/naming: upgrade TODO to TODO:UC20 444 - secboot: add call to reseal an existing key 445 - boot: in seal.go adjust error message and function names 446 - o/snapstate: check available disk space in RemoveMany 447 - boot: build bootchains data for sealing 448 - tests: remove "set -e" from function only shell libs 449 - o/snapstate: disk space check on UpdateMany 450 - o/snapstate: disk space check with snap update 451 - snap: implement new `snap reboot` command 452 - boot: do not reorder boot assets when generating predictable boot 453 chains and other small tweaks 454 - tests: some fixes and improvements for nested execution 455 - tests/core/uc20-recovery: fix check for at least specific calls to 456 mock-shutdown 457 - boot: be consistent using bootloader.Role* consts instead of 458 strings 459 - boot: helper for generating secboot load chains from a given boot 460 asset sequence 461 - boot: tweak boot chains to support a list of kernel command lines, 462 keep track of model and kernel boot file 463 - boot,secboot: switch to expose and use snapcore/secboot load event 464 trees 465 - tests: use `nested_exec` in core{20,}-early-config test 466 - devicestate: enable cloud-init on uc20 for grade signed and 467 secured 468 - boot: add "rootdir" to baseBootenvSuite and use in tests 469 - tests/lib/cla_check.py: don't allow users.noreply.github.com 470 commits to pass CLA 471 - boot: represent boot chains, helpers for marshalling and 472 equivalence checks 473 - boot: mark successful with boot assets 474 - client, api: handle insufficient space error 475 - o/snapstate: disk space check with single snap install 476 - configcore: "service.console-conf.disable" is gadget defaults only 477 - packaging/opensuse: fix for /usr/libexec on TW, do not hardcode 478 AppArmor profile path 479 - tests: skip udp protocol in nfs-support test on ubuntu-20.10 480 - packaging/debian-sid: tweak code preparing _build tree 481 - many: move seal code from gadget/install to boot 482 - tests: remove workaround for cups on ubuntu-20.10 483 - client: implement RebootToSystem 484 - many: seed.Model panics now if called before LoadAssertions 485 - daemon: add /v2/systems "reboot" action API 486 - github: run tests also on push to release branches 487 - interfaces/bluez: let slot access audio streams 488 - seed,c/snap-bootstrap: simplify snap-bootstrap seed reading with 489 new seed.ReadSystemEssential 490 - interfaces: allow snap-update-ns to read /proc/cmdline 491 - tests: new organization for nested tests 492 - o/snapstate, features: add feature flags for disk space awareness 493 - tests: workaround for cups issue on 20.10 where default printer is 494 not configured. 495 - interfaces: update cups-control and add cups for providing snaps 496 - boot: keep track of the original asset when observing updates 497 - tests: simplify and fix tests for disk space checks on snap remove 498 - sysconfig/cloudinit.go: add AllowCloudInit and use GadgetDir for 499 cloud.conf 500 - tests/main: mv core specific tests to core suite 501 - tests/lib/nested.sh: reset the TPM when we create the uc20 vm 502 - devicestate: rename "mockLogger" to "logbuf" 503 - many: introduce ContentChange for tracking gadget content in 504 observers 505 - many: fix partion vs partition typo 506 - bootloader: retrieve boot chains from bootloader 507 - devicestate: add tests around logging in RequestSystemAction 508 - boot: handle canceled update 509 - bootloader: tweak doc comments (thanks Samuele) 510 - seed/seedwriter: test local asserted snaps with UC20 grade signed 511 - sysconfig/cloudinit.go: add DisableNoCloud to 512 CloudInitRestrictOptions 513 - many: use BootFile type in load sequences 514 - boot,bootloader: clarifications after the changes to introduce 515 bootloader.Options.Role 516 - boot,bootloader,gadget: apply new bootloader.Options.Role 517 - o/snapstate, features: add feature flag for disk space check on 518 remove 519 - testutil: add checkers for symbolic link target 520 - many: refactor tpm seal parameter setting 521 - boot/bootstate20: reboot to rollback to previous kernel 522 - boot: add unit test helpers 523 - boot: observe update & rollback of trusted assets 524 - interfaces/utf: Add MIRKey to u2f devices 525 - o/devicestate/devicestate_cloudinit_test.go: test cleanup for uc20 526 cloud-init tests 527 - many: check that users of BaseTest don't forget to consume 528 cleanups 529 - tests/nested/core20/tpm: verify trusted boot assets tracking 530 - github: run macOS job with Go 1.14 531 - many: misc doc-comment changes and typo fixes 532 - o/snapstate: disk space check with InstallMany 533 - many: cloud-init cleanups from previous PR's 534 - tests: running tests on opensuse leap 15.2 535 - run-checks: check for dirty build tree too 536 - vendor: run ./get-deps.sh to update the secboot hash 537 - tests: update listing test for "-dirty" versions 538 - overlord/devicestate: do not release the state lock when updating 539 gadget assets 540 - secboot: read kernel efi image from snap file 541 - snap: add size to the random access file return interface 542 - daemon: correctly parse Content-Type HTTP header. 543 - tests: account for apt-get on core18 544 - cmd/snap-bootstrap/initramfs-mounts: compute string outside of 545 loop 546 - mkversion.sh: simple hack to include dirty in version if the tree 547 is dirty 548 - cgroup,snap: track hooks on system bus only 549 - interfaces/systemd: compare dereferenced Service 550 - run-checks: only check files in git for misspelling 551 - osutil: add a package doc comment (via doc.go) 552 - boot: complain about reused asset name during initial install 553 - snapstate: installSize helper that calculates total size of snaps 554 and their prerequisites 555 - snapshots: export of snapshots 556 - boot/initramfs_test.go: reset boot vars on the bootloader for each 557 iteration 558 559 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 29 Sep 2020 17:19:13 +0200 560 561 snapd (2.46.1) xenial; urgency=medium 562 563 * New upstream release, LP: #1891134 564 - interfaces: allow snap-update-ns to read 565 /proc/cmdline 566 - github: run macOS job with Go 1.14 567 - o/snapstate, features: add feature flag for disk space check on 568 remove 569 - tests: account for apt-get on core18 570 - mkversion.sh: include dirty in version if the tree 571 is dirty 572 - interfaces/systemd: compare dereferenced Service 573 - vendor.json: update mysterious secboot SHA again 574 575 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Sep 2020 17:42:54 +0200 576 577 snapd (2.46) xenial; urgency=medium 578 579 * New upstream release, LP: #1891134 580 - logger: add support for setting snapd.debug=1 on kernel cmdline 581 - o/snapstate: check disk space before creating automatic snapshot 582 on remove 583 - boot, o/devicestate: observe existing recovery bootloader trusted 584 boot assets 585 - many: use transient scope for tracking apps and hooks 586 - features: add HiddenSnapFolder feature flag 587 - tests/lib/nested.sh: fix partition typo, unmount the image on uc20 588 too 589 - runinhibit: open the lock file in read-only mode in IsLocked 590 - cmd/s-b/initramfs-mounts: make recover -> run mode transition 591 automatic 592 - tests: update spread test for unknown plug/slot with snapctl is- 593 connected 594 - osutil: add OpenExistingLockForReading 595 - kernel: add kernel.Validate() 596 - interfaces: add vcio interface 597 - interfaces/{docker,kubernetes}-support: load overlay and support 598 systemd cgroup driver 599 - tests/lib/nested.sh: use more robust code for finding what loop 600 dev we mounted 601 - cmd/snap-update-ns: detach all bind-mounted file 602 - snap/snapenv: set SNAP_REAL_HOME 603 - packaging: umount /snap on purge in containers 604 - interfaces: misc policy updates xlvi 605 - secboot,cmd/snap-bootstrap: cross-check partitions before 606 unlocking, mounting 607 - boot: copy boot assets cache to new root 608 - gadget,kernel: add new kernel.{Info,Asset} struct and helpers 609 - o/hookstate/ctlcmd: make is-connected check whether the plug or 610 slot exists 611 - tests: find -ignore_readdir_race when scanning cgroups 612 - interfaces/many: deny arbitrary desktop files and misc from 613 /usr/share 614 - tests: use "set -ex" in prep-snapd-in-lxd.sh 615 - tests: re-enable udisks test on debian-sid 616 - cmd/snapd-generator: use PATH fallback if PATH is not set 617 - tests: disable udisks2 test on arch linux 618 - github: use latest/stable go, not latest/edge 619 - tests: remove support for ubuntu 19.10 from spread tests 620 - tests: fix lxd test wrongly tracking 'latest' 621 - secboot: document exported functions 622 - cmd: compile snap gdbserver shim correctly 623 - many: correctly calculate the desktop file prefix everywhere 624 - interfaces: add kernel-crypto-api interface 625 - corecfg: add "system.timezone" setting to the system settings 626 - cmd/snapd-generator: generate drop-in to use fuse in container 627 - cmd/snap-bootstrap/initramfs-mounts: tweak names, add comments 628 from previous PR 629 - interfaces/many: miscellaneous updates for strict microk8s 630 - secboot,cmd/snap-bootstrap: don't import boot package from secboot 631 - cmd/snap-bootstrap/initramfs-mounts: call systemd-mount instead of 632 the-tool 633 - tests: work around broken update of systemd-networkd 634 - tests/main/install-fontconfig-cache-gen: enhance test by 635 verifying, add fonts to test 636 - o/devicestate: wrap asset update observer error 637 - boot: refactor such that bootStateUpdate20 mainly carries Modeenv 638 - mkversion.sh: disallow changelog versions that have git in it, if 639 we also have git version 640 - interfaces/many: miscellaneous updates for strict microk8s 641 - snap: fix repeated "cannot list recovery system" and add test 642 - boot: track trusted assets during initial install, assets cache 643 - vendor: update secboot to fix key data validation 644 - tests: unmount FUSE file-systems from XDG runtime dir 645 - overlord/devicestate: workaround non-nil interface with nil struct 646 - sandbox/cgroup: remove temporary workaround for multiple cgroup 647 writers 648 - sandbox/cgroup: detect dangling v2 cgroup 649 - bootloader: add helper for creating a bootloader based on gadget 650 - tests: support different images on nested execution 651 - many: reorg cmd/snapinfo.go into snap and new client/clientutil 652 - packaging/arch: use external linker when building statically 653 - tests: cope with ghost cgroupv2 654 - tests: fix issues related to restarting systemd-logind.service 655 - boot, o/devicestate: TrustedAssetUpdateObserver stubs, hook up to 656 gadget updates 657 - vendor: update github.com/kr/pretty to fix diffs of values with 658 pointer cycles 659 - boot: move bootloaderKernelState20 impls to separate file 660 - .github/workflows: move snap building to test.yaml as separate 661 cached job 662 - tests/nested/manual/minimal-smoke: run core smoke tests in a VM 663 meeting minimal requirements 664 - osutil: add CommitAs to atomic file 665 - gadget: introduce content update observer 666 - bootloader: introduce TrustedAssetsBootloader, implement for grub 667 - o/snapshotstate: helpers for calculating disk space needed for an 668 automatic snapshot 669 - gadget/install: retrieve command lines from bootloader 670 - boot/bootstate20: unify commit method impls, rm 671 bootState20MarkSuccessful 672 - tests: add system information and image information when debug 673 info is displayed 674 - tests/main/cgroup-tracking: try to collect some information about 675 cgroups 676 - boot: introduce current_boot_assets and 677 current_recovery_boot_assets to modeenv 678 - tests: fix for timing issues on journal-state test 679 - many: remove usage and creation of hijacked pid cgroup 680 - tests: port regression-home-snap-root-owned to tests.session 681 - tests: run as hightest via tests.session 682 - github: run CLA checks on self-hosted workers 683 - github: remove Ubuntu 19.10 from actions workflow 684 - tests: remove End-Of-Life opensuse/fedora releases 685 - tests: remove End-Of-Life releases from spread.yaml 686 - tests: fix debug section of appstream-id test 687 - interfaces: check !b.preseed earlier 688 - tests: work around bug in systemd/debian 689 - boot: add deepEqual, Copy helpers for Modeenv to simplify 690 bootstate20 refactor 691 - cmd: add new "snap recovery" command 692 - interfaces/systemd: use emulation mode when preseeding 693 - interfaces/kmod: don't load kernel modules in kmod backend when 694 preseeding 695 - interfaces/udev: do not reload udevadm rules when preseeding 696 - cmd/snap-preseed: use snapd from the deb if newer than from seeds 697 - boot: fancy marshaller for modeenv values 698 - gadget, osutil: use atomic file copy, adjust tests 699 - overlord: use new tracking cgroup for refresh app awareness 700 - github: do not skip gofmt with Go 1.9/1.10 701 - many: introduce content write observer, install mode glue, initial 702 seal stubs 703 - daemon,many: switch to use client.ErrorKind and drop the local 704 errorKind... 705 - tests: new parameters for nested execution 706 - client: move all error kinds into errors.go and add doc strings 707 - cmd/snap: display the error in snap debug seeding if seeding is in 708 error 709 - cmd/snap/debug/seeding: use unicode for proper yaml 710 - tests/cmd/snap-bootstrap/initramfs-mounts: add test case for empty 711 recovery_mode 712 - osutil/disks: add mock disk and tests for happy path of mock disks 713 - tests: refresh/revert snapd in uc20 714 - osutil/disks: use a dedicated error to indicate a fs label wasn't 715 found 716 - interfaces/system-key: in WriteSystemKey during tests, don't call 717 ParserFeatures 718 - boot: add current recovery systems to modeenv 719 - bootloader: extend managed assets bootloader interface to compose 720 a candidate command line 721 - interfaces: make the unmarshal test match more the comment 722 - daemon/api: use pointers to time.Time for debug seeding aspect 723 - o/ifacestate: update security profiles in connect undo handler 724 - interfaces: add uinput interface 725 - cmd/snap-bootstrap/initramfs-mounts: add doSystemdMount + unit 726 tests 727 - o/devicestate: save seeding/preseeding times for use with debug 728 seeding api 729 - cmd/snap/debug: add "snap debug seeding" command for preseeding 730 debugging 731 - tests/main/selinux-clean: workaround SELinux denials triggered by 732 linger setup on Centos8 733 - bootloader: compose command line with mode and extra arguments 734 - cmd/snap, daemon: detect and bail purge on multi-snap 735 - o/ifacestate: fix bug in snapsWithSecurityProfiles 736 - interfaces/builtin/multipass: replace U+00A0 no-break space with 737 simple space 738 - bootloader/assets: generate bootloader assets from files 739 - many/tests/preseed: reset the preseeded images before preseeding 740 them 741 - tests: drop accidental accents from e 742 - secboot: improve key sealing tests 743 - tests: replace _wait_for_file_change with retry 744 - tests: new fs-state which replaces the files.sh helper 745 - sysconfig/cloudinit_test.go: add test for initramfs case, rm "/" 746 from path 747 - cmd/snap: track started apps and hooks 748 - tests/main/interfaces-pulseaudio: disable start limit checking for 749 pulseaudio service 750 - api: seeding debug api 751 - .github/workflows/snap-build.yaml: build the snapd snap via GH 752 Actions too 753 - tests: moving journalctl.sh to a new journal-state tool 754 - tests/nested/manual: add spread tests for cloud-init vuln 755 - bootloader/assets: helpers for registering per-edition snippets, 756 register snippets for grub 757 - data,packaging,wrappers: extend D-Bus service activation search 758 path 759 - spread: add opensuse 15.2 and tumbleweed for qemu 760 - overlord,o/devicestate: restrict cloud-init on Ubuntu Core 761 - sysconfig/cloudinit: add RestrictCloudInit 762 - cmd/snap-preseed: check that target path exists and is a directory 763 on --reset 764 - tests: check for pids correctly 765 - gadget,gadget/install: refactor partition table update 766 - sysconfig/cloudinit: add CloudInitStatus func + CloudInitState 767 type 768 - interface/fwupd: add more policies for making fwupd upstream 769 strict 770 - tests: new to-one-line tool which replaces the strings.sh helper 771 - interfaces: new helpers to get and compare system key, for use 772 with seeding debug api 773 - osutil, many: add helper for checking whether the process is a go 774 test binary 775 - cmd/snap-seccomp/syscalls: add faccessat2 776 - tests: adjust xdg-open after launcher changes 777 - tests: new core config helper 778 - usersession/userd: do not modify XDG_DATA_DIRS when calling xdg- 779 open 780 - cmd/snap-preseed: handle relative chroot path 781 - snapshotstate: move sizer to osutil.Sizer() 782 - tests/cmd/snap-bootstrap/initramfs-mounts: rm duplicated env ref 783 kernel tests 784 - gadget/install,secboot: use snapcore/secboot luks2 api 785 - boot/initramfs_test.go: add Commentf to more Assert()'s 786 - tests/lib: account for changes in arch package file name extension 787 - bootloader/bootloadertest: fix comment typo 788 - bootloader: add helper for getting recovery system environment 789 variables 790 - tests: preinstall shellcheck and run tests on focal 791 - strutil: add a helper for parsing kernel command line 792 - osutil: add CheckFreeSpace helper 793 - secboot: update tpm connection error handling 794 - packaging, cmd/snap-mgmt, tests: remove modules files on purge 795 - tests: add tests.cleanup helper 796 - packaging: add "ca-certificates" to build-depends 797 - tests: more checks in core20 early config spread test 798 - tests: fix some snapstate tests to use pointers for 799 snapmgrTestSuite 800 - boot: better naming of helpers for obtaining kernel command line 801 - many: use more specific check for unit test mocking 802 - systemd/escape: fix issues with "" and "\t" handling 803 - asserts: small improvements and corrections for sequence-forming 804 assertions' support 805 - boot, bootloader: query kernel command line of run mod and 806 recovery mode systems 807 - snap/validate.go: disallow snap layouts with new top-level 808 directories 809 - tests: allow to add a new label to run nested tests as part of PR 810 validation 811 - tests/core/gadget-update-pc: port to UC20 812 - tests: improve nested tests flexibility 813 - asserts: integer headers: disallow prefix zeros and make parsing 814 more uniform 815 - asserts: implement Database.FindSequence 816 - asserts: introduce SequenceMemberAfter in the asserts backstores 817 - spread.yaml: remove tests/lib/tools from PATH 818 - overlord: refuse to install snaps whose activatable D-Bus services 819 conflict with installed snaps 820 - tests: shorten lxd-state undo-mount-changes 821 - snap-confine: don't die if a device from sysfs path cannot be 822 found by udev 823 - tests: fix argument handling of apt-state 824 - tests: rename lxd-tool to lxd-state 825 - tests: rename user-tool to user-state, fix --help 826 - interfaces: add gconf interface 827 - sandbox/cgroup: avoid parsing security tags twice 828 - tests: rename version-tool to version-compare 829 - cmd/snap-update-ns: handle anomalies better 830 - tests: fix call to apt.Package.mark_install(auto_inst=True) 831 - tests: rename mountinfo-tool to mountinfo.query 832 - tests: rename memory-tool to memory-observe-do 833 - tests: rename invariant-tool to tests.invariant 834 - tests: rename apt-tool to apt-state 835 - many: managed boot config during run mode setup 836 - asserts: introduce the concept of sequence-forming assertion types 837 - tests: tweak comments/output in uc20-recovery test 838 - tests/lib/pkgdb: do not use quiet when purging debs 839 - interfaces/apparmor: allow snap-specific /run/lock 840 - interfaces: add system-source-code for access to /usr/src 841 - sandbox/cgroup: extend SnapNameFromPid with tracking cgroup data 842 - gadget/install: move udev trigger to gadget/install 843 - many: make nested spread tests more reliable 844 - tests/core/uc20-recovery: apply hack to get gopath in recover mode 845 w/ external backend 846 - tests: enable tests on uc20 which now work with the real model 847 assertion 848 - tests: enable system-snap-refresh test on uc20 849 - gadget, bootloader: preserve managed boot assets during gadget 850 updates 851 - tests: fix leaked dbus-daemon in selinux-clean 852 - tests: add servicestate.Control tests 853 - tests: fix "restart.service" 854 - wrappers: helper for enabling services - extract and move enabling 855 of services into a helper 856 - tests: new test to validate refresh and revert of kernel and 857 gadget on uc20 858 - tests/lib/prepare-restore: collect debug info when prepare purge 859 fails 860 - bootloader: allow managed bootloader to update its boot config 861 - tests: Remove unity test from nightly test suite 862 - o/devicestate: set mark-seeded to done in the task itself 863 - tests: add spread test for disconnect undo caused by failing 864 disconnect hook 865 - sandbox/cgroup: allow discovering PIDs of given snap 866 - osutil/disks: support IsDecryptedDevice for mountpoints which are 867 dm devices 868 - osutil: detect autofs mounted in /home 869 - spread.yaml: allow amazon-linux-2-64 qemu with 870 ec2-user/ec2-user 871 - usersession: support additional zoom URL schemes 872 - overlord: mock timings.DurationThreshold in TestNewWithGoodState 873 - sandbox/cgroup: add tracking helpers 874 - tests: detect stray dbus-daemon 875 - overlord: refuse to install snaps providing user daemons on Ubuntu 876 14.04 877 - many: move encryption and installer from snap-boostrap to gadget 878 - o/ifacestate: fix connect undo handler 879 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 880 - bootloader: introduce managed bootloader, implement for grub 881 - tests: fix incorrect check in smoke/remove test 882 - asserts,seed: split handling of essential/not essential model 883 snaps 884 - gadget: fix typo in mounted filesystem updater 885 - gadget: do only one mount point lookup in mounted fs updater 886 - tests/core/snap-auto-mount: try to make the test more robust 887 - tests: adding ubuntu-20.04 to google-sru backend 888 - o/servicestate: add updateSnapstateServices helper 889 - bootloader: pull recovery grub config from internal assets 890 - tests/lib/tools: apply linger workaround when needed 891 - overlord/snapstate: graceful handling of denied "managed" refresh 892 schedule 893 - snapstate: fix autorefresh from classic->strict 894 - overlord/configstate: add system.kernel.printk.console-loglevel 895 option 896 - tests: fix assertion disk handling for nested UC systems 897 - snapstate: use testutil.HostScaledTimeout() in snapstate tests 898 - tests: extra worker for google-nested backend to avoid timeout 899 error on uc20 900 - snapdtool: helper to check whether the current binary is reexeced 901 from a snap 902 - tests: mock servicestate in api tests to avoid systemctl checks 903 - many: rename back snap.Info.GetType to Type 904 - tests/lib/cla_check: expect explicit commit range 905 - osutil/disks: refactor diskFromMountPointImpl a bit 906 - o/snapstate: service-control task handler 907 - osutil: add disks pkg for associating mountpoints with 908 disks/partitions 909 - gadget,cmd/snap-bootstrap: move partitioning to gadget 910 - seed: fix LoadEssentialMeta when gadget is not loaded 911 - cmd/snap: Debian does not allow $SNAP_MOUNT_DIR/bin in sudo 912 secure_path 913 - asserts: introduce new assertion validation-set 914 - asserts,daemon: add support for "serials" field in system-user 915 assertion 916 - data/sudo: drop a failed sudo secure_path workaround 917 - gadget: mv encodeLabel to osutil/disks.EncodeHexBlkIDFormat 918 - boot, snap-bootstrap: move initramfs-mounts logic to boot pkg 919 - spread.yaml: update secure boot attribute name 920 - interfaces/block_devices: add NVMe subsystem devices, support 921 multipath paths 922 - tests: use the "jq" snap from the edge channel 923 - tests: simplify the tpm test by removing the test-snapd-mokutil 924 snap 925 - boot/bootstate16.go: clean snap_try_* vars when not in Trying 926 status too 927 - tests/main/sudo-env: check snap path under sudo 928 - tests/main/lxd: add test for snaps inside nested lxd containers 929 not working 930 - asserts/internal: expand errors about invalid serialized grouping 931 labels 932 - usersession/userd: add msteams url support 933 - tests/lib/prepare.sh: adjust comment about sgdisk 934 - tests: fix how gadget pc is detected when the snap does not exist 935 and ls fails 936 - tests: move a few more tests to snapstate_update_test.go 937 - tests/main: add spread test for running svc from install hook 938 - tests/lib/prepare: increase the size of the uc16/uc18 partitions 939 - tests/special-home-can-run-classic-snaps: re-enable 940 - workflow: test PR title as part of the static checks again 941 - tests/main/xdg-open-compat: backup and restore original xdg-open 942 - tests: move update-related tests to snapstate_update_test.go 943 - cmd,many: move Version and bits related to snapd tools to 944 snapdtool, merge cmdutil 945 - tests/prepare-restore.sh: reset-failed systemd-journald before 946 restarting 947 - interfaces: misc small interface updates 948 - spread: use find rather than recursive ls, skip mounted snaps 949 - tests/lib/prepare-restore.sh: if we failed to purge snapd deb, ls 950 /var/lib/snapd 951 - tests: enable snap-auto-mount test on core20 952 - cmd/snap: do not show $PATH warning when executing under sudo on a 953 known distro 954 - asserts/internal: add some iteration benchmarks 955 - sandbox/cgroup: improve pid parsing code 956 - snap: add new `snap run --experimental-gdbserver` option 957 - asserts/internal: limit Grouping size switching to a bitset 958 representationWe don't always use the bit-set representation 959 because: 960 - snap: add an activates-on property to apps for D-Bus activation 961 - dirs: delete unused Cloud var, fix typo 962 - sysconfig/cloudinit: make callers of DisableCloudInit use 963 WritableDefaultsDir 964 - tests: fix classic ubuntu core transition auth 965 - tests: fail in setup_reflash_magic() if there is snapd state left 966 - tests: port interfaces-many-core-provided to tests.session 967 - tests: wait after creating partitions with sfdisk 968 - bootloader: introduce bootloarder assets, import grub.cfg with an 969 edition marker 970 - riscv64: bump timeouts 971 - gadget: drop dead code, hide exports that are not used externally 972 - tests: port 2 uc20 part1 973 - tests: fix bug waiting for snap command to be ready 974 - tests: move try-related tests to snapstate_try_test.go 975 - tests: add debug for 20.04 prepare failure 976 - travis.yml: removed, all our checks run in GH actions now 977 - tests: clean up up the use of configcoreSuite in the configcore 978 tests 979 - sandbox/cgroup: remove redundant pathOfProcPidCgroup 980 - sandbox/cgroup: add tests for ParsePids 981 - tests: fix the basic20 test for uc20 on external backend 982 - tests: use configcoreSuite in journalSuite and remove some 983 duplicated code 984 - tests: move a few more tests to snapstate_install_test 985 - tests: assorted small patches 986 - dbusutil/dbustest: separate license from package 987 - interfaces/builtin/time-control: allow POSIX clock API 988 - usersession/userd: add "slack" to the white list of URL schemes 989 handled by xdg-open 990 - tests: check that host settings like hostname are settable on core 991 - tests: port xdg-settings test to tests.session 992 - tests: port snap-handle-link test to tests.session 993 - arch: add riscv64 994 - tests: core20 early defaults spread test 995 - tests: move install tests from snapstate_test.go to 996 snapstate_install_test.go 997 - github: port macOS sanity checks from travis 998 - data/selinux: allow checking /var/cache/app-info 999 - o/devicestate: core20 early config from gadget defaults 1000 - tests: autoremove after removing lxd in preseed-lxd test 1001 - secboot,cmd/snap-bootstrap: add tpm sealing support to secboot 1002 - sandbox/cgroup: move FreezerCgroupDir from dirs.go 1003 - tests: update the file used to detect the boot path on uc20 1004 - spread.yaml: show /var/lib/snapd in debug 1005 - cmd/snap-bootstrap/initramfs-mounts: also copy systemd clock + 1006 netplan files 1007 - snap/naming: add helpers to parse app and hook security tags 1008 - tests: modernize retry tool 1009 - tests: fix and trim debug section in xdg-open-portal 1010 - tests: modernize and use snapd.tool 1011 - vendor: update to latest github.com/snapcore/bolt for riscv64 1012 - cmd/snap-confine: add support for libc6-lse 1013 - interfaces: miscellaneous policy updates xlv 1014 - interfaces/system-packages-doc: fix typo in variable names 1015 - tests: port interfaces-calendar-service to tests.session 1016 - tests: install/run the lzo test snap too 1017 - snap: (small) refactor of `snap download` code for 1018 testing/extending 1019 - data: fix shellcheck warnings in snapd.sh.in 1020 - packaging: disable buildmode=pie for riscv64 1021 - tests: install test-snapd-rsync snap from edge channel 1022 - tests: modernize tests.session and port everything using it 1023 - tests: add ubuntu 20.10 to spread tests 1024 - cmd/snap/remove: mention snap restore/automatic snapshots 1025 - dbusutil: move all D-Bus helpers and D-Bus test helpers 1026 - wrappers: pass 'disable' flag to StopServices wrapper 1027 - osutil: enable riscv64 build 1028 - snap/naming: add ParseSecurityTag and friends 1029 - tests: port document-portal-activation to session-tool 1030 - bootloader: rename test helpers to reflect we are mocking EFI boot 1031 locations 1032 - tests: disable test of nfs v3 with udp proto on debian-sid 1033 - tests: plan to improve the naming and uniformity of utilities 1034 - tests: move *-tool tests to their own suite 1035 - snap-bootstrap: remove sealed key file on reinstall 1036 - bootloader/ubootenv: don't panic with an empty uboot env 1037 - systemd: rename actualFsTypeAndMountOptions to 1038 hostFsTypeAndMountOptions 1039 - daemon: fix filtering of service-control changes for snap.app 1040 - tests: spread test for preseeding in lxd container 1041 - tests: fix broken snapd.session agent.socket 1042 - wrappers: add RestartServices function and ReloadOrRestart to 1043 systemd 1044 - o/cmdstate: handle ignore flag on exec-command tasks 1045 - gadget: make ext4 filesystems with or without metadata checksum 1046 - tests: update statx test to run on all LTS releases 1047 - configcore: show better error when disabling services 1048 - interfaces: add hugepages-control 1049 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 1050 - tests: run ubuntu-20.04-* tests on all ubuntu-2* releases 1051 - tests: skip interfaces-openvswitch for centos 8 in nightly suite 1052 - tests: reload systemd --user for root, if present 1053 - tests: reload systemd after editing /etc/fstab 1054 - tests: add missing dependencies needed for sbuild test on debian 1055 - tests: reload systemd after removing pulseaudio 1056 - image, tests: core18 early config. 1057 - interfaces: add system-packages-doc interface 1058 - cmd/snap-preseed, systemd: fix handling of fuse.squashfuse when 1059 preseeding 1060 - interfaces/fwupd: allow bind mount to /boot on core 1061 - tests: improve oom-vitality tests 1062 - tests: add fedora 32 to spread.yaml 1063 - config: apply vitality-hint immediately when the config changes 1064 - tests: port snap-routine-portal-info to session-tool 1065 - configcore: add "service.console-conf.disable" config option 1066 - tests: port xdg-open to session-tool 1067 - tests: port xdg-open-compat to session-tool 1068 - tests: port interfaces-desktop-* to session-tool 1069 - spread.yaml: apply yaml formatter/linter 1070 - tests: port interfaces-wayland to session-tool 1071 - o/devicestate: refactor current system handling 1072 - snap-mgmt: perform cleanup of user services 1073 - snap/snapfile,squashfs: followups from 8729 1074 - boot, many: require mode in modeenv 1075 - data/selinux: update policy to allow forked processes to call 1076 getpw*() 1077 - tests: log stderr from dbus-monitor 1078 - packaging: build cmd/snap and cmd/snap-bootstrap with nomanagers 1079 tag 1080 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 1081 layout 1082 - interfaces/builtin/desktop: do not mount fonts cache on distros 1083 with quirks 1084 - data/selinux: allow snapd to remove/create the its socket 1085 - testutil/exec.go: set PATH after running shellcheck 1086 - tests: silence stderr from dbus-monitor 1087 - snap,many: mv Open to snapfile pkg to support add'l options to 1088 Container methods 1089 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 1090 gadget 1091 - github: remove workaround for bug 133 in actions/cache 1092 - tests: remove dbus.sh 1093 - cmd/snap-preseed: improve mountpoint checks of the preseeded 1094 chroot 1095 - spread.yaml: add ps aux to debug section 1096 - github: run all spread systems in a single go with cached results 1097 - test: session-tool cli tweaks 1098 - asserts: rest of the Pool API 1099 - tests: port interfaces-network-status-classic to session-tool 1100 - packaging: remove obsolete 16.10,17.04 symlinks 1101 - tests: setup portals before starting user session 1102 - o/devicestate: typo fix 1103 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 1104 devices 1105 - cmd/snap/model: support store, system-user-authority keys in 1106 --verbose 1107 - o/devicestate: raise conflict when requesting system action while 1108 seeding 1109 - tests: detect signs of crashed snap-confine 1110 - tests: sign kernel and gadget to run nested tests using current 1111 snapd code 1112 - tests: remove gnome-online-accounts we install 1113 - tests: fix the issue where all the tests were executed on secboot 1114 system 1115 - tests: port interfaces-accounts-service to session-tool 1116 - interfaces/network-control: bring /var/lib/dhcp from host 1117 - image,cmd/snap,tests: add support for store-wide cohort keys 1118 - configcore: add nomanagers buildtag for conditional build 1119 - tests: port interfaces-password-manager-service to session-tool 1120 - o/devicestate: cleanup system actions supported by recover mode 1121 - snap-bootstrap: remove create-partitions and update tests 1122 - tests: fix nested tests 1123 - packaging/arch: update PKGBUILD to match one in AUR 1124 - tests: port interfaces-location-control to session-tool 1125 - tests: port interfaces-contacts-service to session-tool 1126 - state: log task errors in the journal too 1127 - o/devicestate: change how current system is reported for different 1128 modes 1129 - devicestate: do not report "ErrNoState" for seeded up 1130 - tests: add a note about broken test sequence 1131 - tests: port interfaces-autopilot-introspection to session-tool 1132 - tests: port interfaces-dbus to session-tool 1133 - packaging: update sid packaging to match 16.04+ 1134 - tests: enable degraded test on uc20 1135 - c/snaplock/runinhibit: add run inhibition operations 1136 - tests: detect and report root-owned files in /home 1137 - tests: reload root's systemd --user after snapd tests 1138 - tests: test registration with serial-authority: [generic] 1139 - cmd/snap-bootstrap/initramfs-mounts: copy auth.json and macaroon- 1140 key in recover 1141 - tests/mount-ns: stop binfmt_misc mount unit 1142 - cmd/snap-bootstrap/initramfs-mounts: use booted kernel partition 1143 uuid if available 1144 - daemon, tests: indicate system mode, test switching to recovery 1145 and back to run 1146 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 1147 denials 1148 - tests/mount-ns: update to reflect new UEFI boot mode 1149 - usersession,tests: clean ups for userd/settings.go and move 1150 xdgopenproxy under usersession 1151 - tests: disable mount-ns test 1152 - tests: test user belongs to systemd-journald, on core20 1153 - tests: run core/snap-set-core-config on uc20 too 1154 - tests: remove generated session-agent units 1155 - sysconfig: use new _writable_defaults dir to create cloud config 1156 - cmd/snap-bootstrap/initramfs-mounts: cosmetic changes in prep for 1157 future work 1158 - asserts: make clearer that with label we mean a serialized label 1159 - cmd/snap-bootstrap: tweak recovery trigger log messages 1160 - asserts: introduce PoolTo 1161 - userd: allow setting default-url-scheme-handler 1162 - secboot: append uuid to ubuntu-data when decrypting 1163 - o/configcore: pass extra options to FileSystemOnlyApply 1164 - tests: add dbus-user-session to bionic and reorder package names 1165 - boot, bootloader: adjust comments, expand tests 1166 - tests: improve debugging of user session agent tests 1167 - packaging: add the inhibit directory 1168 - many: add core.resiliance.vitality-hint config setting 1169 - tests: test adjustments and fixes for recently published images 1170 - cmd/snap: coldplug auto-import assertions from all removable 1171 devices 1172 - secboot,cmd/snap-bootstrap: move initramfs-mounts tpm access to 1173 secboot 1174 - tests: not fail when boot dir cannot be determined 1175 - tests: new directory used to store the cloud images on gce 1176 - tests: inject snapd from edge into seeds of the image in manual 1177 preseed test 1178 - usersession/agent,wrappers: fix races between Shutdown and Serve 1179 - tests: add dependency needed for next upgrade of bionic 1180 - tests: new test user is used for external backend 1181 - cmd/snap: fix the order of positional parameters in help output 1182 - tests: don't create root-owned things in ~test 1183 - tests/lib/prepare.sh: delete patching of the initrd 1184 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 1185 as well 1186 - progress: tweak multibyte label unit test data 1187 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline 1188 - gadget: fix fallback device lookup for 'mbr' type structures 1189 - configcore: only reload journald if systemd is new enough 1190 - cmd/snap-boostrap, boot: use /run/mnt/data instead of ubuntu-data 1191 - wrappers: allow user mode systemd daemons 1192 - progress: fix progress bar with multibyte duration units 1193 - tests: fix raciness in pulseaudio test 1194 - asserts/internal: introduce Grouping and Groupings 1195 - tests: remove user.sh 1196 - tests: pair of follow-ups from earlier reviews 1197 - overlord/snapstate: warn of refresh/postpone events 1198 - configcore,tests: use daemon-reexec to apply watchdog config 1199 - c/snap-bootstrap: check mount states via initramfsMountStates 1200 - store: implement DownloadAssertions 1201 - tests: run smoke test with different bases 1202 - tests: port user-mounts test to session-tool 1203 - store: handle error-list in fetch-assertions results 1204 - tests: port interfaces-audio-playback-record to session-tool 1205 - data/completion: add `snap` command completion for zsh 1206 - tests/degraded: ignore failure in systemd-vconsole-setup.service 1207 - image: stub implementation of image.Prepare for darwin 1208 - tests: session-tool --restore -u stops user-$UID.slice 1209 - o/ifacestate/handlers.go: fix typo 1210 - tests: port pulseaudio test to session-tool 1211 - tests: port user-session-env to session-tool 1212 - tests: work around journald bug in core16 1213 - tests: add debug to core-persistent-journal test 1214 - tests: port selinux-clean to session-tool 1215 - tests: port portals test to session-tool, fix portal tests on sid 1216 - tests: adding option --no-install-recommends option also when 1217 install all the deps 1218 - tests: add session-tool --has-systemd-and-dbus 1219 - packaging/debian-sid: add gcc-multilib to build deps 1220 - osutil: expand FileLock to support shared locks and more 1221 - packaging: stop depending on python-docutils 1222 - store,asserts,many: support the new action fetch-assertions 1223 - tests: port snap-session-agent-* to session-tool 1224 - packaging/fedora: disable FIPS compliant crypto for static 1225 binaries 1226 - tests: fix for preseeding failures 1227 1228 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 25 Aug 2020 17:26:21 +0200 1229 1230 snapd (2.45.3.1) xenial; urgency=medium 1231 1232 * New upstream release, LP: #1875071 1233 - o/ifacestate: fix bug in snapsWithSecurityProfiles 1234 - tests/main/selinux-clean: workaround SELinux denials triggered by 1235 linger setup on Centos8 1236 1237 -- Samuele Pedroni <pedronis@lucediurna.net> Tue, 28 Jul 2020 21:43:38 +0200 1238 1239 snapd (2.45.3) xenial; urgency=medium 1240 1241 * New upstream release, LP: #1875071 1242 - many: backport _writable_defaults dir changes 1243 - tests: fix incorrect check in smoke/remove test 1244 - cmd/snap-bootstrap,seed: backport of uc20 PRs 1245 - tests: avoid exit when nested type var is not defined 1246 - cmd/snap-preseed: backport fixes 1247 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 1248 - many: cherry-picks for 2.45, gh-action, test fixes 1249 - tests/lib: account for changes in arch package file name extension 1250 - postrm, snap-mgmt: cleanup modules and other cherry-picks 1251 - snap-confine: don't die if a device from sysfs path cannot be 1252 found by udev 1253 - data/selinux: update policy to allow forked processes to call 1254 getpw*() 1255 - tests/main/interfaces-time-control: exercise setting time via date 1256 - interfaces/builtin/time-control: allow POSIX clock API 1257 - usersession/userd: add "slack" to the white list of URL schemes 1258 handled by xdg-open 1259 1260 -- Zygmunt Krynicki <me@zygoon.pl> Mon, 27 Jul 2020 12:01:14 +0200 1261 1262 snapd (2.45.2) xenial; urgency=medium 1263 1264 * SECURITY UPDATE: sandbox escape vulnerability on snapctl xdg-open 1265 implementation 1266 - usersession/userd/launcher.go: remove XDG_DATA_DIRS environment 1267 variable modification when calling the system xdg-open. Patch 1268 thanks to James Henstridge 1269 - packaging/ubuntu-16.04/snapd.postinst: ensure "snap userd" is 1270 restarted. Patch thanks to Michael Vogt 1271 - CVE-2020-11934 1272 - LP: #1880085 1273 * SECURITY UPDATE: arbitrary code execution vulnerability on core 1274 devices with access to physical removable media 1275 - devicestate: Disable/restrict cloud-init after seeding. 1276 - CVE-2020-11933 1277 - LP: #1879530 1278 1279 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 10 Jul 2020 20:06:29 +0200 1280 1281 snapd (2.45.1) xenial; urgency=medium 1282 1283 * New upstream release, LP: #1875071 1284 - data/selinux: allow checking /var/cache/app-info 1285 - cmd/snap-confine: add support for libc6-lse 1286 - interfaces: miscellaneous policy updates xlv 1287 - snap-bootstrap: remove sealed key file on reinstall 1288 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 1289 - gadget: make ext4 filesystems with or without metadata checksum 1290 - interfaces/fwupd: allow bind mount to /boot on core 1291 - tests: cherry-pick test fixes from master 1292 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 1293 layout 1294 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 1295 devices 1296 - snap,many: mv Open to snapfile pkg to support add'l options to 1297 Container methods 1298 - interfaces/builtin/desktop: do not mount fonts cache on distros 1299 with quirks 1300 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 1301 gadget 1302 - data/completion, packaging: cherry-pick zsh completion 1303 - state: log task errors in the journal too 1304 - devicestate: do not report "ErrNoState" for seeded up 1305 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 1306 denials 1307 - packaging/fedora: disable FIPS compliant crypto for static 1308 binaries 1309 - packaging: stop depending on python-docutils 1310 1311 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 05 Jun 2020 15:13:49 +0200 1312 1313 snapd (2.45) xenial; urgency=medium 1314 1315 * New upstream release, LP: #1875071 1316 - o/devicestate: support doing system action reboots from recover 1317 mode 1318 - vendor: update to latest secboot 1319 - tests: not fail when boot dir cannot be determined 1320 - configcore: only reload journald if systemd is new enough 1321 - cmd/snap-bootstrap/initramfs-mounts: append uuid to ubuntu-data 1322 when decrypting 1323 - tests/lib/prepare.sh: delete patching of the initrd 1324 - cmd/snap: coldplug auto-import assertions from all removable 1325 devices 1326 - cmd/snap: fix the order of positional parameters in help output 1327 - c/snap-bootstrap: port mount state mocking to the new style on 1328 master 1329 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 1330 as well 1331 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline, 1332 unlock in recover mode initramfs 1333 - progress: tweak multibyte label unit test data 1334 - gadget: fix fallback device lookup for 'mbr' type structures 1335 - progress: fix progress bar with multibyte duration units 1336 - many: use /run/mnt/data over /run/mnt/ubuntu-data for uc20 1337 - many: put the sealed keys in a directory on seed for tidiness 1338 - cmd/snap-bootstrap: measure epoch and model before unlocking 1339 encrypted data 1340 - o/configstate: core config handler for persistent journal 1341 - bootloader/uboot: use secondary ubootenv file boot.sel for uc20 1342 - packaging: add "$TAGS" to dh_auto_test for debian packaging 1343 - tests: ensure $cache_dir is actually available 1344 - secboot,cmd/snap-bootstrap: add model to pcr protection profile 1345 - devicestate: do not use snap-boostrap in devicestate to install 1346 - tests: fix a typo in nested.sh helper 1347 - devicestate: add support for cloud.cfg.d config from the gadget 1348 - cmd/snap-bootstrap: cleanups, naming tweaks 1349 - testutil: add NewDBusTestConn 1350 - snap-bootstrap: lock access to sealed keys 1351 - overlord/devicestate: preserve the current model inside ubuntu- 1352 boot 1353 - interfaces/apparmor: use differently templated policy for non-core 1354 bases 1355 - seccomp: add get_tls, io_pg* and *time64/*64 variants for existing 1356 syscalls 1357 - cmd/snap-bootstrap/initramfs-mounts: mount ubuntu-seed first, 1358 other misc changes 1359 - o/snapstate: tweak "waiting for restart" message 1360 - boot: store model model and grade information in modeenv 1361 - interfaces/firewall-control: allow -legacy and -nft for core20 1362 - boot: enable makeBootable20RunMode for EnvRefExtractedKernel 1363 bootloaders 1364 - boot/bootstate20: add EnvRefExtractedKernelBootloader bootstate20 1365 implementation 1366 - daemon: fix error message from `snap remove-user foo` on classic 1367 - overlord: have a variant of Mock that can take a state.State 1368 - tests: 16.04 and 18.04 now have mediating pulseaudio (again) 1369 - seed: clearer errors for missing essential snapd or core snap 1370 - cmd/snap-bootstrap/initramfs-mounts: support 1371 EnvRefExtractedKernelBootloader's 1372 - gadget, cmd/snap-bootstrap: MBR schema support 1373 - image: improve/adjust DownloadSnap doc comment 1374 - asserts: introduce ModelGrade.Code 1375 - tests: ignore user-12345 slice and service 1376 - image,seed/seedwriter: support redirect channel aka default 1377 tracks 1378 - bootloader: use binary.Read/Write 1379 - tests: uc20 nested suite part II 1380 - tests/boot: refactor to make it easier for new 1381 bootloaderKernelState20 impl 1382 - interfaces/openvswitch: support use of ovs-appctl 1383 - snap-bootstrap: copy auth data from real ubuntu-data in recovery 1384 mode 1385 - snap-bootstrap: seal and unseal encryption key using tpm 1386 - tests: disable special-home-can-run-classic-snaps due to jenkins 1387 repo issue 1388 - packaging: fix build on Centos8 to support BUILDTAGS 1389 - boot/bootstate20: small changes to bootloaderKernelState20 1390 - cmd/snap: Implement a "snap routine file-access" command 1391 - spread.yaml: switch back to latest/candidate for lxd snap 1392 - boot/bootstate20: re-factor kernel methods to use new interface 1393 for state 1394 - spread.yaml,tests/many: use global env var for lxd channel 1395 - boot/bootstate20: fix bug in try-kernel cleanup 1396 - config: add system.store-certs.[a-zA-Z0-9] support 1397 - secboot: key sealing also depends on secure boot enabled 1398 - httputil: fix client timeout retry tests 1399 - cmd/snap-update-ns: handle EBUSY when unlinking files 1400 - cmd/snap/debug/boot-vars: add opts for setting dir and/or uc20 1401 vars 1402 - secboot: add tpm support helpers 1403 - tests/lib/assertions/developer1-pi-uc20.model: use 20/edge for 1404 kernel and gadget 1405 - cmd/snap-bootstrap: switch to a 64-byte key for unlocking 1406 - tests: preserve size for centos images on spread.yaml 1407 - github: partition the github action workflows 1408 - run-checks: use consistent "Checking ..." style messages 1409 - bootloader: add efi pkg for reading efi variables 1410 - data/systemd: do not run snapd.system-shutdown if finalrd is 1411 available 1412 - overlord: update tests to work with latest go 1413 - cmd/snap: do not hide debug boot-vars on core 1414 - cmd/snap-bootstrap: no error when not input devices are found 1415 - snap-bootstrap: fix partition numbering in create-partitions 1416 - httputil/client_test.go: add two TLS version tests 1417 - tests: ignore user@12345.service hierarchy 1418 - bootloader, gadget, cmd/snap-bootstrap: misc cosmetic things 1419 - tests: rewrite timeserver-control test 1420 - tests: fix racy pulseaudio tests 1421 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 1422 - tests: update snap-preseed --reset logic to accommodate for 2.44 1423 change 1424 - cmd/snap: don't wait for system key when stopping 1425 - sandbox/cgroup: avoid making arrays we don't use 1426 - osutil: mock proc/self/mountinfo properly everywhere 1427 - selinux: export MockIsEnforcing; systemd: use in tests 1428 - tests: add 32 bit machine to GH actions 1429 - tests/session-tool: kill cron session, if any 1430 - asserts: it should be possible to omit many snap-ids if allowed, 1431 fix 1432 - boot: cleanup more things, simplify code 1433 - github: skip spread jobs when corresponding label is set 1434 - dirs: don't depend on osutil anymore, mv apparmor vars to apparmor 1435 pkg 1436 - tests/session-tool: add session-tool --dump 1437 - github: allow cached debian downloads to restore 1438 - tests/session-tool: session ordering is non-deterministic 1439 - tests: enable unit tests on debian-sid again 1440 - github: move spread to self-hosted workers 1441 - secboot: import secboot on ubuntu, provide dummy on !ubuntu 1442 - overlord/devicestate: support for recover and run modes 1443 - snap/naming: add validator for snap security tag 1444 - interfaces: add case for rootWritableOverlay + NFS 1445 - tests/main/uc20-create-partitions: tweaks, renames, switch to 1446 20.04 1447 - github: port CLA check to Github Actions 1448 - interfaces/many: miscellaneous policy updates xliv 1449 - configcore,tests: fix setting watchdog options on UC18/20 1450 - tests/session-tool: collect information about services on startup 1451 - tests/main/uc20-snap-recovery: unbreak, rename to uc20-create- 1452 partitions 1453 - state: add state.CopyState() helper 1454 - tests/session-tool: stop anacron.service in prepare 1455 - interfaces: don't use the owner modifier for files shared via 1456 document portal 1457 - systemd: move the doc comments to the interface so they are 1458 visible 1459 - cmd/snap-recovery-chooser: tweaks 1460 - interfaces/docker-support: add overlayfs file access 1461 - packaging: use debian/not-installed to ignore snap-preseed 1462 - travis.yml: disable unit tests on travis 1463 - store: start splitting store.go and store_test.go into subtopic 1464 files 1465 - tests/session-tool: stop cron/anacron from meddling 1466 - github: disable fail-fast as spread cannot be interrupted 1467 - github: move static checks and spread over 1468 - tests: skip "/etc/machine-id" in "writablepaths" test 1469 - snap-bootstrap: store encrypted partition recovery key 1470 - httputil: increase testRetryStrategy max timelimit to 5s 1471 - tests/session-tool: kill leaking closing session 1472 - interfaces: allow raw access to USB printers 1473 - tests/session-tool: reset failed session-tool units 1474 - httputil: increase httpclient timeout in 1475 TestRetryRequestTimeoutHandling 1476 - usersession: extend timerange in TestExitOnIdle 1477 - client: increase timeout in client tests to 100ms 1478 - many: disentagle release and snapdenv from sandbox/* 1479 - boot: simplify modeenv mocking to always write a modeenv 1480 - snap-bootstrap: expand data partition on install 1481 - o/configstate: add backlight option for core config 1482 - cmd/snap-recovery-chooser: add recovery chooser 1483 - features: enable robust mount ns updates 1484 - snap: improve TestWaitRecovers test 1485 - sandbox/cgroup: add ProcessPathInTrackingCgroup 1486 - interfaces/policy: fix comment in recent new test 1487 - tests: make session tool way more robust 1488 - interfaces/seccomp: allow passing an address to setgroups 1489 - o/configcore: introduce core config handlers (3/N) 1490 - interfaces: updates to login-session-observe, network-manager and 1491 modem-manager interfaces 1492 - interfaces/policy/policy_test.go: add more tests'allow- 1493 installation: false' and we grant based on interface attributes 1494 - packaging: detect/disable broken seed in the postinst 1495 - cmd/snap-confine/mount-support-nvidia.c: add libnvoptix as nvidia 1496 library 1497 - tests: remove google-tpm backend from spread.yaml 1498 - tests: install dependencies with apt using --no-install-recommends 1499 - usersession/userd: add zoommtg url support 1500 - snap-bootstrap: fix disk layout sanity check 1501 - snap: add `snap debug state --is-seeded` helper 1502 - devicestate: generate warning if seeding fails 1503 - config, features: move and rename config.GetFeatureFlag helper to 1504 features.Flag 1505 - boot, overlord/devicestate, daemon: implement requesting boot 1506 into a given recovery system 1507 - xdgopenproxy: forward requests to the desktop portal 1508 - many: support immediate reboot 1509 - store: search v2 tweaks 1510 - tests: fix cross build tests when installing dependencies 1511 - daemon: make POST /v2/systems/<label> root only 1512 - tests/lib/prepare.sh: use only initrd from the kernel snap 1513 - cmd/snap,seed: validate full seeds (UC 16/18) 1514 - tests/main/user-session-env: stop the user session before deleting 1515 the test-zsh user 1516 - overlord/devicestate, daemon: record the seed current system was 1517 installed from 1518 - gadget: SystemDefaults helper function to convert system defaults 1519 config into a flattened map suitable for FilesystemOnlyApply. 1520 - many: comment or avoid cryptic snap-ids in tests 1521 - tests: add LXD_CHANNEL environment 1522 - store: support for search API v2 1523 - .github: register a problem matcher to detect spread failures 1524 - seed: add Info() method for seed.Snap 1525 - github: always run the "Discard spread workers" step, even if the 1526 job fails 1527 - github: offload self-hosted workers 1528 - cmd/snap: the model command needs just a client, no waitMixin 1529 - github: combine tests into one workflow 1530 - github: fix order of go get caches 1531 - tests: adding more workers for ubuntu 20.04 1532 - boot,overlord: rename operating mode to system mode 1533 - config: add new Transaction.GetPristine{,Maybe}() function 1534 - o/devicestate: rename readMaybe* to maybeRead* 1535 - github: cache Debian dependencies for unit tests 1536 - wrappers: respect pre-seeding in error path 1537 - seed: validate UC20 seed system label 1538 - client, daemon, overlord/devicestate: request system action API 1539 and stubs 1540 - asserts,o/devicestate: support model specified alternative serial- 1541 authority 1542 - many: introduce naming.WellKnownSnapID 1543 - o/configcore: FilesystemOnlyApply method for early configuration 1544 of core (1/N) 1545 - github: run C unit tests 1546 - github: run spread tests on PRs only 1547 - interfaces/docker-support: make containerd abstract socket more 1548 generic 1549 - tests: cleanup security-private-tmp properly 1550 - overlord/devicestate,boot: do not hold to the originally read 1551 modeenv 1552 - dirs: rm RunMnt; boot: add vars for early boot env layout; 1553 sysconfig: take targetdir arg 1554 - cmd/snap-bootstrap/initramfs-mounts/tests: use dirs.RunMnt over 1555 s.runMnt 1556 - tests: add regression test for MAAS refresh bug 1557 - errtracker: add missing mocks 1558 - github: apt-get update before installing build-deps 1559 - github: don't fail-fast 1560 - github: run spread via github actions 1561 - boot,many: add modeenv.WriteTo, make Write take no args 1562 - wrappers: fix timer schedules that are days only 1563 - tests/main/snap-seccomp-syscalls: install gperf 1564 - github: always checkout to snapcore/snapd 1565 - github: add prototype workflow running unit tests 1566 - many: improve comments, naming, a possible TODO 1567 - client: use Assert when checking for error 1568 - tests: ensure sockets target is ready in session agent spread 1569 tests 1570 - osutil: do not leave processes behind after the test run 1571 - tests: update proxy-no-core to match latest CDN changes 1572 - devicestate,sysconfig: support "cloud.cfg.d" in uc20 for grade: 1573 dangerous 1574 - cmd/snap-failure,tests: try to make snap-failure more robust 1575 - many: fix packages having mistakenly their copyright as doc 1576 - many: enumerate system seeds, return them on the /v2/systems API 1577 endpoint 1578 - randutil: don't consume kernel entropy at init, just mix more info 1579 to try to avoid fleet collisions 1580 - snap-bootstrap: add creationSupported predicate for partition 1581 types 1582 - tests: umount partitions which are not umounted after remount 1583 gadget 1584 - snap: run gofmt -s 1585 - many: improve environment handling, fixing duplicate entries 1586 - boot_test: add many boot robustness tests for UC20 kernel 1587 MarkBootSuccessul and SetNextBoot 1588 - overlord: remove unneeded overlord.MockPruneInterval() mocks 1589 - interfaces/greengrass-support: fix typo 1590 - overlord,timings,daemon: separate timings from overlord/state 1591 - tests: enable nested on core20 and test current branch 1592 - snap-bootstrap: remove created partitions on reinstall 1593 - boot: apply Go 1.10 formatting 1594 - apparmor: use rw for uuidd request to default and remove from 1595 elsewhere 1596 - packaging: add README.source for debian 1597 - tests: cleanup various uc20 boot tests from previous PR 1598 - devicestate: disable cloud-init by default on uc20 1599 - run-checks: tweak formatting checks 1600 - packaging,tests: ensure debian-sid builds without vendor/ 1601 - travis.yml: run unit tests with go/master as well* travis.yml: run 1602 unit tests with go/master as well 1603 - seed: make Brand() part of the Seed interface 1604 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 1605 - daemon: do a forceful server shutdown if we hit a deadline 1606 - tests/many: don't use StartLimitInterval anymore, unify snapd- 1607 failover variants, build snapd snap for UC16 tests 1608 - snap-seccomp: robustness improvements 1609 - run-tests: disable -v for go test to avoid spaming the logs 1610 - snap: whitelist lzo as support compression for snap pack 1611 - snap: tweak comment in Install() for overlayfs detection 1612 - many: introduce snapdenv.Preseeding instead of release.PreseedMode 1613 - client, daemon, overlord/devicestate: structures and stubs for 1614 systems API 1615 - o/devicestate: delay the creation of mark-seeded task until 1616 asserts are loaded 1617 - data/selinux, tests/main/selinux: cleanup tmpfs operations in the 1618 policy, updates 1619 - interfaces/greengrass-support: add new 1.9 access 1620 - snap: do not hardlink on overlayfs 1621 - boot,image: ARM kernel extract prepare image 1622 - interfaces: make gpio robust against not-existing gpios in /sys 1623 - cmd/snap-preseed: handle --reset flag 1624 - many: introduce snapdenv to present common snapd env options 1625 - interfaces/kubernetes-support: allow autobind to journald socket 1626 - snap-seccomp: allow mprotect() to unblock the tests 1627 - tests/lib/reset: workaround unicode dot in systemctl output 1628 - interfaces/udisks2: also allow Introspection on 1629 /org/freedesktop/UDisks/** 1630 - snap: introduce Container.RandomAccessFile 1631 - o/ifacestate, api: implementation of snap disconnect --forget 1632 - cmd/snap: make the portal-info command search for the network- 1633 status interface 1634 - interfaces: work around apparmor_parser slowness affecting uio 1635 - tests: fix/improve failing spread tests 1636 - many: clean separation of bootenv mocking vs mock bootloader kinds 1637 - tests: mock prune ticker in overlord tests to reduce wait times 1638 - travis: disable arm64 again 1639 - httputil: add support for extra snapd certs 1640 - travis.yml: run unit tests on arm64 as well 1641 - many: fix a pair of ineffectual assignments 1642 - tests: add uc20 kernel snap upgrade managers test, fix 1643 bootloadertest bugs 1644 - o/snapstate: set base in SnapSetup on snap revert 1645 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 1646 - cmd/snap-exec: add test case for LP bug 1860369 1647 - interfaces: make the network-status interface implicit on 1648 classic 1649 - interfaces: power control interfaceIt is documented in the 1650 kernel 1651 - interfaces: miscellaneous policy updates 1652 - cmd/snap: add a "snap routine portal-info" command 1653 - usersession/userd: add "apt" to the white list of URL schemes 1654 handled by xdg-open 1655 - interfaces/desktop: allow access to system prompter interface 1656 - devicestate: allow encryption regardless of grade 1657 - tests: run ipv6 network-retry test too 1658 - tests: test that after "remove-user" the system is unmanaged 1659 - snap-confine: unconditionally add /dev/net/tun to the device 1660 cgroup 1661 - snapcraft.yaml: use sudo -E and remove workaround 1662 - interfaces/audio_playback: Fix pulseaudio config access 1663 - ovelord/snapstate: update only system wide fonts cache 1664 - wrappers: import /etc/environment in all services 1665 - interfaces/u2f: Add Titan USB-C key 1666 - overlord, taskrunner: exit on task/ensure error when preseeding 1667 - tests: add session-tool, a su / sudo replacement 1668 - wrappers: add mount unit dependency for snapd services on core 1669 devices 1670 - tests: just remove user when the system is not managed on create- 1671 user-2 test 1672 - snap-preseed: support for preseeding of snapd and core18 1673 - boot: misc UC20 changes 1674 - tests: adding arch-linux execution 1675 - packaging: revert "work around review-tools and snap-confine" 1676 - netlink: fix panic on arm64 with the new rawsockstop codewith a 1677 nil Timeval panics 1678 - spread, data/selinux: add CentOS 8, update policy 1679 - tests: updating checks to new test account for snapd-test snaps 1680 - spread.yaml: mv opensuse 15.1 to unstable 1681 - cmd/snap-bootstrap,seed: verify only in-play snaps 1682 - tests: use ipv4 in retry-network to unblock failing master 1683 - data/systemd: improve the description 1684 - client: add "Resume" to DownloadOptions and new test 1685 - tests: enable snapd-failover on uc20 1686 - tests: add more debug output to the snapd-failure handling 1687 - o/devicestate: unset recovery_system when done seeding 1688 1689 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 May 2020 17:17:57 +0200 1690 1691 snapd (2.44.5) xenial; urgency=medium 1692 1693 * New upstream release, LP: #1864808 1694 - spread.yaml: adding more workers for ubuntu 20.04 1695 - packaging: stop depending on python-docutils on opensuse 1696 - spread.yaml: do not run ubuntu-core-20-64 with snapd 2.44, snapd 1697 is not recent enough to drive ubuntu-core-20 1698 - spread.yaml: Preserve size for centos images on spread.yaml 1699 - spread.yaml: use non-uefi enabled image for uc20 1700 - tests: ensure $cache_dir is actually available 1701 - tests: disable preseed tests, they work in master but require too 1702 much cherry-picking here 1703 - travis.yml: remove go/master unit tests from 2.44 1704 1705 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 30 Apr 2020 09:09:22 +0200 1706 1707 snapd (2.44.4) xenial; urgency=medium 1708 1709 * New upstream release, LP: #1864808 1710 - packaging/fedora: disable FIPS compliant crypto for static 1711 binaries 1712 - interfaces/firewall-control: allow -legacy and -nft for core20 1713 - seccomp: add get_tls, io_pg* and *time64/*64 variants for existing 1714 syscalls 1715 - tests: 16.04 and 18.04 now have mediating pulseaudio 1716 - tests: ignore user@12345.service hierarchy 1717 1718 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 Apr 2020 08:32:56 +0200 1719 1720 snapd (2.44.3) xenial; urgency=medium 1721 1722 * New upstream release, LP: #1864808 1723 - tests: fix racy pulseaudio tests 1724 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 1725 - tests: update snap-preseed --reset logic 1726 - tests: backport partition fixes 1727 - cmd/snap: don't wait for system key when stopping 1728 - interfaces/many: miscellaneous policy updates xliv 1729 - tests/main/uc20-snap-recovery: use 20.04 system 1730 - tests: skip "/etc/machine-id" in "writablepaths 1731 - interfaces/docker-support: add overlays file access 1732 1733 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 10 Apr 2020 16:57:25 +0200 1734 1735 snapd (2.44.2) xenial; urgency=medium 1736 1737 * New upstream release, LP: #1864808 1738 - packaging: detect/disable broken seeds in the postinst 1739 - cmd/snap,seed: validate full seeds (UC 16/18) 1740 - snap: add `snap debug state --is-seeded` helper 1741 - devicestate: generate warning if seeding fails 1742 - store: support for search API v2 1743 - cmd/snap-seccomp/syscalls: update the list of known syscalls 1744 - snap/cmd: the model command needs just a client, no waitMixin 1745 - tests: cleanup security-private-tmp properly 1746 - wrappers: fix timer schedules that are days only 1747 - tests: update proxy-no-core to match latest CDN changes 1748 - cmd/snap-failure,tests: make snap-failure more robust 1749 - tests, many: don't use StartLimitInterval anymore, unify snapd- 1750 failover variants, build snapd snap for UC16 tests 1751 1752 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Apr 2020 09:51:34 +0200 1753 1754 snapd (2.44.1) xenial; urgency=medium 1755 1756 * New upstream release, LP: #1864808 1757 - randutil: switch back to setting up seed with lower entropy data 1758 - interfaces/greengrass-support: fix typo 1759 - packaging,tests: ensure debian-sid builds without vendor/ 1760 - travis.yml: run unit tests with go/master as well 1761 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 1762 1763 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 21 Mar 2020 18:32:12 +0100 1764 1765 snapd (2.44) xenial; urgency=medium 1766 1767 * New upstream release, LP: #1864808 1768 - daemon: do a forceful serer shutdown if we hit a deadline 1769 - snap: whitelist lzo as support compression for snap pack 1770 - data/selinux: update policy to allow more ops 1771 - interfaces/greengrass-support: add new 1.9 access 1772 - snap: do not hardlink on overlayfs 1773 - cmd/snap-preseed: handle --reset flag 1774 - interfaces/kubernetes-support: allow autobind to journald socket 1775 - snap-seccomp: allow mprotect() to unblock the tests 1776 - tests/lib/reset: workaround unicode dot in systemctl output 1777 - interfaces: work around apparmor_parser slowness affecting uio 1778 - interfaces/udisks2: also allow Introspection on 1779 /org/freedesktop/UDisks2/** 1780 - tests: mock prune ticker in overlord tests to reduce wait times 1781 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 1782 - interfaces: miscellaneous policy updates 1783 - interfaces/audio_playback: Fix pulseaudio config access 1784 - overlord: disable Test..AbortShortlyAfterStartOfOperation for 2.44 1785 - ovelord/snapstate: update only system wide fonts cache 1786 - wrappers: import /etc/environment in all services 1787 - interfaces/u2f: Add Titan USB-C key 1788 - overlord, taskrunner: exit on task/ensure error when preseeding 1789 - overlord/snapstate/backend: update snapd services contents in unit 1790 tests 1791 - wrappers: add mount unit dependency for snapd services on core 1792 devices 1793 - Revert "tests: remove /tmp/snap.* left over by other tests" 1794 - Revert "packaging: work around review-tools and snap-confine" 1795 - netlink: fix panic on arm64 with the new rawsockstop code 1796 - spread, data/selinux: add CentOS 8, update policy 1797 - spread.yaml: mv opensuse tumbleweed to unstable too 1798 - spread.yaml: mv opensuse 15.1 to unstable 1799 - tests: use ipv4 in retry-network to unblock failing master 1800 - data/systemd: improve the description 1801 - tests/lib/prepare.sh: simplify, combine code paths 1802 - tests/main/user-session-env: add test verifying environment 1803 variables inside the user session 1804 - spread.yaml: make qemu ubuntu-core-20-64 use ubuntu-20.04-64 1805 - run-checks: SKIP_GMFMT really skips formatting checks 1806 - tests: enable more tests for UC20/UC18 1807 - tests: remove tmp dir for snap not-test-snapd-sh on security- 1808 private-tmp test 1809 - seed,cmd/snap-bootstrap: introduce seed.Snap.EssentialType, 1810 simplify bootstrap code 1811 - snapstate: do not restart in undoLinkSnap unless on first install 1812 - cmd/snap-bootstrap: subcommand to detect UC chooser trigger 1813 - cmd/snap-bootstrap/initramfs-mounts: mount the snapd snap in run- 1814 mode too 1815 - cmd/libsnap, tests: fix C unit tests failing as non-root 1816 - cmd/snap-bootstrap: verify kernel snap is in modeenv before 1817 mounting it 1818 - tests: adding amazon linux to google backend 1819 - cmd/snap-failure/snapd: rm snapd.socket, reset snapd.socket failed 1820 status 1821 - client: add support for "ResumeToken", "HeaderPeek" to download 1822 - build: enable type: snapd 1823 - tests: rm -rf /tmp/snap.* in restore 1824 - cmd/snap-confine: deny snap-confine to load nss libs 1825 - snapcraft.yaml: add comments, rename snapd part to snapd-deb 1826 - boot: write current_kernels in bootstate20, makebootable 1827 - packaging: work around review-tools and snap-confine 1828 - tests: skipping interfaces-openvswitch on centos due to package is 1829 not available 1830 - packaging,snap-confine: stop being setgid root 1831 - cmd/snap-confine: bring /var/lib/dhcp from host, if present 1832 - store: rely on CommandFromSystemSnap to find xdelta3 1833 - tests: bump sleep time of the new overlord tests 1834 - cmd/snap-preseed: snapd version check for the target 1835 - netlink: fix/support stopping goroutines reading netlink raw 1836 sockets 1837 - tests: reset PS1 before possibly interactive dash 1838 - overlord, state: don't abort changes if spawn time before 1839 StartOfOperationTime (2/2) 1840 - snapcraft.yaml: add python3-apt, tzdata as build-deps for the 1841 snapd snap 1842 - tests: ask tar to speak English 1843 - tests: using google storage when downloading ubuntu cloud images 1844 from gce 1845 - Coverity produces false positives for code like this: 1846 - many: maybe restart & security backend options 1847 - o/standby: add SNAPD_STANDBY_WAIT to control standby in 1848 development 1849 - snap: use the actual staging snap-id for snapd 1850 - cmd/snap-bootstrap: create a new parser instance 1851 - snapcraft.yaml: use build-base and adopt-info, rm builddeb 1852 plugin 1853 - tests: set StartLimitInterval in snapd failover test 1854 - tests: disable archlinux system 1855 - tests: add preseed test for classic 1856 - many, tests: integrate all preseed bits and add spread tests 1857 - daemon: support resuming downloads 1858 - tests: use Filename() instead of filepath.Base(sn.MountFile()) 1859 - tests/core: add swapfiles test 1860 - interfaces/cpu-control: allow to control cpufreq tunables 1861 - interfaces: use commonInteface for desktopInterface 1862 - interfaces/{desktop-legacy,unity7}: adjust for new ibus socket 1863 location 1864 - snap/info: add Filename 1865 - bootloader: make uboot a RecoveryAwareBootloader 1866 - gadget: skip update when mounted filesystem content is identical 1867 - systemd: improve is-active check for 'failed' services 1868 - boot: add current_kernels to modeenv 1869 - o/devicestate: StartOfOperationTime helper for Prune (1/2) 1870 - tests: detect LXD launching i386 containers 1871 - tests: move main/ubuntu-core-* tests to core/ suite 1872 - tests: remove snapd in ubuntu-core-snapd 1873 - boot: enable base snap updates in bootstate20 1874 - tests: Fix core revert channel after 2.43 has been released to 1875 stable 1876 - data/selinux: unify tabs/spaces 1877 - o/ifacestate: move ResolveDisconnect to ifacestate 1878 - spread: move centos to stable systems 1879 - interfaces/opengl: allow datagrams to nvidia-driver 1880 - httputil: add NoNetwork(err) helper, spread test and use in serial 1881 acquire 1882 - store: detect if server does not support http range headers 1883 - test/lib/user: add helper lib for doing things for and as a user 1884 - overlord/snapstate, wrappers: undo of snapd on core 1885 - tests/main/interfaces-pulseaudio: use custom pulseaudio script, 1886 set kill timeout 1887 - store: add support for resume in DownloadStream 1888 - cmd/snap: implement 'snap remove-user' 1889 - overlord/devicestate: fix preseed unit tests on systems not using 1890 /snap 1891 - tests/main/static: ldd in glibc 2.31 logs to stderr now 1892 - run-checks, travis: allow skipping spread jobs by adding a label 1893 - tests: add new backend which includes images with tpm support 1894 - boot: use constants for boot status values 1895 - tests: add "core" suite for UC specific tests 1896 - tests/lib/prepare: use a local copy of uc20 initramfs skeleton 1897 - tests: retry mounting the udisk2 device due to timing issue 1898 - usersession/client: add a client library for the user session 1899 agent 1900 - o/devicestate: Handle preseed mode in the firstboot mode (core16 1901 only for now). 1902 - boot: add TryBase and BaseStatus to modeenv; use in snap-bootstrap 1903 - cmd/snap-confine: detect base transitions on core16 1904 - boot: don't use "kernel" from the modeenv anymore 1905 - interfaces: add uio interface 1906 - tests: repack the initramfs + kernel snap for UC20 spread tests 1907 - interfaces/greengrass-support: add /dev/null -> 1908 /proc/latency_stats mount 1909 - httputil: remove workaround for redirect handling in go1.7 1910 - httputil: remove go1.6 transport workaround 1911 - snap: add `snap pack --compression=<comp>` options 1912 - tests/lib/prepare: fix hardcoded loopback device names for UC 1913 images 1914 - timeutil: add a unit test case for trivial schedule 1915 - randutil,o/snapstate,-mkauthors.sh: follow ups to randutil 1916 introduction 1917 - dirs: variable with distros using alternate snap mount 1918 - many,randutil: centralize and streamline our random value 1919 generation 1920 - tests/lib/prepare-restore: Revert "Continue on errors updating or 1921 installing dependencies" 1922 - daemon: Allow clients to call /v2/logout via Polkit 1923 - dirs: manjaro-arm is like manjaro 1924 - data, packaging: Add sudoers snippet to allow snaps to be run with 1925 sudo 1926 - daemon, store: better expose single action errors 1927 - tests: switch mount-ns test to differential data set 1928 - snapstate: refactor things to add the re-refresh task last 1929 - daemon: drop support for the DELETE method 1930 - client: move to /v2/users; implement RemoveUser 1931 - boot: enable UC20 kernel extraction and bootState20 handling 1932 - interfaces/policy: enforce plug-names/slot-names constraints 1933 - asserts: parse plug-names/slot-names constraints 1934 - daemon: make users result more consistent 1935 - cmd/snap-confine,tests: support x.y.z nvidia version 1936 - dirs: fixlet for XdgRuntimeDirGlob 1937 - boot: add bootloader options to coreKernel 1938 - o/auth,daemon: do not remove unknown user 1939 - tests: tweak and enable tests on ubuntu 20.04 1940 - daemon: implement user removal 1941 - cmd/snap-confine: allow snap-confine to link to libpcre2 1942 - interfaces/builtin: Allow NotificationReplied signal on 1943 org.freedesktop.Notifications 1944 - overlord/auth: add RemoveUserByName 1945 - client: move user-related things to their own files 1946 - boot: tweak kernel cmdline helper docstring 1947 - osutil: implement deluser 1948 - gadget: skip update when raw structure content is unchanged 1949 - boot, cmd/snap, cmd/snap-bootstrap: move run mode and system label 1950 detection to boot 1951 - tests: fix revisions leaking from snapd-refresh test 1952 - daemon: refactor create-user to a user action & hide behind a flag 1953 - osutil/tests: check there are no leftover symlinks with 1954 AtomicSymlink 1955 - grub: support atomically renaming kernel symlinks 1956 - osutil: add helpers for creating symlinks and renaming in an 1957 atomic manner 1958 - tests: add marker tag for core 20 test failure 1959 - tests: fix gadget-update-pc test leaking snaps 1960 - tests: remove revision leaking from ubuntu-core-refresh 1961 - tests: remove revision leaking from remodel-kernel 1962 - tests: disable system-usernames test on core20 1963 - travis, tests, run-checks: skip nakedret 1964 - tests: run `uc20-snap-recovery-encrypt` test on 20.04-64 as well 1965 - tests: update mount-ns test tables 1966 - snap: disable auto-import in uc20 install-mode 1967 - tests: add a command-chain service test 1968 - tests: use test-snapd-upower instead of upower 1969 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 1970 - spread.yaml: fix ubuntu 19.10 and 20.04 names 1971 - debian: check embedded keys for snap-{bootstrap,preseed} too 1972 - interfaces/apparmor: fix doc-comments, unnecessary code 1973 - o/ifacestate,o/devicestatate: merge gadget-connect logic into 1974 auto-connect 1975 - bootloader: add ExtractedRunKernelImageBootloader interface, 1976 implement in grub 1977 - tests: add spread test for hook permissions 1978 - cmd/snap-bootstrap: check device size before boostrapping and 1979 produce a meaningful error 1980 - cmd/snap: add ability to register "snap routine" commands 1981 - tests: add a test demonstrating that snaps can't access the 1982 session agent socket 1983 - api: don't return connections referring to non-existing 1984 plugs/slots 1985 - interfaces: refactor path() from raw-volume into utils with 1986 comments for old 1987 - gitignore: ignore snap files 1988 - tests: skip interfaces-network-manager on arm devices 1989 - o/devicestate: do not create perfTimings if not needed inside 1990 ensureSeed/Operational 1991 - tests: add ubuntu 20.04 to the tests execution and remove 1992 tumbleweed from unstable 1993 - usersession: add systemd user instance service control to user 1994 session agent 1995 - cmd/snap: print full channel in 'snap list', 'snap info' 1996 - tests: remove execution of ubuntu 19.04 from google backend 1997 - cmd/snap-boostrap: add mocking for fakeroot 1998 - tests/core18/snapd-failover: collect more debug info 1999 - many: run black formatter on all python files 2000 - overlord: increase settle timeout for slow machines 2001 - httputil: use shorter timeout in TestRetryRequestTimeoutHandling 2002 - store, o/snapstate: send default-tracks header, use 2003 RedirectChannel 2004 - overlord/standby: fix possible deadlock in standby test 2005 - cmd/snap-discard-ns: fix pattern for .info files 2006 - boot: add HasModeenv to Device 2007 - devicestate: do not allow remodel between core20 models 2008 - bootloader,snap: misc tweaks 2009 - store, overlord/snapstate, etc: SnapAction now returns a []…Result 2010 - snap-bootstrap: create encrypted partition 2011 - snap: remove "host" output from `snap version` 2012 - tests: use snap remove --purge flag in most of the spread tests 2013 - data/selinux, test/main/selinux-clean: update the test to cover 2014 more scenarios 2015 - many: drop NameAndRevision, use snap.PlaceInfo instead 2016 - boot: split MakeBootable tests into their own file 2017 - travis-ci: add go import path 2018 - boot: split MakeBootable implementations into their own file 2019 - tests: enable a lot of the tests of main on uc20 2020 - packaging, tests: stop services in prerm 2021 - tests: enable regression suite on core20 2022 - overlord/snapstate: improve snapd snap backend link unit tests 2023 - boot: implement SetNextBoot in terms of bootState.setNext 2024 - wrappers: write and undo snapd services on core 2025 - boot,o/devicestate: refactor MarkBootSuccessful over bootState 2026 - snap-bootstrap: mount the correct snapd snap to /run/mnt/snapd 2027 - snap-bootstrap: refactor partition creation 2028 - tests: use new snapd.spread-tests-run-mode-tweaks.service unit 2029 - tests: add core20 tests 2030 - boot,o/snapstate: SetNextBoot/LinkSnap return whether to reboot, 2031 use the information 2032 - tests/main/snap-sign: add test for non-stdin signing 2033 - snap-bootstrap: trigger udev after filesystem creation 2034 - boot,overlord: introduce internal abstraction bootState and use it 2035 for InUse/GetCurrentBoot 2036 - overlord/snapstate: tracks are now sticky 2037 - cmd: sign: add filename param 2038 - tests: remove "test-snapd-tools" in smoke/sandbox on restore 2039 - cmd/snap, daemon: stop over-normalising channels 2040 - tests: fix classic-ubuntu-core-transition-two-cores after refactor 2041 of MATCH -v 2042 - packaging: ship var/lib/snapd/desktop/applications in the pkg 2043 - spread: drop copr repo with F30 build dependencies 2044 - tests: use test-snapd-sh snap instead of test-snapd-tools - Part 3 2045 - tests: fix partition creation test 2046 - tests: unify/rename services-related spread tests to start with 2047 services- prefix 2048 - test: extract code that modifies "writable" for test prep 2049 - systemd: handle preseed mode 2050 - snap-bootstrap: read only stdout when parsing the sfdisk json 2051 - interfaces/browser-support: add more product/vendor paths 2052 - boot: write compat UC16 bootvars in makeBootable20RunMode 2053 - devicestate: avoid adding mockModel to deviceMgrInstallModeSuite 2054 - devicestate: request reboot after successful doSetupRunSystem() 2055 - snapd.core-fixup.sh: do not run on UC20 at all 2056 - tests: unmount automounted snap-bootstrap devices 2057 - devicestate: run boot.MakeBootable in doSetupRunSystem 2058 - boot: copy kernel/base to data partition in makeBootable20RunMode 2059 - tests: also check nested lxd container 2060 - run-checks: complain about MATCH -v 2061 - boot: always return the trivial boot participant in ephemeral mode 2062 - o/devicestate,o/snapstate: move the gadget.yaml checkdrive-by: use 2063 gadget.ReadInfoFromSnapFile in checkGadgetRemodelCompatible 2064 - snap-bootstrap: append new partitions 2065 - snap-bootstrap: mount filesystems after creation 2066 - snapstate: do not try to detect rollback in ephemeral modes 2067 - snap-bootstrap: trigger udev for new partitions 2068 - cmd/snap-bootstrap: xxx todos about kernel cross-checks 2069 - tests: avoid mask rsyslog service in case is not enabled on the 2070 system 2071 - tests: fix use of MATCH -v 2072 - cmd/snap-preseed: update help strings 2073 - cmd/snap-bootstrap: actually parse snapd_recovery_system label 2074 - bootstrap: reduce runmode mounts from 5 to 2 steps. 2075 - lkenv.go: adjust for new location of include file 2076 - snap: improve squashfs.ReadFile() error 2077 - systemd: fix uc20 shutdown 2078 - boot: write modeenv when creating the run mode 2079 - boot,image: add skeleton boot.makeBootable20RunMode 2080 - cmd/snap-preseed: add snap-preseed executable 2081 - overlord,boot: follow ups to #7889 and #7899 2082 - interfaces/wayland: Add access to Xwayland's shm files 2083 - o/hookstate/ctlcmd: fix command name in snapctl -h 2084 - daemon,snap: remove screenshot deprecation notice 2085 - overlord,o/snapstate: make sure we never leave config behind 2086 - many: pass consistently boot.Device state to boot methods 2087 - run-checks: check multiline string blocks in 2088 restore/prepare/execute sections of spread tests 2089 - intrefaces: login-session-control - added missing dbus commands 2090 - tests/main/parallel-install-remove-after: parallel installs should 2091 not break removal 2092 - overlord/snapstate: tweak assumes error hint 2093 - overlord: replace DeviceContext.OldModel with GroundContext 2094 - devicestate: use httputil.ShouldRetryError() in 2095 prepareSerialRequest 2096 - tests: replace "test-snapd-base-bare" with real "bare" base snap 2097 - many: pass a Model to the gadget info reading functions 2098 - snapstate: relax gadget constraints in ConfigDefaults Et al. 2099 - devicestate: only run ensureBootOk() in "run" mode 2100 - tests/many: quiet lxc launching, file pushing 2101 - tests: disable apt-hooks test until it can be properly fixed 2102 - tests: 16.04 and 18.04 now have mediating pulseaudio 2103 2104 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 17 Mar 2020 20:55:47 +0100 2105 2106 snapd (2.43.3) xenial; urgency=medium 2107 2108 * New upstream release, LP: #1856159 2109 - interfaces/opengl: allow datagrams to nvidia-driver 2110 - httputil: add NoNetwork(err) helper, spread test and use 2111 in serial acquire 2112 - interfaces: add uio interface 2113 - interfaces/greengrass-support: 'aws-iot-greengrass' snap fails to 2114 start due to apparmor deny on mounting of "/proc/latency_stats". 2115 - data, packaging: Add sudoers snippet to allow snaps to be run with 2116 sudo 2117 2118 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 12 Feb 2020 14:59:15 +0100 2119 2120 snapd (2.43.2) xenial; urgency=medium 2121 2122 * New upstream release, LP: #1856159 2123 - cmd/snap-confine: Revert #7421 (unmount /writable from snap view) 2124 - overlord/snapstate: fix for re-refresh bug 2125 - tests, run-checks, many: fix nakedret issues 2126 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 2127 - tests: use test-snapd-upower instead of upower 2128 - overlord: increase overall settle timeout for slow arm boards 2129 2130 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 28 Jan 2020 15:50:25 +0100 2131 2132 snapd (2.43.1) xenial; urgency=medium 2133 2134 * New upstream release, LP: #1856159 2135 - devicestate: use httputil.ShouldRetryError() in prepareSerialRequest 2136 - overlord/standby: fix possible deadlock in standby test 2137 - cmd/snap-discard-ns: fix pattern for .info files 2138 - overlord,o/snapstate: make sure we never leave config behind 2139 - data/selinux: update policy to cover more cases 2140 - snap: remove "host" output from `snap version` 2141 2142 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 14 Jan 2020 20:30:07 +0100 2143 2144 snapd (2.43) xenial; urgency=medium 2145 2146 * New upstream release, LP: #1856159 2147 - snap: default to "--direct" in `snap known` 2148 - packaging: ship var/lib/snapd/desktop/applications in the 2149 pkg 2150 - tests: cherry-pick fixes for snap-set-core-config/ubuntu-core- 2151 config-defaults-once 2152 - tests: use test-snapd-sh snap instead of test-snapd-tools 2153 - tests: rename "test-snapd-sh" in smoke test to test-snapd-sandbox 2154 - tests: fix partition creation test 2155 - packaging: fix incorrect changelog entry 2156 - Revert "tests: 16.04 and 18.04 now have mediating pulseaudio" 2157 - tests: 16.04 and 18.04 now have mediating pulseaudio 2158 - interfaces: include hooks in plug/slot apparmor label 2159 - interfaces: add raw-volume interface for access to partitions 2160 - image: set recovery system label when creating the image 2161 - cmd/snapd-generator: fix unit name for non /snap mount locations 2162 - boot,bootloader: setup the snap recovery system bootenv 2163 - seed: support ModeSnaps(mode) for mode != "run" 2164 - seed: fix seed location of local but asserted snaps 2165 - doc: HACKING.md change autopkgtest-trusty-amd64.img name 2166 - interfaces/seccomp: parallelize seccomp backend setup 2167 - cmd/snap-bootstrap: mount ubuntu-data tmpfs, in one go with kernel 2168 & base 2169 - interfaces: add audio-playback/record and pulseaudio spread tests 2170 - apparmor: allow 'r' 2171 /sys/kernel/mm/transparent_hugepage/hpage_pmd_size 2172 - cmd/snap-mgmt, packaging/postrm: stop and remove socket units when 2173 purging 2174 - tests: use test-snapd-sh snap instead of test-snapd-tools 2175 - snap-confine: raise egid before calling setup_private_mount() 2176 - tests: fix fwupd version regular expression 2177 - snap-bootstrap: parse seed if either kernel or base are not 2178 mounted 2179 - tests: check for SELinux denials in interfaces-kvm spread test 2180 - tests: run snap-set-core-config on all core devices 2181 - selinux: update policy to allow modifications related to kmod 2182 backend 2183 - o/hookstate/ctlcmd: snapctl is-connected command 2184 - devicestate: add missing test for failing task setup-run-system 2185 - gadget: add missing test for duplicate detection of roles 2186 - tests/cmd/snapctl: unset SNAP_CONTEXT for the suite 2187 - snap/pack, cmd_pack: 'snap pack --check-skeleton' checks 2188 interfaces 2189 - gitignore: ignore visual studio code directory 2190 - snap-bootstrap: implement "run" mode in snap-bootstrap initramfs- 2191 mounts 2192 - interfaces/apparmor: handle pre-seeding mode 2193 - devicestate: implement creating partitions in "install" mode 2194 - seed: support extra snaps on top of Core 20 dangerous models 2195 - tests: cache snaps also for ubuntu core and add new snaps to cache 2196 - snap-bootstrap: support auto-detect device in create-partitions 2197 - tests: fix partitioning test debug message 2198 - tests: prevent partitioning test errors 2199 - cmd/snap-bootstrap: stub out snap.SanitizePlugsSlots for real 2200 - gadget: extract and export new DiskFromPartition() helper 2201 - snap-bootstrap: force partition table operations 2202 - HACKING.md: add nvidia options to configure example 2203 - tests: move the watchdog timeout to 2s to make the tests work in 2204 rpi 2205 - tests: demand silence from check_journalctl_log 2206 - tests: fix the channels checks done on nested tests 2207 - tests: reduce the complexity of the test-snapd-sh snap 2208 - snap/squashfs, osutil: verify files/dirs can be accessed by 2209 mksquashfs when building a snap 2210 - boot: add boot.Modeenv.Kernel support 2211 - devicestate: ensure system installation 2212 - tests: apply change on permissions to serial port on hotplug test 2213 - cmd/snap-update-ns: adjust debugging output for usability 2214 - devicestate: add reading of modeenv to uc20 firstboot code 2215 - tests/lib/prepare: drop workarounds for rpmbuild rewriting /bin/sh 2216 - cmd/snap-bootstrap: write /var/lib/snapd/modeenv to the right 2217 place 2218 - boot: add boot.Modeenv.Base support 2219 - overlord/snapstate: install task edges 2220 - cmd/snap-bootstrap: some small naming and code org tweaks 2221 - snap-bootstrap: remove SNAPPY_TESTING check, we use it for real 2222 now 2223 - interfaces: remove leftover reservedForOS 2224 - snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv 2225 - osutil/mount: optimize flagOptSearch some more 2226 - devicestate: read modeenv early and store in devicestate 2227 - interfaces: add login-session-observe for who, {fail,last}log and 2228 loginctl 2229 - tests: add Ubuntu Eoan to google-sru backend 2230 - osutil/mount: de-duplicate code to use a list 2231 - interfaces: remove reservedForOS from commonInterface 2232 - interfaces/browser-support: allow reading status of huge pages 2233 - interfaces: update system-backup tests to not check for sanitize 2234 errors related to os 2235 - interfaces: add system-backup interface 2236 - osutil/mount: add {Unm,M}outFlagsToOpts helpers 2237 - snap-bootstrap: make cmdline parsing robust 2238 - overlord/patch: normalize tracking channel in state 2239 - boot: add boot.Modeenv that can read/write the UC20 modeenv files 2240 - bootloader: add new bootloader.InstallBootConfig() 2241 - many: share single implementation to list needed default-providers 2242 - snap-bootstrap: implement "snap-bootstrap initramfs-mounts" 2243 - seccomp: allow chown 'snap_daemon:root' and 'root:snap_daemon' 2244 - osutil: handle "rw" mount flag in ParseMountEntry 2245 - overlord/ifacestate: report bad plug/slots with warnings on snap 2246 install 2247 - po: sync translations from launchpad 2248 - tests: cleanup most test snaps icons, they were anyway in the 2249 wrong place 2250 - seed: fix confusing pre snapd dates in tests 2251 - many: make ValidateBasesAndProviders signature simpler/canonical 2252 - snap-bootstrap: set expected filesystem labels 2253 - testutil, many: make MockCommand() create prefix of absolute paths 2254 - tests: improve TestDoPrereqRetryWhenBaseInFlight to fix occasional 2255 flakiness. 2256 - seed: proper support for optional snaps for Core 20 models 2257 - many: test various kinds of overriding for the snapd snap in Core 2258 20 2259 - cmd/snap-failure: passthrough snapd logs, add informational 2260 logging 2261 - cmd/snap-failure: fallback to snapd from core, extend tests 2262 - configcore: fix missing error propagation 2263 - devicestate: rename ensureSeedYaml -> ensureSeeded 2264 - tests: adding fedora 31 2265 - tests: restart the snapd service in the snapd-failover test 2266 - seed: Core 20 seeds channel overrides support for grade dangerous 2267 - cmd: fix the get command help message 2268 - tests: enable degraded test on arch linux after latest image 2269 updates 2270 - overlord/snapstate: don't re-enable and start disabled services on 2271 refresh, etc. 2272 - seed: support in Core 20 seeds local unasserted snaps for model 2273 snaps 2274 - snap-bootstrap: add go-flags cmdline parsing and tests 2275 - gadget: skip fakeroot if not needed 2276 - overlord/state: panic in MarkEdge() if task is nil 2277 - spread: fix typo in spread suite 2278 - overlord: mock device serial in gadget remodel unit tests 2279 - tests: fix spread shellcheck and degraded tests to unbreak master 2280 - spread, tests: openSUSE Tumbleweed to unstable systems, update 2281 system-usernames on Amazon Linux 2 2282 - snap: extract printInstallHint in cmd_download.go 2283 - cmd: fix a pair of typos 2284 - release: preseed mode flag 2285 - cmd/snap-confine: tracking processes with classic confinement 2286 - overlord/ifacestate: remove automatic connections if plug/slot 2287 missing 2288 - o/ifacestate,interfaces,interfaces/policy: slots-per-plug: * 2289 - tests/lib/state: snapshot and restore /var/snap during the tests 2290 - overlord: add base->base remodel undo tests and fixes 2291 - seed: test and improve Core 20 seed handling errors 2292 - asserts: add "snapd" type to valid types in the model assertion 2293 - snap-bootstrap: check gadget versus disk partitions 2294 - devicestate: add support for gadget->gadget remodel 2295 - snap/snapenv: preserve XDG_RUNTIME_DIR for classic confinement 2296 - daemon: parse and reject invalid channels in snap ops 2297 - overlord: add kernel remodel undo tests and fix undo 2298 - cmd/snap: support (but warn) using deprecated multi-slash channel 2299 - overlord: refactor mgrsSuite and extract kernelSuite 2300 - tests/docker-smoke: add minimal docker smoke test 2301 - interfaces: extend the fwupd slot to be implicit on classic 2302 - cmd/snap: make 'snap list' shorten latest/$RISK to $RISK 2303 - tests: fix for journalctl which is failing to restart 2304 - cmd/snap,image: initial support for Core 20 in prepare-image with 2305 test 2306 - cmd/snap-confine: add support for parallel instances of classic 2307 snaps, global mount ns initialization 2308 - overlord: add kernel rollback across reboots manager test and 2309 fixes 2310 - o/devicestate: the basics of Core 20 firstboot support with test 2311 - asserts: support and parsing for slots-per-plug/plugs-per-slotSee 2312 https://forum.snapcraft.io/t/plug-slot-declaration-rules-greedy- 2313 plugs/12438 2314 - parts/plugins: don't xz-compress a deb we're going to discard 2315 - cmd/snap: make completion skip hidden commands (unless overridden) 2316 - many: load/consume Core 20 seeds (aka recovery systems) 2317 - tests: add netplan test on ubuntu core 2318 - seed/internal: doc comment fix and drop handled TODOs 2319 - o/ifacestate: unify code into 2320 autoConnectChecker.addAutoConnectionsneed to change to support 2321 slots-per-plugs: * 2322 - many: changes to testing in preparation of Core 20 seed consuming 2323 code 2324 - snapstate,devicestate: make OldModel() available in DeviceContext 2325 - tests: opensuse tumbleweed has similar issue than arch linux with 2326 snap --strace 2327 - client,daemon: pass sha3-384 in /v2/download to the client 2328 - builtin/browser_support.go: allow monitoring process memory 2329 utilization (used by chromium) 2330 - overlord/ifacestate: use SetupMany in setupSecurityByBackend 2331 - tests: add 14.04 canonical-livepatch test 2332 - snap: make `snap known --remote` use snapd if available 2333 - seed: share auxInfo20 and makeSystemSnap via internal 2334 - spread: disable secondary compression for deltas 2335 - interfaces/content: workaround for renamed target 2336 - tests/lib/gendevmodel: helper tool for generating developer model 2337 assertions 2338 - tests: tweak wording in mount-ns test 2339 - tests: don't depend on GNU time 2340 - o/snapstate, etc: SnapState.Channel -> TrackingChannel, and a 2341 setter 2342 - seed/seedwriter: support writing Core 20 seeds (aka recovery 2343 systems) 2344 - snap-recovery: rename to "snap-bootstrap" 2345 - managers: add remodel undo test for new required snaps case 2346 - client: add xerrors and wrap errors coming from "client" 2347 - tests: verify host is not affected by mount-ns tests 2348 - tests: configure the journald service for core systems 2349 - cmd/snap, store: include snapcraft.io page URL in snap info output 2350 - cmd/cmdutil: version helper 2351 - spread: enable bboozzoo/snapd-devel-deps COPR repo for getting 2352 golang-x-xerrors 2353 - interfaces: simplify AddUpdateNS and emit 2354 - interfaces/policy: expand cstrs/cstrs1 to 2355 altConstraints/constraints 2356 - overlord/devicestate: check snap handler for gadget remodel 2357 compatibility 2358 - snap-recovery: deploy gadget content when creating partitions 2359 - gadget: skip structures with MBR role during remodel 2360 - tests: do not use lsblk in uc20-snap-recovery test 2361 - overlord/snapstate: add LastActiveDisabledServices, 2362 missingDisabledServices 2363 - overlord/devicestate: refactor and split into per-functionality 2364 files, drop dead code 2365 - tests: update mount-ns after addition of /etc/systemd/user 2366 - interfaces/pulseaudio: adjust to manually connect by default 2367 - interfaces/u2f-devices: add OnlyKey to devices list 2368 - interfaces: emit update-ns snippets to function 2369 - interfaces/net-setup-{observe,control}: add Info D-Bus method 2370 accesses 2371 - tests: moving ubuntu-19.10-64 from google-unstable to google 2372 backend 2373 - gadget: rename existing and add new helpers for checking 2374 filesystem/partition presence 2375 - gadget, overlord/devicestate: add support for customized update 2376 policy, add remodel policy 2377 - snap-recovery: create filesystems as defined in the gadget 2378 - tests: ignore directories for go modules 2379 - policy: implement CanRemove policy for the snapd type 2380 - overlord/snapstate: skip catalog refresh if unseeded 2381 - strutil: add OrderedSet 2382 - snap-recovery: add minimal binary so that we can use spread on it 2383 - gadget, snap/pack: perform extended validation of gadget metadata 2384 and contents 2385 - timeutil: fix schedules with ambiguous nth weekday spans 2386 - interfaces/many: allow k8s/systemd-run to mount volume subPaths 2387 plus cleanups 2388 - client: add KnownOptions to Know() and support remote assertions 2389 - tests: check the apparmor_parser when the file exists on snap- 2390 confine test 2391 - gadget: helper for volume compatibility checks 2392 - tests: update snap logs to match for multiple lines for "running" 2393 - overlord: add checks for bootvars in 2394 TestRemodelSwitchToDifferentKernel 2395 - snap-install: add ext4,vfat creation support 2396 - snap-recovery: remove "usedPartitions" from sfdisk.Create() 2397 - image,seed: hide Seed16/Snap16, use seed.Open in image_test.go 2398 - cmd/snap: Sort tasks in snap debug timings output by lanes and 2399 ready-time. 2400 - snap-confine.apparmor.in: harden pivot_root until we have full 2401 mediation 2402 - gadget: refactor ensureVolumeConsistency 2403 - gadget: add a public helper for parsing gadget metadata 2404 - many: address issues related to explicit/implicit channels for 2405 image building 2406 - overlord/many: switch order of check snap parameters 2407 - cmd/snap-confine: remove leftover condition from capability world 2408 - overlord: set fake serial in TestRemodelSwitchToDifferentKernel 2409 - overlord/many: extend check snap callback to take snap container 2410 - recovery-tool: add sfdisk wrapper 2411 - tests: launch the lxd images following the pattern 2412 ubuntu:${VERSION_ID} 2413 - sandbox/cgroup: move freeze/thaw code 2414 - gadget: accept system-seed role and ubuntu-data label 2415 - test/lib/names.sh: make backslash escaping explicit 2416 - spread: generate delta when using google backend 2417 - cmd/snap-confine: remove loads of dead code 2418 - boot,dirs,image: various refinements in the prepare-image code 2419 switched to seedwriter 2420 - spread: include mounts list in task debug output 2421 - .gitignore: pair of trivial changes 2422 - image,seed/seedwriter: switch image to use seedwriter.Writer 2423 - asserts: introduce explicit support for grade for Core 20 models 2424 - usersession: drive by fixes for things flagged by unused or 2425 gosimple 2426 - spread.yaml: exclude vendor dir 2427 - sandbox/cgroup, overlord/snapstate: move helper for listing pids 2428 in group to the cgroup package 2429 - sandbox/cgroup: refactor process cgroup helper to support v2 and 2430 named hierarchies 2431 - snap-repair: error if run as non-root 2432 - snap: when running `snap repair` without arguments, show hint 2433 - interfaces: add cgroup-version to system-key 2434 - snap-repair: add missing check in TestRepairBasicRun 2435 - tests: use `snap model` instead of `snap known model` in tests 2436 - daemon: make /v2/download take snapRevisionOptions 2437 - snap-repair: add additional comment about trust in runner.Verify() 2438 - client: add support to use the new "download" API 2439 - interfaces: bump system-key version (and keep on bumping) 2440 - interfaces/mount: account for cgroup version when reporting 2441 supported features 2442 - tests: change regex to validate access to cdn during snap 2443 download 2444 - daemon: change /v2/download API to take "snap-name" as input 2445 - release: make forced dev mode look at cgroupv2 support 2446 - seed/seedwriter: support for extra snaps 2447 - wrappers/services.go: add disabled svc list arg to AddSnapServices 2448 - overlord/snapstate: add SetTaskSnapSetup helper + unit tests 2449 - cmd/libsnap: use cgroup.procs instead of tasks 2450 - tests: fix snapd-failover test for core18 tests on boards 2451 - overlord/snapstate/policy, etc: introduce policy, move canRemove 2452 to it 2453 - seed/seedwriter: cleanups and small left over todos* drive-by: use 2454 testutil.FilePresent consistently 2455 - cmd/snap: update 'snap find' help because it's no longer narrow 2456 - seed/seedwriter,snap/naming: support classic models 2457 - cmd/snap-confine: unmount /writable from snap view 2458 - spread.yaml: exclude automake cacheThe error message is looks like 2459 this:dpkg-source: info: local changes detected, the modified files 2460 are: 2461 - interfaces/openvswitch: allow access to other openvswitch sockets 2462 - cmd/model: don't show model with display-name inline w/ opts 2463 - daemon: add a 'prune' debug action 2464 - client: add doTimeout to http.Client{Timeout} 2465 - interfaces/seccomp: query apparmor sandbox helper rather than 2466 aggregate info 2467 - sandbox/cgroup: avoid dependency on dirs 2468 - seed/seedwriter,snap: support local snaps 2469 - overlord/snapstate: fix undo on firstboot seeding. 2470 - usersession: track connections to session agent for exit on idle 2471 and peer credential checks 2472 - tests: fix ubuntu-core-device-reg test for arm devices on core18 2473 - sandbox/seccomp: move the remaining sandbox bits to a 2474 corresponding sandbox package 2475 - osutil: generalize SyncDir with FileState interface 2476 - daemon, client, cmd/snap: include architecture in 'snap version' 2477 - daemon: allow /v2/assertions/{assertType} to query store 2478 - gadget: do not fail the update when old gadget snap is missing 2479 bare content 2480 - sandbox/selinux: move SELinux related bits from 'release' to 2481 'sandbox/selinux' 2482 - tests: add unit test for gadget defaults with a multiline string 2483 - overlord/snapstate: have more context in the errors about 2484 prerequisites 2485 - httputil: set user agent for CONNECT 2486 - seed/seedwriter: resolve channels using channel.Resolve* for snaps 2487 - run-checks: allow overriding gofmt binary, show gofmt diff 2488 - asserts,seed/seedwriter: follow snap type sorting in the model 2489 assertion snap listings 2490 - daemon: return "snapname_rev.snap" style when using /v2/download 2491 - tests: when the backend is external skip the loop waiting for snap 2492 version 2493 - many: move AppArmor probing code under sandbox/apparmor 2494 - cmd: add `snap debug boot-vars` that dumps the current bootvars 2495 - tests: skip the ubuntu-core-upgrade on arm devices on core18 2496 - seed/seedwriter: implement WriteMeta and tree16 corresponding code 2497 - interfaces/docker-support,kubernetes-support: misc updates for 2498 strict k8s 2499 - tests: restart the journald service while preparing the test 2500 - tests/cmd/debug_state: make the test output TZ independent 2501 - interfaces/kubernetes-support: allow use of /run/flannel 2502 - seed/seedwriter: start of Writer and internal policy16/tree16 2503 - sandbox/cgroup, usersession/userd: move cgroup related helper to a 2504 dedicated package 2505 - tests: move "centos-7" to unstable systems 2506 - snapstate: add missing tests for checkGadgetOrKernel 2507 - docs: Update README.md 2508 - snapcraft: set license to GPL-3.0 2509 - interfaces/wayland: allow a confined server running in a user 2510 session to work with Qt, GTK3 & SDL2 clients 2511 - selinux: move the package under sandbox/selinux 2512 - interfaces/udev: account for cgroup version when reporting 2513 supported features 2514 - store, ..., client: add a "website" field 2515 - sanity: sanity check cgroup probing 2516 - snapstate: increase settleTimeout in 2517 TestRemodelSwitchToDifferentKernel 2518 - packaging: remove obsolete usr.lib.snapd.snap-confine in postinst 2519 - data/selinux: allow snapd/snap to do statfs() on the cgroup 2520 mountpoint 2521 - usersession/userd: make sure to export DBus interfaces before 2522 requesting a name 2523 - data/selinux: allow snapd to issue sigkill to journalctl 2524 - docs: Add Code of Conduct 2525 - store: download propagates options to delta download 2526 - tests/main/listing: account for dots in ~pre suffix 2527 2528 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 09 Jan 2020 17:14:51 +0100 2529 2530 snapd (2.42.5) xenial; urgency=medium 2531 2532 * New upstream release, LP: #1853244 2533 - snap-confine: revert, with comment, explicit unix deny for nested 2534 lxd 2535 - Disable mount-ns test on 16.04. It is too flaky currently. 2536 2537 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 06 Dec 2019 14:10:56 +0100 2538 2539 snapd (2.42.4) xenial; urgency=medium 2540 2541 * New upstream release, LP: #1853244 2542 - overlord/snapstate: make sure configuration defaults are applied 2543 only once 2544 2545 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 28 Nov 2019 06:48:26 +0100 2546 2547 snapd (2.42.3) xenial; urgency=medium 2548 2549 * New upstream release, LP: #1853244 2550 - overlord/snapstate: pick up system defaults when seeding the snapd 2551 snap 2552 - cmd/snap-update-ns: fix overlapping, nested writable mimic 2553 handling 2554 - interfaces: misc updates for u2f-devices, browser-support, 2555 hardware-observe, et al 2556 - tests: reset failing "fwupd-refresh.service" if needed 2557 - tests/main/gadget-update-pc: use a program to modify gadget yaml 2558 - snap-confine: suppress noisy classic snap file_inherit denials 2559 2560 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 27 Nov 2019 12:41:07 +0100 2561 2562 snapd (2.42.2) xenial; urgency=medium 2563 2564 * New upstream release, LP: #1853244 2565 - interfaces/lxd-support: Fix on core18 2566 - tests/main/system-usernames: Amazon Linux 2 comes with libseccomp 2567 2.4.1 now 2568 - snap-seccomp: add missing clock_getres_time64 2569 - cmd/snap-seccomp/syscalls: update the list of known 2570 syscalls 2571 - sandbox/seccomp: accept build ID generated by Go toolchain 2572 - interfaces: allow access to ovs bridge sockets 2573 2574 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 20 Nov 2019 08:09:15 +0100 2575 2576 snapd (2.42.1) xenial; urgency=medium 2577 2578 * New upstream release, LP: #1846181 2579 - interfaces: de-duplicate emitted update-ns profiles 2580 - packaging: tweak handling of usr.lib.snapd.snap-confine 2581 - interfaces: allow introspecting network-manager on core 2582 - tests/main/interfaces-contacts-service: disable on openSUSE 2583 Tumbleweed 2584 - tests/lib/lxd-snapfuse: restore mount changes introduced by LXD 2585 - snap: fix default-provider in seed validation 2586 - tests: update system-usernames test now that opensuse-15.1 works 2587 - overlord: set fake sertial in TestRemodelSwitchToDifferentKernel 2588 - gadget: rename "boot{select,img}" -> system-boot-{select,image} 2589 - tests: listing test, make accepted snapd/core versions consistent 2590 2591 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 30 Oct 2019 13:17:43 +0100 2592 2593 snapd (2.42) xenial; urgency=medium 2594 2595 * New upstream release, LP: #1846181 2596 - tests: disable {contacts,calendar}-service tests on debian-sid 2597 - tests/main/snap-run: disable strace test cases on Arch 2598 - cmd/system-shutdown: include correct prototype for die 2599 - snap/naming: add test for hook name connect-plug-i2c 2600 - cmd/snap-confine: allow digits in hook names 2601 - gadget: do not fail the update when old gadget snap is missing 2602 bare content 2603 - tests: disable {contacts,calendar}-service tests on Arch Linux 2604 - tests: move "centos-7" to unstable systems 2605 - interfaces/docker-support,kubernetes-support: misc updates for 2606 strict k8s 2607 - packaging: remove obsolete usr.lib.snapd.snap-confine in 2608 postinst 2609 - tests: add test that ensures our snapfuse binary actually works 2610 - packaging: use snapfuse_ll to speed up snapfuse performance 2611 - usersession/userd: make sure to export DBus interfaces before 2612 requesting a name 2613 - data/selinux: allow snapd to issue sigkill to journalctl 2614 - store: download propagates options to delta download 2615 - wrappers: allow snaps to install icon theme icons 2616 - debug: state-inspect debugging utility 2617 - sandbox/cgroup: introduce cgroup wrappers package 2618 - snap-confine: fix return value checks for udev functions 2619 - cmd/model: output tweaks, add'l tests 2620 - wrappers/services: add ServicesEnableState + unit tests 2621 - tests: fix newline and wrong test name pointed out in previous PRs 2622 - tests: extend mount-ns test to handle mimics 2623 - run-checks, tests/main/go: allow gofmt checks to be skipped on 2624 19.10 2625 - tests/main/interfaces-{calendar,contacts}-service: disable on 2626 19.10 2627 - tests: part3 making tests work on ubuntu-core-18 2628 - tests: fix interfaces-timeserver-control on 19.10 2629 - overlord/snapstate: config revision code cleanup and extra tests 2630 - devicestate: allow remodel to different kernels 2631 - overlord,daemon: adjust startup timeout via EXTEND_TIMEOUT_USEC 2632 using an estimate 2633 - tests/main/many: increase kill-timeout to 5m 2634 - interfaces/kubernetes-support: allow systemd-run to ptrace read 2635 unconfined 2636 - snapstate: auto transition on experimental.snapd-snap=true 2637 - tests: retry checking until the written file on desktop-portal- 2638 filechooser 2639 - tests: unit test for a refresh failing on configure hook 2640 - tests: remove mount_id and parent_id from mount-ns test data 2641 - tests: move classic-ubuntu-core-transition* to nightly 2642 - tests/mountinfo-tool: proper formatting of opt_fields 2643 - overlord/configstate: special-case "null" in transaction Changes() 2644 - snap-confine: fallback gracefully on a cgroup v2 only system 2645 - tests: debian sid now ships new seccomp, adjust tests 2646 - tests: explicitly restore after using LXD 2647 - snapstate: make progress reporting less granular 2648 - bootloader: little kernel support 2649 - fixme: rename ubuntu*architectures to dpkg*architectures 2650 - tests: run dbus-launch inside a systemd unit 2651 - channel: introduce Resolve and ResolveLocked 2652 - tests: run failing tests on ubuntu eoan due to is now set as 2653 unstable 2654 - systemd: detach rather than unmount .mount units 2655 - cmd/snap-confine: add unit tests for sc_invocation, cleanup memory 2656 leaks in tests 2657 - boot,dirs,image: introduce boot.MakeBootable, use it in image 2658 instead of ad hoc code 2659 - cmd/snap-update-ns: clarify sharing comment 2660 - tests/overlord/snapstate: refactor for cleaner test failures 2661 - cmd/snap-update-ns: don't propagate detaching changes 2662 - interfaces: allow reading mutter Xauthority file 2663 - cmd/snap-confine: fix /snap duplication in legacy mode 2664 - tests: fix mountinfo-tool filtering when used with rewriting 2665 - seed,image,o/devicestate: extract seed loading to seed/seed16.go 2666 - many: pass the rootdir and options to bootloader.Find 2667 - tests: part5 making tests work on ubuntu-core-18 2668 - cmd/snap-confine: keep track of snap instance name and the snap 2669 name 2670 - cmd: unify die() across C programs 2671 - tests: add functions to make an abstraction for the snaps 2672 - packaging/fedora, tests/lib/prepare-restore: helper tool for 2673 packing sources for RPM 2674 - cmd/snap: improve help and error msg for snapshot commands 2675 - hookstate/ctlcmd: fix snapctl set help message 2676 - cmd/snap: don't append / to snap name just because a dir exists 2677 - tests: support fastly-global.cdn.snapcraft.io url on proxy-no-core 2678 test 2679 - tests: add --quiet switch to retry-tool 2680 - tests: add unstable stage for travis execution 2681 - tests: disable interfaces-timeserver-control on 19.10 2682 - tests: don't guess in is_classic_confinement_supported 2683 - boot, etc: simplify BootParticipant (etc) usage 2684 - tests: verify retry-tool not retrying missing commands 2685 - tests: rewrite "retry" command as retry-tool 2686 - tests: move debug section after restore 2687 - cmd/libsnap-confine-private, cmd/s-c: use constants for 2688 snap/instance name lengths 2689 - tests: measure behavior of the device cgroup 2690 - boot, bootloader, o/devicestate: boot env manip goes in boot 2691 - tests: enabling ubuntu 19.10-64 on spread.yaml 2692 - tests: fix ephemeral mount table in left over by prepare 2693 - tests: add version-tool for comparing versions 2694 - cmd/libsnap: make feature flag enum 1<<N style 2695 - many: refactor boot/boottest and move to bootloader/bootloadertest 2696 - tests/cross/go-build: use go list rather than shell trickery 2697 - HACKING.md: clarify where "make fmt" is needed 2698 - osutil: make flock test more robust 2699 - features, overlord: make parallel-installs exported, export flags 2700 on startup 2701 - overlord/devicestate: support the device service returning a 2702 stream of assertions 2703 - many: add snap model command, add /v2/model, /v2/model/serial REST 2704 APIs 2705 - debian: set GOCACHE dir during build to fix FTBFS on eoan 2706 - boot, etc.: refactor boot to have a lookup with different imps 2707 - many: add the start of Core 20 extensions support to the model 2708 assertion 2709 - overlord/snapstate: revert track-risk behavior change and 2710 validation on install 2711 - cmd/snap,image,seed: move image.ValidateSeed to 2712 seed.ValidateFromYaml 2713 - image,o/devicestate,seed: oops, make sure to clear seedtest 2714 helpers 2715 - tests/main/snap-info: update check.py for test-snapd-tools 2.0 2716 - tests: moving tests to nightly suite 2717 - overlord/devicestate,seed: small step, introduce 2718 seed.LoadAssertions and use it from firstboot 2719 - snapstate: add comment to checkVersion vs strutil.VersionCompare 2720 - tests: add unit tests for cmd_whoami 2721 - tests: add debug section to interfaces-contacts-service 2722 - many: introduce package seed and seedtest 2723 - interfaces/bluez: enable communication between bluetoothd and 2724 meshd via dbus 2725 - cmd/snap: fix snap switch message 2726 - overlord/snapstate: check channel names on install 2727 - tests: check snap_daemon user and group on system-usernames- 2728 illegal test are not created 2729 - cmd/snap-confine: fix group and permission of .info files 2730 - gadget: do not error on gadget refreshes with multiple volumes 2731 - snap: use deterministic paths to find the built deb 2732 - tests: just build snapd commands on go-build test 2733 - tests: re-enable mount-ns test on classic 2734 - tests: rename fuse_support to fuse-support 2735 - tests: move restore-project-each code to existing function 2736 - tests: simplify interfaces-account-control test 2737 - i18n, vendor, packaging: drop github.com/ojii/gettext.go, use 2738 github.com/snapcore/go-gettext 2739 - tests: always say 'restore: |' 2740 - tests: new test to check the output after refreshing/reverting 2741 core 2742 - snapstate: validate all system-usernames before creating them 2743 - tests: fix system version check on listing test for external 2744 backend 2745 - tests: add check for snap_daemon user/group 2746 - tests: don't look for lxcfs in mountinfo 2747 - tests: adding support for arm devices on ubuntu-core-device-reg 2748 test 2749 - snap: explicitly forbid trying to parallel install from seed 2750 - tests: remove trailing spaces from shell scripts 2751 - tests: remove locally installed revisions of core 2752 - tests: fix removal of snaps on ubuntu-core 2753 - interfaces: support Tegra display drivers 2754 - tests: move interfaces-contacts-service to /tmp 2755 - interfaces/network-manager: allow using 2756 org.freedesktop.DBus.ObjectManager 2757 - tests: restore dpkg selections after upgrade-from-2.15 test 2758 - tests: pass --remove to userdel on core 2759 - snap/naming: simplify SnapSet somewhat 2760 - devicestate/firstboot: check for missing bases early 2761 - httputil: rework protocol error detection 2762 - tests: unmount fuse connections only if not initially mounted 2763 - snap: prevent duplicated snap name and snap files when parsing 2764 seed.yaml 2765 - tests: re-implement user tool in python 2766 - image: improve/tweak some warning/error messages 2767 - cmd/libsnap-confine-private: add checks for parallel instances 2768 feature flag 2769 - tests: wait_for_service shows status after actual first minute 2770 - sanity: report proper errror when fuse is needed but not available 2771 - snap/naming: introduce SnapRef, Snap, and SnapSet 2772 - image: support prepare-image --classic for snapd snap only 2773 imagesConsequently: 2774 - tests/main/mount-ns: account for clone_children in cpuset cgroup 2775 on 18.04 2776 - many: merging asserts.Batch Precheck with CommitTo and other 2777 clarifications 2778 - devicestate: add missing test for remodeling possibly removing 2779 required flag 2780 - tests: use user-tool to remove test user in the non-home test 2781 - overlord/configstate: sort patch keys to have deterministic order 2782 with snap set 2783 - many: generalize assertstate.Batch to asserts.Batch, have 2784 assertstate.AddBatch 2785 - gadget, overlord/devicestate: rename Position/Layout 2786 - store, image, cmd: make 'snap download' leave partials 2787 - httputil: improve http2 PROTOCOL_ERROR detection 2788 - tests: add new "user-tool" helper and use in system-user tests 2789 - tests: clean up after NFS tests 2790 - ifacestate: optimize auto-connect by setting profiles once after 2791 all connects 2792 - hookstate/ctlcmd: snapctl unset command 2793 - tests: allow test user XDG_RUNTIME_DIR to phase out 2794 - tests: cleanup "snap_daemon" user in system-usernames-install- 2795 twice 2796 - cmd/snap-mgmt: set +x on startup 2797 - interfaces/wayland,x11: allow reading an Xwayland Xauth file 2798 - many: move channel parsing to snap/channel 2799 - check-pr-title.py: allow {} in pr prefix 2800 - tests: spam test logs less while waiting for systemd unit to stop 2801 - tests: remove redundant activation check for snapd.socket 2802 snapd.service 2803 - tests: trivial snapctl test cleanup 2804 - tests: ubuntu 18.10 removed from the google-sru backend on the 2805 spread.yaml 2806 - tests: add new cases into arch_test 2807 - tests: clean user and group for test system-usernames-install- 2808 twice 2809 - interfaces: k8s worker node updates 2810 - asserts: move Model to its own model.go 2811 - tests: unmount binfmt_misc on cleanup 2812 - tests: restore nsdelegate clobbered by LXD 2813 - cmd/snap: fix snap unset help string 2814 - tests: unmount fusectl after testing 2815 - cmd/snap: fix remote snap info for parallel installed snaps 2816 2817 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 01 Oct 2019 11:24:41 +0200 2818 2819 snapd (2.41) xenial; urgency=medium 2820 2821 * New upstream release, LP: #1840740 2822 - overlord/snapstate: revert track-risk behavior 2823 - tests: fix snap info test 2824 - httputil: rework protocol error detection 2825 - gadget: do not error on gadget refreshes with multiple volumes 2826 - i18n, vendor, packaging: drop github.com/ojii/gettext.go, use 2827 github.com/snapcore/go-gettext 2828 - snapstate: validate all system-usernames before creating them 2829 - mkversion.sh: fix version from git checkouts 2830 - interfaces/network-{control,manager}: allow 'k' on 2831 /run/resolvconf/** 2832 - interfaces/wayland,x11: allow reading an Xwayland Xauth file 2833 - interfaces: k8s worker node updates 2834 - debian: re-enable systemd environment generator 2835 - many: create system-usernames user/group if both don't exist 2836 - packaging: fix symlink for snapd.session-agent.socket 2837 - tests: change cgroups so that LXD doesn't have to 2838 - interfaces/network-setup-control: allow dbus netplan apply 2839 messages 2840 - tests: add /var/cache/snapd to the snapd state to prevent error on 2841 the store 2842 - tests: add test for services disabled during refresh hook 2843 - many: simpler access to snap-seccomp version-info 2844 - snap: cleanup some tests, clarify some errorsThis is a follow up 2845 from work on system usernames: 2846 - osutil: add osutil.Find{Uid,Gid} 2847 - tests: use a different archive based on the spread backend on go- 2848 build test 2849 - cmd/snap-update-ns: fix pair of bugs affecting refresh of snap 2850 with layouts 2851 - overlord/devicestate: detect clashing concurrent (ongoing, just 2852 finished) remodels or changes 2853 - interfaces/docker-support: declare controls-device-cgroup 2854 - packaging: fix removal of old apparmor profile 2855 - store: use track/risk for "channel" name when parsing store 2856 details 2857 - many: allow 'system-usernames' with libseccomp > 2.4 and golang- 2858 seccomp > 0.9.0 2859 - overlord/devicestate, tests: use gadget.Update() proper, spread 2860 test 2861 - overlord/configstate/configcore: allow setting start_x=1 to enable 2862 CSI camera on RPi 2863 - interfaces: remove BeforePrepareSlot from commonInterface 2864 - many: support system-usernames for 'snap_daemon' user 2865 - overlord/devicestate,o/snapstate: queue service commands before 2866 mark-seeded and other final tasks 2867 - interfaces/mount: discard mount ns on backend Remove 2868 - packaging/fedora: build on RHEL8 2869 - overlord/devicestate: support seeding a classic system with the 2870 snapd snap and no core 2871 - interfaces: fix test failure in gpio_control_test 2872 - interfaces, policy: remove sanitize helpers and use minimal policy 2873 check 2874 - packaging: use %systemd_user_* macros to enable session agent 2875 socket according to presets 2876 - snapstate, store: handle 429s on catalog refresh a little bit 2877 better 2878 - tests: part4 making tests work on ubuntu-core-18 2879 - many: drop snap.ReadGadgetInfo wrapper 2880 - xdgopenproxy: update test API to match upstream 2881 - tests: show why sbuild failed 2882 - data/selinux: allow mandb_t to search /var/lib/snapd 2883 - tests: be less verbose when checking service status 2884 - tests: set sbuild test as manual 2885 - overlord: DeviceCtx must find the remodel context for a remodel 2886 change 2887 - tests: use snap info --verbose to check for base 2888 - sanity: unmount squashfs with --lazy 2889 - overlord/snapstate: keep current track if only risk is specified 2890 - interfaces/firewall-control: support nft routing expressions and 2891 device groups 2892 - gadget: support for writing symlinks 2893 - tests: mountinfo-tool fail if there are no matches 2894 - tests: sync journal log before start the test 2895 - cmd/snap, data/completion: improve completion for 'snap debug' 2896 - httputil: retry for http2 PROTOCOL_ERROR 2897 - Errata commit: pulseaudio still auto-connects on classic 2898 - interfaces/misc: updates for k8s 1.15 (and greengrass test) 2899 - tests: set GOTRACEBACK=1 when running tests 2900 - cmd/libsnap: don't leak memory in sc_die_on_error 2901 - tests: improve how the system is restored when the upgrade- 2902 from-2.15 test fails 2903 - interfaces/bluetooth-control: add udev rules for BT_chrdev devices 2904 - interfaces: add audio-playback/audio-record and make pulseaudio 2905 manually connect 2906 - tests: split the sbuild test in 2 depending on the type of build 2907 - interfaces: add an interface granting access to AppStream metadata 2908 - gadget: ensure filesystem labels are unique 2909 - usersession/agent: use background context when stopping the agent 2910 - HACKING.md: update spread section, other updates 2911 - data/selinux: allow snap-confine to read entries on nsfs 2912 - tests: respect SPREAD_DEBUG_EACH on the main suite 2913 - packaging/debian-sid: set GOCACHE to a known writable location 2914 - interfaces: add gpio-control interface 2915 - cmd/snap: use showDone helper with 'snap switch' 2916 - gadget: effective structure role fallback, extra tests 2917 - many: fix unit tests getting stuck 2918 - tests: remove installed snap on restore 2919 - daemon: do not modify test data in user suite 2920 - data/selinux: allow read on sysfs 2921 - packaging/debian: don't md5sum absent files 2922 - tests: remove test-snapd-curl 2923 - tests: remove test-snapd-snapctl-core18 in restore 2924 - tests: remove installed snap in the restore section 2925 - tests: remove installed test snap 2926 - tests: correctly escape mount unit path 2927 - cmd/Makefile.am: support building with the go snap 2928 - tests: work around classic snap affecting the host 2929 - tests: fix typo "current" 2930 - overlord/assertstate: add Batch.Precheck to check for the full 2931 validity of the batch before Commit 2932 - tests: restore cpuset clone_children clobbered by lxd 2933 - usersession: move userd package to usersession/userd 2934 - tests: reformat and fix markdown in snapd-state.md 2935 - gadget: select the right updater for given structure 2936 - tests: show stderr only if it exists 2937 - sessionagent: add a REST interface with socket activation 2938 - tests: remove locally installed core in more tests 2939 - tests: remove local revision of core 2940 - packaging/debian-sid: use correct apparmor Depends for Debian 2941 - packaging/debian-sid: merge debian upload changes back into master 2942 - cmd/snap-repair: make sure the goroutine doesn't stick around on 2943 timeout 2944 - packaging/fedora: github.com/cheggaaa/pb is no longer used 2945 - configstate/config: fix crash in purgeNulls 2946 - boot, o/snapst, o/devicest: limit knowledge of boot vars to boot 2947 - client,cmd/snap: stop depending on status/status-code in the JSON 2948 responses in client 2949 - tests: unmount leftover /run/netns 2950 - tests: switch mount-ns test to manual 2951 - overlord,daemon,cmd/snapd: move expensive startup to dedicated 2952 StartUp methods 2953 - osutil: add EnsureTreeState helper 2954 - tests: measure properties of various mount namespaces 2955 - tests: part2 making tests work on ubuntu-core-18 2956 - interfaces/policy: minimal policy check for replacing 2957 sanitizeReservedFor helpers (1/2) 2958 - interfaces: add an interface that grants access to the PackageKit 2959 service 2960 - overlord/devicestate: update gadget update handlers and mocks 2961 - tests: add mountinfo-tool --ref-x1000 2962 - tests: remove lxd / lxcfs if pre-installed 2963 - tests: removing support for ubuntu cosmic on spread test suite 2964 - tests: don't leak /run/netns mount 2965 - image: clean up the validateSuite 2966 - bootloader: remove "Dir()" from Bootloader interface 2967 - many: retry to reboot if snapd gets restarted before expected 2968 reboot 2969 - overlord: implement re-registration remodeling 2970 - cmd: revert PR#6933 (tweak of GOMAXPROCS) 2971 - cmd/snap: add snap unset command 2972 - many: add Client-User-Agent to "SnapAction" install API call 2973 - tests: first part making tests run on ubuntu-core-18 2974 - hookstate/ctlcmd: support hidden commands in snapctl 2975 - many: replace snapd snap name checks with type checks (3/4) 2976 - overlord: mostly stop needing Kernel/CoreInfo, make GadgetInfo 2977 consider a DeviceContext 2978 - snapctl: handle unsetting of config options with "!" 2979 - tests: move core migration snaps to tests/lib/snaps dir 2980 - cmd/snap: handle unsetting of config options with "!" 2981 - cmd/snap, etc: add health to 'snap list' and 'snap info' 2982 - gadget: use struct field names when intializing data in mounted 2983 updater unit tests 2984 - cmd/snap-confine: bring /lib/firmware from the host 2985 - snap: set snapd snap type (1/4) 2986 - snap: add checks in validate-seed for missing base/default- 2987 provider 2988 - daemon: replace shutdownServer with net/http's native shutdown 2989 support 2990 - interfaces/builtin: add exec "/bin/runc" to docker-support 2991 - gadget: mounted filesystem updater 2992 - overlord/patch: simplify conditions for re-applying sublevel 2993 patches for level 6 2994 - seccomp/compiler: adjust test case names and comment for later 2995 changes 2996 - tests: fix error doing snap pack running failover test 2997 - tests: don't preserve size= when rewriting mount tables 2998 - tests: allow reordering of rewrite operations 2999 - gadget: main update routine 3000 - overlord/config: normalize nulls to support config unsetting 3001 semantics 3002 - snap-userd-autostart: don't list as a startup application on the 3003 GUI 3004 - tests: renumber snap revisions as seen via writable 3005 - tests: change allocation for mount options 3006 - tests: re-enable ns-re-associate test 3007 - tests: mountinfo-tool allow many --refs 3008 - overlord/devicestate: implement reregRemodelContext with the 3009 essential re-registration logic 3010 - tests: replace various numeric mount options 3011 - gadget: filesystem image writer 3012 - tests: add more unit tests for mountinfo-tool 3013 - tests: introduce mountinfo-tool --ref feature 3014 - tests: refactor mountinfo-tool rewrite state 3015 - tests: allow renumbering mount namespace identifiers 3016 - snap: refactor and explain layout blacklisting 3017 - tests: renumber snap revisions as seen via hostfs 3018 - daemon, interfaces, travis: workaround build ID with Go 1.9, use 3019 1.9 for travis tests 3020 - cmd/libsnap: add sc_error_init_{simple,api_misuse} 3021 - gadget: make raw updater handle shifted structures 3022 - tests/lib/nested: create WORK_DIR before accessing it 3023 - cmd/libsnap: rename SC_LIBSNAP_ERROR to SC_LIBSNAP_DOMAIN 3024 - cmd,tests: forcibly discard mount namespace when bases change 3025 - many: introduce healthstate, run check-health 3026 post-(install/refresh/try/revert) 3027 - interfaces/optical-drive: add scsi-generic type 4 and 5 support 3028 - cmd/snap-confine: exit from helper when parent dies 3029 3030 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 30 Aug 2019 08:56:16 +0200 3031 3032 snapd (2.40) xenial; urgency=medium 3033 3034 * New upstream release, LP: #1836327 3035 - overlord/patch: simplify conditions for re-applying sublevel 3036 patches for level 6 3037 - cmd,tests: forcibly discard mount namespace when bases change 3038 - cmd/snap-confine: handle device cgroup before pivot 3039 - cmd/snap-apparmor-service: quit if there are no profiles 3040 - cmd/snap, image: add --target-directory and --basename to 'snap 3041 download' 3042 - interfaces: add jack1 implicit classic interface 3043 - interfaces: miscellaneous policy updates 3044 - daemon: classic confinement is not supported on core 3045 - interfaces: bluetooth-control: add mtk BT device node 3046 - cmd/snap-seccomp: initial support for negative arguments with 3047 uid/gid caching 3048 - snap-confine: move seccomp load after permanent privilege drop 3049 - tests: new profiler snap used to track cpu and memory for snapd 3050 and snap commands 3051 - debian: make maintainer scripts do nothing on powerpc 3052 - gadget: mounted filesystem writer 3053 - cmd/snap: use padded checkers for snapshot output 3054 - bootloader: switch to bootloader_test style testing 3055 - gadget: add a wrapper for generating partitioned images with 3056 sfdisk 3057 - tests/main/snap-seccomp-syscalls: add description 3058 - tests: continue executing on errors either updating the repo db or 3059 installing dependencies 3060 - cmd/snap-seccomp/syscalls: add io_uring syscalls 3061 - systemd: add InstanceMode enumeration to control which systemd 3062 instance to control 3063 - netutil: extract socket activation helpers from daemon package. 3064 - interfaces: spi: update regex rules to accept spi nodes like 3065 spidev12345.0 3066 - gadget: fallback device lookup 3067 - many: add strutil.ElliptLeft, use it for shortening cohorts 3068 - wrappers: allow sockets under $XDG_RUNTIME_DIR 3069 - gadget: add wrapper for creating and populating filesystems 3070 - gadget: add writer for offset-write 3071 - gadget: support relative symlinks in device lookup 3072 - snap, snapstate: additional validation of base field 3073 - many: fix some races and missing locking, make sure UDevMonitor is 3074 stopped 3075 - boot: move ExtractKernelAssets 3076 - daemon, snap: screenshots _only_ shows the deprecation notice, 3077 from 2.39 3078 - osutil: add a workaround for overlayfs apparmor as it is used on 3079 Manjaro 3080 - snap: introduce GetType() function for snap.Info 3081 - tests: update systems to be used for during sru validation 3082 - daemon: increase `shutdownTimeout` to 25s to deal with slow 3083 HW 3084 - interfaces/network-manager: move deny ptrace to the connected slot 3085 - interfaces: allow locking of pppd files 3086 - cmd/snap-exec: fix snap completion for classic snaps with non 3087 /usr/lib/snapd libexecdir 3088 - daemon: expose pprof endpoints 3089 - travis: disable snap pack on OSX 3090 - client, cmd/snap: expose the new cohort options for snap ops 3091 - overlord/snapstate: tweak switch summaries 3092 - tests: reuse the image created initially for nested tests 3093 execution 3094 - tests/lib/nested: tweak assert disk prepare step 3095 - daemon, overlord/snapstate: support leave-cohort 3096 - tests/main/appstream-id: collect debug info 3097 - store,daemon: add client-user-agent support to store.SnapInfo 3098 - tests: add check for invalid PR titles in the static checks 3099 - tests: add snap-tool for easier access to internal tools 3100 - daemon: unexport file{Response,Stream} 3101 - devicestate: make TestUpdateGadgetOnClassicErrorsOut less racy 3102 - tests: fix test desktop-portal-filechooser 3103 - tests: sort commands from DumpCommands in the dumpDbHook 3104 - cmd/snap: add unit test for "advise-snap --dump-db". 3105 - bootloader: remove extra mock bootloader implementation 3106 - daemon: tweak for "add api endpoint for download" PR 3107 - packaging: fix reproducible build error 3108 - tests: synchronize journal logs before check logs 3109 - tests: fix snap service watchdog test 3110 - tests: use more readable test directory names 3111 - tests/regression/lp-1805485: update test description 3112 - overlord: make changes conflict with remodel 3113 - tests: make sure the snapshot unit test uses a snapshot time 3114 relative to Now() 3115 - tests: revert "tests: stop catalog-update/apt-hooks test for now" 3116 - tests: mountinfo-tool --one prints matches on failure 3117 - data/selinux: fix policy for snaps with bases and classic snaps 3118 - debian: fix building on eoan by tweaking golang build-deps 3119 - packaging/debian-sid: update required golang version to 1.10 3120 - httputil: handle "no such host" error explicitly and do not retry 3121 it 3122 - overlord/snapstate, & fallout: give Install a *RevisionOptions 3123 - cmd/snap: don't run install on 'snap --help install' 3124 - gadget: raw/bare structure writer and updater 3125 - daemon, client, cmd/snap: show cohort key in snap info --verbose 3126 - overlord/snapstate: add update-gadget task when needed, block 3127 other changes 3128 - image: turn a missing default content provider into an error 3129 - overlord/devicestate: update-gadget-assets task handler with 3130 stubbed gadget callbacks 3131 - interface: builtin: avahi-observe/control: update label for 3132 implicit slot 3133 - tests/lib/nested: fix multi argument copy_remote 3134 - tests/lib/nested: have mkfs.ext4 use a rootdir instead of mounting 3135 an image 3136 - packaging: fix permissions powerpc docs dir 3137 - overlord: mock store to avoid net requests 3138 - debian: rework how we run autopkgtests 3139 - interface: builtin: avahi-observe/control: allow slots 3140 implementation also by app snap on classic system 3141 - interfaces: builtin: utils: add helper function to identify system 3142 slots 3143 - interfaces: add missing adjtimex to time-control 3144 - overlord/snapstate, snap: support base = "none" 3145 - daemon, overlord/snapstate: give RevisionOptions a CohortKey 3146 - data/selinux: permit init_t to remount snappy_snap_t 3147 - cmd/snap: test for a friendly error on 'okay' without 'warnings' 3148 - cmd/snap: support snap debug timings --startup=.. and measure 3149 loadState time 3150 - advise-snap: add --dump-db which dumps the command database 3151 - interfaces/docker-support: support overlayfs on ubuntu core 3152 - cmd/okay: Remove err message when warning file not exist 3153 - devicestate: disallow removal of snaps used in booting early 3154 - packaging: fix build-depends on powerpc 3155 - tests: run spread tests on opensuse leap 15.1 3156 - strutil/shlex: fix ineffassign 3157 - cmd/snapd: ensure GOMAXPROCS is at least 2 3158 - cmd/snap-update-ns: detach unused mount points 3159 - gadget: record gadget root directory used during positioning 3160 - tests: force removal to prevent restore fails when directory 3161 doesn't exist on lp-1801955 test 3162 - overlord: implement store switch remodeling 3163 - tests: stop using ! for naive negation in shell scripts 3164 - snap,store,daemon,client: send new "Snap-Client-User-Agent" header 3165 in Search() 3166 - osutil: now that we require golang-1.10, use user.LookupGroup() 3167 - spread.yaml,tests: change MATCH and REBOOT to cmds 3168 - packaging/fedora: force external linker to ensure static linking 3169 and -extldflags use 3170 - timings: tweak the conditional for ensure timings 3171 - timings: always store ensure timings as long as they have an 3172 associated change 3173 - cmd/snap: tweak the output of snap debug timings --ensure=... 3174 - overlord/devicestate: introduce remodel kinds and 3175 contextsregistrationContext: 3176 - snaptest: add helper for mocking snap with contents 3177 - snapstate: allow removal of non-model kernels 3178 - tests: change strace parameters on snap-run test to avoid the test 3179 gets stuck 3180 - gadget: keep track of the index where structure content was 3181 defined 3182 - cmd/snap-update-ns: rename leftover ctx to upCtx 3183 - tests: add "not" command 3184 - spread.yaml: use "snap connections" in debug 3185 - tests: fix how strings are matched on auto-refresh-retry test 3186 - spread-shellcheck: add support for variants and environment 3187 - gadget: helper for shifting structure start position 3188 - cmd/snap-update-ns: add several TODO comments 3189 - cmd/snap-update-ns: rename ctx to upCtx 3190 - spread.yaml: make HOST: usage shellcheck-clean 3191 - overlord/snapstate, daemon: snapstate.Switch now takes a 3192 RevisionOption 3193 - tests: add mountinfo-tool 3194 - many: make snapstate.Update take *RevisionOptions instead of chan, 3195 rev 3196 - tests/unit/spread-shellcheck: temporary workaround for SC2251 3197 - daemon: refactor user ops to api_users 3198 - cmd/snap, tests: refactor info to unify handling of 'direct' snaps 3199 - cmd/snap-confine: combine sc_make_slave_mount_ns into caller 3200 - cmd/snap-update-ns: use "none" for propagation changes 3201 - cmd/snap-confine: don't pass MS_SLAVE along with MS_BIND 3202 - cmd/snap, api, snapstate: implement "snap remove --purge" 3203 - tests: new hotplug test executed on ubuntu core 3204 - tests: running tests on fedora 30 3205 - gadget: offset-write: fix validation, calculate absolute position 3206 - data/selinux: allow snap-confine to do search on snappy_var_t 3207 directories 3208 - daemon, o/snapstate, store: support for installing from cohorts 3209 - cmd/snap-confine: do not mount over non files/directories 3210 - tests: validates snapd from ppa 3211 - overlord/configstate: don't panic on invalid configuration 3212 - gadget: improve device lookup, add helper for mount point lookup 3213 - cmd/snap-update-ns: add tests for executeMountProfileUpdate 3214 - overlord/hookstate: don't run handler unless hooksup.Always 3215 - cmd/snap-update-ns: allow changing mount propagation 3216 - systemd: workaround systemctl show quirks on older systemd 3217 versions 3218 - cmd/snap: allow option descriptions to start with the command 3219 - many: introduce a gadget helper for locating device matching given 3220 structure 3221 - cmd/snap-update-ns: fix golint complaints about variable names 3222 - cmd/snap: unit tests for debug timings 3223 - testutil: support sharing-related mount flags 3224 - packaging/fedora: Merge changes from Fedora Dist-Git and drop EOL 3225 Fedora releases 3226 - cmd/snap: support for --ensure argument for snap debug timings 3227 - cmd,sandbox: tweak seccomp version info handling 3228 - gadget: record sector size in positioned volume 3229 - tests: make create-user test support managed devices 3230 - packaging: build empty package on powerpc 3231 - overlord/snapstate: perform hard refresh check 3232 - gadget: add volume level update checks 3233 - cmd/snap: mangle descriptions that have indent > terminal width 3234 - cmd/snap-update-ns: rename applyFstab to executeMountProfileUpdate 3235 - cmd/snap-confine: unshare per-user mount ns once 3236 - tests: retry govendor sync 3237 - tests: avoid removing snaps which are cached to speed up the 3238 prepare on boards 3239 - tests: fix how the base snap are deleted when there are multiple 3240 to deleted on reset 3241 - cmd/snap-update-ns: merge apply functions 3242 - many: introduce assertstest.SigningAccounts and AddMany test 3243 helpers 3244 - interfaces: special-case "snapd" in sanitizeSlotReservedForOS* 3245 helpers 3246 - cmd/snap-update-ns: make apply{User,System}Fstab identical 3247 - gadget: introduce checkers for sanitizing structure updates 3248 - cmd/snap-update-ns: move apply{Profile,{User,System}Fstab} to same 3249 file 3250 - overlord/devicestate: introduce registrationContext 3251 - cmd/snap-update-ns: add no-op load/save current user profile logic 3252 - devicestate: set "new-model" on the remodel change 3253 - devicestate: use deviceCtx in checkGadgetOrKernel 3254 - many: use a fake assertion model in the device contexts for tests 3255 - gadget: fix handling of positioning constrains for structures of 3256 MBR role 3257 - snap-confine: improve error when running on a not /home homedir 3258 - devicestate: make Remodel() return a state.Change 3259 - many: make which store to use contextualThis reworks 3260 snapstate.Store instead of relying solely on DeviceContext, 3261 because: 3262 - tests: enable tests on centos 7 again 3263 - interfaces: add login-session-control interface 3264 - tests: extra debug for snapshot-basic test 3265 - overlord,overlord/devicestate: do without GadgetInfo/KernelInfo in 3266 devicestate 3267 - gadget: more validation checks for legacy MBR structure type & 3268 role 3269 - osutil: fix TestReadBuildGo test in sbuild 3270 - data: update XDG_DATA_DIRS via the systemd environment.d mechanism 3271 too 3272 - many: do without device state/assertions accessors based on state 3273 only outside of devicestate/tests 3274 - interfaces/dbus: fix unit tests when default snap mount dir is not 3275 /snap 3276 - tests: add security-seccomp to verify seccomp with arg filtering 3277 - snapshotstate: disable automatic snapshots on core for now 3278 - snapstate: auto-install snapd when needed 3279 - overlord/ifacestate: update static attributes of "content" 3280 interface 3281 - interfaces: add support for the snapd snap in the dbus backend* 3282 - overlord/snapstate: tweak autorefresh logic if network is not 3283 available 3284 - snapcraft: also include ld.so.conf from libc in the snapcraft.yml 3285 - snapcraft.yaml: fix links ld-linux-x86-64.so.2/ld64.so.2 3286 - overlord: pass a DeviceContext to the checkSnap implementations 3287 - daemon: add RootOnly flag to commands 3288 - many: make access to the device model assertion etc contextual 3289 via a DeviceCtx hook/DeviceContext interface 3290 - snapcraft.yaml: include libc6 in snapd 3291 - tests: reduce snapcraft leftovers from PROJECT_PATH, temp disable 3292 centos 3293 - overlord: make the store context composably backed by separate 3294 backends for device asserts/info etc. 3295 - snapstate: revert "overlord/snapstate: remove PlugsOnly" 3296 - osutil,cmdutil: move CommandFromCore and make it use the snapd 3297 snap (if available) 3298 - travis: bump Go version to 1.10.x 3299 - cmd/snap-update-ns: remove instanceName argument from applyProfile 3300 - gadget: embed volume in positioned volume, rename fields 3301 - osutil: use go build-id when no gnu build-id is available 3302 - snap-seccomp: add 4th field to version-info for golang-seccomp 3303 features 3304 - cmd/snap-update-ns: merge computeAndSaveSystemChanges into 3305 applySystemFstab 3306 - cmd/snap, client, daemon, store: create-cohort 3307 - tests: give more time until nc returns on appstream test 3308 - tests: run spread tests on ubuntu 19.04 3309 - gadget: layout, smaller fixes 3310 - overlord: update static attrs when reloading connections 3311 - daemon: verify snap instructions for multi-snap requests 3312 - overlord/corecfg: make expiration of automatic snapshots 3313 configurable (4/4) 3314 - cmd/snap-update-ns: pass MountProfileUpdate to 3315 apply{System,User}Fstab 3316 - snap: fix interface bindings on implicit hooks 3317 - tests: improve how snaps are cached 3318 - cmd/snap-update-ns: formatting tweaks 3319 - data/selinux: policy tweaks 3320 - cmd/snap-update-ns: move locking to the common layer 3321 - overlord: use private YAML inside several tests 3322 - cmd/snap, store, image: support for cohorts in "snap download" 3323 - overlord/snapstate: add timings to critical task handlers and the 3324 backend 3325 - cmd: add `snap debug validate-seed <path>` cmd 3326 - state: add possible error return to TaskSet.Edge() 3327 - snap-seccomp: use username regex as defined in osutil/user.go 3328 - osutil: make IsValidUsername public and fix regex 3329 - store: serialize the acquisition of device sessions 3330 - interfaces/builtin/desktop: fonconfig v6/v7 cache handling on 3331 Fedora 3332 - many: move Device/SetDevice to devicestate, start of making them 3333 pluggable in storecontext 3334 - overlord/snapstate: remove PlugsOnly 3335 - interfaces/apparmor: allow running /usr/bin/od 3336 - spread: add qemu:fedora-29-64 3337 - tests: make test parallel-install-interfaces work for boards with 3338 pre-installed snaps 3339 - interfaces/builtin/intel_mei: fix /dev/mei* AppArmor pattern 3340 - spread.yaml: add qemu:centos-7-64 3341 - overlord/devicestate: extra measurements related to 3342 populateStateFromSeed 3343 - cmd/snap-update-ns: move Assumption to {System,User}ProfileUpdate 3344 - cmd/libsnap: remove fringe error function 3345 - gadget: add validation of cross structure overlap and offset 3346 writes 3347 - cmd/snap-update-ns: refactor of profile application (3/N) 3348 - data/selinux: tweak the policy for runuser and s-c, interpret 3349 audit entries 3350 - tests: fix spaces issue in the base snaps names to remove during 3351 reset phase 3352 - tests: wait for man db cache is updated before after install snapd 3353 on Fedora 3354 - tests: extend timeout of sbuild test 3355 3356 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 12 Jul 2019 10:40:08 +0200 3357 3358 snapd (2.39.3) xenial; urgency=medium 3359 3360 * New upstream release, LP: #1827495 3361 - daemon: increase `shutdownTimeout` to 25s to deal with slow HW 3362 - spread: run tests against openSUSE 15.1 3363 - data/selinux: fix policy for snaps with bases and classic snaps 3364 3365 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 21 Jun 2019 09:06:01 +0200 3366 3367 snapd (2.39.2) xenial; urgency=medium 3368 3369 * New upstream release, LP: #1827495 3370 - debian: rework how we run autopkgtests 3371 - interfaces/docker-support: add overlayfs accesses for ubuntu core 3372 - data/selinux: permit init_t to remount snappy_snap_t 3373 - strutil/shlex: fix ineffassign 3374 - packaging: fix build-depends on powerpc 3375 3376 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 05 Jun 2019 08:41:21 +0200 3377 3378 snapd (2.39.1) xenial; urgency=medium 3379 3380 * New upstream release, LP: #1827495 3381 - spread: enable Fedora 30 3382 - cmd/snap-confine, data/selinux: cherry pick Fedora 30 fixes 3383 - tests/unit/spread-shellcheck: temporary workaround for SC2251 3384 - packaging: build empty package on powerpc 3385 - interfaces: special-case "snapd" in sanitizeSlotReservedForOS* 3386 helper 3387 - cmd/snap: mangle descriptions that have indent > terminal width 3388 - cmd/snap-confine: unshare per-user mount ns once 3389 - tests: avoid adding spaces to the base snaps names 3390 - systemd: workaround systemctl show quirks on older systemd 3391 versions 3392 3393 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 May 2019 12:08:43 +0200 3394 3395 snapd (2.39) xenial; urgency=medium 3396 3397 * New upstream release, LP: #1827495 3398 - overlord/ifacestate: update static attributes of "content" 3399 interface 3400 - data/selinux: tweak the policy for runuser and s-c, interpret 3401 audit entries 3402 - snapshotstate: disable automatic snapshots on core for now 3403 - overlord/corecfg: make expiration of automatic snapshots 3404 configurable 3405 - snapstate: auto-install snapd when needed 3406 - interfaces: add support for the snapd snap in the dbus backend 3407 - overlord/snapstate: tweak autorefresh logic if network is not 3408 available 3409 - interfaces/apparmor: allow running /usr/bin/od 3410 - osutil,cmdutil: move CommandFromCore and make it use the snapd 3411 snap (if available) 3412 - daemon: also verify snap instructions for multi-snap requests 3413 - data/selinux: allow snap-confine to mount on top of bin 3414 - data/selinux: auto transition /var/snap to snappy_var_t 3415 - cmd: add `snap debug validate-seed <path>` cmd 3416 - interfaces/builtin/desktop: fonconfig v6/v7 cache handling on 3417 Fedora 3418 - interfaces/builtin/intel_mei: fix /dev/mei* AppArmor pattern 3419 - tests: make snap-connections test work on boards with snaps pre- 3420 installed 3421 - tests: check for /snap/core16/current in core16-provided-by-core 3422 - tests: run livepatch test on 18.04 as well 3423 - devicestate: deal correctly with the "required" flag on Remodel 3424 - snapstate,state: add TaskSet.AddAllWithEdges() and use in doUpdate 3425 - snapstate: add new NoReRefresh flag and use in Remodel() 3426 - many: allow core as a fallback for core16 3427 - snapcraft: build static fontconfig in the snapd snap 3428 - cmd/snap-confine: remove unused sc_open_snap_{update,discard}_ns 3429 - data/selinux: allow snapd to execute runuser under snappy_t 3430 - spread, tests: do not leave mislabeled files in restorecon test, 3431 attempt to catch similar files 3432 - interfaces: cleanup internal tool lookup in system-key 3433 - many: move auth.AuthContext to store.DeviceAndAuthContext, the 3434 implemention to a separate storecontext packageThis: 3435 - overlord/devicestate: measurements around ensure and related tasks 3436 - cmd: tweak internal tool lookup to accept more possible locations 3437 - overlord/snapstate,snapshotstate: create snapshot on snap removal 3438 - tests: run smoke tests on (almost) pristine systems 3439 - tests: system disable ssh for config defaults in gadget 3440 - cmd/debug: integrate new task timings with "snap debug timings" 3441 - tests/upgrade/basic, packaging/fedoar: restore SELinux context of 3442 /var/cache/fontconfig, patch pre-2.39 mount units 3443 - image: simplify prefer local logic and fixes 3444 - tests/main/selinux-lxd: make sure LXD from snaps works cleanly 3445 with enforcing SELinux 3446 - tests: deny ioctl - TIOCSTI with garbage in high bits 3447 - overlord: factor out mocking of device service and gadget w. 3448 prepare-device for registration tests 3449 - data/selinux, tests/main/selinux-clean: fine tune the policy, make 3450 sure that no denials are raised 3451 - cmd/libsnap,osutil: fix parsing of mountinfo 3452 - ubuntu: disable -buildmode=pie on armhf to fix memory issue 3453 - overlord/snapstate: inhibit refresh for up to a week 3454 - cmd/snap-confine: prevent cwd restore permission bypass 3455 - overlord/ifacestate: introduce HotplugKey type use short key in 3456 change summaries 3457 - many: make Remodel() download everything first before installing 3458 - tests: fixes discovered debugging refresh-app-awareness 3459 - overlord/snapstate: track time of postponed refreshes 3460 - snap-confine: set rootfs_dir in sc_invocation struct 3461 - tests: run create-user on core devices 3462 - boot: add flag file "meta/force-kernel-extraction" 3463 - tests: add regression test for systemctl race fix 3464 - overlord/snapshotstate: helpers for snapshot expirations 3465 - overlord,tests: perform soft refresh check in doInstall 3466 - tests: enable tests that write /etc/{hostname,timezone} on core18 3467 - overlord/ifacestate: implement String() method of 3468 HotplugDeviceInfo for better logs/messages 3469 - cmd/snap-confine: move ubuntu-core fallback checks 3470 - testutil: fix MockCmd for shellcheck 0.5 3471 - snap, gadget: move gadget read/validation into separate package, 3472 tweak naming 3473 - tests: split travis spread execution in 2 jobs for ubuntu and non 3474 ubuntu systems 3475 - testutil: make mocked command work with shellcheck from snaps 3476 - packaging/fedora, tests/upgrade/basic: patch existing mount units 3477 with SELinux context on upgrade 3478 - metautil, snap: extract yaml value normalization to a helper 3479 package 3480 - tests: use apt via eatmydata 3481 - dirs,overlord/snapstate: add Soft and Hard refresh checks 3482 - cmd/snap-confine: allow using tools from snapd snap 3483 - cmd,interfaces: replace local helpers with cmd.InternalToolPath 3484 - tweak: fix "make hack" on Fedora 3485 - snap: add validation of gadget.yaml 3486 - cmd/snap-update-ns: refactor of profile application 3487 - cmd/snap,client,daemon,store: layout and sanity tweaks for 3488 find/search options 3489 - tests: add workaround for missing cache reset on older snapd 3490 - interfaces: deal with the snapd snap correctly for apparmor 2.13 3491 - release-tools: add debian-package-builder 3492 - tests: enable opensuse 15 and add force-resolution installing 3493 packages 3494 - timings: AddTag helper 3495 - testutil: run mocked commands through shellcheck 3496 - overlord/snapshotstate: support auto flag 3497 - client, daemon, store: search by common-id 3498 - tests: all the systems for google backend with 6 workers 3499 - interfaces: hotplug nested vm test, updated serial-port interface 3500 for hotplug. 3501 - sanity: use proper SELinux context when mounting squashfs 3502 - cmd/libsnap: neuter variables in cleanup functions 3503 - interfaces/adb-support: account for hubs on sysfs path 3504 - interfaces/seccomp: regenerate changed profiles only 3505 - snap: reject layouts to /lib/{firmware,modules} 3506 - cmd/snap-confine, packaging: support SELinux 3507 - selinux, systemd: support mount contexts for snap images 3508 - interfaces/builtin/opengl: allow access to Tegra X1 3509 - cmd/snap: make 'snap warnings' output yamlish 3510 - tests: add check to detect a broken snap on reset 3511 - interfaces: add one-plus devices to adb-support 3512 - cmd: prevent umask from breaking snap-run chain 3513 - tests/lib/pkgdb: allow downgrade when installing packages in 3514 openSUSE 3515 - cmd/snap-confine: use fixed private tmp directory 3516 - snap: tweak parsing errors of gadget updates 3517 - overlord/ifacemgr: basic measurements 3518 - spread: refresh metadata on openSUSE 3519 - cmd/snap-confine: pass sc_invocation instead of numerous args 3520 around 3521 - snap/gadget: introduce volume update info 3522 - partition,bootloader: rename 'partition' package to 'bootloader' 3523 - interfaces/builtin: add dev/pts/ptmx access to docker_support 3524 - tests: restore sbuild test 3525 - strutil: make SplitUnit public, allow negative numbers 3526 - overlord/snapstate,: retry less for auto-stuff 3527 - interfaces/builtin: add add exec "/" to docker-support 3528 - cmd/snap: fix regression of snap saved command 3529 - cmd/libsnap: rename C enum for feature flag 3530 - cmd: typedef mountinfo structures 3531 - tests/main/remodel: clean up before reverting the state 3532 - cmd/snap-confine: umount scratch dir using UMOUNT_NOFOLLOW 3533 - timings: add new helpers, Measurer interface and DurationThreshold 3534 - cmd/snap-seccomp: version-info subcommand 3535 - errortracker: fix panic in Report if db cannot be opened 3536 - sandbox/seccomp: a helper package wrapping calls to snap-seccomp 3537 - many: add /v2/model API, `snap remodel` CLI and spread test 3538 - tests: enable opensuse tumbleweed back 3539 - overlord/snapstate, store: set a header when auto-refreshing 3540 - data/selinux, tests: refactor SELinux policy, add minimal tests 3541 - spread: restore SELinux context when we mess with system files 3542 - daemon/api: filter connections with hotplug-gone=true 3543 - daemon: support returning assertion information as JSON with the 3544 "json" query parameter 3545 - cmd/snap: hide 'interfaces' command, show deprecation notice 3546 - timings: base API for recording timings in state 3547 - cmd/snap-confine: drop unused dependency on libseccomp 3548 - interfaces/apparmor: factor out test boilerplate 3549 - daemon: extract assertions api endpoint implementation into 3550 api_asserts.go 3551 - spread.yaml: bump delta reference 3552 - cmd/snap-confine: track per-app and per-hook processes 3553 - cmd/snap-confine: make sc_args helpers const-correct 3554 - daemon: move a function that was between an other struct and its 3555 methods 3556 - overlord/snapstate: fix restoring of "old-current" revision config 3557 in undoLinkSnap 3558 - cmd/snap, client, daemon, ifacestate: show a leading attribute of 3559 a connection 3560 - cmd/snap-confine: call sc_should_use_normal_mode once 3561 - cmd/snap-confine: populate enter_non_classic_execution_environment 3562 - daemon: allow downloading snaps blobs via .../file 3563 - cmd/snap-confine: introduce sc_invocation 3564 - devicestate: add initial Remodel support 3565 - snap: remove obsolete license-* fields in the yaml 3566 - cmd/libsnap: add cgroup-pids-support module 3567 - overlord/snapstate/backend: make LinkSnap clean up more 3568 - snapstate: only keep 2 snaps on classic 3569 - ctlcmd/tests: tests tweaks (followup to #6322) 3570 3571 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 03 May 2019 11:29:50 +0200 3572 3573 snapd (2.38.1) xenial; urgency=medium 3574 3575 * New upstream release, LP: #1824394 3576 - tests: add workaround for missing cache reset on older snapd 3577 - ubuntu: disable -buildmode=pie on armhf to fix memory issue 3578 3579 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 Apr 2019 18:26:47 +0200 3580 3581 snapd (2.38) xenial; urgency=medium 3582 3583 * New upstream release, LP: #1818648 3584 - overlord/snapstate,: retry less for auto-stuff 3585 - cmd/snap: fix regression of snap saved command 3586 - interfaces/builtin: add dev/pts/ptmx access to docker_support 3587 - overlord/snapstate, store: set a header when auto-refreshing 3588 - interfaces/builtin: add add exec "/" to docker-support 3589 - cmd/snap, client, daemon, ifacestate: show a leading attribute of 3590 a connection 3591 - interface: avahi-observe: Fixing socket permissions on 4.15 3592 kernels 3593 - tests: check that apt works before using it 3594 - apparmor: support AppArmor 2.13 3595 - snapstate: restart into the snapd snap on classic 3596 - overlord/snapstate: during refresh, re-refresh on epoch bump 3597 - cmd, daemon: split out the common bits of mapLocal and mapRemote 3598 - cmd/snap-confine: chown private /tmp to root.root 3599 - cmd/snap-confine: drop uid from random /tmp name 3600 - overlord/hookstate: apply pending transaction changes onto 3601 temporary configuration for snapctl get 3602 - cmd/snap: `snap connections` command 3603 - interfaces/greengrass_support: update accesses for GGC 1.8 3604 - cmd/snap, daemon: make the connectivity check use GET 3605 - interfaces/builtin,/udev: add spec support to disable udev + 3606 device cgroup and use it for greengrass 3607 - interfaces/intel-mei: small follow up tweaks 3608 - ifacestate/tests: fix/improve udev mon test 3609 - interfaces: add multipass-support interface 3610 - tests/main/high-user-handling: fix the test for Go 1.12 3611 - interfaces: add new intel-mei interface 3612 - systemd: decrease the checker counter before unlocking otherwise 3613 we can get spurious panics 3614 - daemon/tests: fix race in the disconnect conflict test 3615 - cmd/snap-confine: allow moving tasks to pids cgroup 3616 - tests: enable opensuse tumbleweed on spread 3617 - cmd/snap: fix `snap services` completion 3618 - ifacestate/hotplug: integration with udev monitor 3619 - packaging: build snapctl as a static binary 3620 - packaging/opensuse: move most logic to snapd.mk 3621 - overlord: fix ensure before slowness on Retry 3622 - overlord/ifacestate: fix migration of connections on upgrade from 3623 ubuntu-core 3624 - daemon, client, cmd/snap: debug GETs ask aspects, not actions 3625 - tests/main/desktop-portal-*: fix handling of python dependencies 3626 - interfaces/wayland: allow wayland server snaps function on classic 3627 too 3628 - daemon, client, cmd/snap: snap debug base-declaration 3629 - tests: run tests on opensuse leap 15.0 instead of 42.3 3630 - cmd/snap: fix error messages for snapshots commands if ID is not 3631 uint 3632 - interfaces/seccomp: increase filter precision 3633 - interfaces/network-manager: no peer label check for hostname1 3634 - tests: add a tests for xdg-desktop-portal integration 3635 - tests: not checking 'tracking channel' after refresh core on 3636 nested execution 3637 - tests: remove snapweb from tests 3638 - snap, wrappers: support StartTimeout 3639 - wrappers: Add an X-SnapInstanceName field to desktop files 3640 - cmd/snap: produce better output for help on subcommands 3641 - tests/main/nfs-support: use archive mode for creating fstab backup 3642 - many: collect time each task runs and display it with `snap debug 3643 timings <id>` 3644 - tests: add attribution to helper script 3645 - daemon: make ucrednetGet not loop 3646 - squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test 3647 - features,cmd/libsnap: add new feature "refresh-app-awareness" 3648 - overlord: fix random typos 3649 - interfaces/seccomp: generate global seccomp profile 3650 - daemon/api: fix error case for disconnect conflict 3651 - overlord/snapstate: add some randomness to the catalog refresh 3652 - tests: disable trusty-proposed for now 3653 - tests: fix upgrade-from-2.15 with kernel 4.15 3654 - interfaces/apparmor: allow sending and receiving signals from 3655 ourselves 3656 - tests: split the test interfaces-many in 2 and remove snaps on 3657 restore 3658 - tests: use snap which takes 15 seconds to install on retryable- 3659 error test 3660 - packaging: avoid race in snapd.postinst 3661 - overlord/snapstate: discard mount namespace when undoing 1st link 3662 snap 3663 - cmd/snap-confine: allow writes to /var/lib/** 3664 - tests: stop catalog-update test for now 3665 - tests/main/auto-refresh-private: make sure to actually download 3666 with the expired macaroon 3667 - many: save media info when installing, show it when listing 3668 - userd: handle help urls which requires prepending XDG_DATA_DIRS 3669 - tests: fix NFS home mocking 3670 - tests: improve snaps-system-env test 3671 - tests: pre-cache core on core18 systems 3672 - interfaces/hotplug: renamed RequestedSlotSpec to ProposedSlot, 3673 removed Specification 3674 - debian: ensure leftover usr.lib.snapd.snap-confine is gone 3675 - image,cmd/snap,tests: introduce support for modern prepare-image 3676 --snap <snap>[=<channel>] 3677 - overlord/ifacestate: tweak logic for generating unique slot names 3678 - packaging: import debian salsa packaging work, add sbuild test and 3679 use in spead 3680 - overlord/ifacestate: hotplug-add-slot handler 3681 - image,cmd/snap: simplify --classic-arch to --arch, expose 3682 prepare-image 3683 - tests: run test snap as user in the smoke test 3684 - cmd/snap: tweak man output to have no doubled up .TP lines 3685 - cmd/snap, overlord/snapstate: silently ignore classic flag when a 3686 snap is strictly confined 3687 - snap-confine: remove special handling of /var/lib/jenkins 3688 - cmd/snap-confine: handle death of helper process 3689 - packaging: disable systemd environment generator on 18.04 3690 - snap-confine: fix classic snaps for users with /var/lib/* homedirs 3691 - tests/prepare: prevent console-conf from running 3692 - image: bootstrapToRootDir => setupSeed 3693 - image,cmd/snap,tests: introduce prepare-image --classic 3694 - tests: update smoke/sandbox test for armhf 3695 - client, daemon: introduce helper for querying snapd API for the 3696 list of slot/plug connections 3697 - cmd/snap-confine: refactor and cleanup of seccomp loading 3698 - snapstate, snap: allow update/switch requests with risk only 3699 channel to DTRT 3700 - interfaces: add network-manager-observe interface 3701 - snap-confine: increase locking timeout to 30s 3702 - snap-confine: fix incorrect "sanity timeout 3s" message 3703 - snap-confine: provide proper error message on sc_sanity_timeout 3704 - snapd,state: improve error message on state reading failure 3705 - interfaces/apparmor: deny inet/inet6 in snap-update-ns profile 3706 - snap: fix reexec from the snapd snap for classic snaps 3707 - snap: fix hook autodiscovery for parallel installed snaps 3708 - overlord/snapstate: format the refresh time for the log 3709 - cmd/snap-confine: add special case for Jenkins 3710 - snapcraft.yaml: fix XBuildDeb PATH for go-1.10 3711 - overlord/snapstate: validate instance names early 3712 - overlord/ifacestate: handler for hotplug-update-slot tasks 3713 - polkit: cast pid to uint32 to keep polkit happy for now 3714 - snap/naming: move various name validation helpers to separate 3715 package 3716 - tests: iterate getting journal logs to support delay on boards on 3717 daemon-notify test 3718 - cmd/snap: fix typo in cmd_wait.go 3719 - snap/channel: improve channel parsing 3720 - daemon, polkit: pid_t is signed 3721 - daemon: introduce /v2/connections snapd API endpoint 3722 - cmd/snap: small refactor of cmd_info's channel handling 3723 - overlord/snapstate: use an ad-hoc error when no results 3724 - cmd/snap: wrap "summary" better 3725 - tests: workaround missing go dependencies in debian-9 3726 - daemon: try to tidy up the icon stuff a little 3727 - interfaces: add display-control interface 3728 - snapcraft.yaml: fix snap building in launchpad 3729 - tests: update fedora 29 workers to speed up the whole testing time 3730 - interfaces: add u2f-devices interface and allow reading udev 3731 +power_supply:* in hardware-observe 3732 - cmd/snap-update-ns: save errno from strtoul 3733 - tests: interfaces tests normalization 3734 - many: cleanup golang.org/x/net/context 3735 - tests: add spread test for system dbus interface 3736 - tests: remove -o pipefail 3737 - interfaces: add block-devices interface 3738 - spread: enable upgrade suite on fedora 3739 - tests/main/searching: video section got renamed to photo-and-video 3740 - interfaces/home: use dac_read_search instead of dac_override with 3741 'read: all' 3742 - snap: really run the RunSuite 3743 - interfaces/camera: allow reading vendor/etc info from 3744 /run/udev/data/+usb:* 3745 - interfaces/dbus: be less strict about alternations for well-known 3746 names 3747 - interfaces/home: allow dac_override with 'read: 3748 all' 3749 - interfaces/pulseaudio: allow reading subdirectories of 3750 /etc/pulse 3751 - interfaces/system-observe: allow read on 3752 /proc/locks 3753 - run-checks: ensure we use go-1.10 if available 3754 - tests: get test-snapd-dbus-{provider,consumer} from the beta 3755 channel 3756 - interfaces/apparmor: mock presence of overlayfs root 3757 - spread: increase default kill-timeout to 30min 3758 - tests: simplify interfaces-contacts-service test 3759 - packaging/ubuntu: build with golang 1.10 3760 - ifacestate/tests: extra test for hotplug-connect handler 3761 - packaging: make sure that /var/lib/snapd/lib/glvnd is accounted 3762 for 3763 - overlord/snapstate/backend: call fontconfig helpers from the new 3764 'current' 3765 - kvm: load required kernel modules if necessary 3766 - cmd/snap: use a fake user for 'run' tests 3767 - tests: update systems for google sru backend 3768 - tests: fix install-snaps test by changing the snap info regex 3769 - interfaces: helpers for sorting plug/slot/connection refs 3770 - tests: moving core-snap-refresh-on-core test from main to nested 3771 suite 3772 - tests: fix daemon-notify test checking denials considering all the 3773 log lines 3774 - tests: skip lp-1802591 on "official" images 3775 - tests: fix listing tests to match "snap list --unicode=never" 3776 - debian: fix silly typo in the spread test invocation 3777 - interface: raw-usb: Adding ttyACM ttyACA permissions 3778 - tests: fix enable-disable-unit-gpio test on external boards 3779 - overlord/ifacestate: helper API to obtain the state of connections 3780 - tests: define new "tests/smoke" suite and use that for 3781 autopkgtests 3782 - cmd/snap-update-ns: explicitly check for return value from 3783 parse_arg_u 3784 - interfaces/builtin/opengl: allow access to NVIDIA VDPAU library 3785 - tests: auto-clean the test directory 3786 - cmd/snap: further tweak messaging; add a test 3787 - overlord/ifacestate: handler for hotplug-connect task 3788 - cmd/snap-confine: join freezer only after setting up user mount 3789 - cmd/snap-confine: don't preemptively create .mnt files 3790 - cmd/snap-update-ns: manually implement isspace 3791 - cmd/snap-update-ns: let the go parser know we are parsing -u 3792 - cmd/snap-discard-ns: fix name of user fstab files 3793 - snapshotstate: don't task.Log without the lock 3794 - tests: exclude some more slow tests from runs in autopkgtest 3795 - many: remove .user-fstab files from /run/snapd/ns 3796 - cmd/libsnap: pass --from-snap-confine when calling snap-update-ns 3797 as user 3798 - cmd/snap-update-ns: make freezer mockable 3799 - cmd/snap-update-ns: move XDG code to dedicated file 3800 - osutil: add helper for loading fstab from string 3801 - cmd/snap-update-ns: move existing code around, renaming some 3802 functions 3803 - overlord/configstate/configcore: support - and _ in cloud init 3804 field names 3805 - * cmd/snap-confine: use makedev instead of MKDEV 3806 - tests: review/fix the autopkgtest failures in disco 3807 - overlord: drop old v1 store api support from managers test 3808 - tests: new test for snapshots with more than 1 user 3809 3810 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 21 Mar 2019 10:55:27 +0100 3811 3812 snapd (2.37.4) xenial; urgency=medium 3813 3814 * New upstream release, LP: #1817949 3815 - squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test 3816 - overlord/ifacestate: fix migration of connections on upgrade from 3817 ubuntu-core 3818 - tests: fix upgrade-from-2.15 with kernel 4.15 3819 - interfaces/seccomp: increase filter precision 3820 - tests: remove snapweb from tests 3821 3822 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 27 Feb 2019 19:53:36 +0100 3823 3824 snapd (2.37.3) xenial; urgency=medium 3825 3826 * New upstream release, LP: #1811233 3827 - interfaces/seccomp: generate global seccomp profile 3828 - overlord/snapstate: add some randomness to the catalog refresh 3829 - tests: add upgrade test from 2.15.2ubuntu1 -> current snapd 3830 - snap-confine: fix fallback to ubuntu-core 3831 - packaging: avoid race in snapd.postinst 3832 - overlord/snapstate: discard mount namespace when undoing 1st link 3833 snap 3834 - cmd/snap-confine: allow writes to /var/lib/** again 3835 - tests: stop catalog-update/apt-hooks test until the catlog refresh 3836 is randomized 3837 - debian: ensure leftover usr.lib.snapd.snap-confine is gone 3838 3839 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 18 Feb 2019 17:17:33 +0100 3840 3841 snapd (2.37.2) xenial; urgency=medium 3842 3843 * New upstream release, LP: #1811233 3844 - cmd/snap, overlord/snapstate: silently ignore classic flag when a 3845 snap is strictly confined 3846 - snap-confine: remove special handling of /var/lib/jenkins 3847 - cmd/snap-confine: handle death of helper process gracefully 3848 - snap-confine: fix classic snaps for users with /var/lib/* homedirs 3849 like jenkins/postgres 3850 - packaging: disable systemd environment generator on 18.04 3851 - tests: update smoke/sandbox test for armhf 3852 - cmd/snap-confine: refactor and cleanup of seccomp loading 3853 - snap-confine: increase locking timeout to 30s 3854 - snap-confine: fix incorrect "sanity timeout 3s" message 3855 - snap: fix hook autodiscovery for parallel installed snaps 3856 - tests: iterate getting journal logs to support delay on boards on 3857 daemon-notify test 3858 - interfaces/apparmor: deny inet/inet6 in snap-update-ns profile 3859 - interfaces: add u2f-devices interface 3860 3861 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 06 Feb 2019 10:08:07 +0100 3862 3863 snapd (2.37.1) xenial; urgency=medium 3864 3865 * New upstream release, LP: #1811233 3866 - cmd/snap-confine: add special case for Jenkins 3867 - tests: workaround missing go dependencies in debian-9 3868 - daemon, polkit: pid_t is signed 3869 - interfaces: add display-control interface 3870 - interfaces: add block-devices interface 3871 - tests/main/searching: video section got renamed to photo-and-video 3872 - interfaces/camera: allow reading vendor/etc info from 3873 /run/udev/data/+usb 3874 - interfaces/dbus: be less strict about alternations for well-known 3875 names 3876 - interfaces/home: allow dac_read_search with 'read: all' 3877 - interfaces/pulseaudio: allow reading subdirectories of 3878 /etc/pulse 3879 - interfaces/system-observe: allow read on 3880 /proc/locks 3881 - tests: get test-snapd-dbus-{provider,consumer} from the beta 3882 channel 3883 - interfaces/apparmor: mock presence of overlayfs root 3884 - packaging/{fedora,opensuse,ubuntu}: add /var/lib/snapd/lib/glvnd 3885 3886 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 29 Jan 2019 18:35:36 +0100 3887 3888 snapd (2.37) xenial; urgency=medium 3889 3890 * New upstream release, LP: #1811233 3891 - snapd: fix race in TestSanityFailGoesIntoDegradedMode test 3892 - cmd: fix snap-device-helper to deal correctly with hooks 3893 - tests: various fixes for external backend 3894 - interface: raw-usb: Adding ttyACM[0-9]* as many serial devices 3895 have device node /dev/ttyACM[0-9] 3896 - tests: fix enable-disable-unit-gpio test on external boards 3897 - tests: define new "tests/smoke" suite and use that for 3898 autopkgtests 3899 - interfaces/builtin/opengl: allow access to NVIDIA VDPAU 3900 library 3901 - snapshotstate: don't task.Log without the lock 3902 - overlord/configstate/configcore: support - and _ in cloud init 3903 field names 3904 - cmd/snap-confine: use makedev instead of MKDEV 3905 - tests: review/fix the autopkgtest failures in disco 3906 - systemd: allow only a single daemon-reload at the same time 3907 - cmd/snap: only auto-enable unicode to a tty 3908 - cmd/snap: right-align revision and size in info's channel map 3909 - dirs, interfaces/builtin/desktop: system fontconfig cache path is 3910 different on Fedora 3911 - tests: fix "No space left on device" issue on amazon-linux 3912 - store: undo workaround for timezone-less released-at 3913 - store, snap, cmd/snap: channels have released-at 3914 - snap-confine: fix incorrect use "src" var in mount-support.c 3915 - release: support probing SELinux state 3916 - release-tools: display self-help 3917 - interface: add new `{personal,system}-files` interface 3918 - snap: give Epoch an Equal method 3919 - many: remove unused interface code 3920 - interfaces/many: use 'unsafe' with docker-support change_profile 3921 rules 3922 - run-checks: stop running HEAD of staticcheck 3923 - release: use sync.Once around lazy intialized state 3924 - overlord/ifacestate: include interface name in the hotplug- 3925 disconnect task summary 3926 - spread: show free space in debug output 3927 - cmd/snap: attempt to restore SELinux context of snap user 3928 directories 3929 - image: do not write empty etc/cloud 3930 - tests: skip snapd snap on reset for core systems 3931 - cmd/snap-discard-ns: fix umount(2) typo 3932 - overlord/ifacestate: hotplug-remove-slot task handler 3933 - overlord/ifacestate: handler for hotplug-disconnect task 3934 - ifacestate/hotplug: updateDevice helper 3935 - tests: reset snapd state on tests restore 3936 - interfaces: return security setup errors 3937 - overlord: make InstallMany work like UpdateMany, issuing a single 3938 request to get candidates 3939 - systemd/systemd.go: add missing tests for systemd.IsActive 3940 - overlord/ifacestate: addHotplugSeqWaitTask helper 3941 - cmd/snap-confine: refactor call to snap-update-ns --user-mounts 3942 - tests: new backend used to run upgrade test suite 3943 - travis: short circuit failures in static and unit tests travis job 3944 - cmd: automatically fix localized <option>s to <option> 3945 - overlord/configstate,features: expose features to snapd tools 3946 - selinux: package to query SELinux status and verify/restore file 3947 contexts 3948 - wrappers: use new systemd.IsActive in core18 early boot 3949 - cmd: add tests for lintArg and lintDesc 3950 - httputil: retry on temporary net errors 3951 - cmd/snap-confine: remove unused sc_discard_preserved_mount_ns 3952 - wrappers: only restart service in core18 when they are active 3953 - overlord/ifacestate: helpers for serializing hotplug changes 3954 - packaging/{fedora,opensuse}: own /var/lib/snapd/cookie 3955 - systemd: start snapd.autoimport.service in --no-block mode 3956 - data/selinux: fix syntax error in definition of snappy_admin 3957 interface 3958 - snap/info: bind global plugs/slots to implicit hooks 3959 - cmd/snap-confine: remove SC_NS_MNT_FILE 3960 - spread: record each tests/upgrade job 3961 - osutil: do not import dirs 3962 - cmd/snap-confine: fix typo "a pipe" 3963 - tests: make security-device-cgroups-{devmode,jailmode} work on arm 3964 devices 3965 - tests: force test-snapd-daemon-notify exit 0 when the interface is 3966 not connected 3967 - overlord/snapstate: run 'remove' hook before 'auto-disconnect' 3968 - centos: enable SELinux support on CentOS 7 3969 - apparmor: allow hard link to snap-specific semaphore files 3970 - tests/lib/pkgdb: disable weak deps on Fedora 3971 - release: detect too old apparmor_parser 3972 - tests: improve how the log is checked to see if the system is 3973 waiting for a reboot 3974 - cmd, dirs, interfaces/apparmor: update distro identification to 3975 support ID="archlinux" 3976 - spread, tests: add Fedora 29 3977 - cmd/snap-confine: refactor calling snapd tools into helper module 3978 - apparmor: allow snap-update-ns access to common devices 3979 - cmd/snap-confine: capture initialized per-user mount ns 3980 - tests: reduce verbosity around package installation 3981 - data: set KillMode=process for snapd 3982 - cmd/snap: handle DNS error gracefully 3983 - spread, tests: use checkpoints when dumping audit log 3984 - tests/lib/prepare: make sure that SELinux context of repacked core 3985 snap is controlled 3986 - testutils: split checkers, tweak tests 3987 - tests: fix for tests test-*-cgroup 3988 - spread: show AVC audits when debugging, start auditd on Fedora 3989 - spread: drop Fedora 27, add Fedora 29 3990 - tests/lib/reset: restore context of removed snapd directories 3991 - testutil: add File{Present,Absent} checkers 3992 - snap: add new `snap run --trace-exec` 3993 - tests: fix for failover test on how logs are checked 3994 - snapctl: add "services" 3995 - overlord/snapstate: use file timestamp to initialize timer 3996 - cmd/libsnap: introduce and use sc_strdup 3997 - interfaces: let NM access ifindex/ifupdown files 3998 - overlord/snapstate: on refresh, check new rev can read current 3999 - client, store: don't use store from client (use client from store) 4000 - tests/main/parallel-install-store: verify installation of more 4001 than one instance at a time 4002 - overlord: don't write system key if security setup fails 4003 - packaging/fedora/snapd.spec: fix bogus date in changelog 4004 - snapstate: update fontconfig caches on install 4005 - interfaces/apparmor/backend.go:411:38: regular expression does not 4006 contain any meta characters (SA6004) 4007 - asserts/header_checks.go:199:35: regular expression does not 4008 contain any meta characters (SA6004) 4009 - run staticcheck every time :-) 4010 - tests/lib/systemd-escape/main.go:46:14: printf-style function with 4011 dynamic first argument and no further arguments should use print- 4012 style function instead (SA1006) 4013 - tests/lib/fakestore/cmd/fakestore/cmd_run.go:66:15: the channel 4014 used with signal.Notify should be buffered (SA1017) 4015 - tests/lib/fakedevicesvc/main.go:55:15: the channel used with 4016 signal.Notify should be buffered (SA1017) 4017 - spdx/parser.go:30:1: only the first constant has an explicit type 4018 (SA9004) 4019 - overlord/snapstate/snapmgr.go:553:21: printf-style function with 4020 dynamic first argument and no further arguments should use print- 4021 style function instead (SA1006) 4022 - overlord/patch/patch3.go:44:70: printf-style function with dynamic 4023 first argument and no further arguments should use print-style 4024 function instead (SA1006) 4025 - cmd/snap/cmd_advise.go:200:2: empty branch (SA9003) 4026 - osutil/udev/netlink/conn.go:120:5: ineffective break statement. 4027 Did you mean to break out of the outer loop? (SA4011) 4028 - daemon/api.go:992:22: printf-style function with dynamic first 4029 argument and no further arguments should use print-style function 4030 instead (SA1006) 4031 - cmd/snapd/main.go:94:5: ineffective break statement. Did you mean 4032 to break out of the outer loop? (SA4011) 4033 - cmd/snap/cmd_userd.go:73:15: the channel used with signal.Notify 4034 should be buffered (SA1017) 4035 - cmd/snap/cmd_help.go:102:7: io.Writer.Write must not modify the 4036 provided buffer, not even temporarily (SA1023) 4037 - release: probe apparmor features lazily 4038 - overlord,daemon: mock security backends for testing 4039 - cmd/libsnap: move apparmor-support to libsnap 4040 - cmd: drop cruft from snap-discard-ns build rules 4041 - cmd/snap-confine: use snap-discard-ns ns to discard stale 4042 namespaces 4043 - cmd/snap-confine: handle mounted shared /run/snapd/ns 4044 - many: fix composite literals with unkeyed fields 4045 - dirs, wrappers, overlord/snapstate: make completion + bases work 4046 - tests: revert "tests: restore in restore, not prepare" 4047 - many: validate title 4048 - snap: make description maximum in runes, not bytes 4049 - tests: discard mount namespaces in reset.sh 4050 - tests/lib: sync cla check back from snapcraft 4051 - Revert "cmd/snap, tests/main/snap-info: highlight the current 4052 channel" 4053 - daemon: remove enableInternalInterfaceActions 4054 - mkversion: use "test -n" rather than "! test -z" 4055 - run-checks: assorted fixes 4056 - tests: restore in restore, not in prepare 4057 - cmd/snap: fix missing newline in "snap keys" error message 4058 - snap: epoch lists must contain no duplicate entries 4059 - interfaces/avahi_observe: Fix typo in comment 4060 - tests: add SPREAD_JOB to the description of 4061 systemd_create_and_start_unit 4062 - daemon, vendor: bump github.com/coreos/go-systemd/activation, 4063 handle API changes 4064 - Revert "cmd/snap-confine: don't allow mapping lib{uuid,blkid}" 4065 - packaging/fedora: use %_sysctldir macro 4066 - cmd/snap-confine: remove unneeded unshare 4067 - sanity: extend the kernel version check to cover CentOS/RHEL 4068 kernels 4069 - wrappers: remove all desktop files from a snap on removal 4070 - snap: add an explicit check for `epoch: null` loading 4071 - snap: check max description length in validate 4072 - spread, tests: add CentOS support 4073 - cmd/snap-confine: allow mapping more libc shards 4074 - cmd/snap-discard-ns: add support for --from-snap-confine 4075 - tests: make tinyproxy support systemd notify 4076 - tests: fix shellcheck 4077 - snap, store: rename `snap.Epoch`'s `Unset` to `IsZero` 4078 - store: add a test for a non-zero epoch refresh (with epoch bump) 4079 - store: v1 search doesn't send epoch, stop pretending it does 4080 - snap: make any "0" epoch be Unset, and marshalled to {[0],[0]} 4081 - overlord/snapstate: amend test should send local revision 4082 - tests: use mock-gpio.py in enable-disable-units-gpio test 4083 - snap: enforce minimal snap name len of 2 4084 - cmd/libsnap: add sc_verify_snap_lock 4085 - cmd/snap-update-ns: extra debugging of trespassing events 4086 - userd: force zenity width if the text displayed is long 4087 - overlord/snapstate, store: always send epochs 4088 - cmd/snap-confine,snap-update-ns: discard quirks 4089 - cmd/snap: add nanosleep to blacklisted syscalls when running with 4090 --strace 4091 - cmd/snap-update-ns, tests: clean trespassing paths 4092 - nvidia, interfaces/builtin: OpenCL fixes 4093 - ifacestate/hotplug: removeDevice helper 4094 - cmd: install snap-discard-ns in "make hack" 4095 - overlord/ifacestate: setup security backends phased by backends 4096 first 4097 - ifacestate/helpers: added SystemSnapName mapper helper method 4098 - overlord/ifacestate: set hotplug-key of the connection when 4099 connecting hotplug slots 4100 - snapd: allow snap-update-ns to read /proc/version 4101 - cmd: handle tumbleweed and leap in autogen.sh 4102 - interfaces/tests: MockHotplugSlot test helper 4103 - store,daemon: make UserInfo,LoginUser part of the store interface 4104 - overlord/ifacestate: use remapper when checking if system snap is 4105 installed 4106 - tests: fix how pinentry is prepared for new gpg v 2.1 and 2.2 4107 - packaging/arch: fix bash completions path 4108 - interfaces/builtin: add device-buttons interface for accessing 4109 events 4110 - tests, fakestore: extend refresh tests with parallel installed 4111 snaps 4112 - snap, store, overlord/snapshotstate: drop epoch pointers 4113 - snap: make Epoch default to {[0],[0]} on load from yaml 4114 - data/completion: pass documented arguments to completion functions 4115 - tests: skip opensuse from interfaces-openvswitch-support test 4116 - tests: simple reproducer for snap try and hooks bug 4117 - snapstate: do not allow classic mode for strict snaps 4118 - snap: make Epoch's MarshalJSON not simplify 4119 - store: remove unused currentSnap and currentSnapJSON 4120 - many: some small doc comment fixes in recent hotplug code 4121 - ifacestate/udevmonitor: added callback to signal end of 4122 enumeration 4123 - cmd/libsnap: add simplified feature flag checker 4124 - interfaces/opengl: add additional accesses for cuda 4125 - tests: add core18 only hooks test and fix running core18 only on 4126 classic 4127 - sanity, release, cmd/snap: refuse to try to do things on WSL. 4128 - cmd: make coreSupportsReExec faster 4129 - overlord/ifacestate: don't remove the dash when generating unique 4130 slot name 4131 - cmd/snap-seccomp: add full complement of ptrace constants 4132 - cmd: update autogen.sh for opensuse 4133 - interfaces/apparmor: allow access to /run/snap.$SNAP_INSTANCE_NAME 4134 - spread.yaml: add more systems to the autopkgtest and qemu backends 4135 - daemon: spool sideloaded snap into blob dir 4136 overlord/snapstate: address review feedback 4137 - packaging/opensuse: stop using golang-packaging 4138 - overlord/snapshots: survive an unknown user 4139 - wrappers: fix generating of service units with multiple `before` 4140 dependencies 4141 - data: run snapd.autoimport.service only after seeding 4142 - cmd/snap: unhide --name parameter to snap install, tweak help 4143 message 4144 - packaging/fedora: Merge changes from Fedora Dist-Git 4145 - tests/main/snap-service-after-before-install: verify after/before 4146 in snap install 4147 - overlord/ifacestate: mark connections disconnected by hotplug with 4148 hotplug-gone 4149 - ifacestate/ifacemgr: don't reload hotplug-gone connections on 4150 startup 4151 - tests: install dependencies during prepare 4152 - tests,store,daemon: ensure proxy settings are honored in 4153 auth/userinfo too 4154 - tests: core 18 does not support classic confinement 4155 - tests: add debug output for degraded test 4156 - strutil: make VersionCompare faster 4157 - overlord/snapshotstate/backend: survive missing directories 4158 - overlord/ifacestate: use map[string]*connState when passing conns 4159 around 4160 - tests: move fedora 28 to manual 4161 - overlord/snapshotstate/backend: be more verbose when 4162 SNAPPY_TESTING=1 4163 - tests: removing fedora 26 system from spread.yaml 4164 - tests: linode execution is not needed anymore 4165 - tests/lib: adjust to changed systemctl behaviour on debian-9 4166 - tests: fixes and new backend for tests on nested suite 4167 - strutil: let MatchCounter work with a nil regexp 4168 - ifacestate/helpers: findConnsForHotplugKey helper 4169 - many: move regexp.(Must)Compile out of non-init functions into 4170 variables 4171 - store: also make snaps downloaded via deltas 0600 4172 - snap: use Lstat to determine snap size, remove 4173 ReadSnapInfoExceptSize 4174 - interfaces/builtin: add adb-support interface 4175 - tests: fail if install_snap_local fails 4176 - strutil: add extra test to CommaSeparatedList as suggested by 4177 mborzecki 4178 - cmd/snap, daemon, strutil: use CommaSeparatedList to split a CSL 4179 - ifacestate: optimize disconnect hooks 4180 - cmd/snap-update-ns: parse the -u <uid> command line option 4181 - cmd/snap, tests: snapshots for all 4182 - client, cmd/daemon: allow disabling keepalive, improve degraded 4183 mode unit tests 4184 - snap: only show "next" refresh time if its after the hold time 4185 - overlord/snapstate: run tests for classic snaps even on systems 4186 that don't support classic 4187 - overlord/standby: fix a race between standby goroutine and stop 4188 - cmd/snap-exec: don't fail on some try mode snaps 4189 - cmd/snap, userd, testutil: tweak DBus tests to use private session 4190 bus connection 4191 - cmd: remove remnants of sc_should_populate_mount_ns 4192 - client, daemon, cmd/snap: indicate that services are socket/timer 4193 activated 4194 - cmd/snap-seccomp: only look for PTRACE_GETFPX?REGS where available 4195 - cmd/snap-confine: remove SC_NS_FAIL_GRACEFULLY 4196 - snap/pack, cmd/snap: allow specifying the filename of 'snap pack' 4197 - cmd/snap-discard-ns: add support for per-user mount namespaces 4198 - cmd/snap-confine: remove stale mount profile along stale namespace 4199 - data/apt: close stderr when calling snap in the apt install hook. 4200 - tests/main: fixes for the new shellcheck 4201 - testutil, cmd/snap: introduce and use testutil.EqualsWrapped and 4202 fly 4203 - tests: initial setup for testing current branch on nested vm and 4204 hotplug management 4205 - cmd: refactor IPC and lifecycle of the helper process 4206 - tests/main/parallel-install-store: the store has caught up, do not 4207 expect failures 4208 - overlord/snapstate, snap, wrappers: start services in the right 4209 order during install 4210 - interfaces/browser-support, cmd/snap-seccomp: Allow read-only 4211 ptrace, for the Breakpad crash reporter 4212 - snap,client: use a different exit code for retryable errors 4213 - overlord/ifacestate: don't conflict on own discard-snap tasks when 4214 refreshing & doing garbage collection 4215 - cmd/snap: tweak `snap services` output when there is no services 4216 - interfaces/many: updates to support k8s worker nodes 4217 - cmd/snap: gnome-software install via snap:// handler 4218 - overlord/many: cleanup use of snapName vs. instanceName 4219 - snapstate: add command-chain to supported featureset 4220 - daemon, snap: mark screenshots as deprecated 4221 - interfaces: fix decoding of json numbers for static/dynamic 4222 attributes* ifstate: fix decoding of json numbers 4223 - cmd/snap: try not to panic on error from "snap try" 4224 - tests: new cosmic image for spread tests on gce 4225 - interfaces/system-key: add parser mtime and only discover features 4226 on write 4227 - overlord/snapshotstate/backend: detect path to tar in unit tests 4228 - tests/unit/gccgo: drop gccgo unit tests 4229 - cmd: use relative file names in locking APIs 4230 - interfaces: fix NormalizeInterfaceAttributes, add tests 4231 - overlord/snapshotstate/backend: fall back on sudo when no runuser 4232 - cmd/snap-confine: reduce verbosity of debug and error messages 4233 - systemd: extend Status() to work for socket and timer units 4234 - interfaces: typo 'allows' for consistency with other ifaces 4235 - systemd,wrappers: don't start disabled services 4236 - ifacestate: simplify task chaining in ifacestate.Connect 4237 - tests: ensure that goa-daemon is off 4238 - snap/pack, snap/squashfs: remove extra copy before mksquashfs 4239 - cmd/snap: block 'snap help <cmd> --all' 4240 - asserts, image: ensure kernel, gadget, base and required-snaps use 4241 valid snap names 4242 - apparmor: add unit test for probeAppArmorParser and simplify code 4243 - interfaces/apparmor: conditionally add explicit deny rules for 4244 ptrace 4245 - po: sync translations from launchpad 4246 - osutil: tweak handling of error adduser errors 4247 - cmd: rename ns_group to mount_ns 4248 - tests/main/interfaces-accounts-service: more debugging 4249 - snap/pack, snap/squashfs: use type to determine mksquashfs args 4250 - data/systemd, wrappers: tweak system-shutdown helper for core18 4251 - tests: show list of processes when ifaces-accounts-service fails 4252 - tests: do not run degraded test in autopkgtest env 4253 - snap: overhaul validation error messages 4254 - ifacestate/hooks: only create interface hook tasks if hooks exist 4255 - osutil: workaround overlayfs on ubuntu 18.10 4256 - interfaces/home: don't allow snaps to write to $HOME/bin 4257 - interfaces: improve Attr error further 4258 - snapstate: tweak GetFeatureFlagBool() to have a default argument 4259 - many: cleanup remaining parallel installs TODOs 4260 - image: improve validation of extra snaps 4261 4262 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 16 Jan 2019 17:16:56 +0100 4263 4264 snapd (2.36.3) xenial; urgency=medium 4265 4266 * New upstream release, LP: #1795590 4267 - wrappers: use new systemd.IsActive in core18 early boot 4268 - httputil: retry on temporary net errors 4269 - wrappers: only restart service in core18 when they are active 4270 - systemd: start snapd.autoimport.service in --no-block mode 4271 - data/selinux: fix syntax error in definition of snappy_admin 4272 interfacewhen installing selinux-policy-devel package. 4273 - centos: enable SELinux support on CentOS 7 4274 - cmd, dirs, interfaces/apparmor: update distro identification to 4275 support ID="archlinux" 4276 - apparmor: allow hard link to snap-specific semaphore files 4277 - overlord,apparmor: new syskey behaviour + non-ignored snap-confine 4278 profile errors 4279 - snap: add new `snap run --trace-exec` call 4280 - interfaces/backends: detect too old apparmor_parser 4281 4282 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 14 Dec 2018 07:30:58 +0100 4283 4284 snapd (2.36.2) xenial; urgency=medium 4285 4286 * New upstream release, LP: #1795590 4287 - daemon, vendor: bump github.com/coreos/go-systemd/activation, 4288 handle API changes 4289 - snapstate: update fontconfig caches on install 4290 - overlord,daemon: mock security backends for testing 4291 - sanity, spread, tests: add CentOS 4292 - Revert "cmd/snap, tests/main/snap-info: highlight the current 4293 channel" 4294 - cmd/snap: add nanosleep to blacklisted syscalls when running with 4295 --strace 4296 - tests: add regression test for LP #1803535 4297 - snap-update-ns: fix trailing slash bug on trespassing error 4298 - interfaces/builtin/opengl: allow reading /etc/OpenCL/vendors 4299 - cmd/snap-confine: nvidia: pick up libnvidia-opencl.so 4300 - interfaces/opengl: add additional accesses for cuda 4301 4302 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 29 Nov 2018 10:48:29 +0100 4303 4304 snapd (2.36.1) xenial; urgency=medium 4305 4306 * New upstream release, LP: #1795590 4307 - tests,snap-confine: add core18 only hooks test and fix running 4308 core18 only hooks on classic 4309 - interfaces/apparmor: allow access to 4310 /run/snap.$SNAP_INSTANCE_NAME 4311 - spread.yaml: add more systems to the autopkgtest and qemu backends 4312 - daemon: spool sideloaded snap into blob dir 4313 - wrappers: fix generating of service units with multiple `before` 4314 dependencies 4315 - data: run snapd.autoimport.service only after seeding 4316 - tests,store,daemon: ensure proxy settings are honored in 4317 auth/userinfo too 4318 - packaging/fedora: Merge changes from Fedora Dist-Git 4319 - tests/lib: adjust to changed systemctl behaviour on debian-9 4320 - tests/main/interfces-accounts-service: switch to busctl, more 4321 debugging 4322 - store: also make snaps downloaded via deltas 0600 4323 - cmd/snap-exec: don't fail on some try mode snaps 4324 - cmd/snap, userd, testutil: tweak DBus tests to use private session 4325 bus connection 4326 - tests/main: fixes for the new shellcheck 4327 - cmd/snap-confine: remove stale mount profile along stale namespace 4328 - data/apt: close stderr when calling snap in the apt install hook 4329 4330 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 09 Nov 2018 14:42:28 +0100 4331 4332 snapd (2.36) xenial; urgency=medium 4333 4334 * New upstream release, LP: #1795590 4335 - overlord/snapstate, snap, wrappers: start services in the right 4336 order during install 4337 - tests: the store has caught up, drop gccgo test, update cosmic 4338 image 4339 - cmd/snap: try not to panic on error from "snap try"`--devmode` 4340 - overlord/ifacestate: don't conflict on own discard-snap tasks when 4341 refreshing & doing garbage collection 4342 - snapstate: add command-chain to supported featureset 4343 - daemon, snap: mark screenshots as deprecated 4344 - interfaces: fix decoding of json numbers for static/dynamic 4345 attributes 4346 - data/systemd, wrappers: tweak system-shutdown helper for core18 4347 - interfaces/system-key: add parser mtime and only discover features 4348 on write 4349 - interfaces: fix NormalizeInterfaceAttributes, add tests 4350 - systemd,wrappers: don't start disabled services 4351 - ifacestate/hooks: only create interface hook tasks if hooks exist 4352 - tests: do not run degraded test in autopkgtest env 4353 - osutil: workaround overlayfs on ubuntu 18.10 4354 - interfaces: include invalid type in Attr error 4355 - many: enable layouts by default 4356 - interfaces/default: don't scrub with change_profile with classic 4357 - cmd/snap: speed up unit tests 4358 - vendor, cmd/snap: refactor to accommodate the new less buggy go- 4359 flags 4360 - daemon: expose snapshots to the API 4361 - interfaces: updates for default, screen-inhibit-control, tpm, 4362 {hardware,system,network}-observe 4363 - interfaces/hotplug: rename HotplugDeviceKey method to HotplugKey, 4364 update test interface 4365 - interfaces/tests: use TestInterface instead of a custom local 4366 helper 4367 - overlord/snapstate: export getFeatureFlagBool. 4368 - osutil,asserts,daemon: support force password change in system- 4369 user assertion 4370 - snap, wrappers: support restart-delay, generate RestartSec=<value> 4371 in service units 4372 - tests/ifacestate: moved asserts-related mocking into helper 4373 - image: fetch device store assertion if available 4374 - many: enable AppArmor on Arch 4375 - interfaces/repo: two helper methods for hotplug 4376 - overlord/ifacestate: add hotplug slots with implicit slots 4377 - interfaces/hotplug: helpers and struct updates 4378 - tests: run the snapd tests on Ubuntu 18.10 4379 - snapstate: only report errors if there is an actual error 4380 - store: speedup unit tests 4381 - spread-shellcheck: fix interleaved error messages, tweaks 4382 - apparmor: create SnapAppArmorDir in setupSnapConfineReexec 4383 - ifacestate: implementation of defaultDeviceKey function for 4384 hotplug 4385 - cmd/snap-update-ns: remove empty placeholders used for mounting 4386 - snapshotstate: restore to current revision 4387 - tests/lib: rework the CLA checker 4388 - many: support and consider store friendly-stores when checking 4389 device scope constraints 4390 - overlord/snapstate: block parallel installs of snapd, core, base, 4391 kernel, gadget snaps 4392 - overlord/patch: patch for static plug/slot attributes 4393 - interfaces: honor static attributes when reloading conns 4394 - osutils: unit tests speedup; introduce «run-checks --short- 4395 unit». 4396 - systemd, wrappers: speed up wrappers unit tests 4397 - client: speedup unit tests 4398 - spread-shellcheck: use threads to parallelise 4399 - snap: validate plug and slot names 4400 - osutil, interfaces/apparmor: add and use of osutil.UnlinkMany 4401 - wrappers: do not depend on network.taget in socket units, tweak 4402 generated units 4403 - interfaces/apparmor: (un)load profiles in one apparmor_parser call 4404 - store: gracefully handle unexpected errors in 'action' 4405 response 4406 - cmd: put our manpages in section 8 4407 - overlord: don't make become-operational interfere with user 4408 requests 4409 - store: tweak unmatched refresh result error log 4410 - snap, client, daemon, store: use and expose "media" more 4411 - tests,cmd/snap-update-ns: add test showing mount update bug 4412 cmd/snap-update-ns: better detection of snapd-made tmpfs 4413 - tests: spread tests for aliases with parallel installed snaps 4414 - interfaces/seccomp: allow using statx by default 4415 - store: gracefully handle unexpected errors in 'action' response 4416 - overlord/snapshotstate: chown the tempdir 4417 - cmd/snap: attempt to start the document portal if running with a 4418 session bus 4419 - snap: detect layouts vs layout in snap.yaml 4420 - interfaces/apparmor: handle overlayfs snippet for snap-update-ns 4421 - snapcraft.yaml: set grade to stable 4422 - tests: shellchecks, final round 4423 - interfaces/apparmor: handle overlayfs snippet for snap-update-ns 4424 - snap: detect layouts vs layout in snap.yaml 4425 - overlord/snapshotstate: store epoch in snapshot, check on restore 4426 - cmd/snap: tweak UX of snap refresh --list 4427 - overlord/snapstate: improve consistency, use validateInfoAndFlags 4428 also in InstallPath 4429 - snap: give Epoch a CanRead helper 4430 - overlord/snapshotstate: small refactor of internal helpers 4431 - interfaces/builtin: adding missing permission to create 4432 /run/wpa_supplicant directory 4433 - interfaces/builtin: avahi interface update 4434 - client, daemon: support passing of 'unaliased' option when 4435 installing from local files 4436 - selftest: rename selftest.Run() to sanity.Check() 4437 - interfaces/apparmor: report apparmor support level and policy 4438 - ifacestate: helpers for generating slot names for hotplug 4439 - overlord/ifacestate: make sure to pass in the Model assertion when 4440 enforcing policies 4441 - overlord/snapshotstate: store the SnapID in snapshot, block 4442 restore if changed 4443 - interfaces: generalize writable mimic profile 4444 - asserts,interfaces/policy: add support for on-store/on-brand/on- 4445 model plug/slot rule constraints 4446 - many: fetch the device store assertion together and in the context 4447 of interpreting snap-declarations 4448 - tests: disable gccgo tests on 18.04 for now, until dh-golang vs 4449 gccgo is fixed 4450 - tests/main/parallel-install-services: add spread test for snaps 4451 with services 4452 - tests/main/snap-env: extend to cover parallel installations of 4453 snaps 4454 - tests/main/parallel-install-local: rename from *-sideload, extend 4455 to run snaps 4456 - cmd/snapd,daemon,overlord: without snaps, stop and wait for socket 4457 - cmd/snap: tame the help zoo 4458 - tests/main/parallel-install-store: run installed snap 4459 - cmd/snap: add a bunch of TRANSLATORS notes (and a little more 4460 i18n) 4461 - cmd: fix C formatting 4462 - tests: remove unneeded cleanup from layout tests 4463 - image: warn on missing default-providers 4464 - selftest: add test to ensure selftest.checks is up-to-date 4465 - interfaces/apparmor, interfaces/builtin: tweaks for parallel snap 4466 installs 4467 - userd: extend the list of supported XDG Desktop properties when 4468 autostarting user applications 4469 - cmd/snap-update-ns: enforce trespassing checks 4470 - selftest: actually run the kernel version selftest 4471 - snapd: go into degraded mode when the selftest fails 4472 - tests: add test that runs snapctl with a core18 snap 4473 - tests: add snap install hook with base: core18 4474 - overlord/{snapstate,assertstate}: parallel instances and 4475 refresh validation 4476 - interfaces/docker-support: add rules to read apparmor macros 4477 - tests: make nfs test available for more systems 4478 - tests: cleanup copy/paste dup in interfaces-network-setup-control 4479 - tests: using single sh snap in interface tests 4480 - overlord/snapstate: improve cleaup in mount-snap handler 4481 - tests: don't fail interfaces-bluez test if bluez is already 4482 installed 4483 - tests: find snaps just for edge and beta channels 4484 - daemon, snapstate: consistent snap list [--all] output with broken 4485 snaps 4486 - tests: fix listing to allow extra things in the notes column 4487 - cmd/snap: improve UX when removing specific snap revision 4488 - cmd/snap, tests/main/snap-info: highlight the current channel 4489 - interfaces/testiface: added TestHotplugInterface 4490 - snap: tweak commands 4491 - interfaces/hotplug: hotplug spec takes one slot definition 4492 - overlord/snapstate, snap: handle shared snap directories when 4493 installing/remove snaps with instance key 4494 - interfaces/opengl: misc accesses for VA-API 4495 - client, cmd/snap: expose warnings to the world 4496 - cmd/snap-update-ns: introduce trespassing state tracking 4497 - cmd/snap: commands no longer build their own client 4498 - tests: try to build cmd/snap for darwin 4499 - daemon: make error responders not printf when called with 1 4500 argument 4501 - many: return real snap name in API response 4502 - overlord/state: return latest LastAdded time in WarningsSummary 4503 - many: mount namespace mapping for parallel installs of snaps 4504 - ifacestate/autoconnect: do not self-conflict on setup-profiles if 4505 core-phase-2 4506 - client, cmd/snap: on !linux, exit when the client tries to Do 4507 something 4508 - tests: refactor for nested suite and tests fixed 4509 - tests: use lxd's waitready instead of polling lxd socket 4510 - ifacestate: don't initialize udev monitor until we have a system 4511 snap 4512 - interfaces: extra argument for static attrs in 4513 NewConnectedPlug/NewConnectedSlot 4514 - packaging/arch: sync packaging with AUR 4515 - snapstate/tests: serialize all appends in fake backend 4516 - snap-confine: make /lib/modules optional 4517 - cmd/snap: handle "snap interfaces core" better 4518 - store: move download tests into downloadSuite 4519 - tests,interfaces: run interfaces-account-control on UC18 4520 - tests: fix install snaps test by adding link to /snap 4521 - tests: fix for nested test suite 4522 - daemon: fix snap list --all with parallel snap instances 4523 - snapstate: refactor tests to use SetModel* 4524 - wrappers: fix snap services order in tests 4525 - many: provide salt for generating instance-key in store requests 4526 - ifacestate: fix hang when retrying content providers 4527 - snapd-env-generator: fix when PATH is empty or unset 4528 - overlord/assertstate: propagate TaskSnapSetup error 4529 - client: catch and expose logs errors 4530 - overlord: integrate device enumeration with udev monitor 4531 - daemon, overlord/state: warnings pipeline 4532 - tests: add publisher regex to fix the snap-info test pass on sru 4533 - cmd: use systemdsystemgeneratorsdir, cleanup automake complaints, 4534 tweaks 4535 - cmd/snap-update-ns: remove the unused Secure type 4536 - osutil, o/snapshotstate, o/sss/backend: quick fixes 4537 - tests: update the listing expression to support core from 4538 different channels 4539 - store: use stable instance key in store refresh requests 4540 - cmd/snap-update-ns: detach Mk{Prefix,{File,Dir,Symlink{,All}}} 4541 - overlord/patch: support for sublevel patches 4542 - tests: update prepare/restore for nightly suite 4543 - cmd/snap-update-ns: detach BindMount from the Secure type 4544 - cmd/snap-update-ns: re-factor pair of helpers to call fstatfs once 4545 - ifacestate: retry on "discard-snap" in autoconnect conflict check 4546 - cmd/snap-update-ns: separate OpenPath from the Secure struct 4547 - wrappers: remove Wants=network-online.target 4548 - tests: add new core16-base test 4549 - store: refactor tests so that they work as store_test package 4550 - many: add refresh.rate-limit core option 4551 - tests: run account-control test with different bases 4552 - tests: port proxy test to use python tinyproxy 4553 - overlord: introduce snapshotstate. 4554 - testutil: allow Fstatfs results to vary over time 4555 - snap-update-ns: add comments about the "deadcode" in bootstrap.go 4556 - overlord: add chg.Err() in testUpdateWithAutoconnectRetry 4557 - many: remove deadcode 4558 - tests: also run unit/gccgo in 18.04 4559 - tests: introduce a helper for installing local snaps with --name 4560 - tests: avoid removing core snap on reset 4561 - snap: use snap.SideInfo in test to fix build with gccgo 4562 - partition: remove unused runCommand 4563 - image: fix incorrect error when using local bases 4564 - overlord/snapstate: fix format 4565 - cmd: fix format 4566 - tests: setting "storage: preserve-size" just for amazon-linux 4567 system 4568 - tests: test for the hostname interface 4569 - interfaces/modem-manager: allow access to more USB strings 4570 - overlord: instantiate UDevMonitor 4571 - interfaces/apparmor: tweak naming, rename to AddLayout() 4572 - interfaces: take instance name in ifacetest.InstallSnap 4573 - snapcraft: do not use --dirty in mkversion 4574 - cmd: add systemd environment generator 4575 - devicestate: support getting (http) proxy from core config 4576 - many: rename ClientOpts to ClientOptions 4577 - prepare-image-grub-core18: remove image root in restore 4578 - overlord/ifacestate: remove "old-conn" from connect/undo connect 4579 handlers 4580 - packaging/fedora: Merge changes from Fedora Dist-Git 4581 - image: handle errors when downloadedSnapsInfoForBootConfig has no 4582 data 4583 - tests: use official core18 model assertion in tests 4584 - snap-confine: map /var/lib/extrausers into snaps mount-namespace 4585 - overlord,store: support proxy settings internally too 4586 - cmd/snap: bring back 'snap version' 4587 - interfaces/mount: tweak naming of things 4588 - strutil: fix MatchCounter to also work with buffer reuse 4589 - cmd,interfaces,tests: add /mnt to removable-media interface 4590 - systemd: do not run "snapd.snap-repair.service.in on firstboot 4591 bootstrap 4592 - snap/snapenv: drop some instance specific variables, use instance- 4593 specific ones for user locations 4594 - firstboot: sort by type when installing the firstboot snaps 4595 - cmd, cmd/snap: better support for non-linux 4596 - strutil: add new ParseByteSize 4597 - image: detect and error if bases are missing 4598 - interfaces/apparmor: do not downgrade confinement on arch with 4599 linux-hardened 4.17.4+ 4600 - daemon: add pokeStateLock helper to the daemon tests 4601 - snap/squashfs: improve error message from Build on mksquashfs 4602 failure 4603 - tests: remove /etc/alternatives from dirs-not-shared-with-host 4604 - cmd: support re-exec into the "snapd" snap 4605 - spdx: remove "Other Open Source" from the support licenses 4606 - snap: add new type "TypeSnapd" and attach to the snapd snap 4607 - interfaces: retain order of inserted security backends 4608 - tests: spread test for parallel-installs desktop file handling 4609 - overlord/devicestate: use OpenSSL's PEM format when generating 4610 keys 4611 - cmd: remove --skip-command-chain from snap run and snap-exec 4612 - selftest: detect if apparmor is unusable and error 4613 - snap,snap-exec: support command-chain for hooks 4614 - tests: significantly reduce execution time for managers test 4615 - snapstate: use new "snap.ByType" sorting 4616 - overlord/snapstate: fix UpdateMany() to work with parallel 4617 instances 4618 - testutil: have File* checker produce more useful error output 4619 - overlord/ifacestate: introduce connectOpts 4620 - interfaces: parallel instances support, extend unit tests 4621 - tests: normalize tests 4622 - snapstate: make InstallPath() return *snap.Info too 4623 - snap: add ByType sorting 4624 - interfaces: add cifs-mount interface 4625 - tests: use file based markers in snap-service-stop-mode 4626 - osutil: reorg and stub out things to get it building on darwin 4627 - tests/main/layout: cleanup after the test 4628 - osutil/sys: small tweaks to let it build on darwin 4629 - daemon, overlord/snapstate: set instance name when installing from 4630 snap file 4631 - many: move Uname to osutil, for more DRY and easier porting. 4632 - cmd/snap: create snap user directory when running parallel 4633 installed snaps 4634 - cmd/snap-confine: switch to validation of SNAP_INSTANCE_NAME 4635 - tests: basic test for parallel installs from the store 4636 - image: download the gadget from the model.GadgetTrack() 4637 - snapstate: add support for gadget tracks in model assertion 4638 - image: add support for "gadget=track" 4639 - overlord: handle sigterm during shutdown better 4640 - tests: add the original function to fix the errors on new kernels 4641 - tests/main/lxd: pull lxd from candidate; reënable i386 4642 - wayland: add extra sockets that are used by older toolkits (e.g. 4643 gtk3) 4644 - asserts: add support for gadget tracks in the model assertion 4645 - overlord/snapstate: improve feature flag validation 4646 - tests/main/lxd: run ubuntu-16.04 only on 64 bit variant 4647 - interfaces: workaround for activated services and newer DBus 4648 - tests: get the linux-image-extra available for the current kernel 4649 - interfaces: add new "sysfs-name" to i2c interfaces code 4650 - interfaces: disconnect hooks 4651 - cmd/libsnap: unify detection of core/classic with go 4652 - tests: fix autopkgtest failures in cosmic 4653 - snap: fix advice json 4654 - overlord/snapstate: parallel snap install 4655 - store: backward compatible instance-key handling for non-instance 4656 snaps 4657 - interfaces: add screencast-legacy for video and audio recording 4658 - tests: skip unsupported architectures for fedora-base-smoke test 4659 - tests: avoid using the journalctl cursor when it has not been 4660 created yet 4661 - snapstate: ensure normal snaps wait for the "snapd" snap on 4662 refresh 4663 - tests: enable lxd again everywhere 4664 - tests: new test for udisks2 interface 4665 - interfaces: add cpu-control for setting CPU tunables 4666 - overlord/devicestate: fix tests, set seeded in registration 4667 through proxy tests 4668 - debian: add missing breaks on cosmic 4669 - devicestate: only run device-hook when fully seeded 4670 - seccomp: conditionally add socketcall() based on system and base 4671 - tests: new test for juju client observe interface 4672 - overlord/devicestate: DTRT w/a snap proxy to reach a serial vault 4673 - snapcraft: set version information for the snapd snap 4674 - cmd/snap, daemon: error out if trying to install a snap using 4675 empty name 4676 - hookstate: simplify some hook tests 4677 - cmd/snap-confine: extend security tag validation to cover instance 4678 names 4679 - snap: fix mocking of systemkey in snap-run tests 4680 - packaging/opensuse: fix static build of snap-update-ns and snap- 4681 exec 4682 - interfaces/builtin: addtl network-manager resolved DBus fix 4683 - udev: skip TestParseUdevEvent on ppc 4684 - interfaces: miscellaneous policy updates 4685 - debian: add tzdata to build-dep to ensure snapd builds correctly 4686 - cmd/libsnap-confine-private: intoduce helpers for validating snap 4687 instance name and instance key 4688 - snap,snap-exec: support command-chain for app 4689 - interfaces/builtin: network-manager resolved DBus changes 4690 - snap: tweak `snap wait` command 4691 - cmd/snap-update-ns: introduce validation of snap instance names 4692 - cmd/snap: fix some corner-case test setup weirdness 4693 - cmd,dirs: fix various issues discovered by a Fedora base snap 4694 - tests/lib/prepare: fix extra snaps test 4695 4696 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 24 Oct 2018 11:30:45 -0600 4697 4698 snapd (2.35.5) xenial; urgency=medium 4699 4700 * New upstream release, LP: #1786438 4701 - interfaces/home: don't allow snaps to write to $HOME/bin 4702 - osutil: workaround overlayfs on ubuntu 18.10 4703 4704 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 15 Oct 2018 22:23:02 +0200 4705 4706 snapd (2.35.4) xenial; urgency=medium 4707 4708 * New upstream release, LP: #1786438 4709 - wrappers: do not depend on network.taget in socket units, tweak 4710 generated units 4711 4712 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 05 Oct 2018 14:41:33 +0200 4713 4714 snapd (2.35.3) xenial; urgency=medium 4715 4716 * New upstream release, LP: #1786438 4717 - overlord: don't make become-operational interfere with user 4718 requests 4719 - docker_support.go: add rules to read apparmor macros 4720 - interfaces/apparmor: handle overlayfs snippet for snap-update- 4721 nsFixes: 4722 - snapcraft.yaml: add workaround to fix snapcraft build 4723 - interfaces/opengl: misc accesses for VA-API 4724 4725 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 05 Oct 2018 09:32:00 +0200 4726 4727 snapd (2.35.2) xenial; urgency=medium 4728 4729 * New upstream release, LP: #1786438 4730 - cmd,overlord/snapstate: go 1.11 format fixes 4731 - ifacestate: fix hang when retrying content providers 4732 - snap-env-generator: do nothing when PATH is unset 4733 - interfaces/modem-manager: allow access to more USB strings 4734 4735 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 12 Sep 2018 09:32:00 +0200 4736 4737 snapd (2.35.1) xenial; urgency=medium 4738 4739 * New upstream release, LP: #1786438 4740 - packaging/fedora: Merge changes from Fedora Dist-Git 4741 - snapcraft: do not use --diry in mkversion.sh 4742 - cmd: add systemd environment generator 4743 - snap-confine: map /var/lib/extrausers into snaps mount-namespace 4744 - tests: cherry-pick test fixes from master for 2.35 4745 - systemd: do not run "snapd.snap-repair.service.in on firstboot 4746 bootstrap 4747 - interfaces: retain order of inserted security backends 4748 - selftest: detect if apparmor is unusable and error 4749 4750 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 03 Sep 2018 14:44:06 +0200 4751 4752 snapd (2.35) xenial; urgency=medium 4753 4754 * New upstream release, LP: #1786438 4755 - snapstate: add support for gadget tracks in model assertion 4756 - image: add support for "gadget=track" 4757 - asserts: add support for gadget tracks in the model assertion 4758 - interfaces: add new "sysfs-name" to i2c interfaces code 4759 - overlord: handle sigterm during shutdown better 4760 - wayland: add extra sockets that are used by older toolkits 4761 - snap: fix advice json 4762 - tests: fix autopkgtest failures in cosmic 4763 - store: backward compatible instance-key handling for non-instance 4764 snaps 4765 - snapstate: ensure normal snaps wait for the "snapd" snap on 4766 refresh 4767 - interfaces: add cpu-control for setting CPU tunables 4768 - debian: add missing breaks on comisc 4769 - overlord/devicestate: DTRT w/a snap proxy to reach a serial vault 4770 - devicestate: only run device-hook when fully seeded 4771 - seccomp: conditionally add socketcall() based on system and base 4772 - interfaces/builtin: addtl network-manager resolved DBus fix 4773 - hookstate: simplify some hook tests 4774 - udev: skip TestParseUdevEvent on ppc 4775 - interfaces: miscellaneous policy updates 4776 - debian: add tzdata to build-dep to ensure snapd builds correctly 4777 - interfaces/builtin: network-manager resolved DBus changes 4778 - tests: add spread test for fedora29 base snap 4779 - cmd/libsnap: treat distributions with VARIANT_ID=snappy as "core" 4780 - dirs: fix SnapMountDir inside a Fedora base snap 4781 - tests: fix snapd-failover for core18 with external backend 4782 - overlord/snapstate: always clean SnapState when doing Get() 4783 - overlod/ifacestate: always use a new SnapState when fetching the 4784 snap state 4785 - overlord/devicestate: have the serial request talk to the proxy if 4786 set 4787 - interfaces/hotplug: udevadm output parser 4788 - tests: New test for daemon-notify interface 4789 - image: ensure "core" is ordered early if base: and core is used 4790 - cmd/snap-confine: snap-device-helper parallel installs support 4791 - tests: enable interfaces-framebuffer everywhere 4792 - tests: reduce nc wait time from 2 to 1 second 4793 - snap/snapenv: add snap instance specific variables 4794 - cmd/snap-confine: add minimal test for snap-device-helper 4795 - tests: enable snapctl test on core18 4796 - overlord: added UDevMonitor for future hotplug support 4797 - wrappers: do not glob when removing desktop files 4798 - tests: add dbus monitor log to interfaces-accounts-service 4799 - tests: add core-18 systems to external backend 4800 - wrappers: account for changed app wrapper in parallel installed 4801 snaps 4802 - wrappers: make sure that the tests pass on non-Ubuntu too 4803 - many: add snapd snap failure handling 4804 - tests: new test for dvb interface 4805 - configstate: accept refresh.timer=managed 4806 - tests: new test for snap logs command 4807 - wrapper: generate all the snapd unit files when generating 4808 wrappers 4809 - store: keep all files with link-count > 1 in the cache 4810 - store: be less verbose in the common refresh case of "no updates" 4811 - snap-confine: update snappy-app-dev path 4812 - debian: ensure dependency on fixed apt on 18.04 4813 - snapd: add initial software watchdog for snapd 4814 - daemon, systemd: change journalctl -n=all to --no-tail 4815 - systemd: fix snapd.apparmor.service.in dependencies 4816 - snapstate: refuse to remove bases or core if snaps need them 4817 - snap: introduce package-level helpers for building snap related 4818 directory/file paths 4819 - overlord/devicestate: deny parallel install of kernel or gadget 4820 snaps 4821 - store: clean up parallel-install TODOs in store tests 4822 - timeutil: fix first weekday of the month schedule 4823 - interfaces: match all possible tty but console 4824 - tests: shellchecks part 5 4825 - cmd/snap-confine: allow ptrace read for 4.18 kernels 4826 - advise: make the bolt database do the atomic rename dance 4827 - tests/main/apt-hooks: debug dump of commands.db 4828 - tests/lib/prepare-restore: update Arch Linux kernel LOCALVERSION 4829 handling 4830 - snap: validate instance name as part of Validate() 4831 - daemon: if a snap is inactive, don't ask systemd about its 4832 services. 4833 - udev: skip TestParseUdevEvent on s390x 4834 - tests: switch core-amd64-18 to use `kernel: pc-kernel=18` 4835 - asserts,image: add support for new kernel=track syntax 4836 - tests: new gce image for fedora 27 4837 - interfaces/apparmor: use the cache in mtime-resilient way 4838 - store, overlord/snapstate: introduce instance name in store APIs 4839 - tests: drive-by cleanup of redudant pkgname matching 4840 - tests: ensure apt-hook is only run after catalog update ran 4841 - tests: use pkill instead of kilall 4842 - tests/main: another bunch of updates for Amazon Linux 2 4843 - tests/lib/snaps: avoid using relative command paths that go up in 4844 the directory tree 4845 - tests: disable/fix more tests for Amazon Linux 2 4846 - overlord: introduce InstanceKey to SnapState and SnapSetup, 4847 renames 4848 - daemon: make sure most change generating handlers can produce 4849 errors with kinds 4850 - tests/main/interfaces-calendar-service: skip the test on AMZN2 4851 - tests/lib/snaps: avoid using relative command paths that go up in 4852 the directory tree 4853 - cmd/snap: add a green check mark to verified publishers 4854 - cmd/snap: fix two issues in the cmd/snap unit tests 4855 - packaging/fedora: fix target path of /snap symlink 4856 - cmd/snap: support `--last=<type>?` to mean "no error on empty" 4857 - cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so 4858 - strutil: detect and bail out of Unmarshal on duplicate key 4859 - packaging/fedora(amzn2): disable SELinux, drop dependency on 4860 squashfuse for AMZN2 4861 - spread, tests: add support for Amazon Linux 2 4862 - packaging/fedora: Add Amazon Linux 2 support 4863 - many: make Wait/Stop optional on StateManagers 4864 - snap/squashfs: stop printing unsquashfs info to stderr 4865 - snap: add support for `snap advise-snap --from-apt` 4866 - overlord/ifacestate: ignore connect if already connected 4867 - tests: change the service snap used instead of network-bind- 4868 consumer 4869 - interfaces/network-control: update for wpa-supplicant and ifupdown 4870 - tests: fix raciness in stop mode tests 4871 - logger: try to not have double dates 4872 - debian: use deb-systemd-invoke instead of systemctl directly 4873 - tests: run all main tests on core18 4874 - many: finish sharing a single TaskRunner with all the managers 4875 - interfaces/repo: added AllHotplugInterfaces helper 4876 - snapstate: ensure kernel-track is honored on switch/refresh 4877 - overlord/ifacestate: support implicit slots on snapd 4878 - image: add support for "kernel-track" in `snap prepare-image` 4879 - tests: add test that ensures we do not boot any system in degraded 4880 state 4881 - tests: update tests to work on core18 4882 - cmd/snap: check for typographic dashes in command 4883 - tests: fix tests expecting old email address 4884 - client: add some existing error kinds that were not listed in 4885 client.go 4886 - tests: add missing slots in classic and core provider test snaps 4887 - overlord,daemon,cmd: re-map snap names around the edges of snapd 4888 - tests: use install_local in snap-run-hooks 4889 - coreconfig: add support for `snap set system network.disable- 4890 ipv6` 4891 - overlord/snapstate: dedupe default content providers 4892 - osutil/udev: sync with upstream 4893 - debian: do not ship snapd.apparmor.service on ubuntu 4894 - overlord: have SnapManager use a passed in TaskRunner created by 4895 Overlord 4896 - many: streamline the generic conflict check mechanisms 4897 - tests: remove unneeded setup code in snap-run-symlink 4898 - cmd/snap: print unset license as "unset", instead of "unknown" 4899 - asserts: add (optional) kernel-track to model assertion 4900 - snap/squashfs, tests: pass -n[o-progress] to {mk,un}squashfs 4901 - interfaces/pulseaudio: be clear that the interface allows playback 4902 and record 4903 - snap: support hook environment 4904 - interfaces: fix typo "daemonNotify" (add missing "n") 4905 - interfaces: tweak tests of daemon-notify, use common naming 4906 - interfaces: allow invoking systemd-notify when daemon-notify is 4907 connected 4908 - store: make snap blobs be 0600 4909 - interfaces,daemon: move JSON types to the daemon 4910 - tests: prepare needs to handle bin/snapctl being a symlink 4911 - tests: do not mask errors in interfaces-timezone-control (#5405) 4912 - packaging: put snapctl into /usr/lib/snapd and symlink in usr/bin 4913 - tests: add basic integration test for spread hold 4914 - overlord/snapstate: improve PlugsOnly comment 4915 - many: assorted shellcheck fixes 4916 - store, daemon, client, cmd/snap: expose "scope", default to wide 4917 - snapstate: allow setting "refresh.timer=managed" 4918 - cmd/snap: display a link to data privacy notice for interactive 4919 snap login 4920 - client, cmd/snap: pass snap instance name when installing from 4921 file 4922 - cmd/snap: add 'debug paths' command 4923 - snapstate: make sure all *link-*snap tasks carry a snap type and 4924 further hints 4925 - devicestate: fix race when refreshing a snap with snapd-control 4926 - tests: fix tests on arch 4927 - tests: start active system units on reset 4928 - tests: new test for joystick interface 4929 - tests: moving install of dependencies to pkgdb helper 4930 - tests: enable new fedora image with test dependencies installed 4931 - tests: start using the new opensuse image with test dependencies 4932 - tests: check catalog refresh before and after restart snapd 4933 - tests: stop restarting journald service on prepare 4934 - interfaces: make core-support a no-op interface 4935 - interfaces: prefer "snapd" when resolving implicit connections 4936 - interfaces/hotplug: add hotplug Specification and 4937 HotplugDeviceInfo 4938 - many: lessen the use of core-support 4939 - tests: fixes for the autopkgtest failures in cosmic 4940 - tests: remove extra ' which breaks interfaces-bluetooth-control 4941 test 4942 - dirs: fix antergos typo 4943 - tests: use grep to avoid non-matching messages from MATCH 4944 - dirs: improve distro detection for Antegros 4945 - vendor: switch to latest bson 4946 - interfaces/builtin: create can-bus interface 4947 - tests: "snap connect" is idempotent so just connect 4948 - many: use extra "releases" information on store "revision-not- 4949 found" errors to produce better errors 4950 - interfaces: treat "snapd" snap as type:os 4951 - interfaces: tweak tests to have less repetition of "core" and 4952 "ubuntu… 4953 - tests: simplify econnreset test 4954 - snap: add helper for renaming slots 4955 - devicestate: fix panic in firstboot code when no snaps are seeded 4956 - tests: add artful for sru validation on google backend 4957 - snap,interfaces: move interface name validation to snap 4958 - overlord/snapstate: introduce path to fake backend ops 4959 - cmd/snap-confine: fix snaps running on core18 4960 - many: expose publisher's validation throughout the API 4961 4962 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 20 Aug 2018 12:36:33 +0200 4963 4964 snapd (2.34.3) xenial; urgency=medium 4965 4966 * New upstream release, LP: #1779403 4967 - interfaces/apparmor: use the cache in mtime-resilient way 4968 - cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so 4969 - snapstate: allow setting "refresh.timer=managed" 4970 - spread: switch Fedora and openSUSE images 4971 4972 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 27 Jul 2018 19:08:44 +0200 4973 4974 snapd (2.34.2) xenial; urgency=medium 4975 4976 * New upstream release, LP: #1779403 4977 - packaging: fix bogus date in fedora snapd.spec 4978 - tests: fix tests expecting old email address 4979 4980 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 19 Jul 2018 12:05:50 +0200 4981 4982 snapd (2.34.1) xenial; urgency=medium 4983 4984 * New upstream release, LP: #1779403 4985 - tests: cherry-pick test fixes from master for 2.34 4986 - coreconfig: add support for `snap set system network.disable- 4987 ipv6` 4988 - debian: do not ship snapd.apparmor.service on ubuntu 4989 - overlord/snapstate: dedupe default content providers 4990 - interfaces/builtin: create can-bus interface 4991 4992 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 17 Jul 2018 19:46:56 +0200 4993 4994 snapd (2.34) xenial; urgency=medium 4995 4996 * New upstream release, LP: #1779403 4997 - store, daemon, client, cmd/snap: expose "scope", default to wide* 4998 - tests: fix arch tests 4999 - snapstate: make sure all *link-*snap tasks carry a snap type and 5000 further hints 5001 - snapstate: allow setting "refresh.timer=managed" 5002 - cmd/snap: display a link to data privacy notice for interactive 5003 snap login 5004 - devicestate: fix race when refreshing a snap with snapd-control 5005 - tests: skip interfaces-framebuffer when no /dev/fb0 is found 5006 - tests: run interfaces-contacts-service only where test-snapd-eds 5007 is available 5008 - many: expose publisher's validation throughout the API 5009 - many: use extra "releases" information on store "revision-not- 5010 found" errors to produce better errors 5011 - dirs: improve distro detection for Antegros 5012 - Revert "dirs: improve identification of Arch Linux like systems" 5013 - devicestate: fix panic in firstboot code when no snaps are seeded 5014 - i18n: use xgettext-go --files-from to avoid running into cmdline 5015 size limits 5016 - interfaces: move ValidateName helper to utils 5017 - snapstate,ifstate: wait for pending restarts before auto- 5018 connecting 5019 - snap: account for parallel installs in wrappers, place info and 5020 tests 5021 - configcore: fix incorrect handling of keys with numbers (like 5022 gpu_mem_512) 5023 - tests: fix tests when no keyboard input detected 5024 - overlord/configstate: add watchdog options 5025 - snap-mgmt: fix for non-existent dbus system policy dir, 5026 shellchecks 5027 - tests/main/snapd-notify: use systemd's service properties rater 5028 than the journal 5029 - snapstate: allow removal of snap.TypeOS when using a model with a 5030 base 5031 - interfaces: make findSnapdPath smarter 5032 - tests: run "arp" tests only if arp is available 5033 - spread: increase the number of auto retries for package downloads 5034 in opensuse 5035 - cmd/snap-confine: fix nvidia support under lxd 5036 - corecfg: added experimental.hotplug feature flag 5037 - image: block installation of parallel snap instances 5038 - interfaces: moved normalize method to interfaces/utils and made it 5039 public 5040 - api/snapctl: allow -h and --help for regular users. 5041 - interfaces/udisks2: also implement implicit classic slot 5042 - cmd/snap-confine: include CUDA runtime libraries 5043 - tests: disable auto-refresh test on core18 5044 - many: switch to account validation: unproven|verified 5045 - overlord/ifacestate: get/set connection state only via helpers 5046 - tests: adding extra check to validate journalctl is showing 5047 current test data 5048 - data: add systemd environment configuration 5049 - i18n: handle write errors in xgettext-go 5050 - snap: helper for validating snap instance names 5051 - snap{/snaptest}: set instance key based on snap name 5052 - userd: fix running unit tests on KDE 5053 - tests/main/econnreset: limit ingress traffic to 512kB/s 5054 - snap: introduce a struct Channel to represent store channels, and 5055 helpers to work with it 5056 - tests: add fedora to distro_clean_package_cache function 5057 - many: rename snap.Info.StoreName() to snap.Info.SnapName() 5058 - tests: add spread test to ensure snapd/core18 are not removable 5059 - tests: tweaks for running the main tests on core18 5060 - overlord/{config,snap}state: introduce experimental.parallel- 5061 instances feature flag 5062 - strutil: support iteration over almost clean paths 5063 - strutil: add PathIterator.Rewind 5064 - tests: update interfaces-timeserver-control to core18 5065 - tests: add halt-timeout to google backend 5066 - tests: skip security-udev-input-subsystem without /dev/input/by- 5067 path 5068 - snap: introduce the instance key field 5069 - packaging/opensuse: remaining packaging updates for 2.33.1 5070 - overlord/snapstate: disallow installing snapd on baseless models 5071 - tests: disable core tests on all core systems (16 and 18) 5072 - dirs: improve identification of Arch Linux like systems 5073 - many: expose full publisher info over the snapd API 5074 - tests: disable core tests on all core systems (16 and 18) 5075 - tests/main/xdg-open: restore or clean up xdg-open 5076 - tests/main/interfaces-firewall-control: shellcheck fix 5077 - snapstate: sort "snapd" first 5078 - systemd: require snapd.socket in snapd.seeded.service; make sure 5079 snapd.seeded 5080 - spread-shellcheck: use the latest shellcheck available from snaps 5081 - tests: use "ss" instead of "netstat" (netstat is not available in 5082 core18) 5083 - data/complete: fix three out of four shellcheck warnings in 5084 data/complete 5085 - packaging/opensuse: fix typo, missing assignment 5086 - tests: initial core18 spread image building 5087 - overlord: introduce a gadget-connect task and use it at first boot 5088 - data/completion: fix inconsistency in +x and shebang 5089 - firstboot: mark essential snaps as "Required" in the state 5090 - spread-shellcheck: use a whitelist of files that are allowed to 5091 fail validation 5092 - packaging/opensuse: build position-independent binaries 5093 - ifacestate: prevent running interface hooks twice when self- 5094 connecting on autoconnect 5095 - data: remove /bin/sh from snapd.sh 5096 - tests: fix shellcheck 0.5.0 warnings 5097 - packaging/opensuse: snap-confine should be 06755 5098 - packaging/opensuse: ship apparmor integration if enabled 5099 - interfaces/udev,misc: only trigger udev events on input subsystem 5100 as needed 5101 - packaging/opensuse: add missing bits for snapd.seeded.service 5102 - packaging/opensuse: don't use %-macros in comments 5103 - tests: shellchecks part 4 5104 - many: rename snap.Info.Name() to snap.Info.InstanceName(), leave 5105 parallel-install TODOs 5106 - store: drop unused: channel map types, and details fixture. 5107 - store: have a basic test about the unmarshalling of /search 5108 results 5109 - tests: show executed tests on current system when a test fails 5110 - tests: fix for the download of the big snap 5111 - interfaces/apparmor: add chopTree 5112 - tests: remove double debug: | entry in tests and add more checks 5113 - cmd/snap-update-ns: introduce mimicRequired helper 5114 - interfaces: move assertions around for better failure line number 5115 - store: log a nice clear "download succeeded" message 5116 - snap: run snap-confine from the re-exec location 5117 - snapstate: support restarting snapd from the snapd snap on core18 5118 - tests: show status of the partial test-snapd-huge snap in 5119 econnreset test 5120 - tests: fix interfaces-calendar-service test when gvfsd-metadata 5121 loks the xdg dirctory 5122 - store: switch store.SnapInfo to use the new v2/info endpoint 5123 - interfaces: add Repository.AllInterfaces 5124 - snapstate: stop using evolving SnapSpec internally, use an 5125 internal-only snapSpec instead 5126 - cmd/libsnap-confine-private: introduce a helper for splitting snap 5127 name 5128 - tests: econnreset/retry tweaks 5129 - store, et al: kill dead code that uses the bulk endpoint 5130 - tests/lib/prepare-restore: fix upgrade/reboot handling on arch 5131 - cmd/snap-update-ns,strutil: move PathIterator to strutil, add 5132 Depth helper 5133 - data/systemd/snapd.run-from-snap: ensure snapd tooling is 5134 available 5135 - store: switch connectivity check to use v2/info 5136 - devicestate: support seeding from a base snap instead of core 5137 - snapstate,ifacestate: remove core-phase-2 handling 5138 - interfaces/docker-support: update for docker 18.05 5139 - tests: enable fedora 28 again 5140 - overlord/ifacestate: simplify checkConnectConflicts and also 5141 connect signature 5142 - snap: parse connect instructions in gadget.yaml 5143 - tests: fix snapd-repair.timer on ubuntu-core-snapd-run- from-snap 5144 test 5145 - interfaces/apparmor: allow killing snap-update-ns 5146 - tests: skip "try" test on s390x 5147 - store, image: have 'snap download' use v2/refresh action=download 5148 - interfaces/policy: test that base policy can be parsed 5149 - tests: publish test-snapd-appstreamid for any architecture 5150 - snap: don't include newline in hook environment 5151 - cmd/snap-update-ns: use RCall with SyscallsEqual 5152 - cmd/snap-update-ns: add IsSnapdCreatedPrivateTmpfs and tests 5153 - tests: skip security-dev-input-event-denied on s390x/arm64 5154 - interfaces: add the dvb interface 5155 - daemon: paging is not a thing. 5156 - cmd/snap-mgmt: remove system key on purge 5157 - testutil: syscall sequence checker 5158 - cmd/snap-update-ns: fix a leaking file descriptor in MkSymlink 5159 - packaging: use official bolt in the errtracker on fedora 5160 - many: add `snap debug connectivity` command* many: add `snap debug 5161 connectivity` command 5162 - configstate: deny configuration of base snaps and for the "snapd" 5163 snap 5164 - interfaces/raw-usb: also allow usb serial devices 5165 - snap: reject more layout locations 5166 - errtracker: do not send duplicated reports 5167 - httputil: extra debug if an error is not retried 5168 - cmd/snap-update-ns: improve wording in many errors 5169 - cmd/snap: use snaptest.MockSnapCurrent in `snap run` tests 5170 - cmd/snap-update-ns: add helper for checking for read-only 5171 filesystems 5172 - interfaces/builtin/docker: use commonInterface over specific 5173 struct 5174 - testutil: add test support for Fstatfs 5175 - cmd/snap-update-ns: discard the concept of segments 5176 - cmd/libsnap-confine-private: helper for extracting store snap name 5177 from local-name 5178 - tests: fix flaky test for hooks undo 5179 - interfaces: add {contacts,calendar}-service interfaces 5180 - tests: retry 'restarting into..' match in the snap-confine-from- 5181 core test 5182 - systemd: adjust TestWriteMountUnitForDirs() to use 5183 squashfs.MockUseFuse(false) 5184 - data: add helper that can generate/start/stop the snapd service 5185 - sefltest: advise reboot into 4.4 on trusty running 3.13 5186 - selftest: add new selftest package that tests squashfs mounting 5187 - store, jsonutil: move store.getStructFields to 5188 jsonutil.StructFields 5189 - ifacestate: improved conflict and error handling when creating 5190 autoconnect tasks 5191 - cmd/snap-confine: applied make fmt 5192 - interfaces/udev: call 'udevadm settle --timeout=10' after 5193 triggering events 5194 - tests: wait more time until snap start to be downloaded on 5195 econnreset test 5196 - snapstate: ensure fakestore returns TypeOS for the core snap 5197 - tests: fix lxd test which hangs on restore 5198 - cmd/snap-update-ns: add PathIterator 5199 - asserts,image: add support for models with bases 5200 - tests: shellchecks part 3 5201 - overlord/hookstate: support undo for hooks 5202 - interfaces/tpm: Allow access to the kernel resource manager 5203 - tests: skip appstream-id test for core systems 32 bits 5204 - interfaces/home: remove redundant common interface assignment 5205 - tests: reprioritise a few tests that are known to be slow 5206 - cmd/snap: small help tweaks and fixes 5207 - tests: add test to ensure /dev/input/event* for non-joysticks is 5208 denied 5209 - spread-shellcheck: silly fix & pep8 5210 - spread: switch fedora 28 to manual 5211 - client,cmd/snap,daemon,tests: expose base of a snap over API, show 5212 it in snap info --verbose 5213 - tests: fix lxd test - --auto now sets up networking 5214 - tests: adding fedora-28 to spread.yaml 5215 - interfaces: add juju-client-observe interface 5216 - client, daemon: add a "mounted-from" entry to local snaps' JSON 5217 - image: set model.DisplayName() in bootenv as "snap_menuentry" 5218 - packaging/opensuse: Refactor packaging to support all openSUSE 5219 targets 5220 - interfaces/joystick: force use of the device cgroup with joystick 5221 interface 5222 - interfaces/hardware-observe: allow access to /etc/sensors* for 5223 libsensors 5224 - interfaces: remove Plug/Slot types 5225 - interface hooks: update old AutoConnect methods 5226 - snapcraft: run with DEB_BUILD_OPTIONS=nocheck 5227 - overlord/{config,snap}state: the number of inactive revisions is 5228 config 5229 - cmd/snap: check with snapd for unknown sections 5230 - tests: moving test helpers from sh to bash 5231 - data/systemd: add snapd.apparmor.service 5232 - many: expose AppStream IDs (AKA common ID) 5233 - many: hold refresh when on metered connections 5234 - interfaces/joystick: also support modern evdev joysticks and 5235 gamepads 5236 - xdgopenproxy: skip TestOpenUnreadableFile when run as root 5237 - snapcraft: use dpkg-buildpackage options that work in xenial 5238 - spread: openSUSE LEAP 42.2 was EOLd in January, remove it 5239 - get-deps: work with an unset GOPATH too 5240 - interfaces/apparmor: use strict template on openSUSE tumbleweed 5241 - packaging: filter out verbose flags from "dh-golang" 5242 - packaging: fix description 5243 - snapcraft.yaml: add minimal snapcraft.yaml with custom build 5244 5245 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 06 Jul 2018 16:08:17 +0200 5246 5247 snapd (2.33.1) xenial; urgency=medium 5248 5249 * New upstream release, LP: #1773118 5250 - many: improve udev trigger on refresh experience 5251 - systemd: require snapd.socket in snapd.seeded.service 5252 - snap: don't include newline in hook environment 5253 - interfaces/apparmor: allow killing snap-update-ns 5254 - tests: skip "try" test on s390x 5255 - tests: skip security-dev-input-event-denied when /dev/input/by- 5256 path/ is missing 5257 - tests: skip security-dev-input-event-denied on s390x/arm64 5258 5259 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 21 Jun 2018 17:37:56 +0200 5260 5261 snapd (2.33) xenial; urgency=medium 5262 5263 * New upstream release, LP: #1773118 5264 - packaging: use official bolt in the errtracker on fedora 5265 - many: add `snap debug connectivity` command 5266 - interfaces/raw-usb: also allow usb serial devices 5267 - errtracker: do not send duplicated reports 5268 - selftest: add new selftest package that tests squashfs mounting 5269 - tests: backport lxd force stop and econnreset fixes 5270 - tests: add test to ensure /dev/input/event* for non-joysticks is 5271 denied 5272 - interfaces/joystick: support modern evdev joysticks 5273 - interfaces: add juju-client-observe 5274 - interfaces/hardware-observe: allow access to /etc/sensors* for 5275 libsensors 5276 - many: holding refresh on metered connections 5277 - many: expose AppStream IDs (AKA common ID) 5278 - tests: speed up save/restore snapd state for all-snap systems 5279 during tests execution 5280 - interfaces/apparmor: use helper to load stray profile 5281 - tests: ubuntu core abstraction 5282 - overlord/snapstate: don't panic in a corner case interaction of 5283 cleanup tasks and pruning 5284 - interfaces/apparmor: add 'mediate_deleted' profile flag for all 5285 snaps 5286 - tests: new parameter for the journalctl rate limit 5287 - spread-shellcheck: port to python 5288 - interfaces/home: add 'read' attribute to allow non-owner read to 5289 @{HOME} 5290 - testutil: import check.v1 differently to workaround gccgo error 5291 - interfaces/many: miscellaneous updates for default, desktop, 5292 desktop-legacy, system-observe, hardware-observe, opengl and gpg- 5293 keys 5294 - snapstate/hooks: reorder autoconnect and reconnect hooks 5295 - daemon: update unit tests to match current master 5296 - overlord/snapshotstate/backend: introducing the snapshot backend 5297 - many: support 'system' nickname in interfaces 5298 - userd: add the "snap" scheme to the whitelist 5299 - many: make rebooting of core on refresh immediate, refactor logic 5300 around it 5301 - tests/main/snap-service-timer: account for service timer being in 5302 the 'running' state 5303 - interfaces/builtin: allow access to libGLESv* too for opengl 5304 interface 5305 - daemon: fix unit tests on arch 5306 - interfaces/default,process-control: miscellaneous signal policy 5307 fixes 5308 - interfaces/bulitin: add write permission to optical-drive 5309 - configstate: validate known core.* options 5310 - snap, wrappers: systemd WatchdogSec support 5311 - ifacestate: do not auto-connect manually disconnected interfaces 5312 - systemd: mock useFuse() so testsuite passes in container via lxd 5313 snap 5314 - snap/env: fix env duplication logic 5315 - snap: some doc comments fixes and additions 5316 - cmd/snap-confine, interfaces/opengl: allow access to glvnd EGL 5317 vendor files 5318 - ifacestate: unify reconnect and autoconnect methods 5319 - tests: fix user mounts test for external systems 5320 - overlord/snapstate,overlord/auth,store: coalesce no auth user 5321 refresh requests 5322 - boot,partition: improve tests/docs around SetNextBoot() 5323 - many: improve `snap wait` command 5324 - snap: fix `snap interface --attrs` output when numbers are used 5325 - cmd/snap-update-ns: poke holes when creating source paths for 5326 layouts 5327 - snapstate: support getting new bases/default-providers on refresh 5328 - ifacemgr: remove stale connections on startup 5329 - asserts: use Attrer in policy checks 5330 - testutil: record system call errors / return values 5331 - tests: increase timeouts to make tests reliable on slow boards 5332 - repo: pass and return ConnRef via pointers 5333 - interfaces: add xdg-document-portal support to desktop interface 5334 - debian: add a zenity|kdialog suggests 5335 - snapstate: make TestDoPrereqRetryWhenBaseInFlight less brittle 5336 - tests: go must be installed as a classic snap 5337 - tests: use journalctl cursors instead rotating logs 5338 - daemon: add confinement-options to /v2/system-info 5339 daemon: refactor classic support flag to be more structured 5340 - tests: build spread in the autopkgtests with a more recent go 5341 - cmd/snap: fix the message when snap.channel != snap.tracking 5342 - overlord/snapstate: allow core defaults configuration via 'system' 5343 key 5344 - many: add "snap debug sandbox-features" and needed bits 5345 - interfaces: interface hooks for refresh 5346 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 5347 - boot: clear "snap_mode" when needed 5348 - many: add wait command and `snapd.seeded` service 5349 - interfaces: move host font update-ns AppArmor rules to desktop 5350 interface 5351 - jsonutil/safejson: introducing safejson.String & 5352 safejson.Paragraph 5353 - cmd/snap-update-ns: use Secure.BindMount to bind mount files 5354 - cmd/snap-update-ns,tests: mimic the mode and ownership of 5355 directories 5356 - cmd/snap-update-ns: add support for ignoring mounts with missing 5357 source/target 5358 - interfaces: interface hooks implementation 5359 - cmd/libsnap: fix compile error on more restrictive gcc 5360 cmd/libsnap: fix compilation errors on gcc 8 5361 - interfaces/apparmor: allow bash and dash to be in /usr/bin/ 5362 - cmd/snap-confine: allow any base snap to provide /etc/alternatives 5363 - tests: fix interfaces-network test for systems with partial 5364 confinement 5365 - spread.yaml: add cosmic (18.10) to autopkgtest/qemu 5366 - tests: ubuntu 18.04 or higher does not need linux-image-extra- 5367 - configcore: validate experimental.layouts option 5368 - interfaces:minor autoconnect cleanup 5369 - HACKING: fix typos 5370 - spread: add adt for ubuntu 18.10 5371 - tests: skip test lp-1721518 for arch, snapd is failing to start 5372 after reboot 5373 - interfaces/x11: allow X11 slot implementations 5374 - tests: checking interfaces declaring the specific interface 5375 - snap: improve error for snaps not available in the given context 5376 - cmdstate: add missing test for default timeout handling 5377 - tests: shellcheck spread tasks 5378 - cmd/snap: update install/refresh help vs --revision 5379 - cmd/snap-confine: add support for per-user mounts 5380 - snap: do not use overly short timeout in `snap 5381 {start,stop,restart}` 5382 - tests: adding google-sru backend replacing linode-sur 5383 - interfaces/apparmor: fix incorrect apparmor profile glob 5384 - systemd: replace ancient paths with 16.04+ standards 5385 - overlord,systemd: store snap revision in mount units 5386 - testutil: add test helper for SysLstat 5387 - testutil,cmd: rename test helper of Lstat to OsLstat 5388 - testutil: document all fake syscall/os functions 5389 - osutil,interfaces,cmd: use less hardcoded strings 5390 - testutil: rename UNMOUNT_NOFOLLOW to umountNoFollow 5391 - testutil: don't dot-import check.v1 5392 - store: getStructFields takes pointers now 5393 - tests: drop `linux-image-extra-$(uname -r)` install in 18.04 5394 - many: fix false negatives reported by vet 5395 - osutil,interfaces: use uint32 for uid, gid 5396 - many: fix various issues reported by shellcheck 5397 - tests: add pending shutdown detection 5398 - image: support refreshing soft-expired user macaroons in tooling 5399 - interfaces/builtin, daemon: cleanup mocked builtin interfaces in 5400 daemon tests 5401 - interfaces/builtin: add support for software-watchdog interface 5402 - spread: auto accept key changes when calling dnf 5403 - snap,overlord/snapstate: introduce and use BrokenSnapError 5404 - tests: detect kernel oops during tests and abort tests in this 5405 case 5406 - tests: bring back one missing test in snap-service-stop-mode 5407 - debian: update LP bug for the 2.32.5 SRU 5408 - userd: set up journal logging streams for autostarted apps 5409 - snap,tests : don't fail if we cannot stat MountFile 5410 - tests: smaller fixes for Arch tests 5411 - tests: run interfaces-broadcom-asic-control early 5412 - client: support for snapshot sets, snapshots, and snapshot actions 5413 - tests: skip interfaces-content test on core devices 5414 - cmd: generalize locking to global, snap and per-user locks 5415 - release-tools: handle the snapd-x.y.z version 5416 - packaging: fix incorrectly auto-generated changelog entry for 5417 2.32.5 5418 - tests: add arch to CI 5419 - systemd: add helper for opening stream file descriptors to the 5420 journal 5421 - cmd/snap: handle distros with no version ID 5422 - many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of 5423 conflating that with refresh-mode 5424 - tests: removing linode-sru backend 5425 - tests: updating bionic version for spread tests on google 5426 - overlord/snapstate: poll for up to 10s if a snap is unexpectedly 5427 not mounted in doMountSnap 5428 - overlord/snapstate: allow to get an error from readInfo instead of 5429 a broken stub, use it in doMountSnap 5430 - snap: snap.AppInfo is now a fmt.Stringer 5431 - tests: move fedora 27 to google backend 5432 - many: add `core.problem-reports.disabled` option 5433 - cmd/snap-update-ns: remove the need for stash directory in secure 5434 bind mount implementation 5435 - errtracker: check for whoopsie.service instead of reading 5436 /etc/whoopsie 5437 - cmd/snap: user session application autostart v3 5438 - tests: add test to ensure `snap refresh --amend` works with 5439 different channels 5440 - tests: add check for OOM error after each test 5441 - cmd/snap-seccomp: graceful handling of non-multilib host 5442 - interfaces/shutdown: allow calling SetWallMessage 5443 - cmd/snap-update-ns: add secure bind mount implementation for use 5444 with user mounts 5445 - snap: fix `snap advise-snap --command` output to match spec 5446 - overlord/snapstate: on multi-snap refresh make sure bases and core 5447 are finished before dependent snaps 5448 - overlord/snapstate: introduce envvars to control the channels for 5449 based and prereqs 5450 - cmd/snap-confine: ignore missing cgroups in snap-device-helper 5451 - debian: add gbp.conf script to build snapd via `gbp buildpackage` 5452 - daemon,overlord/hookstate: stop/wait for running hooks before 5453 closing the snapctl socket 5454 - advisor: use json for package database 5455 - interfaces/hostname-control: allow setting the hostname via 5456 syscall and systemd 5457 - tests/main/interfaces-opengl-nvidia: verify access to 32bit 5458 libraries 5459 - interfaces: misc updates for default, firewall-control, fuse- 5460 support and process-control 5461 - data/selinux: Give snapd access to more aspects of the system 5462 - many: use the new install/refresh API by switching snapstate to 5463 use store.SnapAction 5464 - errtracker: make TestJournalErrorSilentError work on gccgo 5465 - ifacestate: add to the repo also snaps that are pending being 5466 activated but have a done setup-profiles 5467 - snapstate, ifacestate: inject auto-connect tasks try 2 5468 - cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs 5469 - errtracker: add more fields to aid debugging 5470 - interfaces: make system-key more robust against invalid fstab 5471 entries 5472 - overlord,interfaces: be more vocal about broken snaps and read 5473 errors 5474 - ifacestate: injectTasks helper 5475 - osutil: fix fstab parser to allow for # in field values 5476 - cmd/snap-mgmt: remove timers, udev rules, dbus policy files 5477 - release-tools: add repack-debian-tarball.sh 5478 - daemon,client: add build-id to /v2/system-info 5479 - cmd: make fmt (indent 2.2.11) 5480 - interfaces/content: add rule so slot can access writable files at 5481 plug's mountpoint 5482 - interfaces: add /var/lib/snapd/snap to @{INSTALL_DIR} 5483 - ifacestate: don't surface errors from stale connections 5484 - cmd/snap-update-ns: convert Secure* family of functions into 5485 methods 5486 - tests: adjust canonical-livepatch test on GCE 5487 - tests: fix quoting issues in econnreset test 5488 - cmd/snap-confine: make /run/media an alias of /media 5489 - cmd/snap-update-ns: rename i to segNum 5490 - interfaces/serial: change pattern not to exclude /dev/ttymxc* 5491 - spread: disable StartLimitInterval option on opensuse-42.3 5492 - configstate: give a chance to immediately recompute the next 5493 refresh time when schedules are set 5494 - cmd/snap-confine: attempt to detect if multiarch host uses 5495 arch triplets 5496 - store: add Store.SnapAction to support the new install/refresh API 5497 endpoint 5498 - tests: adding test for removable-media interface 5499 - tests: update interface tests to remove extra checks and normalize 5500 tests 5501 - timeutil: in Human, count days with fingers 5502 - vendor: update gopkg.in/yaml.v2 to the latest version 5503 - cmd/snap-confine: fix Archlinux compatibility 5504 - cmd/snapd: make sure signal handlers are established during early 5505 daemon startup 5506 - cmd/snap-confine: apparmor: allow creating prefix path for 5507 gl/vulkan 5508 - osutil: use tilde suffix for temporary files used for atomic 5509 replacement 5510 - tests: copy or sanity check core users using usernames 5511 - tests: disentangle etc vs extrausers in core tests 5512 - tests: fix snap-run tests when snapd is not running 5513 - overlord/configstate: change how ssh is stopped/started 5514 - snap: make `snap run` look at the system-key for security profiles 5515 - strutil, cmd/snap: drop strutil.WordWrap, first pass at 5516 replacement 5517 - tests: adding opensuse-42.3 to google 5518 - cmd/snap: fix one issue with noWait error handling logic, add 5519 tests plus other cleanups 5520 - cmd/snap-confine: nvidia: preserve globbed file prefix 5521 - advisor: add comment why osutil.FileExists(dirs.SnapCommandsDB) is 5522 needed 5523 - interfaces,release: probe seccomp features lazily 5524 - tests: change debug for layout test 5525 - advisor: deal with missing commands.db file 5526 - interfaces/apparmor: simplify UpdateNS internals 5527 - polkit: Pass caller uid to PolicyKit authority 5528 - tests: moving debian 9 from linode to google backend 5529 - cmd/snap-confine: nvidia: add tls/libnvidia-tls.so* glob 5530 - po: specify charset in po/snappy.pot 5531 - interfaces: harden snap-update-ns profile 5532 - snap: Call SanitizePlugsSlots from InfoFromSnapYaml 5533 - tests: update tests to deal with s390x quirks 5534 - debian: run snap.mount upgrade fixup *before* debhelper 5535 - tests: move xenial i386 to google backend 5536 - snapstate: add compat mode for default-provider 5537 - tests: a bunch of test fixes for s390x from looking at the 5538 autopkgtest logs 5539 - packaging: recommend "gnupg" instead of "gnupg1 | gnupg" 5540 - interfaces/builtin: let MM change qmi device attributes 5541 - tests: add workaround for s390x failure 5542 - snap/pack, cmd/snap: add `snap pack --check-skeleton` 5543 - daemon: support 'system' as nickname of the core snap 5544 - cmd/snap-update-ns: use x-snapd.{synthetic,needed-by} in practice 5545 - devicestate: add DeviceManager.Registered returning a channel 5546 closed when the device is known to be registered 5547 - store: Sections and WriteCatalogs need to strictly send device 5548 auth only if the device has a custom store 5549 - tests: add bionic system to google backend 5550 - many: fix shellcheck warnings in bionic 5551 - cmd/snap-update-ns: don't fail on existing symlinks 5552 - tests: make autopkgtest tests more targeted 5553 - cmd/snap-update-ns: fix creation of layout symlinks 5554 - spread,tests: move suite-level prepare/restore to central script 5555 - many: propagate contexts enough to be able to mark store 5556 operations done from the Ensure loop 5557 - snap: don't create empty Change with "Hold" state on disconnect 5558 - snap: unify snap name validation w/python; enforce length limit. 5559 - cmd/snap: use shlex when parsing `snap run --strace` arguments 5560 - osutil,testutil: add symlinkat(2) and readlinkat(2) 5561 - tests: autopkgtest may have non edge core too 5562 - tests: adding checks before stopping snapd service to avoid job 5563 canceled on ubuntu 14.04 5564 - errtracker: respect the /etc/whoopsie configuration 5565 - overlord/snapstate: hold refreshes for 2h after seeding on 5566 classic 5567 - cmd/snap: tweak and polish help strings 5568 - snapstate: put layout feature behind feature flag 5569 - tests: force profile re-generation via system-key 5570 - snap/squashfs: when installing from seed, try symlink before cp 5571 - wrappers: services which are socket or timer activated should not 5572 be started during boot 5573 - many: go vet cleanups 5574 - tests: define MATCH from spread 5575 - packaging/fedora: Merge changes from Fedora Dist-Git plus trivial 5576 fix 5577 - cmd/snap: use timeutil.Human to show times in `snap refresh 5578 --time` 5579 - cmd/snap: in changes and tasks, default to human-friendly times 5580 - many: support holding refreshes by setting refresh.hold 5581 - Revert "cmd/snap: use timeutil.Human to show times in `snap 5582 refresh -…-time`" 5583 - cmd/snap: use timeutil.Human to show times in `snap refresh 5584 --time` 5585 - tests/main/snap-service-refresh-mode: refactor the test to rely on 5586 comparing PIDs 5587 - tests/main/media-sharing: improve the test to cover /media and 5588 /run/media 5589 - store: enable deltas for core devices too 5590 - cmd/snap: unhide --no-wait; make wait use go via waitMixin 5591 - strutil/shlex: import github.com/google/shlex into the tree 5592 - vendor: update github.com/mvo5/libseccomp-golang 5593 - overlord/snapstate: block install of "system" 5594 - cmd/snap: "current"→"installed"; "refreshed"→"refresh-date" 5595 - many: add the snapd-generator 5596 - cmd/snap-seccomp: Cancel the atomic file on error, not just Close 5597 - polkit: ensure error is properly set if dialog is dismissed 5598 - snap-confine, snap-seccomp: utilize new seccomp logging features 5599 - progress: tweak ansimeter cvvis use to no longer confuse minicom 5600 - xdgopenproxy: integrate xdg-open implementation into snapctl 5601 - tests: avoid removing preinstalled snaps on core 5602 - tests: chroot into core to run xdg-open there 5603 - userd: add an OpenFile method for launching local files with xdg- 5604 open 5605 - tests: moving ubuntu core from linode to google backend 5606 - run-checks: remove accidental bashism 5607 - i18n: simplify NG usage by doing the modulo math in-package. 5608 - snap/squashfs: set timezone when calling unsquashfs to get the 5609 build date 5610 - timeutil: timeutil.Human(t) gives a human-friendly string for t 5611 - snap: add autostart app property 5612 - tests: add support for external backend executions on listing test 5613 - tests: make interface-broadcom-asic-control test work on rpi 5614 - configstate: when disable "ssh" we must disable the "sshd" service 5615 - interfaces/apparmor,system-key: add upperdir snippets for strict 5616 snaps on livecd 5617 - snap/squashfs: add BuildDate 5618 - store: parse the JSON format used by the coming new store API to 5619 convey snap information 5620 - many: remove snapd.refresh.{timer,service} 5621 - tests: adding ubuntu-14.04-64 to the google backend 5622 - interfaces: add xdg-desktop-portal support to desktop interface 5623 - packaging/arch: sync with snapd/snapd-git from AUR 5624 - wrappers, tests/main/snap-service-timer: restore missing commit, 5625 add spread test for timer services 5626 - store: don't ask for snap_yaml_raw except on the details endpoint 5627 - many: generate and use per-snap snap-update-ns profile 5628 - tests: add debug for layout test 5629 - wrappers: detect whether systemd-analyze can be used in unit tests 5630 - osutil: allow creating strings out of MountInfoEntry 5631 - servicestate: use systemctl enable+start and disable+stop instead 5632 of --now flag 5633 - osutil: handle file being matched by multiple patterns 5634 - daemon, snap: fix InstallDate, make a method of *snap.Info 5635 - wrappers: timer services 5636 - wrappers: generator for systemd OnCalendar schedules 5637 - asserts: fix flaky storeSuite.TestCheckAuthority 5638 - tests: fix dependency for ubuntu artful 5639 - spread: start moving towards google backend 5640 - tests: add a spread test for layouts 5641 - ifacestate: be consistent passing Retry.After as named field 5642 - cmd/snap-update-ns: use recursive bind mounts for writable mimic 5643 - testutil: allow mocking syscall.Fstat 5644 - overlord/snapstate: verify that default schedule is randomized and 5645 is not a single time 5646 - many: simplify mocking of home-on-NFS 5647 - cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink 5648 - store: move infoFromRemote into details.go close to snapDetails 5649 - userd/tests: Test kdialog calls and mock kdialog too to make tests 5650 work in KDE 5651 - cmd/snap: tweaks to 'snap info' (feat. installed->current rename) 5652 - cmd/snap: add self-strace to `snap run` 5653 - interfaces/screen-inhibit-control,network-status: fix dbus path 5654 and interface typos 5655 - update-pot: Force xgettext() to return true 5656 - store: cleanup test naming, dropping remoteRepo and 5657 UbuntuStore(Repository)? references 5658 - store: reorg auth refresh 5659 5660 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 08 Jun 2018 17:13:47 +0200 5661 5662 snapd (2.32.9) xenial; urgency=medium 5663 5664 * New upstream release, LP: #1767833 5665 - tests: run all spread tests inside GCE 5666 - tests: build spread in the autopkgtests with a more recent go 5667 5668 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 16 May 2018 10:20:08 +0200 5669 5670 snapd (2.32.8) xenial; urgency=medium 5671 5672 * New upstream release, LP: #1767833 5673 - snapd.core-fixup.sh: fix workaround for corrupted uboot.env 5674 and add tests 5675 5676 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 11 May 2018 14:36:16 +0200 5677 5678 snapd (2.32.7) xenial; urgency=medium 5679 5680 * New upstream release, LP: #1767833 5681 - many: add wait command and seeded target (2 5682 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 5683 - boot: clear "snap_mode" when needed 5684 - cmd/libsnap: fix compile error on more restrictive gcc 5685 - tests: cherry-pick commits to move spread to google backend 5686 - spread.yaml: add cosmic (18.10) to autopkgtest/qemu 5687 - userd: set up journal logging streams for autostarted apps 5688 5689 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 11 May 2018 13:09:32 +0200 5690 5691 snapd (2.32.6) xenial; urgency=medium 5692 5693 * New upstream release, LP: #1767833 5694 - snap: do not use overly short timeout in `snap 5695 {start,stop,restart}` 5696 - interfaces/apparmor: fix incorrect apparmor profile glob 5697 - tests: detect kernel oops during tests and abort tests in this 5698 case 5699 - tests: run interfaces-boradcom-asic-control early 5700 - tests: skip interfaces-content test on core devices 5701 5702 -- Michael Vogt <michael.vogt@ubuntu.com> Sun, 29 Apr 2018 19:21:53 +0200 5703 5704 snapd (2.32.5) xenial; urgency=medium 5705 5706 * New upstream release, LP: #1765090 5707 - many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of 5708 conflating that with refresh-mode 5709 - overlord/snapstate: poll for up to 10s if a snap is unexpectedly 5710 not mounted in doMountSnap 5711 - daemon: support 'system' as nickname of the core snap 5712 5713 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 16 Apr 2018 11:41:48 +0200 5714 5715 snapd (2.32.4) xenial; urgency=medium 5716 5717 * New upstream release, LP: #1756173 5718 - cmd/snap: user session application autostart 5719 - overlord/snapstate: introduce envvars to control the channels for 5720 bases and prereqs 5721 - overlord/snapstate: on multi-snap refresh make sure bases and core 5722 are finished before dependent snaps 5723 - many: use the new install/refresh /v2/snaps/refresh store API 5724 5725 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Apr 2018 16:30:45 +0200 5726 5727 snapd (2.32.3.2) xenial; urgency=medium 5728 5729 * New upstream release, LP: #1756173 5730 - errtracker: make TestJournalErrorSilentError work on 5731 gccgo 5732 - errtracker: check for whoopsie.service instead of reading 5733 /etc/whoopsie 5734 5735 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Apr 2018 12:40:09 +0200 5736 5737 snapd (2.32.3.1) xenial; urgency=medium 5738 5739 * New upstream release, LP: #1756173 5740 - debian: add gbp.conf script to build snapd via `gbp 5741 buildpackage` 5742 - tests: add check for OOM error after each test 5743 - cmd/snap-seccomp: graceful handling of non-multilib host 5744 - interfaces/shutdown: allow calling SetWallMessage 5745 - data/selinux: Give snapd access to more aspects of the system 5746 - daemon,overlord/hookstate: stop/wait for running hooks before 5747 closing the snapctl socket 5748 - cmd/snap-confine: ignore missing cgroups in snap-device-helper 5749 - interfaces: misc updates for default, firewall-control, fuse- 5750 support and process-control 5751 - overlord: test fix, address corner case 5752 5753 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Apr 2018 10:34:00 +0200 5754 5755 snapd (2.32.3) xenial; urgency=medium 5756 5757 * New upstream release, LP: #1756173 5758 - ifacestate: add to the repo also snaps that are pending being 5759 activated but have a done setup-profiles 5760 - snapstate: inject autoconnect tasks in doLinkSnap for regular 5761 snaps 5762 - cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs 5763 - errtracker: add more fields to aid debugging 5764 - interfaces: make system-key more robust against invalid fstab 5765 entries 5766 - cmd/snap-mgmt: remove timers, udev rules, dbus policy files 5767 - overlord,interfaces: be more vocal about broken snaps and read 5768 errors 5769 - osutil: fix fstab parser to allow for # in field values 5770 5771 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 05 Apr 2018 22:35:35 +0200 5772 5773 snapd (2.32.2) xenial; urgency=medium 5774 5775 * New upstream release, LP: #1756173 5776 - interfaces/content: add rule so slot can access writable files at 5777 plug's mountpoint 5778 - tests: adjust canonical-livepatch test on GCE 5779 - interfaces/serial: change pattern not to exclude /dev/ttymxc 5780 - spread.yaml: switch Fedora 27 tests to manual 5781 - store: Sections and WriteCatalogs need to strictly send device 5782 auth only if the device has a custom store 5783 - configstate: give a chance to immediately recompute the next 5784 refresh time when schedules are set 5785 - cmd/snap-confine: attempt to detect if multiarch host uses arch 5786 triplets 5787 - vendor: update gopkg.in/yaml.v2 to the latest version (#4945) 5788 5789 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 31 Mar 2018 21:09:29 +0200 5790 5791 snapd (2.32.1) xenial; urgency=medium 5792 5793 * New upstream release, LP: #1756173 5794 - cmd/snapd: make sure signal handlers are established during early 5795 daemon startup 5796 - osutil: use tilde suffix for temporary files used for atomic 5797 replacement 5798 - cmd/snap-confine: apparmor: allow creating prefix path for 5799 gl/vulkan 5800 - tests: disentangle etc vs extrausers in core tests 5801 - packaging: fix changelogs' typo 5802 5803 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 26 Mar 2018 21:01:41 +0200 5804 5805 snapd (2.32) xenial; urgency=medium 5806 5807 * New upstream release, LP: #1756173 5808 - snap: make `snap run` look at the system-key for security profiles 5809 - overlord/configstate: change how ssh is stopped/started 5810 - cmd/snap-confine: nvidia: preserve globbed file prefix 5811 - advisor: deal with missing commands.db file 5812 - interfaces,release: probe seccomp features lazily 5813 - interfaces: harden snap-update-ns profile 5814 - polkit: Pass caller uid to PolicyKit authority 5815 - tests: change debug for layout test 5816 - cmd/snap-confine: don't use per-snap s-u-n profile 5817 - many: backported fixes for layouts and symlinks 5818 - cmd/snap-confine: nvidia: add tls/libnvidia-tls.so* glob 5819 - cmd/snap-update-ns: use x-snapd.{synthetic,needed-by} in practice 5820 - snap: Call SanitizePlugsSlots from InfoFromSnapYaml 5821 - cmd/snap-confine: fix ptrace rule with snap-confine peer 5822 - tests: update tests to deal with s390x quirks 5823 - snapstate: add compat mode for default-provider"snapname:ifname" 5824 - snap-confine: fallback to /lib/udev/snappy-app-dev if the core is 5825 older 5826 - tests: a bunch of test fixes for s390x from looking at the 5827 autopkgtest logs 5828 - packaging: recommend "gnupg" instead of "gnupg1 | gnupg" 5829 - interfaces/builtin: let MM change qmi device attributes 5830 - debian: undo snap.mount system unit removal 5831 - snap: don't create empty Change with "Hold" state on disconnect 5832 - tests: add workaround for s390x failure 5833 - tests: make autopkgtest tests more targeted 5834 - many: propagate contexts enough to be able to mark store 5835 operations done from the Ensure loop 5836 - store: cleanup test naming, dropping remoteRepo and 5837 UbuntuStore(Repository)? references 5838 - store: reorg auth refresh 5839 - tests: autopkgtest may have non edge core too 5840 - data: translate polkit strings 5841 - snapstate: put layout feature behind feature flag 5842 - errtracker: respect the /etc/whoopsie configuration 5843 - overlord/snapstate: hold refreshes for 2h after seeding on classic 5844 - many: cherry-pick relevant `go vet` 1.10 fixes to 2.32 5845 - snap/squashfs: when installing from seed, try symlink before cp 5846 - wrappers: services which are socket or timer activated should not 5847 be started during boot 5848 - many: generate and use per-snap snap-update-ns profile 5849 - many: support holding refreshes by setting refresh.hold 5850 - snap-confine, snap-seccomp: utilize new seccomp logging features 5851 - many: remove snapd.refresh.{timer,service} 5852 - many: add the snapd-generator 5853 - polkit: do not shadow dbus errors, avoid panic in case of errors 5854 - polkit: ensure error is properly set if dialog is dismissed 5855 - xdgopenproxy: integrate xdg-open implementation into snapctl 5856 - userd: add an OpenFile method for launching local files with xdg- 5857 open 5858 - asserts: use a timestamp for the assertion after the signing key 5859 has been created 5860 - ifacestate: be consistent passing Retry.After as named field 5861 - interfaces/apparmor,system-key: add upperdir snippets for strict 5862 snaps on livecd 5863 interfaces/apparmor,system-key: add upperdir snippets for strict 5864 snaps 5865 - configstate: when disable "ssh" we must disable the "sshd" 5866 service 5867 - store: don't ask for snap_yaml_raw except on the details endpoint 5868 - osutil: handle file being matched by multiple patterns 5869 - cmd/snap-update-ns: use recursive bind mounts for writable mimic 5870 - cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink 5871 - interfaces/screen-inhibit-control,network-status: fix dbus path 5872 and interface typos 5873 - interfaces/network-status: fix use of '/' in interface in DBus 5874 rule 5875 - interfaces/screen-inhibit-control: fix use of '.' in path in DBus 5876 rule 5877 - overlord/snapstate: fix task iteration order in 5878 TestDoPrereqRetryWhenBaseInFlight 5879 - interfaces: add an interface for gnome-online-accounts D-Bus 5880 service 5881 - snap: pass full timer spec in `snap run --timer` 5882 - cmd/snap: introduce `snap run --timer` 5883 - snapstate: auto install default-providers for content snaps 5884 - hooks/strutil: limit the number of data read from the hooks to 5885 avoid oom 5886 - osutil: aggregate mockable symbols 5887 - tests: make sure snapd is running before attempting to remove 5888 leftover snaps 5889 - timeutil: account for 24h wrap when flattening clock spans 5890 - many: send new Snap-CDN header with none or with cloud instance 5891 placement info as needed 5892 - cmd/snap-update-ns,testutil: move syscall testing helpers 5893 - tests: disable interfaces-location-control on s390x 5894 - tests: new spread test for gpio-memory-control interface 5895 - tests: spread test for broadcom-asic-control interface 5896 - tests: make restore of interfaces-password-manager-service more 5897 robust 5898 - tests/lib/prepare-restore: sync journal before rotating and 5899 vacuuming 5900 - overlord/snapstate: use spread in the default refresh schedule 5901 - tests: fixes for autopkgtest in bionic 5902 - timeutil: introduce helpers for checking it time falls inside the 5903 schedule 5904 - cmd/snap-repair,httputil: set snap-repair User-Agent on requests 5905 - vendor: resync formatting of vendor.json 5906 - snapstate/ifacestate: auto-connect tasks 5907 - cmd/snap: also include tracking channel in list output. 5908 - interfaces/apparmor: use snap revision with surrounding '.' when 5909 replacing in glob 5910 - debian,vendor: import github.com/snapcore/squashfs and use 5911 - many: implement "refresh-mode: {restart,endure,...}" for services 5912 - daemon: make the ast-inspecting test smarter; drop 'exceptions' 5913 - tests: new spread test for kvm interface 5914 - cmd/snap: tweaks to 'snap info' output 5915 - snap: remove underscore from version validator regexp 5916 - testutil: add File{Matches,Equals,Contains} checkers. 5917 - snap: improve the version validator's error messages. 5918 - osutil: refactor EnsureFileState to separate out the comparator 5919 - timeutil: fix scheduling on nth weekday of the month 5920 - cmd/snap-update-ns: small refactor for upcoming per-user mounts 5921 - many: rename snappy-app-dev to snap-device-helper 5922 - systemd: add default target for timers 5923 - interfaces: miscellaneous policy updates for home, opengl, time- 5924 control, network, et al 5925 - cmd/snap: linter cleanups 5926 - interfaces/mount: generate per-user mount profiles 5927 - cmd/snap: use proper help strings for `snap userd --help` 5928 - packaging: provide a compat symlink for snappy-app-dev 5929 - interfaces/time-control,netlink-audit: adjust for util-linux 5930 compiled with libaudit 5931 - tests: adding new test to validate the raw-usb interface 5932 - snap: add support for `snap run --gdb` 5933 - interfaces/builtin: allow MM to access login1 5934 - packaging: fix build on sbuild 5935 - store: revert PR#4532 and do not display displayname 5936 - interfaces/mount: add support for per-user mount entries 5937 - cmd/system-shutdown: move sync to be even more pessimistic 5938 - osutil: reimplement IsMounted with LoadMountInfo 5939 - tests/main/ubuntu-core-services: enable snapd.refresh.timer for 5940 the test 5941 - many: don't allow layout construction to silently fail 5942 - interfaces/apparmor: ensure snap-confine profile for reexec is 5943 current 5944 - interfaces/apparmor: generalize apparmor load and unload helpers 5945 - tests: removing packages which are not needed anymore to generate 5946 random data 5947 - snap: improve `snap run` comments/naming 5948 - snap: allow options for --strace, e.g. `snap run --strace="-tt"` 5949 - tests: fix spread test failures on 18.04 5950 - systemd: update comment on SocketsTarget 5951 - osutil: add and update docstrings 5952 - osutil: parse mount entries without options field 5953 - interfaces: mock away real mountinfo/fstab 5954 - many: move /lib/udev/snappy-app-dev to /usr/lib/snapd/snappy-app- 5955 dev 5956 - overlord/snapstate/backend: perform cleanup if snap setup fails 5957 - tests/lib/prepare: disable snapd.refresh.timer 5958 - daemon: remove redundant UserOK markings from api commands 5959 - snap: introduce timer service data types and validation 5960 - cmd/snap: fix UX of snap services 5961 - daemon: allow `snapctl get` from any uid 5962 - debian, snap: only static link libseccomp in snap-seccomp on 5963 ubuntu 5964 - all: snap versions are now validated 5965 - many: add nfs-home flag to system-key 5966 - snap: disallow layouts in various special directories 5967 - cmd/snap: add help for service commands. 5968 - devicestate: fix autopkgtest failure in 5969 TestDoRequestSerialErrorsOnNoHost 5970 - snap,interfaces: allow using bind-file layouts 5971 - many: move mount code to osutil 5972 - snap: understand directories in layout blacklist 5973 - snap: use custom unsquashfsStderrWriter for unsquashfs error 5974 detection 5975 - tests/main/user-data-handling: get rid of ordering bug 5976 - snap: exclude `gettimeofday` from `snap run --strace` 5977 - tests: check if snapd.socket is active before stoping it 5978 - snap: sort layout elements before validating 5979 - strutil: introducing MatchCounter 5980 - snap: detect unsquashfs write failures 5981 - spread: add missing ubuntu-18.04-arm64 to available autopkgtest 5982 machines 5983 - cmd/snap-confine: allow mounting anywhere, effectively 5984 - daemon: improve ucrednet code for the snap.socket 5985 - release, interfaces: add new release.AppArmorFeatures helper 5986 - snap: apply some golint suggestions 5987 - many: add interfaces.SystemKey() helper 5988 - tests: new snaps to test installs nightly 5989 - tests: skip alsa interface test when the system does not have any 5990 audio devices 5991 - debian/rules: workaround for 5992 https://github.com/golang/go/issues/23721 5993 - interfaces/apparmor: early support for snap-update-ns snippets 5994 - wrappers: cleanup enabled service sockets 5995 - cmd/snap-update-ns: large refactor / update of unit tests 5996 - interfaces/apparmor: remove leaked future layout code 5997 - many: allow constructing layouts (phase 1) 5998 - data/systemd: for debugging/testing use /etc/environment also for 5999 snap-repair runs 6000 - cmd/snap-confine: create lib/{gl,gl32,vulkan} under /var/lib/snapd 6001 and chown as root:root 6002 - overlord/configstate/config: make [GS]etSnapConfig use *RawMessage 6003 - daemon: refactor snapFooMany helpers a little 6004 - cmd/snap-confine: allow snap-update-ns to chown things 6005 - interfaces/apparmor: use a helper to set the scope 6006 - overlord/configstate/config: make SetSnapConfig delete on empty 6007 - osutil: make MkdirAllChown clean the path passed in 6008 - many: at seeding try to capture cloud information into core config 6009 under "cloud" 6010 - cmd/snap: add completion conversion helper to increase DRY 6011 - many: remove "content" argument from snaptest.MockSnap() 6012 - osutil: allow using many globs in EnsureDirState 6013 - cmd/snap-confine: fix read-only filesystem when mounting nvidia 6014 files in biarch 6015 - tests: use root path to /home/test/tmp to avoid lack of space 6016 issue 6017 - packaging: create /var/lib/snapd/lib/{gl,gl32,vulkan} as part of 6018 packaging 6019 - tests: update kill-timeout focused on making tests pass on boards 6020 - advisor: ensure commands.db has mode 0644 and add test 6021 - snap: improve validation of snap layouts 6022 - tests: ensure disabled services are masked 6023 - interfaces/desktop-legacy,unity7: support gtk2/gvfs gtk_show_uri() 6024 - systemd, wrappers: start all snap services in one systemctl call 6025 - mir: software clients need access to shared memory /dev/shm/#* 6026 - snap: add support for `snap advise-snap pkgName` 6027 - snap: fix command-not-found on core devices 6028 - tests: new spead test for openvswitch-support interface 6029 - tests: add integration for local snap licenses 6030 - config: add (Get|Set)SnapConfig to do bulk config e.g. from 6031 snapshots 6032 - cmd/snap: display snap license information 6033 - tests: enable content sharing test for $SNAP 6034 - osutil: add ContextWriter and RunWithContext helpers. 6035 - osutil: add DirExists and IsDirNotExist 6036 6037 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 24 Mar 2018 08:23:31 +0100 6038 6039 snapd (2.31.2) xenial; urgency=medium 6040 6041 * New upstream release, LP: #1745217 6042 - many: add the snapd-generator 6043 - polkit: ensure error is properly set if dialog is dismissed 6044 - xdgopenproxy: integrate xdg-open implementation into snapctl 6045 - userd: add an OpenFile method for launching local files with xdg- 6046 open 6047 - configstate: when disable "ssh" we must disable the "sshd" 6048 service 6049 - many: remove snapd.refresh.{timer,service} 6050 - interfaces/builtin: allow MM to access login1 6051 - timeutil: account for 24h wrap when flattening clock spans 6052 - interfaces/screen-inhibit-control,network-status: fix dbus path 6053 and interface typos 6054 - systemd, wrappers: start all snap services in one systemctl 6055 call 6056 - tests: disable interfaces-location-control on s390x 6057 6058 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 09 Mar 2018 11:11:31 +0100 6059 6060 snapd (2.31.1) xenial; urgency=medium 6061 6062 * New upstream release, LP: #1745217 6063 - tests: multiple autopkgtest related fixes for 18.04 6064 - overlord/snapstate: use spread in the default refresh schedule 6065 - timeutil: fix scheduling on nth weekday of the month 6066 - interfaces: miscellaneous policy updates for home, opengl, time- 6067 control, network, et al 6068 - cmd/snap: use proper help strings for `snap userd --help` 6069 - interfaces/time-control,netlink-audit: adjust for util-linux 6070 compiled with libaudit 6071 - rules: do not static link on powerpc 6072 - packaging: revert LDFLAGS rewrite again after building snap- 6073 seccomp 6074 - store: revert PR#4532 and do not display displayname 6075 - daemon: allow `snapctl get` from any uid 6076 - debian, snap: only static link libseccomp in snap-seccomp on 6077 ubuntu 6078 - daemon: improve ucrednet code for the snap.socket 6079 6080 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 20 Feb 2018 17:27:42 +0100 6081 6082 snapd (2.31) xenial; urgency=medium 6083 6084 * New upstream release, LP: #1745217 6085 - cmd/snap-confine: allow snap-update-ns to chown things 6086 - cmd/snap-confine: fix read-only filesystem when mounting nvidia 6087 files in biarch 6088 - packaging: create /var/lib/snapd/lib/{gl,gl32,vulkan} as part of 6089 packaging 6090 - advisor: ensure commands.db has mode 0644 and add test 6091 - interfaces/desktop-legacy,unity7: support gtk2/gvfs gtk_show_uri() 6092 - snap: improve validation of snap layoutsRules for validating 6093 layouts: 6094 - snap: fix command-not-found on core devices 6095 - cmd/snap: display snap license information 6096 - tests: enable content sharing test for $SNAP 6097 - userd: add support for a simple UI that can be used from userd 6098 - snap-confine/nvidia: Support legacy biarch trees for GLVND systems 6099 - tests: generic detection of gadget and kernel snaps 6100 - cmd/snap-update-ns: refactor and improve Change.Perform to handle 6101 EROFS 6102 - cmd/snap: improve output when snaps were found in a section or the 6103 section is invalid 6104 - cmd/snap-confine,tests: hide message about stale base snap 6105 - cmd/snap-mgmt: fix out of source tree build 6106 - strutil/quantity: new package that exports formatFoo (from 6107 progress) 6108 - cmd/snap: snap refresh --time with new and legacy schedules 6109 - state: unknown tasks handler 6110 - cmd/snap-confine,data/systemd: fix removal of snaps inside LXD 6111 - snap: add io.snapcraft.Settings to `snap userd` 6112 - spread: remove more EOLed releases 6113 - snap: tidy up top-level help output 6114 - snap: fix race in `snap run --strace` 6115 - tests: update "searching" test to match store changes 6116 - store: use the "publisher" when populating the "publisher" field 6117 - snap: make `snap find --section` show all sections 6118 - tests: new test to validate location control interface 6119 - many: add new `snap refresh --amend <snap>` command 6120 - tests/main/kernel-snap-refresh-on-core: skip the whole test if 6121 edge and stable are the same version 6122 - tests: set test kernel-snap-refresh-on-core to manual 6123 - tests: new spread test for interface gpg-keys 6124 - packaging/fedora: Merge changes from Fedora Dist-Git plus trivial 6125 fix 6126 - interfaces: miscellaneous policy updates 6127 - interfaces/builtin: Replace Solus support with GLVND support 6128 - tests/main/kernel-snap-refresh-on-core: do not fail if edge and 6129 stable kernels are the same version 6130 - snap: add `snap run --strace` to be able to strace snap apps 6131 - tests: new spread test for ssh-keys interface 6132 - errtracker: include detected virtualisation 6133 - tests: add new kernel refresh/revert test for spread-cron 6134 - interfaces/builtin: blacklist zigbee dongle 6135 - cmd/snap-confine: discard stale mount namespaces 6136 - cmd: remove unused execArg0/execEnv 6137 - snap,interfaces/mount: disallow nobody/nogroup 6138 - cmd/snap: improve `snap aliases` output when no aliases are 6139 defined 6140 - tests/lib/snaps/test-snapd-service: refactor service reload 6141 - tests: new spread test for gpg-public-keys interface 6142 - tests: new spread test for ssh-public-keys interface 6143 - spread: setup machine creation on Linode 6144 - interfaces/builtin: allow introspecting UDisks2 6145 - interfaces/builtin: add support for content "source" section 6146 - tests: new spread test for netlink-audit interface 6147 - daemon: avoid panic'ing building an error response w/no snaps 6148 given 6149 - interfaces/mount,snap: early support for snap layouts 6150 - daemon: unlock state even if RefreshSchedule() fails 6151 - arch: add "armv8l" to ubuntuArchFromKernelArch table 6152 - tests: fix for test interface-netlink-connector 6153 - data/dbus: add AssumedAppArmorLabel=unconfined 6154 - advisor: use forked bolt to make it work on ppc 6155 - overlord/snapstate: record the 'kind' of conflicting change 6156 - dirs: fix snap mount dir on Manjaro 6157 - overlord/{snapstate,configstate}, daemon: introduce refresh.timer, 6158 fallback to refresh.schedule 6159 - config: add support for `snap set core proxy.no_proxy=...` 6160 - snap-mgmt: extend spread tests, stop, disable and cleanup snap 6161 services 6162 - spread.yaml: add fedora 27 6163 - cmd/snap-confine: allow snap-update-ns to poke writable holes in 6164 $SNAP 6165 - packaging/14.04: move linux-generic-lts-xenial to recommends 6166 - osutil/sys: ppc has 32-bit getuid already 6167 - snapstate: make no autorefresh message clearer 6168 - spread: try to enable Fedora once more 6169 - overlord/snapstate: do a minimal sanity check on containers 6170 - configcore: ensure config.txt has a final newline 6171 - cmd/libsnap-confine-private: print failed mount/umount regardless 6172 of SNAP_CONFINE_DEBUG 6173 - debian/tests: add missing autopkgtest test dependencies for debian 6174 - image: port ini handling to goconfigparser 6175 - tests/main/snap-service-after-before: add test for after/before 6176 service ordering 6177 - tests: enabling opensuse for tests 6178 - tests: update auto-refresh-private to match messages from current 6179 master 6180 - dirs: check if distro 'is like' fedora when picking path to 6181 libexecdir 6182 - tests: fix "job canceled" issue and improve cleanup for snaps 6183 - cmd/libsnap-confine-private: add debug build of libsnap-confine- 6184 private.a, link it into snap-confine-debug 6185 - vendor: remove x/sys/unix to fix builds on arm64 and powerpc 6186 - image: let consume snapcraft export-login files from tooling 6187 - interfaces/mir: allow Wayland socket and non-root sockets 6188 - interfaces/builtin: use snap.{Plug,Slot}Info over 6189 interfaces.{Plug,Slot} 6190 - tests: add simple snap-mgmt test 6191 - wrappers: autogenerate After/Before in systemd's service files for 6192 apps 6193 - snap: add usage hints in `snap download` 6194 - snap: provide more meaningful errors for installMany and friends 6195 - cmd/snap: show header/footer when `snap find` is used without 6196 arguments 6197 - overlord/snapstate: for Enable's tasks refer to the first task 6198 with snap-setup, do not duplicate 6199 - tests: add hard-coded fully expired macaroons to run related tests 6200 - cmd/snap-update-ns: new test features 6201 - cmd/snap-update-ns: we don't want to bind mount symlinks 6202 - interfaces/mount: test OptsToCommonFlags, filter out x-snapd. 6203 options 6204 - cmd/snap-update-ns: untangle upcoming cyclic initialization 6205 - client, daemon: update user's email when logging in with new 6206 account 6207 - tests: ensure snap-confine apparmor profile is parsable 6208 - snap: do not leak internal errors on install/refresh etc 6209 - snap: fix missing error check when multiple snaps are refreshed 6210 - spread: trying to re-enable tests on Fedora 6211 - snap: fix gadget.yaml parsing for multi volume gadgets 6212 - snap: give the snap.Container interface a Walk method 6213 - snap: rename `snap advise-command` to `snap advise-snap --command` 6214 - overlord/snapstate: no refresh just for hints if there was a 6215 recent regular full refresh 6216 - progress: switch ansimeter's Spin() to use a spinner 6217 - snap: support `command-not-found` symlink for `snap advise- 6218 command` 6219 - daemon: store email, ID and macaroon when creating a new user 6220 - snap: app startup after/before validation 6221 - timeutil: refresh timer take 2 6222 - store, daemon/api: Rename MyAppsServer, point to 6223 dashboard.snapcraft.io instead 6224 - tests: use "quiet" helper instead of "dnf -q" to get errors on 6225 failures 6226 - cmd/snap-update-ns: improve mocking for tests 6227 - many: implement the advisor backend, populate it from the store 6228 - tests: make less calls to the package manager 6229 - tests/main/confinement-classic: enable the test on Fedora 6230 - snap: do not leak internal network errors to the user 6231 - snap: use stdout instead of stderr for "fetching" message 6232 - tests: fix test whoami, share successful_login.exp 6233 - many: refresh with appropriate creds 6234 - snap: add new `snap advice-command` skeleton 6235 - tests: add test that ensures we never parse versions as numbers 6236 - overlord/snapstate: override Snapstate.UserID in refresh if the 6237 installing user is gone 6238 - interfaces: allow socket "shutdown" syscall in default profile 6239 - snap: print friendly message if `snap keys` is empty 6240 - cmd/snap-update-ns: add execWritableMimic 6241 - snap: make `snap info invalid-snap` output more user friendly 6242 - cmd/snap, tests/main/classic-confinement: fix snap-exec path when 6243 running under classic confinement 6244 - overlord/ifacestate: fix disable/enable cycle to setup security 6245 - snap: fix snap find " " output 6246 - daemon: add new polkit action to manage interfaces 6247 - packaging/arch: disable services when removing 6248 - asserts/signtool: support for building tools on top that fill- 6249 in/compute some headers 6250 - cmd: clarify "This leaves %s tracking %s." message 6251 - daemon: return "bad-query" error kind for store.ErrBadQuery 6252 - taskrunner/many: KnownTaskKinds helper 6253 - tests/main/interfaces-fuse_support: fix confinement, allow 6254 unmount, fix spread tests 6255 - snap: use the -no-fragments mksquashfs option 6256 - data/selinux: allow messages from policykit 6257 - tests: fix catalog-update wait loop 6258 - tests/lib/prepare-restore: disable rate limiting in journald 6259 - tests: change interfaces-fuse_support to be debug friendly 6260 - tests/main/postrm-purge: stop snapd before purge 6261 - This is an example of test log:https://paste.ubuntu.com/26215170/ 6262 - tests/main/interfaces-fuse_support: dump more debugging 6263 information 6264 - interfaces/dbus: adjust slot policy for listen, accept and accept4 6265 syscalls 6266 - tests: save the snapd-state without compression 6267 - tests/main/searching: handle changes in featured snaps list 6268 - overlord/snapstate: fix auto-refresh summary for 2 snaps 6269 - overlord/auth,daemon: introduce an explicit auth.ErrInvalidUser 6270 - interfaces: add /proc/partitions to system-observe (This addresses 6271 LP#1708527.) 6272 - tests/lib: introduce helpers for setting up /dev/random using 6273 /dev/urandom in project prepare 6274 - tests: new test for interface network status 6275 - interfaces: interfaces: also add an app/hook-specific udev RUN 6276 rule for hotplugging 6277 - tests: fix external backend for tests that need DEBUG output 6278 - tests: do not disable refresh timer on external backend 6279 - client: send all snap related bool json fields 6280 - interfaces/desktop,unity7: allow status/activate/lock of 6281 screensavers 6282 - tests/main: source mkpinentry.sh 6283 - tests: fix security-device-cgroups-serial-port test for rpi and db 6284 - cmd/snap-mgmt: add more directories for cleanup and refactor 6285 purge() code 6286 - snap: YAML and data structures for app before/after ordering 6287 - tests: set TRUST_TEST_KEYS=false for all the external backends 6288 - packaging/arch: install snap-mgmt tool 6289 - tests: add support on tests for cm3 gadget 6290 - interfaces/removable-media: also allow 'k' (lock) 6291 - interfaces: use ConnectedPlug/ConnectedSlot types (step 2) 6292 - interfaces: rename sanitize methods 6293 - devicestate: fix misbehaving test when using systemd-resolved 6294 - interfaces: added Ref() helpers, restored more detailed error 6295 message on spi iface 6296 - debian: make "gnupg" a recommends 6297 - interfaces/many: misc updates for default, browser-support, 6298 opengl, desktop, unity7, x11 6299 - interfaces: PlugInfo/SlotInfo/ConnectedPlug/ConnectedSlot 6300 attribute helpers 6301 - interfaces: update fixme comments 6302 - tests: make interfaces-snapd-control-with-manage more robust 6303 - userd: generalize dbusInterface 6304 - interfaces: use ConnectedPlug/ConnectedSlot types (step 1) 6305 - hookstate: add compat "configure-snapd" task. 6306 - config, overlord/snapstate, timeutil: rename ParseSchedule to 6307 ParseLegacySchedule 6308 - tests: adding tests for time*-control interfaces 6309 - tests: new test to check interfaces after reboot the system 6310 - cmd/snap-mgmt: fixes 6311 - packaging/opensuse-42.2: package and use snap-mgmt 6312 - corecfg: also "mask" services when disabling them 6313 - cmd/snap-mgmt: introduce snap-mgmt tool 6314 - configstate: simplify ConfigManager 6315 - interfaces: add gpio-memory-control interface 6316 - cmd: disable check-syntax-c 6317 - packaging/arch: add bash-completion as optional dependency 6318 - corecfg: rename package to overlord/configstate/configcore 6319 - wrappers: fix unit tests to use dirs.SnapMountDir 6320 - osutil/sys: reimplement getuid and chown with the right int type 6321 - interfaces-netlink-connector: fix sourcing snaps.sh 6322 6323 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 06 Feb 2018 09:43:22 +0100 6324 6325 snapd (2.30) xenial; urgency=medium 6326 6327 * New upstream release, LP: #1735344 6328 - tests: set TRUST_TEST_KEYS=false for all the external backends 6329 - tests: fix external backend for tests that need DEBUG output 6330 - tests: do not disable refresh timer on external backend 6331 - client: send all snap related bool json fields 6332 - interfaces: interfaces: also add an app/hook-specific udev RUN 6333 rule for hotplugging 6334 - interfaces/desktop,unity7: allow status/activate/lock of 6335 screensavers 6336 - tests/main: source mkpinentry.sh 6337 - devicestate: use a different nowhere domain 6338 - interfaces: add ssh-keys, ssh-public-keys, gpg-keys and gpg-public 6339 keys interfaces 6340 - interfaces/many: misc updates for default, browser-support, opengl, 6341 desktop, unity7, x11 6342 - devicestate: fix misbehaving test when using systemd-resolved 6343 - interfaces/removable-media: also allow 'k' (lock) 6344 - interfaces/many: misc updates for default, browser-support, 6345 opengl, desktop, unity7, x11 6346 - corecfg: also "mask" services when disabling them 6347 - tests: add support for autopkgtests on s390x 6348 - snapstate: support for pre-refresh hook 6349 - many: allow to configure core before it is installed 6350 - devicestate: fix unkeyed fields error 6351 - snap-confine: create mount target for lib32,vulkan on demand 6352 - snapstate: add support for refresh.schedule=managed 6353 - cmd/snap-update-ns: teach update logic to handle synthetic changes 6354 - many: remove configure-snapd task again and handle internally 6355 - snap: fix TestDirAndFileMethods() test to work with gccgo 6356 - debian: ensure /var/lib/snapd/lib/vulkan is available 6357 - cmd/snap-confine: use #include instead of bare include 6358 - snapstate: store userID in snapstate 6359 - snapd.dirs: add var/lib/snapd/lib/gl32 6360 - timeutil, overlod/snapstate: cleanup remaining pieces of timeutil 6361 weekday support 6362 - packaging/arch: install missing directories, manpages and version 6363 info 6364 - snapstate,store: store if a snap is a paid snap in the sideinfo 6365 - packaging/arch: pre-create snapd directories when packaging 6366 - tests/main/manpages: set LC_ALL=C as man may complain if the 6367 locale is unset or unsupported 6368 - repo: ConnectedPlug and ConnectedSlot types 6369 - snapd: fix handling of undo in the taskrunner 6370 - store: fix download caching and add integration test 6371 - snapstate: move autorefresh code into autoRefresh helper 6372 - snapctl: don't error out on start/stop/restart from configure hook 6373 during install or refresh 6374 - cmd/snap-update-ns: add planWritableMimic 6375 - deamon: don't omit responses, even if null 6376 - tests: add test for frame buffer interface 6377 - tests/lib: fix shellcheck errors 6378 - apparmor: generate the snap-confine re-exec profile for 6379 AppArmor{Partial,Full} 6380 - tests: remove obsolete workaround 6381 - snap: use existing files in `snap download` if digest/size matches 6382 - tests: merge pepare-project.sh into prepare-restore.sh 6383 - tests: cache snaps to $TESTSLIB/cache 6384 - tests: set -e, -o pipefail in prepare-restore.sh 6385 - apparmor: generate the snap-confine re-exec profile for 6386 AppArmor{Partial,Full} 6387 - cmd/snap-seccomp: fix uid/gid restrictions tests on Arch 6388 - tests: document and slightly refactor prepare/restore code 6389 - snapstate: ensure RefreshSchedule() gives accurate results 6390 - snapstate: add new refresh-hints helper and use it 6391 - spread.yaml,tests: move most of project-wide prepare/restore to 6392 separate file 6393 - timeutil: introduce helpers for weekdays and TimeOfDay 6394 - tests: adding new test for uhid interface 6395 - cmd/libsnap: fix parsing of empty mountinfo fields 6396 - overlord/devicestate: best effort to go to early full retries for 6397 registration on the like of DNS no host 6398 - spread.yaml: bump delta ref to 2.29 6399 - tests: adding test to test physical memory observe interface 6400 - cmd, errtracker: get rid of SNAP_DID_REEXEC environment 6401 - timeutil: remove support to parse weekday schedules 6402 - snap-confine: add workaround for snap-confine on 4.13/upstream 6403 - store: do not log the http body for catalog updates 6404 - snapstate: move catalogRefresh into its own helper 6405 - spread.yaml: fix shellcheck issues and trivial refactor 6406 - spread.yaml: move prepare-each closer to restore-each 6407 - spread.yaml: increase workers for opensuse to 3 6408 - tests: force delete when tests are restore to avoid suite failure 6409 - test: ignore /snap/README 6410 - interfaces/opengl: also allow read on 'revision' in 6411 /sys/devices/pci... 6412 - interfaces/screen-inhibit-control: fix case in screen inhibit 6413 control 6414 - asserts/sysdb: panic early if pointed to staging but staging keys 6415 are not compiled-in 6416 - interfaces: allow /bin/chown and fchownat to root:root 6417 - timeutil: include test input in error message in 6418 TestParseSchedule() 6419 - interfaces/browser-support: adjust base declaration for auto- 6420 connection 6421 - snap-confine: fix snap-confine under lxd 6422 - store: bit less aggressive retry strategy 6423 - tests: add new `fakestore new-snap-{declaration,revision}` helpers 6424 - cmd/snap-update-ns: add secureMkfileAll 6425 - snap: use field names when initializing composite literals 6426 - HACKING: fix path in snap install 6427 - store: add support for flags in ListRefresh() 6428 - interfaces: remove invalid plugs/slots from SnapInfo on 6429 sanitization. 6430 - debian: add missing udev dependency 6431 - snap/validate: extend socket validation tests 6432 - interfaces: add "refresh-schedule" attribute to snapd-control 6433 - interfaces/builtin/account_control: use gid owning /etc/shadow to 6434 setup seccomp rules 6435 - cmd/snap-update-ns: tweak changePerform 6436 - interfaces,tests: skip unknown plug/slot interfaces 6437 - tests: disable interfaces-network-control-tuntap 6438 - cmd: use a preinit_array function rather than parsing 6439 /proc/self/cmdline 6440 - interfaces/time*_control: explicitly deny noisy read on 6441 /proc/1/environ 6442 - cmd/snap-update-ns: misc cleanups 6443 - snapd: allow hooks to have slots 6444 - fakestore: add go-flags to prepare for `new-snap-declaration` cmd 6445 - interfaces/browser-support: add shm path for nwjs 6446 - many: add magic /snap/README file 6447 - overlord/snapstate: support completion for command aliases 6448 - tests: re-enable tun/tap test on Debian 6449 - snap,wrappers: add support for socket activation 6450 - repo: use PlugInfo and SlotInfo for permanent plugs/slots 6451 - tests/interfaces-network-control-tuntap: disable on debian- 6452 unstable for now 6453 - cmd/snap-confine: Loosen the NVIDIA Vulkan ICD glob 6454 - cmd/snap-update-ns: detect and report read-only filesystems 6455 - cmd/snap-update-ns: re-factor secureMkdirAll into 6456 secureMk{Prefix,Dir} 6457 - run-checks, tests/lib/snaps/: shellcheck fixes 6458 - corecfg: validate refresh.schedule when it is applied 6459 - tests: adjust test to match stderr 6460 - snapd: fix snap cookie bugs 6461 - packaging/arch: do not quote MAKEFLAGS 6462 - state: add change.LaneTasks helper 6463 - cmd/snap-update-ns: do not assume 'nogroup' exists 6464 - tests/lib: handle distro specific grub-editenv naming 6465 - cmd/snap-confine: Add missing bi-arch NVIDIA filesthe 6466 `/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl/vdpau` paths within 6467 - cmd: Support exposing NVIDIA Vulkan ICD files to the snaps 6468 - cmd/snap-confine: Implement full 32-bit NVIDIA driver support 6469 - packaging/arch: packaging update 6470 - cmd/snap-confine: Support bash as base runtime entry 6471 - wrappers: do not error on incorrect Exec= lines 6472 - interfaces: fix udev tagging for hooks 6473 - tests/set-proxy-store: exclude ubuntu-core-16 via systems: key 6474 - tests: new tests for network setup control and observe interfaces 6475 - osutil: add helper for obtaining group ID of given file path 6476 - daemon,overlord/snapstate: return snap-not-installed error in more 6477 cases 6478 - interfaces/builtin/lxd_support: allow discovering of host's os- 6479 release 6480 - configstate: add support for configure-snapd for 6481 snapstate.IgnoreHookError 6482 - tests: add a spread test for proxy.store setting together with 6483 store assertion 6484 - cmd/snap-seccomp: do not use group 'shadow' in tests 6485 - asserts/assertstest: fix use of hardcoded value when the passed 6486 or default keys should be used 6487 - interfaces/many: misc policy updates for browser-support, cups- 6488 control and network-status 6489 - tests: fix xdg-open-compat 6490 - daemon: for /v2/logs, 404 when no services are found 6491 - packaging/fedora: Merge changes from Fedora Dist-Git 6492 - cmd/snap-update-ns: add new helpers for mount entries 6493 - cmd/snap-confine: Respect biarch nature of libdirs 6494 - cmd/snap-confine: Ensure snap-confine is allowed to access os- 6495 release 6496 - cmd: fix re-exec bug with classic confinement for host snapd < 6497 2.28 6498 - interfaces/kmod: simplify loadModules now that errors are ignored 6499 - tests: disable xdg-open-compat test 6500 - tests: add test that checks core reverts on core devices 6501 - dirs: use alt root when checking classic confinement support 6502 without … 6503 - interfaces/kmod: treat failure to load module as non-fatal 6504 - cmd/snap-update-ns: fix golint and some stale comments 6505 - corecfg: support setting proxy.store if there's a matching store 6506 assertion 6507 - overlord/snapstate: toggle ignore-validation as needed as we do 6508 for channel 6509 - tests: fix security-device-cgroup* tests on devices with 6510 framebuffer 6511 - interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS 6512 - interfaces: add USB interface number attribute in udev rule for 6513 serial-port interface 6514 - overlord/devicestate: switch to the new endpoints for registration 6515 - snap-update-ns: add missing unit test for desired/current profile 6516 handling 6517 - cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup 6518 low-level C bits 6519 - ifacestate: make interfaces.Repository available via state cache 6520 - overlord/snapstate: cleanups around switch-snap* 6521 - cmd/snapd,client,daemon: display ignore-validation flag through 6522 the notes mechanism 6523 - cmd/snap-update-ns: add logging to snap-update-ns 6524 - many: have a timestamp on store assertions 6525 - many: lookup and use the URL from a store assertion if one is set 6526 for use 6527 - tests/test-snapd-service: fix shellcheck issues 6528 - tests: new test for hardware-random-control interface 6529 - tests: use `snap change --last=install` in snapd-reexec test 6530 - repo, daemon: use PlugInfo, SlotInfo 6531 - many: handle core configuration internally instead of using the 6532 core configure hook 6533 - tests: refactor and expand content interface test 6534 - snap-seccomp: skip in-kernel bpf tests for socket() in trusty/i386 6535 - cmd/snap-update-ns: allow Change.Perform to return changes 6536 - snap-confine: Support biarch Linux distribution confinement 6537 - partition/ubootenv: don't panic when uboot.env is missing the eof 6538 marker 6539 - cmd/snap-update-ns: allow fault injection to provide dynamic 6540 result 6541 - interfaces/mount: exspose mount.{Escape,Unescape} 6542 - snapctl: added long help to stop/start/restart command 6543 - cmd/snap-update-ns: create missing mount points automatically. 6544 - cmd: downgrade log message in InternalToolPath to Debugf() 6545 - tests: wait for service status change & file update in the test to 6546 avoid races 6547 - daemon, store: forward SSO invalid credentials errors as 401 6548 Unauthorized responses 6549 - spdx: fix for WITH syntax, require a license name before the 6550 operator 6551 - many: reorg things in preparation to make handling of the base url 6552 in store dynamic 6553 - hooks/configure: queue service restarts 6554 - cmd/snap: warn when a snap is not from the tracking channel 6555 - interfaces/mount: add support for parsing x-snapd.{mode,uid,gid}= 6556 - cmd/snap-confine: add detection of stale mount namespace 6557 - interfaces: add plugRef/slotRef helpers for PlugInfo/SlotInfo 6558 - tests: check for invalid udev files during all tests 6559 - daemon: use newChange() in changeAliases for consistency 6560 - servicestate: use taskset 6561 - many: add support for /home on NFS 6562 - packaging,spread: fix and re-enable opensuse builds 6563 6564 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 18 Dec 2017 15:31:04 +0100 6565 6566 snapd (2.29.4.1) xenial; urgency=medium 6567 6568 * New upstream release, LP: #1726258 6569 - tests: more debug info for classic-ubuntu-core-transition 6570 - packaging: fix typo that causes error in the misspell test 6571 6572 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 28 Nov 2017 07:45:23 +0100 6573 6574 snapd (2.29.4) xenial; urgency=medium 6575 6576 * New upstream release, LP: #1726258 6577 - snap-confine: fix snap-confine under lxd 6578 - tests: disable classic-ubuntu-core-transition on i386 temporarily 6579 - many: reject bad plugs/slots 6580 - interfaces,tests: skip unknown plug/slot interfaces 6581 - store: enable "base" field from the store 6582 - packaging/fedora: Merge changes from Fedora Dist-Git 6583 6584 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Nov 2017 22:55:09 +0100 6585 6586 snapd (2.29.3) xenial; urgency=medium 6587 6588 * New upstream release, LP: #1726258 6589 - daemon: cherry-picked /v2/logs fixes 6590 - cmd/snap-confine: Respect biarch nature of libdirs 6591 - cmd/snap-confine: Ensure snap-confine is allowed to access os- 6592 release 6593 - interfaces: fix udev tagging for hooks 6594 - cmd: fix re-exec bug with classic confinement for host snapd 6595 - tests: disable xdg-open-compat test 6596 - cmd/snap-confine: add slave PTYs and let devpts newinstance 6597 perform mediation 6598 - interfaces/many: misc policy updates for browser-support, cups- 6599 control and network-status 6600 - interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS 6601 - tests: fix security-device-cgroup* tests on devices with 6602 framebuffer 6603 6604 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 09 Nov 2017 19:16:29 +0100 6605 6606 snapd (2.29.2) xenial; urgency=medium 6607 6608 * New upstream release, LP: #1726258 6609 - snapctl: disable stop/start/restart (2.29) 6610 - cmd/snap-update-ns: fix collection of changes made 6611 6612 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 03 Nov 2017 17:17:14 +0100 6613 6614 snapd (2.29.1) xenial; urgency=medium 6615 6616 * New upstream release, LP: #1726258 6617 - interfaces: fix incorrect signature of ofono DBusPermanentSlot 6618 - interfaces/serial-port: udev tag plugged slots that have just 6619 'path' via KERNEL 6620 - interfaces/hidraw: udev tag plugged slots that have just 'path' 6621 via KERNEL 6622 - interfaces/uhid: unconditionally add existing uhid device to the 6623 device cgroup 6624 - cmd/snap-update-ns: fix mount rules for font sharing 6625 - tests: disable refresh-undo test on trusty for now 6626 - tests: use `snap change --last=install` in snapd-reexec test 6627 - Revert " wrappers: fail install if exec-line cannot be re-written 6628 - interfaces: don't udev tag devmode or classic snaps 6629 - many: make ignore-validation sticky and send the flag with refresh 6630 requests 6631 6632 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 03 Nov 2017 07:25:17 +0100 6633 6634 snapd (2.29) xenial; urgency=medium 6635 6636 * New upstream release, LP: #1726258 6637 - interfaces/many: miscellaneous updates based on feedback from the 6638 field 6639 - snap-confine: allow reading uevents from any where in /sys 6640 - spread: add bionic beaver 6641 - debian: make packaging/ubuntu-14.04/copyright a real file again 6642 - tests: cherry pick the fix for services test into 2.29 6643 - cmd/snap-update-ns: initialize logger 6644 - hooks/configure: queue service restarts 6645 - snap-{confine,seccomp}: make @unrestricted fully unrestricted 6646 - interfaces: clean system apparmor cache on core device 6647 - debian: do not build static snap-exec on powerpc 6648 - snap-confine: increase sanity_timeout to 6s 6649 - snapctl: cherry pick service commands changes 6650 - cmd/snap: tell translators about arg names and descs req's 6651 - systemd: run all mount units before snapd.service to avoid race 6652 - store: add a test to show auth failures are forwarded by doRequest 6653 - daemon: convert ErrInvalidCredentials to a 401 Unauthorized error. 6654 - store: forward on INVALID_CREDENTIALS error as 6655 ErrInvalidCredentials 6656 - daemon: generate a forbidden response message if polkit dialog is 6657 dismissed 6658 - daemon: Allow Polkit authorization to cancel changes. 6659 - travis: switch to container based test runs 6660 - interfaces: reduce duplicated code in interface tests mocks 6661 - tests: improve revert related testing 6662 - interfaces: sanitize plugs and slots early in ReadInfo 6663 - store: add download caching 6664 - preserve TMPDIR and HOSTALIASES across snap-confine invocation 6665 - snap-confine: init all arrays with `= {0,}` 6666 - tests: adding test for network-manager interface 6667 - interfaces/mount: don't generate legacy per-hook/per-app mount 6668 profiles 6669 - snap: introduce structured epochs 6670 - tests: fix interfaces-cups-control test for cups-2.2.5 6671 - snap-confine: cleanup incorrectly created nvidia udev tags 6672 - cmd/snap-confine: update valid security tag regexp 6673 - cmd/libsnap: enable two stranded tests 6674 - cmd,packaging: enable apparmor on openSUSE 6675 - overlord/ifacestate: refresh all security backends on startup 6676 - interfaces/dbus: drop unneeded check for 6677 release.ReleaseInfo.ForceDevMode 6678 - dbus: ensure io.snapcraft.Launcher.service is created on re- 6679 exec 6680 - overlord/auth: continue for now supporting UBUNTU_STORE_ID if the 6681 model is generic-classic 6682 - snap-confine: add support for handling /dev/nvidia-modeset 6683 - interfaces/network-control: remove incorrect rules for tun 6684 - spread: allow setting SPREAD_DEBUG_EACH=0 to disable debug-each 6685 section 6686 - packaging: remove .mnt files on removal 6687 - tests: fix econnreset scenario when the iptables rule was not 6688 created 6689 - tests: add test for lxd interface 6690 - run-checks: use nakedret static checker to check for naked 6691 returns on long functions 6692 - progress: be more flexible in testing ansimeter 6693 - interfaces: fix udev rules for tun 6694 - many: implement our own ANSI-escape-using progress indicator 6695 - snap-exec: update tests to follow main_test pattern 6696 - snap: support "command: foo $ENV_STRING" 6697 - packaging: update nvidia configure options 6698 - snap: add new `snap pack` and use in tests 6699 - cmd: correctly name the "Ubuntu" and "Arch" NVIDIA methods 6700 - cmd: add autogen case for solus 6701 - tests: do not use http://canihazip.com/ which appears to be down 6702 - hooks: commands for controlling own services from snapctl 6703 - snap: refactor cmdGet.Execute() 6704 - interfaces/mount: make Change.Perform testable and test it 6705 - interfaces/mount,cmd/snap-update-ns: move change code 6706 - snap-confine: is_running_on_classic_distribution() looks into os- 6707 release 6708 - interfaces: misc updates for default, browser-support, home and 6709 system-observe 6710 - interfaces: deny lttng by default 6711 - interfaces/lxd: lxd slot implementation can also be an app snap 6712 - release,cmd,dirs: Redo the distro checks to take into account 6713 distribution families 6714 - cmd/snap: completion for alias and unalias 6715 - snap-confine: add new SC_CLEANUP and use it 6716 - snap: refrain from running filepath.Base on random strings 6717 - cmd/snap-confine: put processes into freezer hierarchy 6718 - wrappers: fail install if exec-line cannot be re-written 6719 - cmd/snap-seccomp,osutil: make user/group lookup functions public 6720 - snapstate: deal with snap user data in the /root/ directory 6721 - interfaces: Enhance full-confinement support for biarch 6722 distributions 6723 - snap-confine: Only attempt to copy/mount NVIDIA libs when NVIDIA 6724 is used 6725 - packaging/fedora: Add Fedora 26, 27, and Rawhide symlinks 6726 - overlord/snapstate: prefer a smaller corner case for doing the 6727 wrong thing 6728 - cmd/snap-repair: set user agent for snap-repair http requests 6729 - packaging: bring down the delta between 14.04 and 16.04 6730 - snap-confine: Ensure lib64 biarch directory is respected 6731 - snap-confine: update apparmor rules for fedora based base snaps 6732 - tests: Increase SNAPD_CONFIGURE_HOOK_TIMEOUT to 3 minutes to 6733 install real snaps 6734 - daemon: use client.Snap instead of map[string]interface{} for 6735 snaps. 6736 - hooks: rename refresh hook to post-refresh 6737 - git: make the .gitingore file a bit more targeted 6738 - interfaces/opengl: don't udev tag nvidia devices and use snap- 6739 confine instead 6740 - cmd/snap-{confine,update-ns}: apply mount profiles using snap- 6741 update-ns 6742 - cmd: update "make hack" 6743 - interfaces/system-observe: allow clients to enumerate DBus 6744 connection names 6745 - snap-repair: implement `snap-repair {list,show}` 6746 - dirs,interfaces: create snap-confine.d on demand when re-executing 6747 - snap-confine: fix base snaps on core 6748 - cmd/snap-repair: fix tests when running as root 6749 - interfaces: add Connection type 6750 - cmd/snap-repair: skip disabled repairs 6751 - cmd/snap-repair: prefer leaking unmanaged fds on test failure over 6752 closing random ones 6753 - snap-repair: make `repair` binary available for repair scripts 6754 - snap-repair: fix missing Close() in TestStatusHappy 6755 - cmd/snap-confine,packaging: import snapd-generated policy 6756 - cmd/snap: return empty document if snap has no configuration 6757 - snap-seccomp: run secondary-arch tests via gcc-multilib 6758 - snap: implement `snap {repair,repairs}` and pass-through to snap- 6759 repair 6760 - interfaces/builtin: allow receiving dbus messages 6761 - snap-repair: implement `snap-repair {done,skip,retry}` 6762 - data/completion: small tweak to snap completion snippet 6763 - dirs: fix classic support detection 6764 - cmd/snap-repair: integrate root public keys for repairs 6765 - tests: fix ubuntu core services 6766 - tests: add new test that checks that the compat snapd-xdg-open 6767 works 6768 - snap-confine: improve error message if core/u-core cannot be found 6769 - tests: only run tests/regression/nmcli on amd64 6770 - interfaces: mount host system fonts in desktop interface 6771 - interfaces: enable partial apparmor support 6772 - snapstate: auto-install missing base snaps 6773 - spread: work around temporary packaging issue in debian sid 6774 - asserts,cmd/snap-repair: introduce a mandatory summary for repairs 6775 - asserts,cmd/snap-repair: represent RepairID internally as an int 6776 - tests: test the real "xdg-open" from the core snap 6777 - many: implement fetching sections and package names periodically. 6778 - interfaces/network: allow using netcat as client 6779 - snap-seccomp, osutil: use osutil.AtomicFile in snap-seccomp 6780 - snap-seccomp: skip mknod syscall on arm64 6781 - tests: add trivial canonical-livepatch test 6782 - tests: add test that ensures that all core services are working 6783 - many: add logger.MockLogger() and use it in the tests 6784 - snap-repair: fix test failure in TestRepairHitsTimeout 6785 - asserts: add empty values check in HeadersFromPrimaryKey 6786 - daemon: remove unused installSnap var in test 6787 - daemon: reach for Overlord.Loop less thanks to overlord.Mock 6788 - snap-seccomp: manually resolve socket() call in tests 6789 - tests: change regex used to validate installed ubuntu core snap 6790 - cmd/snapctl: allow snapctl -h without a context (regression fix). 6791 - many: use snapcore/snapd/i18n instead of i18n/dumb 6792 - many: introduce asserts.NotFoundError replacing both ErrNotFound 6793 and store.AssertionNotFoundError 6794 - packaging: don't include any marcos in comments 6795 - overlord: use overlord.Mock in more tests, make sure we check the 6796 outcome of Settle 6797 - tests: try to fix staging tests 6798 - store: simplify api base url config 6799 - systemd: add systemd.MockJournalctl() 6800 - many: provide systemd.MockSystemctl() helper 6801 - tests: improve the listing test to not fail for e.g. 2.28~rc2 6802 - snapstate: give snapmgrTestSuite.settle() more time to settle 6803 - tests: fix regex to check core version on snap list 6804 - debian: update trusted account-keys check on 14.04 packaging 6805 - interfaces: add udev netlink support to hardware-observe 6806 - overlord: introduce Mock which enables to use Overlord.Settle for 6807 settle in many more places 6808 - snap-repair: execute the repair and capture logs/status 6809 - tests: run the tests/unit/go everywhere 6810 - daemon, snapstate: move ensureCore from daemon/api.go into 6811 snapstate.go 6812 - cmd/snap: get keys or root document 6813 - spread.yaml: turn suse to manual given that it's breaking master 6814 - many: configure store from state, reconfigure store at runtime 6815 - osutil: AtomicWriter (an io.Writer), and io.Reader versions of 6816 AtomicWrite* 6817 - tests: check for negative syscalls in runBpf() and skip those 6818 tests 6819 - docs: use abolute path in PULL_REQUEST_TEMPLATE.md 6820 - store: move device auth endpoint uris to config (#3831) 6821 6822 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 30 Oct 2017 16:22:31 +0100 6823 6824 snapd (2.28.5) xenial; urgency=medium 6825 6826 * New upstream release, LP: #1714984 6827 - snap-confine: cleanup broken nvidia udev tags 6828 - cmd/snap-confine: update valid security tag regexp 6829 - overlord/ifacestate: refresh udev backend on startup 6830 - dbus: ensure io.snapcraft.Launcher.service is created on re- 6831 exec 6832 - snap-confine: add support for handling /dev/nvidia-modeset 6833 - interfaces/network-control: remove incorrect rules for tun 6834 6835 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 Oct 2017 23:25:46 +0200 6836 6837 snapd (2.28.4) xenial; urgency=medium 6838 6839 * New upstream release, LP: #1714984 6840 - interfaces/opengl: don't udev tag nvidia devices and use snap- 6841 confine instead 6842 - debian: fix replaces/breaks for snap-xdg-open (thanks to apw!) 6843 6844 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Oct 2017 19:40:57 +0200 6845 6846 snapd (2.28.3) xenial; urgency=medium 6847 6848 * New upstream release, LP: #1714984 6849 - interfaces/lxd: lxd slot implementation can also be an app 6850 snap 6851 6852 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 11 Oct 2017 08:20:26 +0200 6853 6854 snapd (2.28.2) xenial; urgency=medium 6855 6856 * New upstream release, LP: #1714984 6857 - interfaces: fix udev rules for tun 6858 - release,cmd,dirs: Redo the distro checks to take into account 6859 distribution families 6860 6861 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 10 Oct 2017 18:39:58 +0200 6862 6863 snapd (2.28.1) xenial; urgency=medium 6864 6865 * New upstream release, LP: #1714984 6866 - snap-confine: update apparmor rules for fedora based basesnaps 6867 - snapstate: rename refresh hook to post-refresh for consistency 6868 6869 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 27 Sep 2017 17:59:49 -0400 6870 6871 snapd (2.28) xenial; urgency=medium 6872 6873 * New upstream release, LP: #1714984 6874 - hooks: rename refresh to after-refresh 6875 - snap-confine: bind mount /usr/lib/snapd relative to snap-confine 6876 - cmd,dirs: treat "liri" the same way as "arch" 6877 - snap-confine: fix base snaps on core 6878 - hooks: substitute env vars when executing hooks 6879 - interfaces: updates for default, browser-support, desktop, opengl, 6880 upower and stub-resolv.conf 6881 - cmd,dirs: treat manjaro the same as arch 6882 - systemd: do not run auto-import and repair services on classic 6883 - packaging/fedora: Ensure vendor/ is empty for builds and fix spec 6884 to build current master 6885 - many: fix TestSetConfNumber missing an Unlock and other fragility 6886 improvements 6887 - osutil: adjust StreamCommand tests for golang 1.9 6888 - daemon: allow polkit authorisation to install/remove snaps 6889 - tests: make TestCmdWatch more robust 6890 - debian: improve package description 6891 - interfaces: add netlink kobject uevent to hardware observe 6892 - debian: update trusted account-keys check on 14.04 packaging 6893 - interfaces/network-{control,observe}: allow receiving 6894 kobject_uevent() messages 6895 - tests: fix lxd test for external backend 6896 - snap-confine,snap-update-ns: add -no-pie to fix FTBFS on 6897 go1.7,ppc64 6898 - corecfg: mock "systemctl" in all corecfg tests 6899 - tests: fix unit tests on Ubuntu 14.04 6900 - debian: add missing flags when building static snap-exec 6901 - many: end-to-end support for the bare base snap 6902 - overlord/snapstate: SetRootDir from SetUpTest, not in just some 6903 tests 6904 - store: have an ad-hoc method on cfg to get its list of uris for 6905 tests 6906 - daemon: let client decide whether to allow interactive auth via 6907 polkit 6908 - client,daemon,snap,store: add license field 6909 - overlord/snapstate: rename HasCurrent to IsInstalled, remove 6910 superfluous/misleading check from All 6911 - cmd/snap: SetRootDir from SetUpTest, not in just some individual 6912 tests. 6913 - systemd: rename snap-repair.{service,timer} to snapd.snap- 6914 repair.{service,timer} 6915 - snap-seccomp: remove use of x/net/bpf from tests 6916 - httputil: more naive per go version way to recreate a default 6917 transport for tls reconfig 6918 - cmd/snap-seccomp/main_test.go: add one more syscall for arm64 6919 - interfaces/opengl: use == to compare, not = 6920 - cmd/snap-seccomp/main_test.go: add syscalls for armhf and arm64 6921 - cmd/snap-repair: track and use a lower bound for the time for 6922 TLS checks 6923 - interfaces: expose bluez interface on classic OS 6924 - snap-seccomp: add in-kernel bpf tests 6925 - overlord: always try to get a serial, lazily on classic 6926 - tests: add nmcli regression test 6927 - tests: deal with __PNR_chown on aarch64 to fix FTBFS on arm64 6928 - tests: add autopilot-introspection interface test 6929 - vendor: fix artifact from manually editing vendor/vendor.json 6930 - tests: rename complexion to test-snapd-complexion 6931 - interfaces: add desktop and desktop-legacy 6932 interfaces/desktop: add new 'desktop' interface for modern DEs 6933 interfaces/builtin/desktop_test.go: use modern testing techniques 6934 interfaces/wayland: allow read on /etc/drirc for Plasma desktop 6935 interfaces/desktop-legacy: add new 'legacy' interface (currently 6936 for a11y and input) 6937 - tests: fix race in snap userd test 6938 - devices/iio: add read/write for missing sysfs entries 6939 - spread: don't set HTTPS?_PROXY for linode 6940 - cmd/snap-repair: check signatures of repairs from Next 6941 - env: set XDG_DATA_DIRS for wayland et.al. 6942 - interfaces/{default,account-control}: Use username/group instead 6943 of uid/gid 6944 - interfaces/builtin: use udev tagging more broadly 6945 - tests: add basic lxd test 6946 - wrappers: ensure bash completion snaps install on core 6947 - vendor: use old golang.org/x/crypto/ssh/terminal to build on 6948 powerpc again 6949 - docs: add PULL_REQUEST_TEMPLATE.md 6950 - interfaces: fix network-manager plug 6951 - hooks: do not error out when hook is optional and no hook handler 6952 is registered 6953 - cmd/snap: add userd command to replace snapd-xdg-open 6954 - tests: new regex used to validate the core version on extra snaps 6955 ass... 6956 - snap: add new `snap switch` command 6957 - tests: wait more and more debug info about fakestore start issues 6958 - apparmor,release: add better apparmor detection/mocking code 6959 - interfaces/i2c: adjust sysfs rule for alternate paths 6960 - interfaces/apparmor: add missing call to dirs.SetRootDir 6961 - cmd: "make hack" now also installs snap-update-ns 6962 - tests: copy files with less verbosity 6963 - cmd/snap-confine: allow using additional libraries required by 6964 openSUSE 6965 - packaging/fedora: Merge changes from Fedora Dist-Git 6966 - snapstate: improve the error message when classic confinement is 6967 not supported 6968 - tests: add test to ensure amd64 can run i386 syscall binaries 6969 - tests: adding extra info for fakestore when fails to start 6970 - tests: install most important snaps 6971 - cmd/snap-repair: more test coverage of filtering 6972 - squashfs: remove runCommand/runCommandWithOutput as we do not need 6973 it 6974 - cmd/snap-repair: ignore superseded revisions, filter on arch and 6975 models 6976 - hooks: support for refresh hook 6977 - Partial revert "overlord/devicestate, store: update device auth 6978 endpoints URLs" 6979 - cmd/snap-confine: allow reading /proc/filesystems 6980 - cmd/snap-confine: genearlize apparmor profile for various lib 6981 layout 6982 - corecfg: fix proxy.* writing and add integration test 6983 - corecfg: deal with system.power-key-action="" correctly 6984 - vendor: update vendor.json after (presumed) manual edits 6985 - cmd/snap: in `snap info`, don't print a newline between tracks 6986 - daemon: add polkit support to /v2/login 6987 - snapd,snapctl: decode json using Number 6988 - client: fix go vet 1.7 errors 6989 - tests: make 17.04 shellcheck clean 6990 - tests: remove TestInterfacesHelp as it breaks when go-flags 6991 changes 6992 - snapstate: undo a daemon restart on classic if needed 6993 - cmd/snap-repair: recover brand/model from 6994 /var/lib/snapd/seed/assertions checking signatures and brand 6995 account 6996 - spread: opt into unsafe IO during spread tests 6997 - snap-repair: update snap-repair/runner_test.go for API change in 6998 makeMockServer 6999 - cmd/snap-repair: skeleton code around actually running a repair 7000 - tests: wait until the port is listening after start the fake store 7001 - corecfg: fix typo in tests 7002 - cmd/snap-repair: test that redirects works during fetching 7003 - osutil: honor SNAPD_UNSAFE_IO for testing 7004 - vendor: explode and make more precise our golang.go/x/crypto deps, 7005 use same version as Debian unstable 7006 - many: sanitize NewStoreStack signature, have shared default store 7007 test private keys 7008 - systemd: disable `Nice=-5` to fix error when running inside lxd 7009 - spread.yaml: update delta ref to 2.27 7010 - cmd/snap-repair: use E-Tags when refetching a repair to retry 7011 - interfaces/many: updates based on chromium and mrrescue denials 7012 - cmd/snap-repair: implement most logic to get the next repair to 7013 run/retry in a brand sequence 7014 - asserts/assertstest: copy headers in SigningDB.Sign 7015 - interfaces: convert uhid to common interface and test cases 7016 improvement for time_control and opengl 7017 - many tests: move all panicing fake store methods to a common place 7018 - asserts: add store assertion type 7019 - interfaces: don't crash if content slot has no attributes 7020 - debian: do not build with -buildmode=pie on i386 7021 - wrappers: symlink completion snippets when symlinking binaries 7022 - tests: adding more debug information for the interfaces-cups- 7023 control … 7024 - apparmor: pass --quiet to parser on load unless SNAPD_DEBUG is set 7025 - many: allow and support serials signed by the 'generic' authority 7026 instead of the brand 7027 - corecfg: add proxy configuration via `snap set core 7028 proxy.{http,https,ftp}=...` 7029 - interfaces: a bunch of interfaces test improvement 7030 - tests: enable regression and completion suites for opensuse 7031 - tests: installing snapd for nested test suite 7032 - interfaces: convert lxd_support to common iface 7033 - interfaces: add missing test for camera interface. 7034 - snap: add support for parsing snap layout section 7035 - cmd/snap-repair: like for downloads we cannot have a timeout (at 7036 least for now), less aggressive retry strategies 7037 - overlord: rely on more conservative ensure interval 7038 - overlord,store: no piles of return args for methods gathering 7039 device session request params 7040 - overlord,store: send model assertion when setting up device 7041 sessions 7042 - interfaces/misc: updates for unity7/x11, browser- 7043 support, network-control and mount-observe 7044 interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 7045 interfaces/browser-support: update sysfs reads for 7046 newer browser versions, interfaces/network-control: rw for 7047 ieee80211 advanced wireless interfaces/mount-observe: allow read 7048 on sysfs entries for block devices 7049 - tests: use dnf --refresh install to avert stale cache 7050 - osutil: ensure TestLockUnlockWorks uses supported flock 7051 - interfaces: convert lxd to common iface 7052 - tests: restart snapd to ensure re-exec settings are applied 7053 - tests: fix interfaces-cups-control test 7054 - interfaces: improve and tweak bunch of interfaces test cases. 7055 - tests: adding extra worker for fedora 7056 - asserts,overlord/devicestate: support predefined assertions that 7057 don't establish foundational trust 7058 - interfaces: convert two hardware_random interfaces to common iface 7059 - interfaces: convert io_ports_control to common iface 7060 - tests: fix for upgrade test on fedora 7061 - daemon, client, cmd/snap: implement snap start/stop/restart 7062 - cmd/snap-confine: set _FILE_OFFSET_BITS to 64 7063 - interfaces: covert framebuffer to commonInterface 7064 - interfaces: convert joystick to common iface 7065 - interfaces/builtin: add the spi interface 7066 - wrappers, overlord/snapstate/backend: make link-snap clean up on 7067 failure. 7068 - interfaces/wayland: add wayland interface 7069 - interfaces: convert kvm to common iface 7070 - tests: extend upower-observe test to cover snaps providing slots 7071 - tests: enable main suite for opensuse 7072 - interfaces: convert physical_memory_observe to common iface 7073 - interfaces: add missing test for optical_drive interface. 7074 - interfaces: convert physical_memory_control to common iface 7075 - interfaces: convert ppp to common iface 7076 - interfaces: convert time-control to common iface 7077 - tests: fix failover test 7078 - interfaces/builtin: rework for avahi interface 7079 - interfaces: convert broadcom-asic-control to common iface 7080 - snap/snapenv: document the use of CoreSnapMountDir for SNAP 7081 - packaging/arch: drop patches merged into master 7082 - cmd: fix mustUnsetenv docstring (thanks to Chipaca) 7083 - release: remove default from VERSION_ID 7084 - tests: enable regression, upgrade and completion test suites for 7085 fedora 7086 - tests: restore interfaces-account-control properly 7087 - overlord/devicestate, store: update device auth endpoints URLs 7088 - tests: fix install-hook test failure 7089 - tests: download core and ubuntu-core at most once 7090 - interfaces: add common support for udev 7091 - overlord/devicestate: fix, don't assume that the serial is backed 7092 by a 1-key chain 7093 - cmd/snap-confine: don't share /etc/nsswitch from host 7094 - store: do not resume a download when we already have the whole 7095 thing 7096 - many: implement "snap logs" 7097 - store: don't call useDeltas() twice in quick succession 7098 - interfaces/builtin: add kvm interface 7099 - snap/snapenv: always expect /snap for $SNAP 7100 - cmd: mark arch as non-reexecing distro 7101 - cmd: fix tests that assume /snap mount 7102 - gitignore: ignore more build artefacts 7103 - packaging: add current arch packaging 7104 - interfaces/unity7: allow receiving media key events in (at least) 7105 gnome-shell 7106 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 7107 - interfaces/builtin: implement broadcom-asic-control interface 7108 - interfaces/builtin: reduce duplication and remove cruft in 7109 Sanitize{Plug,Slot} 7110 - tests: apply underscore convention for SNAPMOUNTDIR variable 7111 - interfaces/greengrass-support: adjust accesses now that have 7112 working snap 7113 - daemon, client, cmd/snap: implement "snap services" 7114 - tests: fix refresh tests not stopping fake store for fedora 7115 - many: add the interface command 7116 - overlord/snapstate/backend: some copydata improvements 7117 - many: support querying and completing assertion type names 7118 - interfaces/builtin: discard empty Validate{Plug,Slot} 7119 - cmd/snap-repair: start of Runner, implement first pass of Peek 7120 and Fetch 7121 - tests: enable main suite on fedora 7122 - snap: do not always quote the snap info summary 7123 - vendor: update go-flags to address crash in "snap debug" 7124 - interfaces: opengl support pci device and vendor 7125 - many: start implenting "base" snap type on the snapd side 7126 - arch,release: map armv6 correctly 7127 - many: expose service status in 'snap info' 7128 - tests: add browser-support interface test 7129 - tests: disable snapd-notify for the external backend 7130 - interfaces: Add /run/uuid/request to openvswitch 7131 - interfaces: add password-manager-service implicit classic 7132 interface 7133 - cmd: rework reexec detection 7134 - cmd: fix re-exec bug when starting from snapd 2.21 7135 - tests: dependency packages installed during prepare-project 7136 - tests: remove unneeded check for re-exec in InternalToolPath() 7137 - cmd,tests: fix classic confinement confusing re-execution code 7138 - store: configurable base api 7139 - tests: fix how package lists are updated for opensuse and fedora 7140 7141 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 25 Sep 2017 12:07:34 -0400 7142 7143 snapd (2.27.6) xenial; urgency=medium 7144 7145 * New upstream release, LP: #1703798: 7146 - interfaces: add udev netlink support to hardware-observe 7147 - interfaces/network-{control,observe}: allow receiving 7148 kobject_uevent() messages 7149 7150 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 07 Sep 2017 10:22:18 +0200 7151 7152 snapd (2.27.5) xenial; urgency=medium 7153 7154 * New upstream release, LP: #1703798: 7155 - interfaces: fix network-manager plug regression 7156 - hooks: do not error when hook handler is not registered 7157 - interfaces/alsa,pulseaudio: allow read on udev data for sound 7158 - interfaces/optical-drive: read access to udev data for /dev/scd* 7159 - interfaces/browser-support: read on /proc/vmstat and misc udev 7160 data 7161 7162 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 30 Aug 2017 07:32:20 +0200 7163 7164 snapd (2.27.4) xenial; urgency=medium 7165 7166 * New upstream release, LP: #1703798: 7167 - snap-seccomp: add secondary arch for unrestricted snaps as well 7168 7169 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 24 Aug 2017 08:51:22 +0200 7170 7171 snapd (2.27.3) xenial; urgency=medium 7172 7173 * New upstream release, LP: #1703798: 7174 - systemd: disable `Nice=-5` to fix error when running inside lxdSee 7175 https://bugs.launchpad.net/snapd/+bug/1709536 7176 7177 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 18 Aug 2017 15:49:56 +0200 7178 7179 snapd (2.27.2) xenial; urgency=medium 7180 7181 * New upstream release, LP: #1703798: 7182 - tests: remove TestInterfacesHelp as it breaks when go-flags 7183 changes 7184 - interfaces: don't crash if content slot has no attributes 7185 - debian: do not build with -buildmode=pie on i386 7186 - interfaces: backport broadcom-asic-control interface 7187 - interfaces: allow /usr/bin/xdg-open in unity7 7188 - store: do not resume a download when we already have the whole 7189 thing 7190 7191 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 16 Aug 2017 12:14:51 +0200 7192 7193 snapd (2.27.1) xenial; urgency=medium 7194 7195 * New upstream release, LP: #1703798: 7196 - tests: use dnf --refresh install to avert stale cache 7197 - tests: fix test failure on 14.04 due to old version of 7198 flock 7199 - updates for unity7/x11, browser-support, network-control, 7200 mount-observe 7201 - interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 7202 - interfaces/browser-support: update sysfs reads for 7203 newer browser versions 7204 - interfaces/network-control: rw for ieee80211 advanced wireless 7205 - interfaces/mount-observe: allow read on sysfs entries for block 7206 devices 7207 7208 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 14 Aug 2017 08:02:17 +0200 7209 7210 snapd (2.27) xenial; urgency=medium 7211 7212 * New upstream release, LP: #1703798 7213 - fix build failure on 32bit fedora 7214 - interfaces: add password-manager-service implicit classic interface 7215 - interfaces/greengrass-support: adjust accesses now that have working 7216 snap 7217 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 7218 - interfaces/unity7: allow receiving media key events in (at least) 7219 gnome-shell 7220 - cmd: fix re-exec bug when starting from snapd 2.21 7221 - tests: restore interfaces-account-control properly 7222 - cmd: fix tests that assume /snap mount 7223 - cmd: mark arch as non-reexecing distro 7224 - snap-confine: don't share /etc/nsswitch from host 7225 - store: talk to api.snapcraft.io for purchases 7226 - hooks: support for install and remove hooks 7227 - packaging: fix Fedora support 7228 - tests: add bluetooth-control interface test 7229 - store: talk to api.snapcraft.io for assertions 7230 - tests: remove snapd before building from branch 7231 - tests: add avahi-observe interface test 7232 - store: orders API now checks if customer is ready 7233 - cmd/snap: snap find only searches stable 7234 - interfaces: updates default, mir, optical-observe, system-observe, 7235 screen-inhibit-control and unity7 7236 - tests: speedup prepare statement part 1 7237 - store: do not send empty refresh requests 7238 - asserts: fix error handling in snap-developer consistency check 7239 - systemd: add explicit sync to snapd.core-fixup.sh 7240 - snapd: generate snap cookies on startup 7241 - cmd,client,daemon: expose "force devmode" in sysinfo 7242 - many: introduce and use strutil.ListContains and also 7243 strutil.SortedListContains 7244 - assserts,overlord/assertstate: test we don't accept chains of 7245 assertions founded on a self-signed key coming externally 7246 - interfaces: enable access to bridge settings 7247 - interfaces: fix copy-pasted iio vs io in io-ports-control 7248 - cmd/snap-confine: various small fixes and tweaks to seccomp 7249 support code 7250 - interfaces: bring back seccomp argument filtering 7251 - systemd, osutil: rework systemd logs in preparation for services 7252 commands 7253 - tests: store /etc/systemd/system/snap-*core*.mount in snapd- 7254 state.tar.gz 7255 - tests: shellcheck improvements for tests/main tasks - first set of 7256 tests 7257 - cmd/snap: `--last` for abort and watch, and aliases 7258 (search→find, change→tasks) 7259 - tests: shellcheck improvements for tests/lib scripts 7260 - tests: create ramdisk if it's not present 7261 - tests: shellcheck improvements for nightly upgrade and regressions 7262 tests 7263 - snapd: fix for snapctl get panic on null config values. 7264 - tests: fix for rng-tools service not restarting 7265 - systemd: add snapd.core-fixup.service unit 7266 - cmd: avoid using current symlink in InternalToolPath 7267 - tests: fix timeout issue for test refresh core with hanging … 7268 - intefaces: control bridged vlan/ppoe-tagged traffic 7269 - cmd/snap: include snap type in notes 7270 - overlord/state: Abort() only visits each task once 7271 - tests: extend find-private test to cover more cases 7272 - snap-seccomp: skip socket() tests on systems that use socketcall() 7273 instead of socket() 7274 - many: support snap title as localized/title-cased name 7275 - snap-seccomp: deal with mknod on aarch64 in the seccomp tests 7276 - interfaces: put base policy fragments inside each interface 7277 - asserts: introduce NewDecoderWithTypeMaxBodySize 7278 - tests: fix snapd-notify when it takes more time to restart 7279 - snap-seccomp: fix snap-seccomp tests in artful 7280 - tests: fix for create-key task to avoid rng-tools service ramains 7281 alive 7282 - snap-seccomp: make sure snap-seccomp writes the bpf file 7283 atomically 7284 - tests: do not disable ipv6 on core systems 7285 - arch: the kernel architecture name is armv7l instead of armv7 7286 - snap-confine: ensure snap-confine waits some seconds for seccomp 7287 security profiles 7288 - tests: shellcheck improvements for tests/nested tasks 7289 - wrappers: add SyslogIdentifier to the service unit files. 7290 - tests: shellcheck improvements for unit tasks 7291 - asserts: implement FindManyTrusted as well 7292 - asserts: open up and optimize Encoder to help avoiding unnecessary 7293 copying 7294 - interfaces: simplify snap-confine by just loading pre-generated 7295 bpf code 7296 - tests: restart rng-tools services after few seconds 7297 - interfaces, tests: add mising dbus abstraction to system-observe 7298 and extend spread test 7299 - store: change main store host to api.snapcraft.io 7300 - overlord/cmdstate: new package for running commands as tasks. 7301 - spread: help libapt resolve installing libudev-dev 7302 - tests: show the IP from .travis.yaml 7303 - tests/main: use pkgdb function in more test cases 7304 - cmd,daemon: add debug command for displaying the base policy 7305 - tests: prevent quoting error on opensuse 7306 - tests: fix nightly suite 7307 - tests: add linode-sru backend 7308 - snap-confine: validate SNAP_NAME against security tag 7309 - tests: fix ipv6 disable for ubuntu-core 7310 - tests: extend core-revert test to cover bluez issues 7311 - interfaces/greengrass-support: add support for Amazon Greengrass 7312 as a snap 7313 - asserts: support timestamp and optional disabled header on repair 7314 - tests: reboot after upgrading to snapd on the -proposed pocket 7315 - many: fix test cases to work with different DistroLibExecDir 7316 - tests: reenable help test on ubuntu and debian systems 7317 - packaging/{opensuse,fedora}: allow package build with testkeys 7318 included 7319 - tests/lib: generalize RPM build support 7320 - interfaces/builtin: sync connected slot and permanent slot snippet 7321 - tests: fix snap create-key by restarting automatically rng-tools 7322 - many: switch to use http numeric statuses as agreed 7323 - debian: add missing Type=notify in 14.04 packaging 7324 - tests: mark interfaces-openvswitch as manual due to prepare errors 7325 - debian: unify built_using between the 14.04 and 16.04 packaging 7326 branch 7327 - tests: pull from urandom when real entropy is not enough 7328 - tests/main/manpages: install missing man package 7329 - tests: add refresh --time output check 7330 - debian: add missing "make -C data/systemd clean" 7331 - tests: fix for upgrade test when it is repeated 7332 - tests/main: use dir abstraction in a few more test cases 7333 - tests/main: check for confinement in a few more interface tests 7334 - spread: add fedora snap bin dir to global PATH 7335 - tests: check that locale-control is not present on core 7336 - many: snapctl outside hooks 7337 - tests: add whoami check 7338 - interfaces: compose the base declaration from interfaces 7339 - tests: fix spread flaky tests linode 7340 - tests,packaging: add package build support for openSUSE 7341 - many: slight improvement of some snap error messaging 7342 - errtracker: Include /etc/apparmor.d/usr.lib.snap-confine md5sum in 7343 err reports 7344 - tests: fix for the test postrm-purge 7345 - tests: restoring the /etc/environment and service units config for 7346 each test 7347 - daemon: make snapd a "Type=notify" daemon and notify when startup 7348 is done 7349 - cmd/snap-confine: add support for --base snap 7350 - many: derive implicit slots from interface meta-data 7351 - tests: add core revert test 7352 - tests,packaging: add package build support for Fedora for our 7353 spread setup 7354 - interfaces: move base declaration to the policy sub-package 7355 - tests: fix for snapd-reexec test cheking for restart info on debug 7356 log 7357 - tests: show available entropy on error 7358 - tests: clean journalctl logs on trusty 7359 - tests: fix econnreset on staging 7360 - tests: modify core before calling set 7361 - tests: add snap-confine privilege test 7362 - tests: add staging snap-id 7363 - interfaces/builtin: silence ptrace denial for network-manager 7364 - tests: add alsa interface spread test 7365 - tests: prefer ipv4 over ipv6 7366 - tests: fix for econnreset test checking that the download already 7367 started 7368 - httputil,store: extract retry code to httputil, reorg usages 7369 - errtracker: report if snapd did re-execute itself 7370 - errtracker: include bits of snap-confine apparmor profile 7371 - tests: take into account staging snap-ids for snap-info 7372 - cmd: add stub new snap-repair command and add timer 7373 - many: stop "snap refresh $x --channel invalid" from working 7374 - interfaces: revert "interfaces: re-add reverted ioctl and quotactl 7375 - snapstate: consider connect/disconnect tasks in 7376 CheckChangeConflict. 7377 - interfaces: disable "mknod |N" in the default seccomp template 7378 again 7379 - interfaces,overlord/ifacestate: make sure installing slots after 7380 plugs works similarly to plugs after slots 7381 - interfaces/seccomp: add bind() syscall for forced-devmode systems 7382 - packaging/fedora: Sync packaging from Fedora Dist-Git 7383 - tests: move static and unit tests to spread task 7384 - many: error types should be called FooError, not ErrFoo. 7385 - partition: add directory sync to the save uboot.env file code 7386 - cmd: test everything (100% coverage \o/) 7387 - many: make shell scripts shellcheck-clean 7388 - tests: remove additional setup for docker on core 7389 - interfaces: add summary to each interface 7390 - many: remove interface meta-data from list of connections 7391 - logger (& many more, to accommodate): drop explicit syslog. 7392 - packaging: import packaging bits for opensuse 7393 - snapstate,many: implement snap install --unaliased 7394 - tests/lib: abstract build dependency installation a bit more 7395 - interfaces, osutil: move flock code from interfaces/mount to 7396 osutil 7397 - cmd: auto import assertions only from ext4,vfat file systems 7398 - many: refactor in preparation for 'snap start' 7399 - overlord/snapstate: have an explicit code path last-refresh 7400 unset/zero => immediately refresh try 7401 - tests: fixes for executions using the staging store 7402 - tests: use pollinate to seed the rng 7403 - cmd/snap,tests: show the sha3-384 of the snap for snap info 7404 --verbose SNAP-FILE 7405 - asserts: simplify and adjust repair assertion definition 7406 - cmd/snap,tests: show the snap id if available in snap info 7407 - daemon,overlord/auth: store from model assertion wins 7408 - cmd/snap,tests/main: add confinement switch instead of spread 7409 system blacklisting 7410 - many: cleanup MockCommands and don't leave a process around after 7411 hookstate tests 7412 - tests: update listing test to the core version number schema 7413 - interfaces: allow snaps to use the timedatectl utility 7414 - packaging: Add Fedora packaging files 7415 - tests/libs: add distro_auto_remove_packages function 7416 - cmd/snap: correct devmode note for anomalous state 7417 - tests/main/snap-info: use proper pkgdb functions to install distro 7418 packages 7419 - tests/lib: use mktemp instead of tempfile to work cross-distro 7420 - tests: abstract common dirs which differ on distributions 7421 - many: model and expose interface meta-data. 7422 - overlord: make config defaults from gadget work also at first boot 7423 - interfaces/log-observe: allow using journalctl from hostfs for 7424 classic distro 7425 - partition,snap: add support for android boot 7426 - errtracker: small simplification around readMachineID 7427 - snap-confine: move rm_rf_tmp to test-utils. 7428 - tests/lib: introduce pkgdb helper library 7429 - errtracker: try multiple paths to read machine-id 7430 - overlord/hooks: make sure only one hook for given snap is executed 7431 at a time. 7432 - cmd/snap-confine: use SNAP_MOUNT_DIR to setup /snap inside the 7433 confinement env 7434 - tests: bump kill-timeout and remove quiet call on build 7435 - tests/lib/snaps: add a test store snap with a passthrough 7436 configure hook 7437 - daemon: teach the daemon to wait on active connections when 7438 shutting down 7439 - tests: remove unit tests task 7440 - tests/main/completion: source from /usr/share/bash-completion 7441 - assertions: add "repair" assertion 7442 - interfaces/seccomp: document Backend.NewSpecification 7443 - wrappers: make StartSnapServices cleanup any services that were 7444 added if a later one fails 7445 - overlord/snapstate: avoid creating command aliases for daemons 7446 - vendor: remove unused packages 7447 - vendor,partition: fix panics from uenv 7448 - cmd,interfaces/mount: run snap-update-ns and snap-discard-ns from 7449 core if possible 7450 - daemon: do not allow to install ubuntu-core anymore 7451 - wrappers: service start/stop were inconsistent 7452 - tests: fix failing tests (snap core version, syslog changes) 7453 - cmd/snap-update-ns: add actual implementation 7454 - tests: improve entropy also for ubuntu 7455 - cmd/snap-confine: use /etc/ssl from the core snap 7456 - wrappers: don't convert between []byte and string needlessly. 7457 - hooks: default timeout 7458 - overlord/snapstate: Enable() was ignoring the flags from the 7459 snap's state, resulting in losing "devmode" on disable/enable. 7460 - difs,interfaces/mount: add support for locking namespaces 7461 - interfaces/mount: keep track of kept mount entries 7462 - tests/main: move a bunch of greps over to MATCH 7463 - interfaces/builtin: make all interfaces private 7464 - interfaces/mount: spell unmount correctly 7465 - tests: allow 16-X.Y.Z version of core snap 7466 - the timezone_control interface only allows changing /etc/timezone 7467 and /etc/writable/timezone. systemd-timedated also updated the 7468 link of /etc/localtime and /etc/writable/localtime ... allow 7469 access to this file too 7470 - cmd/snap-confine: aggregate operations holding global lock 7471 - api, ifacestate: resolve disconnect early 7472 - interfaces/builtin: ensure we don't register interfaces twice 7473 7474 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Aug 2017 12:43:16 +0200 7475 7476 snapd (2.26.14) xenial; urgency=medium 7477 7478 * New upstream release, LP: #1690083 7479 - cmd: fix incorrect re-exec when starting from snapd 2.21 7480 7481 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 20 Jul 2017 13:52:05 +0200 7482 7483 snapd (2.26.13) xenial; urgency=medium 7484 7485 * New upstream release, LP: #1690083 7486 - cmd,tests: fix classic confinement confusing re-execution code 7487 - cmd: fix incorrect check check for re-exec in InternalToolPath() 7488 - snap-seccomp: add secondary arch for unrestricted snaps as well 7489 7490 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 18 Jul 2017 20:34:33 +0200 7491 7492 snapd (2.26.10) xenial; urgency=medium 7493 7494 * New upstream release, LP: #1690083 7495 - Fix snap-seccomp tests in artful/trusty on i386/s390x/aarch64 7496 7497 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 17 Jul 2017 11:58:22 +0200 7498 7499 snapd (2.26.9) xenial; urgency=medium 7500 7501 * New upstream release, LP: #1690083 7502 - statically link libseccomp in snap-seccomp to fix refresh issue 7503 on trusty 7504 7505 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 12 Jul 2017 08:27:14 +0200 7506 7507 snapd (2.26.8) xenial; urgency=medium 7508 7509 * New upstream release, LP: #1690083 7510 - Fix snap-seccomp tests in artful/trusty on i386/s390x/aarch64 7511 - add snapd.core-fixup.service unit 7512 - ensure re-exec uses the right internal tools 7513 7514 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 05 Jul 2017 07:48:22 +0200 7515 7516 snapd (2.26.6) xenial; urgency=medium 7517 7518 * New upstream release, LP: #1690083 7519 - interfaces: allow snaps to use the timedatectl utility in 7520 time-control 7521 7522 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 27 Jun 2017 08:36:23 +0100 7523 7524 snapd (2.26.5) xenial; urgency=medium 7525 7526 * New upstream release, LP: #1690083 7527 - backport of seccomp-bpf branch to the 2.26 release to ensure snap 7528 revert with new seccomp syntax works correctly 7529 7530 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 26 Jun 2017 15:30:15 +0100 7531 7532 snapd (2.26.4) xenial; urgency=medium 7533 7534 * New upstream release, LP: #1690083 7535 - partly revert aace15ab53 to unbreak core reverts 7536 - Revert "interfaces: re-add reverted ioctl and quotactl (revert 21bc6b9f)" 7537 - Disable "mknod |N" in the default seccomp template 7538 reasons outline in https://forum.snapcraft.io/t/snapd-2-25-blocked-because-of-revert-race-condition 7539 - errtracker: include bits of snap-confine apparmor profile 7540 - errtracker: report if snapd did re-execute itself 7541 7542 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 01 Jun 2017 18:50:52 +0200 7543 7544 snapd (2.26.3) xenial; urgency=medium 7545 7546 * New upstream release, LP: #1690083 7547 - cherry pick test fixes f0103a6, 9de5c8a, d7725a7 to make 7548 sure the image tests are updated for the changes in the 7549 `snap info core` output and the removal of the rsyslog 7550 package from core. 7551 7552 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 17 May 2017 11:31:56 +0200 7553 7554 snapd (2.26.2) xenial; urgency=medium 7555 7556 * New upstream release, LP: #1690083 7557 - cherry pick d444728 to make the uboot.env file parsing more 7558 robust 7559 7560 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 16 May 2017 18:37:07 +0200 7561 7562 snapd (2.26.1) xenial; urgency=medium 7563 7564 * New upstream release, LP: #1690083 7565 - store: fix panic error in auth 7566 - tests: the new ubuntu-image snap needs classic confinement, adjust 7567 tests 7568 - cmd/snap-confine: don't fail on pre 3.8 kernel 7569 7570 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 May 2017 21:44:27 +0200 7571 7572 snapd (2.26) xenial; urgency=medium 7573 7574 * New upstream release, LP: #1690083 7575 - timeutil: avoid panicking when the window is very small 7576 - image: fix go vet issue 7577 - overlord/ifacestate: don't spam logs with harmless auto-connect 7578 messages 7579 - interfaces/builtin: add network-status interface 7580 - interfaces/builtin: add online-accounts-service interface 7581 - interfaces/builtin: distribute code of touching allInterfaces 7582 - interfaces: API additions for interface hooks 7583 - interfaces/builtin: add storage-framework-service interface 7584 - tests: disable create-key test on ppc64el for artful (expect not 7585 working) 7586 - snap: make `snap prepare-image --extra-snaps` derive side info 7587 - tests: unify tests/{main/completion,completion}/lib.exp0 7588 - cmd/snap: tweak info channels output 7589 - interfaces: ensure that legacy interface methods are unused 7590 - packaging: cleanup how built-using is generated 7591 - tests: extend kernel-module-control interface test 7592 - interfaces/network: workaround Go's need for NETLINK_ROUTE with 7593 'net'. 7594 - cmd/snap-confine: use defensive argument parser 7595 - tests: add test for empty snap name on revert 7596 - overlord/hookstate: remove unused Context.timeout 7597 - tests: additional setup in docker test for core systems 7598 - configstate: return error if patch is invalid 7599 - interfaces: add random interface 7600 - store, daemon, client, cmd/snap: handle PASSWORD_POLICY_ERROR 7601 - cmd/snap, client: add "whoami" command 7602 - cmd/snap: iterate interface tab completion 7603 - snap: move locale-control to only be present on classic 7604 - interfaces/browser-support: deny read on squashfs backing files 7605 and LVM vg names 7606 - tests: wait for the docker socket to be listening 7607 - snap: add `snap refresh --time` option 7608 - tests: re-enable and moderninze /media sharing test 7609 - cmd: make rst2man optional 7610 - tests: remove quoting from [[ ]] when globs 7611 - interfaces: allow plugging DBus clients to introspect the slot 7612 service 7613 - packaging/ubuntu*/changelog: drop extra dash 7614 - snap-confine: init the ENTRY variable, coverity is unhappy 7615 otherwise 7616 - cmd/snap-confine/spread-tests: discard useless --version test 7617 - spread: add spread target qemu:debian-9-64 7618 - interfaces: mediate netlink sockets via seccomp 7619 - tests,cmd/snap-confine: port older snapd-discard-ns tests 7620 - cmd/snap-confine/tests: fix shellcheck on recently added files 7621 - tests/upgrade: force install core snap from beta for debian 7622 - overlord/snapstate/backend,interfaces/mount: move ns management 7623 code. 7624 - tests: extend network-control spread test to cope with network 7625 namespaces 7626 - tests: fail early in the spread suite if trying to run it inside a 7627 container 7628 - tests: set ownership of $PROJECT_PATH for the external backend 7629 - tests: specify the auto-refreshable snap being tested 7630 - many: fix tests with go1.8 / artful 7631 - fix for tests: debian does not have /snap/bin in secure_path so 7632 sudo 7633 - snap: support for snap tasks --last=... 7634 - cmd/snap-confine: remove obsolete debug message 7635 - address review feedback, add a lot of comments :-), call 7636 shellcheck on the completion scripts, fix a bug in compopt 7637 7638 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 May 2017 10:05:44 +0200 7639 7640 snapd (2.25) xenial; urgency=medium 7641 7642 * New upstream release, LP: #1686713 7643 - interfaces/default: allow mknod for regular files, pipes and 7644 sockets 7645 - many: use "SNAP.APP as ALIAS" instead of => when listing 7646 added/removed aliases 7647 - cmd/snap-confine: write current mount profile 7648 - cmd/snap-discard-ns: remove current profile when cleaning up 7649 - many: support debian in our CI 7650 - tests: tweak time for econnreset test a bit more 7651 - cmd/snap-confine: re-enable re-assciate fix for CE 7652 - many: aliases v2 cleanups 7653 - cmd/snap-confine: don't use apparmor if it is disabled on boot 7654 - many: implement `snap prefer <snap>` (aliases v2) 7655 - many: adjust /aliases and "snap aliases" to aliases v2, also some 7656 cleanup 7657 - snapstate: normalize gadget defaults 7658 - many: allow core refresh.schedule setting 7659 - many: show alias changes on snap alias/unalias (aliases v2) 7660 - client,cmd/snap: improve messaging on --devmode and --classic 7661 - many: implement `snap unalias <alias-or-snap>` (aliases v2) 7662 - store: retry on connection reset 7663 - interfaces/mount: add Change.Perform 7664 - tests: add openvswitch interface spread test 7665 - interfaces/i2c: allow modifying device-specific sysfs entries 7666 - interfaces: allow writing to /run/systemd/journal/stdout by 7667 default 7668 - tests: ensure travis fails early if static checks fail 7669 - store,daemon: make store interpret channel="" as stable in most 7670 cases 7671 - overlord/snapstate: make UpdateAliases idempotent, simplify the 7672 backend interface bits for aliases not used anymore (aliases v2) 7673 - many: implement snap alias <snap.app> <alias> (aliases v2) 7674 - snap-confine: add code to ensure that / or /snap is mounted 7675 "shared" 7676 - many: show available "tracks" in `snap info` 7677 - cmd/snap: make users Xauthority file available in snap environment 7678 - interfaces/mount: write current fstab files with mode 0644 7679 - overlord: switch to aliases v2 tasks for install/refresh etc ops 7680 plus transition 7681 - tests: parameterize gadget snap channel (#3117) 7682 - tests: copy .real profile as .real 7683 - tests: add empty initrd failover test 7684 - many: mount squashfs as read-only 7685 - cmd: make locking around namespaces explicit 7686 - tests: address review comments from #3186 7687 - tests: add dbus interface spread test 7688 - interfaces/mount: add ReadMountInfo and LoadMountInfo 7689 - snap: require snap name for 'revert' 7690 - overlord: maintain per-revision snapshots of snap configuration 7691 - tests: relax network-bind interface regexps 7692 - interfaces: re-add reverted ioctl and quotactl (revert 21bc6b9f) 7693 - store: retry once on hashsum mismatches in a Download() 7694 - interfaces/builtin: don't panic if content plug has nil attrs 7695 - interfaces/mount: pass mount.Profile to mount.NeededChanges 7696 - packaging: add `built-using` header for 16.04 packaging 7697 - interfaces: add media-hub interface 7698 - interfaces/builtin: allow full access to properties iface of the 7699 udisks service 7700 - tests: handle case when both .real and plain are present 7701 - interfaces/mount: add Change.String for readable output 7702 - tests: ensure we mock force dev mode as well to fix FTBFS in 7703 sbuild 7704 - store: add more logs around retry in download 7705 - interfaces/mount: add stub Change.{Needed,Perform} 7706 - tests: allow installing snapd from -proposed for SRU validation 7707 - interfaces/mount: parse mount options to map[string]string 7708 - snap: added tasks subcommand 7709 - tests: copy snap-confine apparmor profile into testbed 7710 - interfaces/mount: improve go identifier names of mountinfo, parse 7711 optional fields 7712 - Arch Linux wants to respect FHS 7713 (https://bugs.archlinux.org/task/53656), 7714 - daemon: do not set RemoveSnapPath flag when doing a try 7715 - debian: add maintscript helper to remove usr.lib.snapd.snap- 7716 confine in snap-confine 7717 - cmd/snap-confine: don't use plain "classic" term 7718 - cmd/snap-confine: set TMPDIR and TEMPDIR each time 7719 - many: fixes for `go vet` in go 1.7 7720 - tests: add kernel-module-control interface test 7721 - overlord/snapstate: introduce tasks for aliases v2 semantics with 7722 temporary names for now (aliases v2) 7723 - overlord/devicestate: switch to ssh-keygen for device key 7724 generation 7725 - snap: skip /dev/ram from auto-import assertions to make it less 7726 noisy (#3010) 7727 - interfaces: add kubernetes-support interface and adjust related 7728 interfaces (LP: #1664638) 7729 - tests: download previous snapd package from published versions 7730 instead of specific PPA 7731 - snap: run snap-confine from core if snap is also running from core 7732 - overlord/ifacestate: automatically rename connections on core snap 7733 - many: break the /aliases mutation API with a clean 400 (aliases 7734 v2) 7735 - interfaces/builting: allow read-only access to /sys/module 7736 - tests: add extra test after the core transition for snap get/set 7737 core 7738 - store: misc cleanups in tests 7739 - interfaces/mount: add parser for mountinfo entries 7740 - store: tests for unexpected EOF 7741 - tests: fix unity test 7742 - interfaces,overlord: log interface auto-connection failures 7743 - cmd/snap-update-ns: add C preamble for setns 7744 - interfaces: validate plug/slot uniqueness 7745 7746 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 28 Apr 2017 07:57:49 +0200 7747 7748 snapd (2.24.1) xenial; urgency=medium 7749 7750 * New upstream release, LP: #1681799: 7751 - fix autopkgtest failures with stable core snap 7752 - ensure the snap-confine transitional package cleans up 7753 the no-longer-used apparmor profile to fix the kernels 7754 autopkgtest failures 7755 7756 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 19 Apr 2017 11:54:33 +0200 7757 7758 snapd (2.24) xenial; urgency=medium 7759 7760 * New upstream release, LP: #1681799: 7761 - interfaces/mount: add InfoEntry type 7762 - many: fix plug auto-connect during core transition 7763 - interfaces: fold network bind into core support with tests 7764 - .travis.yml: add option to make raw log less noisy 7765 - interfaces: adjust shm accesses to use 'm' for updated mmap kernel 7766 mediation 7767 - many: rename two core plugs that clash with slot names 7768 - snap-confine,browser-support: /dev/tty for snap-confine, misc 7769 browser-support for gnome-shell 7770 - store: add download test with EOF in the middle 7771 - tests: adjust to look for network-bind-plug 7772 - store: make hash error message more accurate 7773 - overlord/snapstate: simplify AliasesStatus down to just an 7774 AutoAliasesDisabled bool flag (aliases v2) 7775 - errtracker: never send errtracker reports when running under 7776 SNAPPY_TESTING 7777 - interfaces/repo: validate slot/plug names 7778 - daemon: Give the snap directories via GET /v2/system-info 7779 - interfaces/unity7: support unity messaging menu 7780 - interfaces/mount: add high-level Profile functions 7781 - git: ignore only the cmd/Makefile{,.in} 7782 - cmd: explicitly set _GNU_SOURCE and _FILE_OFFSET_BITS for xfs 7783 support 7784 - daemon: add desktop file location for app to the API 7785 - overlord,release: disable classic snap support when not possible 7786 - overlord: fix TestEnsureLoopPrune not to be so racy 7787 - many: abstract path to /bin/{true,false} 7788 - data/systemd: tweak data/systemd/Makefile to be slightly simpler 7789 - store: handle EOF via url.Error check 7790 - packaging: use templates for relevant systemd units 7791 - tests: run gccgo only on ubuntu-16.04-64 7792 - .travis.yml: remove travis matrix and do a single sequential run 7793 - overlord/state: make sure that setting to nil a state key is 7794 equivalent to deleting it 7795 - tests: fix incorrect shell expression 7796 - interfaces/mount: add OptsToFlags for converting arguments to 7797 syscall… 7798 - interfaces: add a joystick interface 7799 - tests: enable docker test for more ubuntu-core systems 7800 - tests: download and install additional dependencies when using 7801 prepackaged snapd 7802 - many: add support for partially static builds 7803 - interfaces: allow slot to introspect dbus-daemon in dbus 7804 interface, allow /usr/bin/arch by default 7805 - interfaces/mount: fix golint issues 7806 - interfaces/mount: add function for saving fstab-like file 7807 - osutil: introducing GetenvInt64, like GetenvBool but Int64er. 7808 - interfaces: drop udev tagging from framebuffer interface 7809 - snapstate: more helpers to work with aliases state (aliases 7810 v2) 7811 - interfaces/mount: add function for parsing fstab-like file 7812 - cmd: disable the re-associate fix as requested by jdstrand 7813 - overlord/snapstate: unlock/relock the state less, especially not 7814 across mutating the SnapState of a snap 7815 - interfaces: allow executing ld.so (needed with new AppArmor base 7816 abstraction) 7817 - interfaces/mount: add function for parsing mount entries 7818 - cmd: rework header check for xfs/xqm.h 7819 - cmd: add poky to the list of distros which don't support reexec 7820 - overlord: finish reorg, revert "be more conservative until we have 7821 cut 2.23.x" 7822 - cmd: select what socket to use in cmd/snap{,ctl} 7823 - overlord: remove snap config values when snap is removed 7824 - snapstate: introduce helper to apply to disk a alias states change 7825 for a snap (aliases v2) 7826 - configstate,hookstate: timeout the configure hook after 5 mins, 7827 report failures to the errtracker 7828 - interfaces/seccomp: add bind as part of the default seccomp policy 7829 for hooks 7830 - cmd: discard the C implementation of snap-update-ns 7831 - tests: remove stale apt proxy leftover from cloud-init 7832 - tests: move unity test to nightly suite 7833 - interfaces: add support for location-observe for 7834 dbus::ObjectManager session paths 7835 - boot: log error in KernelOrOsRebootRequired 7836 - interfaces: remove old API 7837 - interfaces: use udev spec 7838 - interfaces: convert systemd backend to new APIs 7839 - osutil: add BootID 7840 - tests: move docker test to new nightly suite 7841 - interfaces/mount: compute mount changes required to transition 7842 mount profiles 7843 - data/selinux: add context definition for snapctl 7844 - overlord: clean up organization under state packages 7845 - overlord: make sure all managers packages have *state.go with the 7846 main state manipulation/query APIs 7847 - interfaces: use spec in the dbus backend 7848 - store: download from authenticated URL if there is a device 7849 session set 7850 - tests: remove core_name variable 7851 - interfaces: rename thumbnailer to thumbnailer-service 7852 - interfaces: add chroot to base templates 7853 - asserts: remove some unused things 7854 - systemd: mount the squashfs with nodev 7855 - overlord: when shutting down assume errors might be due to 7856 cancellation so retry 7857 - cmd: rename all unit tests to $command/unit-test 7858 - cmd/snap: fix help string for version command 7859 - asserts: don't allow revocations with other items for the same 7860 developer 7861 - tests: skip lp-1644439 test on older kernels 7862 - interfaces: allow "sync" to be used by core support 7863 - assertstate,snapstate: have assertstate.AutoAliases use the 7864 "aliases" header 7865 - interfaces: allow writing config.txt.tmp in the core-support 7866 interface 7867 - tests: adjust network-bind test 7868 - interfaces: dbus backend spec 7869 - asserts: introduce a snap-declaration "aliases" header to list 7870 auto aliases with explicit targets 7871 - cmd: enable large file support 7872 - cmd/snap: handle missing snap-confine 7873 - cmd/snap-confine: re-associate with pid-1 mount namespace if 7874 required 7875 - cmd/libsnap: make mountinfo structures public 7876 - tests: fix interfaces-cups-control for zesty 7877 - misc: revert "Log if the system goes into ForceDevMode" 7878 - interfaces: seccomp tests cleanup 7879 - cmd: validate SNAP_NAME 7880 - interfaces: log if the system goes into ForceDevMode 7881 - tests: fix classic-ubuntu-core-transition race 7882 - interfaces: use apparmor spec in the apparmor backend 7883 - interfaces: alphabetize framebuffer in base decl and add it to 7884 all_test.go 7885 - tests: add ubuntu-core-16-32 system to the external backend and 7886 fix docker test 7887 - cmd/libsnap: simplify sc_string_quote default case 7888 - osutil: fix double expand in environment map code and add test 7889 - interfaces: extend location-control out-of-process provider 7890 support 7891 - cmd/snap-update-ns: use bidirectional lists for mount entries 7892 - tests: prevent automatic transition before setting the initial 7893 state of the test 7894 - release: detect if we are in ForcedDevMode by inspecting the 7895 kernel 7896 - tests: add core-snap-refresh test 7897 - interfaces: add maliit input method interface 7898 - interfaces: seccomp spec API tweaks for better tests 7899 - interfaces: updates for mir-kiosk in browser-support, mir, opengl, 7900 unity7 7901 - testutils: address review feedback from PR#2997 7902 - tests: specify the core version to be unsquashfs'ed in the 7903 failover tests 7904 - interfaces: use MockInfo in tests 7905 - cmd/libsnap: add sc_quote_string 7906 - cmd/snap-confine: use sc_do_umount everywhere 7907 - interfaces: add unity8 plug permissions 7908 - timeutil: a few helpers for the recurring events 7909 - asserts: implement snap-developer type 7910 - partition: deal with grub{,2}-editenv in tests 7911 - many: add new (hidden) `snap debug ensure-state-soon` command and 7912 use in tests 7913 - interfaces/builtin: small refactor of dbus tests 7914 - packaging, tests: use "systemctl list-unit-files --full" 7915 everywhere 7916 - many: some opensuse patches that are ready to go into master 7917 - packaging: add opensuse permissions files 7918 - client, daemon: move "snap list" name filtering into snapd. 7919 - interfaces: use seccomp specs 7920 - overlord/snapstate: small cleanup of 7921 ensureForceDevmodeDropsDevmodeFromState 7922 - interfaces/builtin/alsa: add read access to alsa state dir 7923 - interfaces: use spec in kmod backend, updated firewall_control, 7924 openvswitch_support, ppp 7925 - cmd/snap-confine: use sc_do_mount everywhere 7926 - tests: remove workaround for docker again, snap-declaration is 7927 fixed now 7928 - interfaces: interface to allow autopilot introspection 7929 7930 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 11 Apr 2017 13:31:46 +0200 7931 7932 snapd (2.23.6) xenial; urgency=medium 7933 7934 * New upstream release, LP: #1673568 7935 - cmd: use the most appropriate snap/snapctl sockets 7936 - tests: fix interfaces-cups-control for zesty 7937 - configstate,hookstate: timeout the configure hook after 5 mins, 7938 report failures 7939 - packaging: rename the file shipping snap-confine AA profile to 7940 workaround dpkg bug #858004 7941 - many: ignore configure hook failures on core refresh to ensure 7942 upgrades are always possible 7943 - snapstate: restart as needed if we undid unlinking aka relinked 7944 core or kernel snap 7945 7946 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 Mar 2017 15:30:35 +0200 7947 7948 snapd (2.23.5) xenial; urgency=medium 7949 7950 * New upstream release, LP: #1673568 7951 - allow "sync" in core-support 7952 7953 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Mar 2017 18:13:43 +0100 7954 7955 snapd (2.23.4) xenial; urgency=medium 7956 7957 * New upstream release, LP: #1673568 7958 - fix core-support interface for the new pi-config options 7959 7960 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Mar 2017 16:05:57 +0100 7961 7962 snapd (2.23.3) xenial; urgency=medium 7963 7964 * FTBFS due to missing files in vendor/ 7965 7966 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Thu, 16 Mar 2017 19:56:55 +0100 7967 7968 snapd (2.23.2) xenial; urgency=medium 7969 7970 * New upstream release, LP: #1673568 7971 - cmd/snap: handle missing snap-confine (#3041) 7972 7973 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Thu, 16 Mar 2017 19:38:24 +0100 7974 7975 snapd (2.23.1) xenial; urgency=medium 7976 7977 * New upstream release, LP: #1665608 7978 - packaging, tests: use "systemctl list-unit-files --full" 7979 everywhere 7980 - interfaces: fix default content attribute value 7981 - tests: do not nuke the entire snapd.conf.d dir when changing 7982 store settings 7983 - hookstate: run the right "snap" command in the hookmanager 7984 - snapstate: revert PR#2958, run configure hook again everywhere 7985 7986 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 08 Mar 2017 14:29:56 +0100 7987 7988 snapd (2.23) xenial; urgency=medium 7989 7990 * New upstream release, LP: #1665608 7991 - overlord: phase 2 with 2nd setup-profiles and hook done after 7992 restart for core installation 7993 - data: re-add snapd.refresh.{timer,service} with weekly schedule 7994 - interfaces: allow 'getent' by default with some missing dbs to 7995 various interfaces 7996 - overlord/snapstate: drop forced devmode 7997 - snapstate: disable running the configure hook on classic for the 7998 core snap 7999 - ifacestate: re-generate apparmor in InterfaceManager.initialize() 8000 - daemon: DevModeDistro does not imply snapstate.Flags{DevMode:true} 8001 - interfaces/bluez,network-manager: implement ConnectedSlot policy 8002 - cmd: add helpers for mounting / unmounting 8003 - snapstate: error in LinkSnap() if revision is unset 8004 - release: add linuxmint 18 to the non-devmode distros 8005 - cmd: fixes to run correctly on opensuse 8006 - interfaces: consistently use 'const' instead of 'var' for security 8007 policy 8008 - interfaces: miscellaneous policy updates for unity7, udisks2 and 8009 browser-support 8010 - interfaces/apparmor: compensate for kernel behavior change 8011 - many: only tweak core config if hook exists 8012 - overlord/hookstate: don't report a run hook output error without 8013 any context 8014 - cmd/snap-update-ns: move test data and helpers to new module 8015 - vet: fix vet error on mount test. 8016 - tests: empty init (systemd) failover test 8017 - cmd: add .indent.pro file to the tree 8018 - interfaces: specs for apparmor, seccomp, udev 8019 - wrappers/services: RemainAfterExit=yes for oneshot daemons w/ stop 8020 cmds 8021 - tests: several improvements to the nested suite 8022 - tests: do not use core for "All snaps up to date" check 8023 - cmd/snap-update-ns: add function for sorting mount entries 8024 - httputil: copy some headers over redirects 8025 - data/selinux: merge SELinux policy module 8026 - kmod: added Specification for kmod security backend 8027 - tests: failover test for rc.local crash 8028 - debian/tests: map snapd deb pockets to core snap channels for 8029 autopkgtest 8030 - many: switch channels on refresh if needed 8031 - interfaces/builtin: add /boot/uboot/config.txt access to core- 8032 support 8033 - release: assume higher version of supported distros will still 8034 work 8035 - cmd/snap-update-ns: add compare function for mount entries 8036 - tests: enable docker test 8037 - tests: bail out if core snap is not installed 8038 - interfaces: use mount.Entry instead of string snippets. 8039 - osutil: trivial tweaks to build ID support 8040 - many: display kernel version in 'snap version' 8041 - osutil: add package for reading Build-ID 8042 - snap: error when `snap list foo` is run and no snap is installed 8043 - cmd/snap-confine: don't crash if nvidia module is loaded but 8044 drivers are not available 8045 - tests: update listing test for latest core snap version update 8046 - overlord/hookstate/ctlcmd: helper function for creating a deep 8047 copy of interface attributes 8048 - interfaces: add a linux framebuffer interface 8049 - cmd/snap, store: change error messages to reflect latest UX doc 8050 - interfaces: initial unity8 interface 8051 - asserts: improved information about assertions format in the 8052 Decode doc comment 8053 - snapstate: ensure snapstate.CanAutoRefresh is nil in tests 8054 - mkversion.sh: Add support for taking the version as a parameter 8055 - interfaces: add an interface for use by thumbnailer 8056 - cmd/snap-confine: ensure that hostfs is root owned. 8057 - screen-inhibit-control: add methods for delaying screensavers 8058 - overlord: optional device registration and gadget support on 8059 classic 8060 - overlord: make seeding work also on classic, optionally 8061 - image,cmd/snap: refactoring and initial envvar support to use 8062 stores needing auth 8063 - tests: add libvirt interface spread test 8064 - cmd/libsnap: add helper for dropping permissions 8065 - interfaces: misc updates for network-control, firewall-control, 8066 unity7 and default policy 8067 - interfaces: allow recv* and send* by default, accept4 with accept 8068 and other cleanups 8069 - interfaces/builtin: add classic-support interface 8070 - store: use xdelta3 from core if available and not on the regular 8071 system 8072 - snap: add contact: line in `snap info` 8073 - interfaces/builtin: add network-setup-control which allows rw 8074 access to netplan 8075 - unity7: support missing signals and methods for status icons 8076 - cmd: autoconf for RHEL 8077 - cmd/snap-confine: look for PROCFS_SUPER_MAGIC 8078 - dirs: use the right snap mount dir for the distribution 8079 - many: differentiate between "distro" and "core" libexecdir 8080 - cmd: don't reexec on RHEL family 8081 - config: make helpers reusable 8082 - snap-exec: support nested environment variables in environment 8083 - release: add galliumos support 8084 - interfaces/builtin: more path options for serial 8085 - i18n: look into core snaps when checking for translations 8086 - tests: nested image testing 8087 - tests: add basic test for docker 8088 - hookstate,ifacestate: support snapctl set/get slot and plug attrs 8089 (step 3) 8090 - cmd/snap: add shell completion to connect 8091 - cmd: add functions to load/save fstab-like files 8092 - snap run: create "current" symlink in user data dir 8093 - cmd: autoconf for centos 8094 - tests: add more debug if ubuntu-core-upgrade fails 8095 - tests: increase service retries 8096 - packaging/ubuntu-14.04: inform user how to extend PATH with 8097 /snap/bin. 8098 - cmd: add helpers for working with mount/umount commands 8099 - overlord/snapstate: prepare for using snap-update-ns 8100 - cmd: use per-snap mount profile to populate the mount namespace 8101 - overlord/ifacestate: setup seccomp security on startup 8102 - interface/seccomp: sort combined snippets 8103 - release: don't force devmode on LinuxMint "serena" 8104 - tests: filter ubuntu-core systems for authenticated find-private 8105 test 8106 - interfaces/builtin/core-support: Allow modifying logind 8107 configuration from the core snap 8108 - tests: fix "snap managed" output check and suppress output from 8109 expect in the authenticated login tests 8110 - interfaces: shutdown: also allow shutdown/reboot/suspend via 8111 logind 8112 - cmd/snap-confine-tests: reformat test to pass shellcheck 8113 - cmd: add sc_is_debug_enabled 8114 - interfaces/mount: add dedicated mount entry type 8115 - interfaces/core-support: allow modifying systemd-timesyncd and 8116 sysctl configuration 8117 - snap: improve message after `snap refresh pkg1 pkg2` 8118 - tests: improve snap-env test 8119 - interfaces/io-ports-control: use /dev/port, not /dev/ports 8120 - interfaces/mount-observe: add quotactl with arg filtering (LP: 8121 #1626359) 8122 - interfaces/mount: generate per-snap mount profile 8123 - tests: add spread test for delta downloads 8124 - daemon: show "$snapname (delta)" in progress when downloading 8125 deltas 8126 - cmd: use safer functions in sc_mount_opt2str 8127 - asserts: introduce a variant of model assertions for classic 8128 systems 8129 - interfaces/core-support: allow modifying snap rsyslog 8130 configuration 8131 - interfaces: remove some syscalls already in the default policy 8132 plus comment cleanups 8133 - interfaces: miscellaneous updates for hardware-observe, kernel- 8134 module-control, unity7 and default 8135 - snap-confine: add the key for which hsearch_r fails 8136 - snap: improve the error message for `snap try` 8137 - tests: fix pattern and use MATCH in find-private 8138 - tests: stop tying setting up staging store access to the setup of 8139 the state tarball 8140 - tests: add regression spread test for #1660941 8141 - interfaces/default: don't allow TIOCSTI ioctl 8142 - interfaces: allow nice/setpriority to 0-19 values for calling 8143 process by default 8144 - tests: improve debug when the core transition test hangs 8145 - tests: disable ubuntu-core->core transition on ppc64el (its just 8146 too slow) 8147 - snapstate: move refresh from a systemd timer to the internal 8148 snapstate Ensure() 8149 - tests/lib/fakestore/refresh: some more info when we fail to copy 8150 asserts 8151 - overlord/devicestate: backoff between retries if the server seems 8152 to have refused the serial-request 8153 - image: check kernel/gadget publisher vs model brand, warn on store 8154 disconnected snaps 8155 - vendor: move gettext.go back to github.com/ojii/gettext.go 8156 - store: retry on 502 http response as well 8157 - tests: increase snap-service kill-timeout 8158 - store,osutil: use new osutil.ExecutableExists(exe) check to only 8159 use deltas if xdelta3 is present 8160 - cmd: fix autogen.sh on fedora 8161 - overlord/devicemgr: fix test: setup account-key before using the 8162 key for signing 8163 - cmd: add /usr/local/* to PATH 8164 - cmd: add sc_string_append 8165 - asserts: support for correctly suggesting format 2 for snap- 8166 declaration 8167 - interfaces: port mount backend to new APIs, unify content of per 8168 app/hook profiles 8169 - overlord/devicestate: implement policy about gadget and kernel 8170 matching the model 8171 - interfaces: allow sched_setscheduler again by default 8172 - debian: update breaks/replaces for snap-confine->snapd 8173 - debian: move the snap-confine packaging into snapd 8174 - 14.04/integrationtests: rely on upstart to restart ssh. 8175 - store: enable download deltas on classic by default 8176 - spread: add unit suite 8177 - snapctl: add config in client to disable auth and use it in 8178 snapctl 8179 - overlord/ifacestate: register all security backends with the 8180 repository 8181 - overlord,tests: have enable/disable affect security profiles 8182 - tests: install ubuntu-core from the same channel as core 8183 - overlord: move configstate.Transaction into config package 8184 - seccomp-support.c: add PF_* domains which can be used instead of 8185 AF_* 8186 - store: always log retry summary when SNAPD_DEBUG is set 8187 - tests: parameterize kernel snap channel 8188 - snapenv: do not append ":" to the SNAP_LIBRARY_PATH 8189 - interfaces/builtin: refine the content interface rules using $SLOT 8190 - asserts,interfaces/policy: add support for 8191 $SLOT()/$PLUG()/$MISSING in *-attributes constraintsThis adds 8192 support for $SLOT(arg), $PLUG(arg) and $MISSING attribute 8193 constraints in plugs and slots rules in snap-declarations: 8194 - cmd/snap-confine: add snap-confine command line parser module 8195 - tests: remove (some) garbage files found by restore cleanup 8196 analysis 8197 - cmd: fix issues uncovered by valgrind 8198 - tests: fix typo in systems name 8199 - cmd: collect string utilities in one module, add missing tests 8200 - cmd: rename mountinfo to sc_mountinfo 8201 - tests: allow to install snapd debs from a ppa instead of building 8202 them 8203 - spread: remove state tar on project restore 8204 8205 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Feb 2017 12:21:42 +0100 8206 8207 snapd (2.22.7) xenial; urgency=medium 8208 8209 * New upstream release: 8210 - errtracker,overlord/snapstate: more info in errtracker reports 8211 - interfaces/apparmor: compensate for kernel behavior change 8212 8213 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 24 Feb 2017 19:24:11 +0100 8214 8215 snapd (2.22.6) xenial; urgency=medium 8216 8217 * New upstream release, LP: #1667105 8218 - overlord/ifacestate: don't fail if affected snap is gone 8219 - revert #2910: osutil: add package for reading Build-ID (#2918) 8220 - errtracker: include the build-id of host and core snapd (#2912) 8221 - errtracker: include the number of ubuntu-core -> core retries 8222 (#2915) 8223 - snapstate: retry ubuntu-core -> core transition every 6h (#2914) 8224 - osutil: add package for reading Build-ID (#2910) 8225 - errtracker: include kernel version in error reports (#2905) 8226 - release: return "unknown" if uname fails 8227 - many: rebased uname branch for 2.22 8228 - errtracker: include snapd version in err reports 8229 - overlord/ifacestate: don't unconditionally retry stuff (#2906) 8230 - snapstate: fix incorrect cut of the timestamps for the error 8231 reports (#2908) 8232 - tests: update listing test for latest core snap version update 8233 8234 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Wed, 22 Feb 2017 23:34:23 +0100 8235 8236 snapd (2.22.5) xenial; urgency=medium 8237 8238 * Fix FTBFS due to machine-id file 8239 8240 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Tue, 21 Feb 2017 09:43:42 +0100 8241 8242 snapd (2.22.4) xenial; urgency=medium 8243 8244 * New bugfix release: 8245 - errtracker: add support for error reporting via daisy.ubuntu.com 8246 - snapstate: allow for 6 retries for the core transition 8247 - httputils: ensure User-Agent works across redirects 8248 8249 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 21 Feb 2017 09:07:10 +0100 8250 8251 snapd (2.22.3) xenial; urgency=medium 8252 8253 * New bugfix release, LP: #1665729: 8254 - Limit the number of retries for the ubuntu-core -> core 8255 transition to fix possible store overload. 8256 8257 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 17 Feb 2017 18:58:34 +0100 8258 8259 snapd (2.22.2) xenial; urgency=medium 8260 8261 * New upstream release, LP: #1659522 8262 - cherry pick fix for sched_setscheduler regression 8263 (LP: #1661265) 8264 8265 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Feb 2017 17:13:51 +0100 8266 8267 snapd (2.22.1) xenial; urgency=medium 8268 8269 * New upstream release, LP: #1659522 8270 - cherry pick fix for snapctl auth.json handling 8271 8272 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 01 Feb 2017 17:09:31 +0100 8273 8274 snapd (2.22) xenial; urgency=medium 8275 8276 * New upstream release, LP: #1659522 8277 - many: make ubuntu-core-launcher mostly go 8278 - interfaces/builtin: add account-control interface 8279 - interfaces/builtin: add missing syscalls to core-support needed 8280 for systemctl 8281 - interfaces/builtin: rework core-support to only allow full access 8282 to systemctl 8283 - debian/tests: drop stale autopkgtest dependencies. 8284 - tests: make the debugging of c-unit-tests more useful 8285 - store: retry auth-related requests 8286 - tests: integration test for system reload 8287 - snap: be more helpful in the `snap install <already-installed>` 8288 error message 8289 - tests: set SNAPPY_USE_STAGING_STORE in su call 8290 - tests: use test snap 8291 - spread: set SNAPD_DEBUG=1 in the core snap as well 8292 - tests: add extra debugging to security-setuid-root test 8293 - cmd,snap,wrappers: systemd reload command support 8294 - interfaces: builtin: mir: Allow recv and send 8295 - overlord/ifacestate: use ParseConnRef 8296 - overlord/snapstate,overlord/ifacestate: add automatic ubuntu-core 8297 -> core transition 8298 - debian: remove aliases as well in snapd.postrm 8299 - many: change interfaces.ParseID to return value 8300 - interfaces/opengl: allow access to the nvidia abstract socket 8301 - overlord, daemon: flag failures feature fancy forms. 8302 - many: add --classic support to try and revert, and make missing 8303 these things a little harder 8304 - interfaces: allow reading non-PCI-attached usb devices via raw-usb 8305 - many: rename snap-alter-ns to snap-update-ns 8306 - interfaces/builtin: add core-support 8307 - store: increase the retry.LimitTime() 8308 - debian: move the packaging out into package/$id-$version_id 8309 - overlord/stapstate: don't use unkeyed fields 8310 - many: add stub implementation of snap-alter-ns 8311 - asserts: improve error message when key is not valid at the given 8312 time 8313 - snapstate, ifacestate: add snapstate.CheckChangeConflict() to 8314 ifacestate.{Connect,Disconnect} 8315 - debian: remove trusty specific bits 8316 - docs: Add a note about building snapd. 8317 - interfaces: miscellaneous updates for default and network-control 8318 - daemon: bubble out store.ErrSnapNotFound in the findOne codepath 8319 - store: add retry logging into download as well 8320 - snap: show price in `snap info` 8321 - cmd: add fault injection support code 8322 - interfaces: network-manager: allow rw access to /etc/netplan 8323 - debian: move systemd files out of ./debian and into ./data/systemd 8324 - asserts: implement SuggestFormat to help avoid specifying the 8325 wrong format iteration for an assertion 8326 - many: detect potentially insecure use of snap-confine 8327 - interfaces: allow querying added security backends 8328 - cmd: ensure that all .c files have a -test.c file 8329 - asserts: don't use 'context' for the path of attributes, want to 8330 reuse the concept for something else 8331 - interfaces: abbreviate ConnRef construction 8332 - tests: ensure systemd override directory is available before using 8333 it 8334 - cmd: more build system cleanups and a small fix 8335 - tests: increase retries for service up 8336 - cmd: move seccomp cleanup function to seccomp-support 8337 - many: auto-connect plugs and slots symmetrically 8338 - overlord: use a ticker for the pruning 8339 - interfaces/builtin: add uhid interface 8340 - cmd/snap-confine: add shutdown helper 8341 - tests: fix path used when debugging 8342 - cmd: switch to non-recursive make 8343 - overlord/ifacestate: setup security of snaps affected by auto- 8344 connection 8345 - spread: refresh apt cache before first install 8346 - overlord: allow max 500 changes in "ready" state to avoid growing 8347 changes for 24h 8348 - snap: add {Plug,Slot}Info.SecurityTags 8349 - cmd: move snap-discard-ns to dedicated directory 8350 - tests: skip i18n test when no "snappy.mo" file is available 8351 - interfaces,overlord/ifacestate: small refactor around reference 8352 methods 8353 - tests: remove the snapd dirs last (should fix random test errors) 8354 - interfaces: mm: permissions for protocol proxies 8355 - interfaces/builtin: add evolution interfaces 8356 - many: extract the logging http client and user-agent handling for 8357 use in devicestate 8358 - interfaces: unity8-download-manager is the chosen name for this 8359 interface. 8360 - tests: add "quiet" wrapper function that only prints output on 8361 failure 8362 - tests: fix failing snapd-reexec test 8363 - docs: simplify HACKING.md that snapd itself supports setting up 8364 the sockets 8365 - overlord: flag required-snaps from model as required and prevent 8366 removing them 8367 - spread: exclude .o and .a files 8368 - tests: parameterize remote store 8369 - cmd: fix hardcoded paths to rst2man and support rst2man.py 8370 - tests: improve debug output when reexec is used 8371 - tests: disable ipv6 before unpacking delta 8372 - interfaces: add new interface API 8373 - tests: change TRUST_TEST_KEYS to be controlled from the host 8374 - spread: add boilerplate for Linode delta uploads 8375 - wrappers: add support for the X-Ayatana-Desktop-Shortcuts= 8376 extension 8377 - partition: add support for native grubenv read/write and use it 8378 - tests: add test ensuring manual pages are shipped 8379 8380 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 27 Jan 2017 23:18:57 +0100 8381 8382 snapd (2.21) xenial; urgency=medium 8383 8384 * New upstream release, LP: #1656382 8385 - daemon: re-enable reexec 8386 - interfaces: allow reading installed files from previous revisions 8387 by default 8388 - daemon: make activation optional 8389 - tests: run all snap-confine tests in c-unit-tests task 8390 - many: fix abbreviated forms of disconnect 8391 - tests: switch more tests to MATCH 8392 - store: export userAgent. daemon: print store.UserAgent() on 8393 startup. 8394 - tests: test classic confinement `snap list` and `snap info` 8395 output 8396 - debian: skip snap-confine unit tests on nocheck 8397 - overlord/snapstate: share code between Update and UpdateMany, so 8398 that it deals with auto-aliases correctly 8399 - interfaces: upower-observe: refactor to allow snaps to provide a 8400 slot 8401 - tests: add end-to-end store test for classic confinement 8402 - overlord,overlord/snapstate: have UpdateMany retire/enable auto- 8403 aliases even without new revision 8404 - interfaces/browser-support: add @{PROC}/@{pid}/fd/[0-9] w and misc 8405 /run/udev 8406 - interfaces/builtin: add physical-memory-* and io-ports-control 8407 - interfaces: allow getsockopt by default since it is so commonly 8408 used 8409 - cmd/snap, daemon, overlord/snapstate: tests and fixes for "snap 8410 refresh" of a classic snap 8411 - interfaces: allow read/write access of real-time clock with time- 8412 control interface 8413 - store: request no CDN via a header using SNAPPY_STORE_NO_CDN 8414 envvar 8415 - snap: add information about tracking channel (not just actual 8416 channel) 8417 - interfaces: use fewer dot imports 8418 - overlord/snapstate: remove restrictions on ResetAliases 8419 - overlord, store: move confinement filtering to the overlord (from 8420 The Store) 8421 - many: move interface test helpers to ifacetest package 8422 - many: implement 'snap aliases' 8423 - vet: fix for unkeyed fields error on aliases_test.go 8424 - interfaces: miscellaneous policy updates for network-control, 8425 unity7, pulseaudio, default and home 8426 - tests: test for auto-aliases 8427 - interface hooks: connect plug slot hooks (step 2) 8428 - cmd/snap: fix internal naming in snap connect 8429 - snap: use "size" as the json tag in snap.ChannelSnapInfo 8430 - tests: restore the missing initialization of iface manager causing 8431 race 8432 - snap: fix missing sizes in `snap info <remote-snap>` 8433 - tests: improve cleanup for c-unit-tests 8434 - cmd/snap-confine: build non-installed libsnap-confine-private.a 8435 - cmd/snap-confine: small tweaks to seccomp support code 8436 - interfaces/docker-support: allow /run/shm/aufs.xeno for 14.04 8437 - many: obtain installed snaps developer/publisher username through 8438 assertions 8439 - store: setting of fields for details endpoint 8440 - cmd/snap-confine: check for rst2man on configure 8441 - snap: show `snap --help` output when just running `snap` 8442 - interface/builtin: drop the obsolete checks in udisks2 8443 SanitizeSlot 8444 - cmd/snap: remove currency switch following UX review 8445 - spread: find top-level directory before running generate- 8446 packaging-dir 8447 - interface hooks: prepare plug slot hooks (step 1) 8448 - i18n: use github.com/mvo5/gettext.go (pure go) for i18n to avoid 8449 cgo 8450 - many: put a marker in the User-Agent sent by snapd/snap when under 8451 testingThe User-Agent will look like: 8452 - tests: fix -reuse and -resend when govendor is missing 8453 - snap: provide friendlier `snap find` message when no snaps are 8454 found 8455 - tests: fix mkversions.sh failure on zesty 8456 - spread: install build-essential unconditionally 8457 - spread: improve qemu ubuntu-14.04-{32,64} support 8458 - overlord/snapstate,daemon: implement GET /v2/aliases handling 8459 - store: retry user info request 8460 - tests: port more snap-confine regression tests 8461 - tests: cancel the scheduled reboot on ubuntu-core-upgrade-no-gc 8462 and restore state 8463 - tests: debug zesty autopkgtest failures 8464 - overlord/snapstate: use keyed fields on literals 8465 - tests: use MATCH in install-remove-multi 8466 - tests: increase wait time for service to be up 8467 - tests: make debug-each succeed if DENIED doesn't match 8468 - tests: skip packaging dir generation for non-git based autopkgtest 8469 runs 8470 - tests: port refresh-all-undo to MATCH 8471 - tests: improve snap connect test 8472 - tests: port additional snap-confine regression tests 8473 - tests: show --version when it matches unknown 8474 - tests: optionally use apt proxy for qemu 8475 - tests: add hello-classic test 8476 - many: behave more consistently when pointed to staging and 8477 possibly the fake store 8478 - overlord/ifacestate: remove stale comments 8479 - interfaces/apparmor: ignore snippets in classic confinement 8480 - tests: port first regression test from snap-confine 8481 - cmd/snap-confine: disable old tests 8482 8483 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 Jan 2017 19:39:51 +0100 8484 8485 snapd (2.20.1) xenial; urgency=medium 8486 8487 * New upstream release, LP: #1648520 8488 - tests: enable the ppc64el tests again 8489 - tests: add classic confinement test 8490 - tests: run snap confine tests in debian/rules already 8491 8492 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 19 Dec 2016 11:53:29 +0100 8493 8494 snapd (2.20) xenial; urgency=medium 8495 8496 * New upstream release, LP: #1648520 8497 - many: implement "snap alias --reset" using snapstate.ResetAliases 8498 - debian: use a packaging branch for 14.04 8499 - store: retry downloads on io.Copy errors and sha3 checksum errors 8500 - snap: show apps in `snap info` 8501 - store: send an explicit X-Ubuntu-Classic header to the store 8502 - overlord/snapstate: implement snapstate.ResetAliases 8503 - interfaces/builtin: add dbus interface 8504 - tests: fix tests on 17.04 8505 - store: use mocked retry strategy to make store tests faster 8506 - overlord: apply auto-aliases information from the snap-declaration 8507 on install or refresh 8508 - many: prepare landing on trusty 8509 - many: implement snap unalias using snapstate.Unalias 8510 - overlord/snapstate: fixing the placement/grouping of some 8511 functions 8512 - interfaces: support network namespaces via 'ip netns' in network- 8513 control 8514 - interfaces/builtin: fix pulseaudio apparmor rules 8515 - interfaces/builtin: add iio interface 8516 - tests: update custom core snap with the freshly build snap-confine 8517 - interfaces: use sysd.{Disable,Stop} instead of sysd.DisableNow() 8518 - overlord,overlord/snapstate: implement snapstate.Unalias by 8519 generalizing the "alias" task 8520 - interfaces: misc openstack snap enablement 8521 - cmd/snap: mock terminal.ReadPassword instead of using /dev/ptmx 8522 - notifications, daemon: kill the unsupported events endpoint 8523 - client: only allow Dangerous option in InstallPath 8524 - overlord/ifacestate: no interface checks if no snap id 8525 - many: implement alias command 8526 - snap: tweak snap install output as designed by Mark 8527 - debian: fix Pre-Depends on dpkg 8528 - tests: check if snap-confine --version is unknown 8529 - cmd/snap-confine: allow content interface mounts 8530 - tests: remove ppa:snappy-dev/image again 8531 - interfaces/apparmor: allow access to core snap 8532 - tests: remove snap-confine/ubuntu-core-launcher after the tests 8533 - overlord,overlord/snapstate: implement snapstate.Alias 8534 - cmd/snap: reject "snap disconnect foo" 8535 - debian: add split ubuntu-core-launcher and snap-confine packages 8536 - cmd: fix mkversion.sh and add regression test 8537 - overlord/snapstate: setup/remove aliases as we link/unlink snaps 8538 - cmd/snap,tests: alias support in snap run 8539 - snap/snapenv: don't obscure HOME if snap uses classic confinement 8540 - store: decode response.Body json inside retry loops 8541 - cmd/snap-confine: fix compilation on platforms with gcc < 4.9.0 8542 - vendor: update tomb package fixing context support 8543 8544 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 15 Dec 2016 22:07:08 +0100 8545 8546 snapd (2.19) xenial; urgency=medium 8547 8548 * New upstream release, LP: #1648520 8549 - cmd/snap-confine: disable support for XDG_RUNTIME_DIR 8550 - cmd/snap-confine/tests: fix stale path after move to snapd 8551 - cmd/snap-confine: don't use __attribute__((nonull)) 8552 - snap: add description to `snap info` 8553 - snap: show last refresh time 8554 - store: switch default delta format from xdelta to xdelta3 8555 - interfaces: fix system-observe interface to work with ps_mem 8556 - debian: add missing ca-certificates dependency 8557 - cmd/snap-confine: add support for classic confinement 8558 - snapstate/backend: add backend methods to manage aliases 8559 - tests: re-enable snap-confine unit tests via spread 8560 - many: merge snap-confine into snapd 8561 - many: add support for classic confinement 8562 - snap: abort install with ctrl+c 8563 - cmd/snap: change terms accept URL following UX review 8564 - interfaces/apparmor: use distinct apparmor template for classic 8565 - snap: add snap size to `snap info` 8566 - interfaces: add unconfined access to modem-manager 8567 - snap: support for parsing and exposing on snap.Info aliases 8568 - debian: disable autopkgtests on ppc64el 8569 - snap: disable support for socket activation 8570 - tests: fix incorrect restore of the current symlink 8571 - asserts: introduce auto-aliases header in snap-declaration 8572 - interfaces/seccomp: add support for classic confinement 8573 - tests: do not use external snaps 8574 - daemon: close the dup()ed file descriptor to not leak it 8575 - overlord, daemon, progress: enable building snapd without CGO 8576 - daemon, store: let snap info find things in any channel 8577 - store: retry tweaks and logging 8578 - snap: Improve `snap --help` output as designed by Mark 8579 - interfaces/builtin: fix incorrect udev rule in i2c 8580 - overlord: increase test timeout and improve failure message 8581 - snap: remove unused experimental command 8582 - debian: remove unneeded conflict against the "snappy" package 8583 - daemon, strutil: move daemon.quotedNames to strutil.Quoted 8584 - docs: document SNAP_DEBUG_HTTP in HACKING.md 8585 - cmd/snap: have some completers 8586 - snap: support "daemon: notify" in snap.yaml 8587 - snap: fix try command when daemon linie is added 8588 - interfaces: apparmor support for classic confinement 8589 - debian/rules: build with -buildoptions=pie 8590 - tests: include /boot in saved state (including bootenv and any 8591 kernels) 8592 - daemon: ensure `snap try` installs core if it's missing 8593 - tests: save/restore /snap/core/current symlink 8594 - tests: decrease the number of expected featured apps 8595 - tests: add set -e to the prepare ssh script 8596 - cmd/snap: add tests for section completion; fix bugs. 8597 - cmd/snap: document 'snap list --all' 8598 8599 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 08 Dec 2016 16:16:04 +0100 8600 8601 snapd (2.18.1) xenial; urgency=medium 8602 8603 * New upstream release, LP: #1644625 8604 - daemon: fix crash when `snap refresh` contains a single update 8605 - fix unhandled error from io.Copy() in download() 8606 - interfaces/builtin: fix incorrect udev rule in i2c 8607 8608 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 05 Dec 2016 15:04:13 +0100 8609 8610 snapd (2.18) xenial; urgency=medium 8611 8612 * New upstream release, LP: #1644625 8613 - store: retry on io.EOF 8614 - tests: skip pty tests on ppc64el and powerpc 8615 - client, cmd/snap: introducing "snap info" 8616 - snap: do exit 0 on install/remove if that snap is already 8617 installed or already removed 8618 - snap: add `snap watch <change-id>` to attach to a running change 8619 - store: retry downloads using retry loop 8620 - snap: try doesn't require snap-dir when run in snap's directory 8621 - daemon: show what will change in the "refresh-all" changes 8622 - tests: disable autorefresh for the external backend 8623 - snap: add `snap list -a` to show all snaps (even inactive ones) 8624 - many: unify boolean env var handling 8625 - overlord/ifacestate: don't setup jailmode snaps with devmode 8626 confinement 8627 - snapstate: do not garbage collect the snaps used by the bootenv 8628 - debian: drop hard xdelta dependency for now 8629 - snap: make `snap login` ask for email if not given as argument 8630 - osutil: fix build on armhf (arm in go-arch) and powerpc (ppc in 8631 go-arch) 8632 - many: rename DevmodeConfinement to DevModeConfinement 8633 - store: resp.Body.Close() missing in ReadyToBuy 8634 - many: use ConfinementOptions instead of ConfinementType 8635 - snap, daemon, store: fake the channel map in the REST API 8636 - misc: run github.com/gordonklaus/ineffassign as part of the static 8637 checks 8638 - docs: add goreportcard badge and remove coveralls badge 8639 - tests: force gofmt -s in static checks 8640 - many: run gofmt -s -w on all the code 8641 - store: DRY actual retry code 8642 - many: fix various errors uncovered by goreportcard.com 8643 - interfaces/builtin: allow additional shared memory for webkit 8644 - many: some more missing snapState->snapst 8645 - asserts: introduce an optional freeform display-name for model 8646 - interfaces/builtin: rename usb-raw to raw-usb 8647 - progress: init pbar with correct total value 8648 - daemon/api.go: add quotedNames() helper 8649 - interfaces: add ConfinementOptions type 8650 - tests: add a test about the extra bits that prepare-device can 8651 specify for device registration 8652 - tests: check that gpio device nodes are exported after reboot 8653 - tests: parameterize core channel with env var for classic too 8654 - many: rename variable "ss" to "snapsup" or "snapst" or "st" 8655 (depending on context) 8656 - tests: do not use external snaps in spread 8657 - store: retry buy request 8658 - store: retry store.Find 8659 - store: retry assertion store call 8660 - store: retry call for snap details 8661 - many: use snap.ConfinementType rather than bool devmode 8662 - daemon: if a bad snap is posted it is not an internal error but a 8663 bad request 8664 - client: add "Snap.Screenshots" to the client API 8665 - interfaces: update base declaration documentation and policy for 8666 on-classic and snap-type 8667 - store: check payment method before TOS for a better UX 8668 - interfaces: allow sched_setaffinity in process-control 8669 - tests: parameterize core channel with env var 8670 - tests: ensure that the XDG_ env contains at least XDG_RUNTIME_DIR 8671 - interfaces: fcitx also listens on the session bus for Qt apps 8672 - store: retry ListRefresh 8673 - snap: use "Password of <email>:" in the `snap login` 8674 - many: reshuffle how we load/inject tests keys so image doesn't 8675 need assertstate anymore 8676 - store: use range requests if we have a local file already 8677 - dirs,interfaces,overlord,snap,snapenv,test: export per-snap 8678 XDG_RUNTIME_DIR per user 8679 - osutil: make RealUser only look at SUDO_USER when uid==0 8680 - tests: do not use the ppa:snappy-dev/image in the tests 8681 - store: retry readyToBuy request 8682 - tests: increase `expect` timeouts 8683 - static tests: add spell check 8684 - tests: add debug to all flaky expect tests 8685 - systemd: correct the mount arguments when mounting with squashfuse 8686 - interfaces: add avahi-observe 8687 - store: bring delta downloads back 8688 - interfaces: add alsa 8689 - interfaces/builtin: fix a broken test that snuck into master 8690 - osutil: add chattr funcs 8691 - image: init "snap_mode" on image creation time to avoid ugly 8692 messages 8693 - tests: test-snapd-fuse-consumer needs python-fuse as a build- 8694 package 8695 - interfaces/builtin: add i2c interface 8696 - interfaces: add ofono interface 8697 - tests: do not use hello-world in our tests 8698 - snap: add support for classic confinement 8699 - interfaces: remove LegacyAutoConnect() from the interfaces 8700 - interfaces: miscellaneous policy updates 8701 - tests: run autopkgtests in the autopkgtest.ubuntu.com 8702 infrastructure 8703 - Implement lxd-client interface exposing the lxd snap 8704 - asserts: validate optional account username 8705 - many: remove unnecessary snap name parameter from buying endpoint 8706 - tests: do not hardcode the size of /dev/ram0 8707 - tests: add test that ensures the right content for /etc/os-release 8708 - spread tests: fix snap mode check 8709 - docs: fix path for source files location in HACKING.md 8710 - interfaces/builtin/mir: allow slot to make recvfrom syscalls 8711 - store: sections/featured snaps store support 8712 8713 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 24 Nov 2016 19:43:08 +0100 8714 8715 snapd (2.17.1) xenial; urgency=medium 8716 8717 * New upstream release, LP: #1637215: 8718 - release: os-release on core has changed 8719 - tests: /dev/ptmx does not work on powerpc, skip here 8720 - docs: moved to github.com/snapcore/snapd/wiki (#2258) 8721 - debian: golang is not installable on powerpc, use golang-any 8722 8723 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Nov 2016 18:13:10 +0200 8724 8725 snapd (2.17) xenial; urgency=medium 8726 8727 * New upstream release, LP: #1637215: 8728 - overlord/ifacestate: add unit tests for undo of setup-snap- 8729 security (#2243) 8730 - daemon,overlord,snap,tests: download to .partial in final dir 8731 (#2237) 8732 - overlord/state: marshaling tests for lanes (#2245) 8733 - overlord/state: introduce state lanes (#2241) 8734 - overlord/snapstate: fix revert+refresh (#2224) 8735 - interfaces/sytemd: enable/disable generated service units (#2229) 8736 - many: fix incorrect security files generation on undo 8737 - overlord/snapstate: add dynamic snapdX.Y assumes (#2227) 8738 - interfaces: network-manager: give slot full read-write access to 8739 /run/NetworkManager 8740 - docs: update the name of the command for the cross-build 8741 - overlord/snapstate: fix missing argument to Noticef 8742 - snapstate: ensure gadget/core/kernel can not be disabled (#2218) 8743 - asserts: limit to 1y only if len(models) == 0 (#2219) 8744 - debian: only install share/locale if available (missing on 8745 powerpc) 8746 - overlrod/snapstate: fix revert followed by refresh to old-current 8747 (#2214) 8748 - interfaces/builtin: network-manager and bluez can change hostname 8749 (#2204) 8750 - snap: switch the auto-import dir to /run/snapd/auto-import 8751 - docs: less details about cloud.cfg as requested in trello (#2206) 8752 - spread.yaml: Ensure ubuntu user has passwordless sudo for 8753 autopkgtests (#2201) 8754 - interfaces/builtin: add dcdbas-control interface 8755 - boot: do not set boot to try mode if the revision is unchanged 8756 - interfaces: add shutdown interface (#2162) 8757 - interfaces: add system-power-control interface 8758 - many: use the new systemd backend for configuring GPIOs 8759 - overlord/ifacestate: setup security for slots before plugs 8760 - snap: spool assertion candidates if snapd is not up yet 8761 - store,daemon,overlord: download things to a partials dir 8762 - asserts,daemon: implement system-user-authority header/concept 8763 - interfaces/builtin: home base declaration rule using on-classic 8764 for its policy 8765 - interfaces/builtin: finish decl based checks 8766 - asserts: bump snap-declaration to allow signing with new-style 8767 plugs and slots 8768 - overlord: checks for kernel installation/refresh based on model 8769 assertion and previous kernel 8770 - tests/lib/fakestore: fix logic to distinguish assertion not found 8771 errors 8772 - client: add a few explicit error types (around the request cycle) 8773 - tests/lib/fakestore/cmd/fakestore: make it log, and fix a typo 8774 - overlord/snapstate: two bugs for one 8775 - snappy: disable auto-import of assertions on classic (#2122) 8776 - overlord/snapstate: move trash cleanup to a cleanup handler 8777 (#2173) 8778 - daemon: make create-user --known fail on classic without --force- 8779 managed (#2123) 8780 - asserts,interfaces/policy: implement on-classic plug/slot 8781 constraints 8782 - overlord: check that the first installed gadget matches the model 8783 assertion 8784 - tests: use the snapd-control-consumer snap from the store 8785 - cmd/snap: make snap run not talk to snapd for finding the revision 8786 - snap/squashfs: try to hard link instead of copying. Also, switch 8787 to osutil.CopyFile for cp invocation. 8788 - store: send supported max-format when retrieving assertions 8789 - snapstate, devicestate: do not remove seed 8790 - boot,image,overlord,partition: read/write boot variables in single 8791 operation 8792 - tests: reenable ubuntu-core tests on qemu 8793 - asserts,interfaces/policy: allow OR-ing of subrule constraints in 8794 plug/slot rules 8795 - many: move from flags as ints to flags as structs-of-bools (#2156) 8796 - many: add supports for keeping and finding assertions with 8797 different format iterations 8798 - snap: stop using ubuntu-core-launcher, use snap-confine 8799 - many: introduce an assertion format iteration concept, refuse to 8800 add unsupported assertion 8801 - interfaces: tweak wording and comment 8802 - spread.yaml: dump apparmor denials on spread failure 8803 - tests: unflake ubuntu-core-reboot (#2150) 8804 - cmd/snap: tweak unknown command error message (#2139) 8805 - client,daemon,cmd: add payment-declined error kind (#2107) 8806 - cmd/snap: update remove command help (#2145) 8807 - many: removed frameworks target and fixed service files (#2138) 8808 - asserts,snap: validate attributes to a JSON-compatible type subset 8809 (#2140) 8810 - asserts: remove unused serial-proof type 8811 - tests: skip auto-import tests on systems without test keys (#2142) 8812 - overlord/devicestate: don't spam the debug log on classic (#2141) 8813 - cmd/snap: simplify auto-import mountinfo parsing (#2135) 8814 - tests: run ubuntu-core upgrades on isolated machine (#2137) 8815 - overlord/devicestate: recover seeding from old external approach 8816 (#2134) 8817 - overlord: merge overlord/boot pkg into overlord/devicestate 8818 (#2118) 8819 - daemon: add postCreateUserSuite test suite (#2124) 8820 - tests: abort tests if an update process is scheduled (#2119) 8821 - snapstate: avoid reboots if nothing in the boot setup has changed 8822 (#2117) 8823 - cmd/snap: do not auto-import from loop or non-dev devices (#2121) 8824 - tests: add spread test for `snap auto-import` (#2126) 8825 - tests: add test for auto-mount assertion import (#2127) 8826 - osutil: add missing unit tests for IsMounted (#2133) 8827 - tests: check for failure creating user on managed ubuntu-core 8828 systems (#2096) 8829 - snap: ignore /dev/loop addings from udev (#2111) 8830 - tests: remove snapd.boot-ok reference (#2109) 8831 - tests: enable tests related to the home interface in all-snaps 8832 (#2106) 8833 - snapstate: only import defaults from gadget on install (#2105) 8834 - many: move firstboot code into the snapd daemon (#2033) 8835 - store: send correct JSON type of string for expected payment 8836 amount (#2103) 8837 - cmd/snap: rename is-managed to managed and tune (#2102) 8838 - interfaces,overlord/ifacestate: initial cleaning up of no arg 8839 AutoConnect related bits (#2090) 8840 - client, cmd: prompt for password when buying (#2086) 8841 - snapstate: fix hanging `snap remove` if snap is no longer mounted 8842 - image: support gadget specific cloud.conf file (#2101) 8843 - cmd/snap,ctlcmd: fix behavior of snap(ctl) get (#2093) 8844 - store: local users download from the anonymous url (#2100) 8845 - docs/hooks.md: fix typos (#2099) 8846 - many: check installation of slots and plugs against declarations 8847 - docs: fix missing "=" in the systemd-active docs 8848 - store: do not set store auth for local users (#2092) 8849 - interfaces,overlord/ifacestate: use declaration-based checking for 8850 auto-connect (#2071) 8851 - overlord, daemon, snap: support gadget config defaults (#2082)The 8852 main semantic changes are: 8853 - tests: fix snap-disconnect tests after core rename (#2088) 8854 - client,daemon,overlord,cmd: add /v2/users and create-user on auto- 8855 import (#2074) 8856 - many: abbreviated forms of disconnect (#2066) 8857 - asserts: require lowercase model until insensitive matching is 8858 ready (#2076) 8859 - cmd/snap: add version command, same as --version (#2075) 8860 - all: use "core" by default but allow "ubuntu-core" still (#2070) 8861 - overlord/devicestate, docs/hooks.md: nest prepare-device 8862 configuration options 8863 - daemon: fix login API to return local macaroons (#2078) 8864 - daemon: do not hardcode UID in userLookup (#2080) 8865 - client, cmd: connect fixes (#2026) 8866 - many: preparations for switching most of autoconnect to use the 8867 declarationsfor now: 8868 - overlord/auth: update CheckMacaroon to verify local snapd 8869 macaroons (#2069) 8870 - cmd/snap: trivial auto-import and download tweaks (#2067) 8871 - interfaces: add repo.ResolveConnect that handles name resolution 8872 - interfaces/policy: introduce InstallCandidate and its checks 8873 - interfaces/policy,overlord: check connection requests against the 8874 declarations in ifacestate 8875 - many: setup snapd macaroon for local users (#2051)Next step: do 8876 snapd macaroons verification. 8877 - interfaces/policy: implement snap-id/publisher-id checks 8878 - many: change Connect to take ConnRef instead of strings (#2060) 8879 - snap: auto mount block devices and import assertions (#2047) 8880 - daemon: add `snap create-user --force-managed` support (#2041) 8881 - docs: remove references to removed buying features (#2057) 8882 - interfaces,docs: allow sharing SNAP{,_DATA,_COMMON} via content 8883 iface (#2063) 8884 - interfaces: add Plug/Slot/Connection reference helpers (#2056) 8885 - client,daemon,cmd/snap: improve create-user APIs (#2054) 8886 - many: introduce snap refresh --ignore-validation <snap> to 8887 override refresh validation (#2052) 8888 - daemon: add support for `snap create-user --known` (#2040) 8889 - interfaces/policy: start of interface policy checking code based 8890 on declarations (#2050) 8891 - overlord/configstate: support nested configuration (#2039) 8892 - asserts,interfaces/builtin,overlord/assertstate: introduce base- 8893 declaration (#2037) 8894 - interfaces: builtin: Allow writing DHCP lease files to 8895 /run/NetworkManager/dhcp (#2049) 8896 - many: remove all traces of the /v2/buy/methods endpoint (#2045) 8897 - tests: add external spread backend (#1918) 8898 - asserts: parse the slot rules in snap-declarations (#2035) 8899 - interfaces: allow read of /etc/ld.so.preload by default for armhf 8900 on series 16 (#2048) 8901 - store: change purchase to order and store clean up first pass 8902 (#2043) 8903 - daemon, store: switch to new store APIs in snapd (#2036) 8904 - many: add email to UserState (#2038) 8905 - asserts: support parsing the plugs stanza i.e. plug rules in snap- 8906 declarations (#2027) 8907 - store: apply deltas if explicitly enabled (#2031) 8908 - tests: fix create-key/snap-sign test isolation (#2032) 8909 - snap/implicit: don't restrict the camera iface to classic (#2025) 8910 - client, cmd: change buy command to match UX document (#2011) 8911 - coreconfig: nuke it. Also, ignore po/snappy.pot. (#2030) 8912 - store: download deltas if explicitly enabled (#2017) 8913 - many: allow use of the system user assertion with create-user 8914 (#1990) 8915 - asserts,overlord,snap: add prepare-device hook for device 8916 registration (#2005) 8917 - debian: adjust packaging for trusty/deputy systemd (#2003) 8918 - asserts: introduce AttributeConstraints (#2015) 8919 - interface/builtin: access system bus on screen-inhibit-control 8920 - tests: add firewall-control interface test (#2009) 8921 - snapstate: pass errors from ListRefresh in updateInfo (#2018) 8922 - README: add links to IRC, mailing list and social media (#2022) 8923 - docs: add `configure` hook to hooks list (#2024)LP: #1596629 8924 - cmd/snap,configstate: rename apply-config variables to configure. 8925 (#2023) 8926 - store: retry download on 500 (#2019) 8927 - interfaces/builtin: support time and date settings via 8928 'org.freedesktop.timedate1 (#1832) 8929 8930 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 02 Nov 2016 01:17:36 +0200 8931 8932 snapd (2.16) xenial; urgency=medium 8933 8934 * New upstream release, LP: #1628425 8935 - overlord/state: prune old empty changes 8936 - interfaces: ppp: load needed kernel module (#2007) 8937 - interfaces/builtin: add missing rule to allow run-parts to 8938 execute all resolvconf scripts 8939 - many: rename apply-config hook to configure 8940 - tests: use new spread `debug` feature 8941 - many: finish `snap set` API. 8942 - overlord: fix and simplify configstate.Transaction 8943 - assertions: add system-user assertion 8944 - snap: add `snap known --remote` 8945 - tests: replace systemd-run with on-the-fly generation of units. 8946 - overlord/boot: switch to using assertstate.Batch 8947 - snap, daemon, store: pass through screenshots from store 8948 - image: add meta/gadget.yaml infrastructure 8949 - tests: add test benchmark script 8950 - daemon: add the actual ssh keys that got added to the create-user 8951 response 8952 - daemon: add REST API behind `snap get` 8953 - debian: re-add golang-github-gosexy-gettext-dev 8954 - tests: added install_local function 8955 - interfaces/builtin: fix resolvconf permissions for network-manager 8956 interface 8957 - tests: use apt as compatible with trusty 8958 - many: discard preserved namespace after removing snap 8959 - daemon, overlord, store: add ReadyToBuy API to snapd 8960 - many: add support for installing/removing multiple snaps 8961 - progress: use New64 and fix output newline 8962 - interfaces/builtin: allow network-manager to access netplan conf 8963 files 8964 - tests: build once and install test snap from cache 8965 - overlord/state: introduce cleanup support 8966 - snap: move/clarify Info.Broken 8967 - ctlcmd: add snapctl get. 8968 - overlord,store: clean up serial-proof plumbing code 8969 - interfaces/builtin: add network-setup-observe interface 8970 - daemon,overlord/assertstate: support streams of assertions with 8971 snap ack 8972 - snapd: kmod backend 8973 - tests: ensure HOME is also set correctly 8974 - configstate,hookstate: add snapctl set 8975 - tests: disable broken create-key test 8976 - interfaces: adjust bluetooth-control to allow getsockopt (LP: 8977 #1613572) 8978 - tests: add a test for core about device initialization and device 8979 registration and auth 8980 - many: show snap name before the download progress bar 8981 - interfaces/builtin: add rcvfrom for client connected plugs to mir 8982 interface 8983 - asserts: support for maps in assertions 8984 - tests: increase timeout for key generation in create-key test 8985 - many: validate refreshes against validation assertions by gating 8986 snaps 8987 - interfaces/apparmor: allow 'm' in default policy for snap-exec 8988 - many: avoid snap.InfoFromSnapYaml in tests 8989 - interfaces/builtin: allow /dev/net/tun with network-control 8990 - tests: add spread test for snap create-key/snap sign 8991 - tests: add missing quotes in security-device-cgroups/task.yaml 8992 - interfaces: drop ErrUnknownSecurity 8993 - store: add "ready to buy" method 8994 - snap/snapenv, tests: use root's data dirs when running via sudo 8995 - interfaces/builtin: add initial docker interface 8996 - snap: remove extra newline after progress is done 8997 - docs: fix formating of HACKING.md "Testing snapd" 8998 - store : add requestOptions.ExtraHeaders so that individual 8999 requests can customise headers. 9000 - many: use unique plug/slot names in tests 9001 - tests: add tests for the classic dimension 9002 - many: add vendoring of dependencies by default 9003 - tests: use in-tree snap{ctl,-exec} for all tests 9004 - many: support snapctl -h 9005 - tests: adjust regex after changes in stat output 9006 - store,snap: initial support for delta downloads 9007 - interfaces/builtin: add run/udev/data paths to mir interface 9008 - snap: lessen annoyance of implicit interface tests 9009 - tests: ensure http{,s}_proxy is defined inside the fake-store 9010 - interfaces: allow xdg-open in unity7, unity7 cleanups 9011 - daemon,store: move store login user logic to store 9012 - tests: replace realpath with readlink -f for trusty support. 9013 - tests: add https_proxy into environment as well 9014 - interfaces/builtin: allow mmaping pulseaudio buffers 9015 9016 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 28 Sep 2016 11:09:27 +0200 9017 9018 snapd (2.15.2ubuntu1) xenial; urgency=medium 9019 9020 * New upstream release, LP: #1623579 9021 - snap/snapenv, tests: use root's data dirs when running via sudo 9022 (cherry pick PR: #1857) 9023 - tests: add https_proxy into environment 9024 (cherry pick PR: #1926) 9025 - interfaces: allow xdg-open in unity7, unity7 cleanups 9026 (cherry pick PR: #1946) 9027 - tests: ensure http{,s}_proxy is defined inside the fake-store 9028 (cherry pick PR: #1949) 9029 9030 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 21 Sep 2016 17:21:12 +0200 9031 9032 snapd (2.15.2) xenial; urgency=medium 9033 9034 * New upstream release, LP: #1623579 9035 - asserts: define a bit less terse Ref.String 9036 - interfaces: disable auto-connect in libvirt interface 9037 - asserts: check that validation assertions are signed by the 9038 publisher of the gating snap 9039 9040 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 19 Sep 2016 10:42:29 +0200 9041 9042 snapd (2.15.1) xenial; urgency=medium 9043 9044 * New upstream release, LP: #1623579 9045 - image: ensure local snaps are put last in seed.yaml 9046 - asserts: revert change that made the account-key's name mandatory. 9047 - many: refresh all snap decls 9048 - interfaces/apparmor: allow reading /etc/environment 9049 9050 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 19 Sep 2016 09:19:44 +0200 9051 9052 snapd (2.15) xenial; urgency=medium 9053 9054 * New upstream release, LP: #1623579 9055 - tests: disable prepare-image-grub test in autopkgtest 9056 - interfaces: allow special casing for auto-connect until we have 9057 assertions 9058 - docs: add a little documentation on hooks. 9059 - hookstate,daemon: don't mock HookRunner, mock command. 9060 - tests: add http_proxy to /etc/environment in the autopkgtest 9061 environment 9062 - backends: first bits of kernel-module security backend 9063 - tests: ensure openssh-server is installed in autopkgtest 9064 - tests: make ubuntu-core tests more robust 9065 - many: mostly work to support ABA upgrades 9066 - cmd/snap: do runtime linting of descriptions 9067 - spread.yaml: don't assume LANG is set 9068 - snap: fix SNAP* environment merging in `snap run` 9069 - CONTRIBUTING.md: remove integration-tests, include spread 9070 - store: don't discard error body from request device session call 9071 - docs: add create-user documentation 9072 - cmd/snap: match UX document for message when buying without login 9073 - firstboot: do not overwrite any existing netplan config 9074 - tests: add debug output to ubuntu-core-update-rollback- 9075 stresstest: 9076 - tests/lib/prepare.sh: test that classic does not setting bootvars 9077 - snap: run all tests with gpg2 9078 - asserts: basic support for validation assertion and refresh- 9079 control 9080 - interfaces: miscellaneous policy updates for default, browser- 9081 support and camera 9082 - snap: (re)add --force-dangerous compat option 9083 - tests: ensure SUDO_{USER,GID} is unset in the spread tests 9084 - many: clean out left over references to integration tests 9085 - overlord/auth,store: fix raciness in updating device/user in state 9086 through authcontext and other issuesbonus fixes: 9087 - tests: fix spread tests on yakkety 9088 - store: refactor auth/refresh tests 9089 - asserts: use gpg --fixed-list-mode to be compatible with both gpg1 9090 and gpg2 9091 - cmd/snap: i18n option descriptions 9092 - asserts: required account key name header 9093 - tests: add yakkety test host 9094 - packaging: make sure debhelper-generated snippet is invoked on 9095 postrm 9096 - snap,store: capture newest digest from the store, make it 9097 DownloadInfo only 9098 - tests: add upower-observe spread test 9099 - Merge github.com:snapcore/snapd 9100 - tests: fixes to actually run the spread tests inside autopkgtest 9101 - cmd/snap: make "snap find" error nicer. 9102 - tests: get the gadget name from snap list 9103 - cmd/snap: tweak help of 'snap download' 9104 - cmd/snap,image: teach snap download to download also assertions 9105 - interfaces/builtin: tweak opengl interface 9106 - interfaces: serial-port use udevUsbDeviceSnippet 9107 - store: ensure the payment methods method handles auth failure 9108 - overlord/snapstate: support revert flags 9109 - many: add snap configuration to REST API 9110 - tests: use ubuntu-image for the ubuntu-core-16 image creation 9111 - cmd/snap: serialise empty keys list as [] rather than null 9112 - cmd/snap,client: add snap set and snap get commands 9113 - asserts: update trusted account-key asserts with names 9114 - overlord/snapstate: misc fixes/tweaks/cleanups 9115 - image: have prepare-image set devmode correctly 9116 - overlord/boot: have firstboot support assertion files with 9117 multiple assertions 9118 - daemon: bail from enable and disable if revision given, and from 9119 multi-op if unsupported optons given 9120 - osutil: call sync after cp if 9121 requested.overlord/snapstate/backend: switch to use osutil instead 9122 of another buggy call to cp 9123 - cmd/snap: generate account-key-request "since" header in UTC 9124 - many: use symlinks instead of wrappers 9125 - tests: remove silly [Service] entry from snapd.socket.d/local.conf 9126 - store: switch device session to use device-session-request 9127 assertion 9128 - snap: ensure that plug and slot names are unique 9129 - cmd/snap: fix test suite (no Exit(0) on tests!) 9130 - interfaces: add interface for hidraw devices 9131 - tests: use the real model assertion when creating the core test 9132 image 9133 - interfaces/builtin: add udisks2 and removable-media interfaces 9134 - interface: network_manager: enable resolvconf 9135 - interfaces/builtin: usb serial-port support via udev 9136 - interfaces/udev: support noneSecurityTag keyed snippets 9137 - snap: switch to the new agreed regexp for snap names 9138 - tests: adjust test setup after ubuntu user removal 9139 - many: start services only after the snap is fully ready (link-snap 9140 was run) 9141 - asserts: don't have Add/Check panic in the face of unsupported no- 9142 authority assertions 9143 - asserts: initial support to generate/sign snap-build assertions 9144 - asserts: support checking account-key-request assertions 9145 - overlord: introduce AuthContext.DeviceSessionRequest with support 9146 in devicestate 9147 - overlord/state: fix for reloaded task/change crashing on Set if 9148 checkpointed w. no custom data yet 9149 - snapd.refresh.service: require snap.socket and /snap/*/current. 9150 - many: spell --force-dangerous as just --dangerous, devmode should 9151 imply it 9152 - overlord/devicestate: try to fetch/refresh the signing key of 9153 serial (also in case is not there yet) 9154 - image,overlord/boot,snap: metadata from asserts for image snaps 9155 - many: automatically restart all-snap devices after os/kernel 9156 updates 9157 - interfaces: modem-manager: ignore camera 9158 - firstboot: only configure en* and eth* interfaces by default 9159 - interfaces: fix interface handling on no-app snaps 9160 - snap: set user variables even if HOME is unset (like with systemd 9161 services) 9162 9163 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 16 Sep 2016 07:46:22 +0200 9164 9165 snapd (2.14.2~16.04) xenial; urgency=medium 9166 9167 * New upstream release: LP: #1618095 9168 - tests: use the spread tests with the adhoc interface inside 9169 autopkgtest 9170 - interfaces: add fwupd interface 9171 - asserts,cmd/snap: add "name" header to account-key(-request) 9172 - client,cmd/snap: display os-release data only on classic 9173 - asserts/tool,cmd/snap: introduce hidden "snap sign" 9174 - many: when installing snap file derive metadata from assertions 9175 unless --force-dangerous 9176 - osutil: tweak the createUserTests a bit and extract common code 9177 - debian: umount --lazy before rm on snapd.postrm 9178 - interfaces: updates to default policy, browser-support, and x11 9179 - store: set initial device session 9180 - interfaces: add upower-observe interface (LP: #1595813) 9181 - tests: use beta u-d-f in test by default 9182 - interfaces/builtin: allow writing on /dev/vhci in bluetooth- 9183 control 9184 - interfaces/builtin: allow /dev/vhci on bluetooth-control 9185 - tests: port integration tests to spread 9186 - snapstate: use umount --lazy when removing the mount units 9187 - spread: enable halt-timeout, tweak image selection 9188 - tests: fix firstboot-assertions to actually be runnable on classic 9189 again 9190 - asserts: introduce device-session-request 9191 - interfaces: add screen-inhibit-control interface (LP: #1604880) 9192 - firstboot: change location of netplan config 9193 - overlord/devicestate: some cleanups and solving a couple todos 9194 - daemon,overlord: add subcommand handling to snapctl 9195 9196 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 01 Sep 2016 18:52:05 +0200 9197 9198 snapd (2.14.1) xenial; urgency=medium 9199 9200 * New upstream release: LP: #1618095 9201 - snap-exec: add support for commands with internal args in snap- 9202 exec 9203 - store: refresh expired device sessions 9204 - debian: re-add ubuntu-core-snapd-units as a transitional package 9205 - image: snap assertions into image 9206 - overlord/assertstate,asserts/snapasserts: give snap assertions 9207 helpers a package, introduce ReconstructSideInfo 9208 - docs/interfaces: Add empty line after lxd-support title 9209 - README: cover the new /run/snapd-snap.socket 9210 - daemon: make socket split backward-compatible. 9211 9212 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 30 Aug 2016 16:43:29 +0200 9213 9214 snapd (2.14) xenial; urgency=medium 9215 9216 * New upstream release: LP: #1618095 9217 - cmd: enable SNAP_REEXEC only if it is set to SNAP_REEXEC=1 9218 - osutil: fix create-user on classic 9219 - firstboot: disable firstboot on classic for now 9220 - cmd/snap: add export-key --account= option 9221 - many: split public snapd REST API into separate socket. 9222 - many: drop ubuntu-core-snapd-units package, use release.OnClassic 9223 instead 9224 - tests: add content-shareing binary test that excersises snap- 9225 confine 9226 - snap: use "up to date" instead of "up-to-date" 9227 - asserts: add an account-key-request assertion 9228 - asserts: fix GPG key generation parameters 9229 - tests, integration-tests: implement the cups-control manual test 9230 as a spread test 9231 - many: clarify/tie down model assertion 9232 - cmd/snap: add "snap download" command 9233 - integration-tests: remove them in favour of the spread tests 9234 - tests: test all snap ubuntu core upgrade 9235 - many: support install and remove by revision 9236 - overlord/state: prevent change ready => unready 9237 - tests: fixes to make the ubuntu-core-16 image usable with 9238 -keep/-reuse 9239 - asserts: authority-id and brand-id of serial must match 9240 - firstboot: generate netplan config rather than ifupdown 9241 - store: request device session macaroon from store 9242 - tests: add workaround for u-d-f to unblock all-snap image tests 9243 - tests: the stable ubuntu-core snap has snap run support now 9244 - many: use make StripGlobalRootDir public 9245 - asserts: add some stricter checks around format 9246 - many: have AuthContext expose device store-id, serial and serial- 9247 proof signing to the store 9248 - tests: fix "tests/main/ack" to not break if asserts are alreay 9249 there 9250 - tests/main/ack: fix test/style 9251 - snap: add key management commands 9252 - firstboot: add firstboot assertions importing 9253 9254 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 29 Aug 2016 17:07:20 +0200 9255 9256 snapd (2.13) xenial; urgency=medium 9257 9258 * New upstream release: LP: #1616157 9259 - many: respect dirs.SnapSnapsDir in tests 9260 - tests: update listing test for latest stable image 9261 - many: hook in start of code to fetch/check assertions when 9262 installing snap from store 9263 - boot: add missing udevadm mock to fix FTBFS 9264 - interfaces: add lxd-support interface 9265 - dirs,snap: handle empty root directory in SetRootDir 9266 - dirs,snap: define methods for SNAP_USER_DATA and SNAP_USER_COMMON 9267 - tests: spread all-snap test cleanup 9268 - tests: add all-snap spread image tests 9269 - store,tests: have just one envvar SNAPPY_USE_STAGING_STORE to 9270 control talking to staging 9271 - overlord/hookstate: use snap run posix parameters. 9272 - interfaces/builtin: allow bind in the network interface 9273 - asserts,overlord/devicestate: simplify private key/key pairs APIs, 9274 they take just key ids 9275 - dependencies: update godeps 9276 - boot: add support for "devmode: {true,false}" in seed.yaml 9277 - many: teach prepare-image to copy the model assertion (and 9278 prereqs) into the seed area of the image 9279 - tests: start teaching the fakestore about assertions 9280 - asserts/sysdb: embed the new format official root/trusted 9281 assertions 9282 - overlord/devicestate: first pass at device registration logic 9283 - tests: add process-control interface spread test 9284 - tests: disable unity test 9285 - tests: adapt to new spread version 9286 - asserts: add serial-proof device assertion 9287 - client, cmd/snap: use the new multi-refresh endpoint 9288 - many: preparations for image code to fetch model prereqs 9289 - debian: add extra checks when debian/snapd.postrm purge is run 9290 - overlord/snapstate, daemon: support for multi-snap refresh 9291 - tests: do not leave "squashfs-root" around 9292 - snap-exec: Fix broken `snap run --shell` and add test 9293 - overlord/snapstate: check changes to SnapState for conflicts also. 9294 - docs/interfaces: change snappy command to snap 9295 - tests: test `snap run --hook` using in-tree snap-exec. 9296 - partition: ensure that snap_{kernel,core} is not overridden with an 9297 empty value 9298 - asserts,overlord/assertstate: introduce an assertstate task 9299 handler to fetch snap assertions 9300 - spread: disable re-exec to always test development tree. 9301 - interfaces: implement a fuse interface 9302 - interfaces/hardware-observe.go: re-add /run/udev/data 9303 - overlord/assertstate,daemon: reorg how the assert manager exposes 9304 the assertion db and adding to it 9305 - release: Remove "UBUNTU_CODENAME" from the test data 9306 - many: implement snapctl command. 9307 - interfaces: mpris updates (fix unconfined introspection, add name 9308 attribute) 9309 - asserts: export DecodePublicKey 9310 - asserts: introduce support for assertions with no authority, 9311 implement serial-request 9312 - interfaces: bluez: add a few more tests to verify interface 9313 connection works 9314 - interfaces: bluez: add missing mount security snippet case 9315 - interfaces: add kernel-module interface for module insertion. 9316 - integration-tests: look for ubuntu-device-flash on PATH before 9317 calling sudo 9318 - client, cmd, daemon, osutil: support --yaml and --sudoer flags for 9319 create-user 9320 - spread: use snap-confine from ppa:snappy-dev/image for the tests 9321 - many: move to purely hash based key lookup and to new 9322 key/signature format (v1) 9323 - spread: Use /home/gopath in spread.yaml 9324 - tests: base security spread tests 9325 9326 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 24 Aug 2016 14:48:28 +0200 9327 9328 snapd (2.12) xenial; urgency=medium 9329 9330 * New upstream release: LP: #1612362 9331 - many: do not require root for `snap prepare-image` 9332 - tests: prevent restore error on test failure 9333 - osutil: change escaping for create-user's sudoers 9334 - docs: private flag doesn't exist on /v2/find (it's select) 9335 - snap: do not sort the result of `snap find` 9336 - interfaces/builtin: add gpio interface 9337 - partition: fix cleaning of the boot variables on the second good 9338 boot 9339 - tests: add udev rules spread test 9340 - docs: fix references to refresh action 9341 - interfaces/udev,osutil: avoid doubled rules and put all in a per 9342 snap file 9343 - store: minor store improvements from previous reviews 9344 - many: support interactive payments in snapd, filter from command 9345 line 9346 - docs/interfaces.md: improve interfaces documentation 9347 - overlord,store: set store device authorization header 9348 - store: add device nonce API support 9349 - many: various fixes around the `create-user` command 9350 - client, osutil: chown the auth file 9351 - interfaces/builtin: add transitional browser-support interface 9352 - snap: don't load unsupported implicit hooks. 9353 - cmd/snap,cmd/snap-exec: support hooks again. 9354 - interfaces/builtin: improve pulseaudio interface 9355 - asserts: make account-key's `until` optional to represent a never- 9356 expiring key 9357 - store: refactor newRequest/doRequest to take requestOptions 9358 - tests: allow-downgrades on upgrade test to prevent version errors 9359 - daemon: stop using group membership as succedaneous of running 9360 things with sudo 9361 - interfaces: add bluetooth-control interfaces 9362 - many: remove integration-test coverage metrics 9363 - daemon,docs: drop license docs and error kind 9364 - tests: add network-control interface spread test 9365 - tests: add hardware-observe spread test 9366 - interfaces: add system-trace interface LP: #1600085 9367 - boot: use `cp -aLv` instead of `cp -a` (no symlinks on vfat) 9368 - store: soft-refresh discharge macaroon from store when required 9369 - partition: clear snap_try_{kernel,core} on success 9370 - tests: add snapd-control interface spread test 9371 - tests: add locale-control write spread test 9372 - store: fix buy method after some refactoring broke it 9373 - interfaces/builtin: read perms for network devices in network- 9374 observe 9375 - interfaces: also allow rfkill in network_control 9376 - snapstate: remove artifacts from a snap try dir that vanished 9377 - client, cmd/snap: better errors for empty snap list result 9378 - wrappers: set BAMF_DESKTOP_FILE_HINT for unity 9379 - many: cleanup/update rest.md; improve auth errors 9380 - interfaces: miscelleneous policy updates for default, log-observe, 9381 mount-observe, opengl, pulseaudio, system-observe and unity7 9382 - interfaces: add process-control interface (LP: #1598225) 9383 - osutil: support both "nobody" and "nogroup" for grpnam tests 9384 - cmd: support defaulting to the user's preferred payment method 9385 - overlord: actually run hooks. 9386 - overlord/state,overlord/ifacestate: define basic infrastructure 9387 for and then setting up serialising of interface mgr tasks 9388 - asserts: add Assertion.Prerequisites and SigningKey, Ref and 9389 FindTrusted 9390 - overlord/snapstate: ensure calls to store are done without the 9391 state lock held 9392 - asserts,client: switch snap-build and snap-revision to be indexed 9393 by snap-sha3-384 9394 - many: make seed.yaml on firstboot mandatory and include sideInfo 9395 - asserts,many: start supporting structured headers using the new 9396 parseHeaders 9397 - many: update code for the new snap_mode 9398 - tests: added spread find private test 9399 - store: deal with 404 froms the SSO store properly 9400 - snap: remove meta/kernel.yaml again 9401 - daemon: always mock release info in tests 9402 - snapstate: drop revisions after "current" on refresh 9403 - asserts: introduce new parseHeadersThis introduces the new 9404 parseHeaders returning map[string]interface{} and capable of 9405 accepting: 9406 - asserts: remove/disable comma separated lists and their uses 9407 9408 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 11 Aug 2016 19:30:36 +0200 9409 9410 snapd (2.11) xenial; urgency=medium 9411 9412 * New upstream release: LP: #1605303 9413 - increase version number to reflect the nature of the update 9414 better 9415 - store, daemon, client, cmd/snap, docs/rest.md: adieu search 9416 grammar 9417 - debian: move snapd.refresh.timer into timers.target 9418 - snapstate: add daemon-reload to fix autopkgtest on yakkety 9419 - Interfaces: hardware-observe 9420 - snap: rework the output after a snap operation 9421 - daemon, cmd/snap: refresh --devmode 9422 - store, daemon, client, cmd/snap: implement `snap find --private` 9423 - tests: add network-observe interface spread test 9424 - interfaces/builtin: allow getsockopt for connected x11 plugs 9425 - osutil: check for nogrup instead of adm 9426 - store: small cleanups (more needed) 9427 - snap/squashfs: fix test not to hardcode snap size 9428 - client,cmd/snap: cleanup cmd/snap test suite, add extra args 9429 testThis cleans up the cmd/snap test suite: 9430 - wrappers: map "never" restart condition to "no." 9431 - wrappers: run update-desktop-database after add/remove of desktop 9432 files 9433 - release: work around elementary mistake 9434 - many: remove all traces of channel from the buying codepath 9435 - store: kill setUbuntuStoreHeaders 9436 - docs: add payment methods documentation 9437 - many: present user with a choice of payment backends 9438 - asserts: add cross checks for snap asserts 9439 - cmd/snap,cmd/snap-exec: support running hooks via snap-exec. 9440 - tests: improve snap run symlink tests 9441 - tests: add content sharing interface spread test 9442 - store & many: a mechanical branch shortening store names 9443 - snappy: remove old snappy pkg 9444 - overlord/snapstate: kill flagscompat 9445 - overlord/snapstate, daemon, client, cmd/snap: devmode override 9446 (aka confined) 9447 - tests: extend refresh test to talk to the staging and production 9448 stores 9449 - asserts,daemon: cross checks for account and account-key 9450 assertions 9451 - client: existing JSON fixtures uses tabs for indentation 9452 - snap-exec: add proper integration test for snap-exec 9453 - spread.yaml, tests: replace hello-world with test-snapd-tools 9454 - tests: add locale-control interface spread test 9455 - tests: add mount-observe interface spread test 9456 - tests: add system-observe interface spread test 9457 - many: add AuthContext to mediate user updates to the state 9458 - store/auth: add helper for the macaroon refresh endpoint 9459 - cmd: add buy command 9460 - overlord: switch snapstate.Update to use ListRefresh (aka 9461 /snaps/metadata) 9462 - snap-exec: fix silly off-by-one error 9463 - tests: stop using hello-world.echo in the tests 9464 - tests: add env command to test-snapd-tools 9465 - classic: remove (most of) "classic" mode, this is implemented as a 9466 snap now 9467 - many: remove snapstate.Candidate and other cleanups 9468 - many: removed authenticator, store gets a user instead 9469 - asserts: fix minor doc comment typo 9470 - snap: ensure unknown arguments to `snap run` are ignored 9471 - overlord/auth: add Device/SetDevice to persist device identity in 9472 state 9473 - overlord: make SyncBoot work again 9474 - tests: add -y flag to apt autoremove command in unity task restore 9475 - many: migrate SnapSetup and SideInfo to use RealName 9476 - daemon: drop auther() 9477 - client: improve error from client.do() on json decode failures 9478 - tests: readd the fake store tests 9479 - many: allow removal of broken snaps, add spread test 9480 - overlord: implement &Retry{After: duration} support for handlers 9481 - interface: add new interfaces.all.SecurityBackends 9482 - integration-tests: remove login tests 9483 - cmd,interfaces,snap: implement hook whitelist. 9484 - daemon,overlord/auth,store: update macaroon authentication to use 9485 the new endpoints 9486 - daemon, overlord: add buy endpoint to REST API 9487 - tests: use systemd-run for starting and stopping the unity app 9488 - tests, integration-tests: port systemd service check test to 9489 spread 9490 - store: switch search to new snap-specific endpoint 9491 - store, many: start using the new details endpoint 9492 - tests, integration-tests: port unity test to spread 9493 - tests: add spread test for tried snaps removal 9494 - tests, integration-tests: port auth errors test to spread 9495 - snapstate: rename OfficialName to RealName in the new tests 9496 - many: rename SideInfo.OfficialName to SideInfo.RealName 9497 - snapstate: use snapstate.Type in backend.RemoveSnapFiles 9498 - many: add `snap enable/disable` commands 9499 - tests, integration-tests: port refresh all test to spread 9500 - snap: add `snap run --shell` 9501 - tests: set yaml indentation to 4 spaces 9502 - snapstate: cleanup downloaded temp snap files 9503 - overlord: make patch1_test more robust 9504 - debian: add snapd.postrm that purges 9505 - integration-tests: drop already covered refresh app test 9506 - many: add concept of "broken" snaps 9507 - tests, integration-tests: port remove errors tests to spread 9508 - tests, integration-tests: port revert test to spread 9509 - debian: fix snapbuild path 9510 - overlord: fix access to the state without lock in firstboot.go and 9511 add test 9512 - snapstate: add very simple garbage collection on upgrade 9513 - asserts: introduce assertstest with helpers to test code involving 9514 assertions 9515 - tests, integration tests: port undone failed install test to 9516 spread 9517 - snap,store: switch to the new snaps/metadata endpoint, introduce 9518 and start capturing DeveloperID 9519 - tests, integration-tests: port the op remove retry test to spread 9520 - po: remove snappy.pot from git, it will be generated at build time 9521 - many: add some missing tests, clarify some things and nitpicks as 9522 follow up to `snap revert` 9523 - snapstate: when doing snapsate.Update|Install, talk to the store 9524 early 9525 - tests, integration-tests: port the op remove test to spread 9526 - interfaces: allow /usr/bin/locale in default policy 9527 - many: add `snap revert` 9528 - overlord/auth,store: add macaroon serialization/deserialization 9529 helpers 9530 - many: embed main store trusted assertions in snapd, way to have 9531 test ones, spread tests for ack and known 9532 - overlord/snapstate,daemon: clarify active vs current, add 9533 SnapState.HasCurrent,CurrentInfo 9534 - tests: do not search for a specific snap (we hit 100 items) and 9535 pagination kicks in 9536 - tests: use printf instead of echo where we need portability 9537 - tests: rename and generalize basic-binaries to test-snapd-tools 9538 9539 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 26 Jul 2016 15:49:04 +0200 9540 9541 snapd (2.0.10) xenial; urgency=medium 9542 9543 * New upstream release: LP: #1597329 9544 - interfaces: also allow @{PROC}/@{pid}/mountinfo and 9545 @{PROC}/@{pid}/mountstats 9546 - interfaces: allow read access to /etc/machine-id and 9547 @{PROC}/@{pid}/smaps 9548 - interfaces: miscelleneous policy updates for default, log-observe 9549 and system-observe 9550 - snapstate: add logging after a successful doLinkSnap 9551 - tests, integration-tests: port try tests to spread 9552 - store, cmd/snapd: send a basic user-agent to the store 9553 - store: add buy method 9554 - client: retry on failed GETs 9555 - tests: actual refresh test 9556 - docs: REST API update 9557 - interfaces: add mount support for hooks. 9558 - interfaces: add udev support for hooks. 9559 - interfaces: add dbus support for hooks. 9560 - tests, integration-tests: port refresh test to spread 9561 - tests, integration-tests: port change errors test to spread 9562 - overlord/ifacestate: don't retry snap security setup 9563 - integration-tests: remove unused file 9564 - tests: manage the socket unit when reseting state 9565 - overlord: improve organization of state patches 9566 - tests: wait for snapd listening after reset 9567 - interfaces/builtin: allow other sr*/scd* optical devices 9568 - systemd: add support for squashfuse 9569 - snap: make snaps vanishing less fatal for the system 9570 - snap-exec: os.Exec() needs argv0 in the args[] slice too 9571 - many: add new `create-user` command 9572 - interfaces: auto-connect content interfaces with the same content 9573 and developer 9574 - snapstate: add Current revision to SnapState 9575 - readme: tweak readme blurb 9576 - integration-tests: wait for listening port instead of active 9577 service reported by systemd 9578 - many: rename Current -> {CurrentSideInfo,CurrentInfo} 9579 - spread: fix home interface test after suite move 9580 - many: name unversioned data. 9581 - interfaces: add "content" interface 9582 - overlord/snapstate: defaultBackend can go away now 9583 - debian: comment to remember why the timer is setup like it is 9584 - tests,spread.yaml: introduce an upgrade test, support/split into 9585 two suites for this 9586 - overlord,overlord/snapstate: ensure we keep snap type in snapstate 9587 of each snap 9588 - many: rework the firstboot support 9589 - integration-tests: fix test failure 9590 - spread: keep core on suite restore 9591 - tests: temporary fix for state reset 9592 - overlord: add infrastructure for simple state format/content 9593 migrations 9594 - interfaces: add seccomp support for hooks. 9595 - interfaces: allow gvfs shares in home and temporarily allow 9596 socketcall by default (LP: #1592901, LP: #1594675) 9597 - tests, integration-tests: port network-bind interface tests to 9598 spread 9599 - snap,snap/snaptest: use PopulateDir/MakeTestSnapWithFiles directly 9600 and remove MockSnapWithHooks 9601 - interfaces: add mpris interface 9602 - tests: enable `snap run` on i386 9603 - tests, integration-tests: port network interface test to spread 9604 - tests, integration-tests: port interfaces cli to spread 9605 - tests, integration-tests: port leftover install tests to spread 9606 - interfaces: add apparmor support for hooks. 9607 - tests, integration-tests: port log-observe interface tests to 9608 spread 9609 - asserts: improve Decode doc comment about assertion format 9610 - tests: moved snaps to lib 9611 - many: add the camera interface 9612 - many: add optical-drive interface 9613 - interfaces: auto-connect home if running on classic 9614 - spread: bump gccgo test timeout 9615 - interfaces: use security tags to index security snippets. 9616 - daemon, overlord/snapstate, store: send confinement header to the 9617 store for install 9618 - spread: run tests on 16.04 i386 concurrently 9619 - tests,integration-tests: port install error tests to spread 9620 - interfaces: add a serial-port interface 9621 - tests, integration-tests, debian: port sideload install tests to 9622 spread 9623 - interfaces: add new bind security backend and refactor 9624 backendtests 9625 - snap: load and validate implicit hooks. 9626 - tests: add a build/run test for gccgo in spread 9627 - cmd/snap/cmd_login: Adjust message after adding support for wheel 9628 group 9629 - tests, integration-tests: ported install from store tests to 9630 spread 9631 - snap: make `snap change <taskid>` show task progress 9632 - tests, integration-tests: port search tests to spread 9633 - overlord/state,daemon: make abort proceed immediately, fix doc 9634 comment, improve tests 9635 - daemon: extend privileged access to users in "wheel" group 9636 - snap: tweak `snap refresh` and `snap refresh --list` outputTiny 9637 branch that does three things: 9638 - interfaces: refactor auto-connection candidate check 9639 - snap: add support for snap {install,refresh} 9640 --{edge,beta,candidate,stable} 9641 - release: don't force KDE Neon into devmode. 9642 9643 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 29 Jun 2016 21:02:39 +0200 9644 9645 snapd (2.0.9) xenial; urgency=medium 9646 9647 * New upstream release: LP: #1593201 9648 - snap: add the magic redirect part of `snap run` 9649 - tests, integration-tests: port server related tests to spread 9650 - overlord/snapstate: log restarting in the task 9651 - daemon: test restart wiring, fix setup/teardown 9652 - cmd: don't show the price if a snap has already been purchased 9653 - tests, integration-tests: port listing tests to spread 9654 - integration-tests: do not try to kill ubuntu-clock-app.clock (no 9655 longer a process) 9656 - several: tie up overlord's restart handler into daemon; adjust 9657 snap to cope 9658 - tests, integration-tests: port abort tests to spread 9659 - integration-tests: fix flaky TestRemoveBusyRetries 9660 - testutils: refactor/mock exec 9661 - snap,cmd: add hook support to snap run. 9662 - overlord/snapstate: remove Download from backend 9663 - store: use a custom logging transport 9664 - overlord/hookstate: implement basic HookManager. 9665 - spread: move the suite restore to restore-each 9666 - asserts: turn model os into model core field, making it also more 9667 like the kernel and gadget fields 9668 - asserts: / is not allowed in primary key headers, follow the store 9669 in this 9670 - release: enable full confinement on Elementary 0.4 9671 - integration-tests: fix another i386 autopkgtest failure. 9672 - cmd/snap: create SNAP_USER_DATA and common dirs in `snap run` 9673 - many: have the installation of the core snap request a restart (on 9674 classic) 9675 - asserts: allow to load also account assertions into the trusted 9676 set 9677 - many: install snaps in devmode on distributions without complete 9678 apparmor and seccomp support 9679 - spread: run on travis 9680 - snapenv: do not hardcode amd64 in tests 9681 - spread: initial harness and first test 9682 - interfaces: miscelleneous policy updates for chromium, x86, 9683 opengl, etc 9684 - integration-tests: remove daemon to use the log-observe interface 9685 - client: remove client.Revision and import snap.Revision instead 9686 - integration-tests: wait for network-bind service in try test 9687 - many: move over from snappy to snapstate/backend SetupSnap and 9688 related code 9689 - integration-tests: add interfaces cli tests 9690 - snapenv: cleanup snapenv.{Basic,User} 9691 - cmd/snap: also print slots that connect to the wanted snap (LP: 9692 #1590704) 9693 - asserts: error style, use "cannot" instead of "failed to" 9694 following the main decided style 9695 - integration-tests: wait until the network-bind service is up 9696 before testing 9697 - many: add new `snap run` command 9698 - snappy: unexport snappy.Install and snappy.Overlord.{Un,}Install 9699 - many: add some shared testing helpers to snap/snaptest and to 9700 boot/boottest 9701 - rest-api: support to send apps per snap (LP: #1564076) 9702 9703 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 16 Jun 2016 13:56:12 +0200 9704 9705 snapd (2.0.8.1) UNRELEASED; urgency=medium 9706 9707 * New upstream release 9708 - Cherry pick four commits that show snaps as installed in devmode on 9709 distributions without full confinement dependencies available: 9710 9711 25634d3364a46b5e9147e4466932c59b1b572d35 9712 53f2e8d5f1b2d7ce13f5b50be4c09fa1de8cf1e0 9713 38771f4cc324ad9dd4aa48b03108d13a2c361aad 9714 c46e069351c61e45c338c98ab12689a319790bd5 9715 9716 -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Tue, 14 Jun 2016 15:55:30 +0200 9717 9718 snapd (2.0.8) xenial; urgency=medium 9719 9720 * New upstream release: LP: #1589534 9721 - debian: make `snap refresh` times more random (LP: #1537793) 9722 - cmd: ExecInCoreSnap looks in "core" snap first, and only in 9723 "ubuntu-core" snap if rev>125. 9724 - cmd/snap: have 'snap list' display helper message on stderr 9725 (LP: #1587445) 9726 - snap: make app names more restrictive. 9727 9728 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 08 Jun 2016 07:56:58 +0200 9729 9730 snapd (2.0.7) xenial; urgency=medium 9731 9732 * New upstream release: LP: #1589534 9733 - debian: do not ship /etc/ld.so.conf.d/snappy.conf (LP: #1589006) 9734 - debian: fix snapd.refresh.service install and usage (LP: #1588977) 9735 - ovlerlord/state: actually support task setting themself as 9736 done/undone 9737 - snap: do not use "." import in revision_test.go, as this breaks 9738 gccgo-6 (fix build failure on powerpc) 9739 - interfaces: add fcitx and mozc input methods to unity7 9740 - interfaces: add global gsettings interfaces 9741 - interfaces: autoconnect home and doc updates (LP: #1588886) 9742 - integration-tests: remove 9743 abortSuite.TestAbortWithValidIdInDoingStatus 9744 - many: adding backward compatible code to upgrade SnapSetup.Flags 9745 - overlord/snapstate: handle sideloading over an old sideloaded snap 9746 without panicing 9747 - interfaces: add socketcall() to the network/network-bind 9748 interfaces (LP: #1588100) 9749 - overlord/snapstate,snappy: move over CanRemoveThis moves over the 9750 CanRemove check to snapstate itself.overlord/snapstate 9751 - snappy: move over CanRemove 9752 - overlord/snapstate,snappy: move over CopyData and Remove*Data code 9753 9754 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 06 Jun 2016 16:35:50 +0200 9755 9756 snapd (2.0.6) xenial; urgency=medium 9757 9758 * New upstream release: LP: #1588052: 9759 - many: repository moved to snapcore/snapd 9760 - debian: add transitional pkg for the github location change 9761 - snap: ensure `snap try` work with relative paths 9762 - debian: drop run/build dependency on lsb-release 9763 - asserts/tool: gpg key pair manager 9764 - many: add new snap-exec 9765 - many: implement `snap refresh --list` and `snap refresh` 9766 - snap: add parsing support for hooks. 9767 - many: add the cups interface 9768 - interfaces: misc policy fixes (LP: #1583794) 9769 - many: add `snap try` 9770 - interfaces: allow using sysctl and scmp_sys_resolver for parsing 9771 kernel logs 9772 - debian: make snapd get its environ from /etc/environment 9773 - daemon,client,snap: revisions are now strings 9774 - interfaces: allow access to new ibus abstract socket path 9775 LP: #1580463 9776 - integration-tests: add remove tests 9777 - asserts: stronger crypto choices and follow better latest designs 9778 - snappy,daemon: hollow out more of snappy (either removing or not 9779 exporting stuff on its way out), snappy/gadget.go is gone 9780 - asserts: rename device-serial to serial 9781 - asserts: rename identity to account (and username access) 9782 - integration-tests: add changes tests 9783 - backend: add tests for environment wrapper generation 9784 - interfaces/builtin: add location-control interface 9785 - overlord/snapstate: move over check snap logic from snappy 9786 - release: use os-release instead of lsb-release for cross-distro 9787 use 9788 - asserts: allow empty snap-name for snap-declaration 9789 - interfaces/builtin,docs,snap: add the pulseaudio interface 9790 - many: add support for an environment map inside snap.yaml 9791 - overlord/snapstate: increase robustness of doLinkSnap/undoLinkSnap 9792 with sanity unit tests 9793 - snap: parse epoch property 9794 - snappy: do nothing in SetNextBoot when running on classic 9795 - snap: validate snap type 9796 - integration-tests: extend find command tests 9797 - asserts: extend tests to cover mandatory and empty headers 9798 - tests: stop the update-pot check in run-checks 9799 - snap: parse confinement property. 9800 - store: change applyUbuntuStoreHeaders to not take accept, and to 9801 take a channel 9802 - many: struct-based revisions, new representation 9803 - interfaces: remove 'audit deny' rules from network_control.go 9804 - interfaces: add com.canonical.UrlLauncher.XdgOpen to unity7 9805 interface 9806 - interfaces: firewall-control can access xtables lock file 9807 - interfaces: allow unity7 AppMenu 9808 - interfaces: allow unity7 launcher API 9809 - interfaces/builtin: add location-observe interface 9810 - snap: fixed snap empty list text LP: #1587445 9811 9812 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 02 Jun 2016 08:23:50 +0200 9813 9814 snapd (2.0.5) xenial; urgency=medium 9815 9816 * New upstream release: LP: #1583085 9817 - interfaces: add dbusmenu, freedesktop and kde notifications to 9818 unity7 (LP: #1573188) 9819 - daemon: make localSnapInfo return SnapState 9820 - cmd: make snap list with no snaps not special 9821 - debian: workaround for XDG_DATA_DIRS issues 9822 - cmd,po: fix conflicts, apply review from #1154 9823 - snap,store: load and store the private flag sent by the store in 9824 SideInfo 9825 - interfaces/apparmor/template.go: adjust /dev/shm to be more usable 9826 - store: use purchase decorator in Snap and FindSnaps 9827 - interfaces: first version of the networkmanager interface 9828 - snap, snappy: implement the new (minmimal) kernel spec 9829 - cmd/snap, debian: move manpage generation to depend on an environ 9830 key; also, fix completion 9831 9832 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 19 May 2016 15:29:16 +0200 9833 9834 snapd (2.0.4) xenial; urgency=medium 9835 9836 * New upstream release: 9837 - interfaces: cleanup explicit denies 9838 - integration-tests: remove the ancient integration daemon tests 9839 - integration-tests: add network-bind interface test 9840 - integration-tests: add actual checks for undoing install 9841 - integration-tests: add store login test 9842 - snap: add certain implicit slots only on classic 9843 - integration-tests: add coverage flags to snapd.service ExecStart 9844 setting when building from branch 9845 - integration-tests: remove the tests for features removed in 16.04. 9846 - daemon, overlord/snapstate: "(de)activate" is no longer a thing 9847 - docs: update meta.md and security.md for current snappy 9848 - debian: always start snapd 9849 - integration-tests: add test for undoing failed install 9850 - overlord: handle ensureNext being in the past 9851 - overlord/snapstate,overlord/snapstate/backend,snappy: start 9852 backend porting LinkSnap and UnlinkSnap 9853 - debian/tests: add reboot capability to autopkgtest and execute 9854 snapPersistsSuite 9855 - daemon,snappy,progress: drop license agreement broken logic 9856 - daemon,client,cmd/snap: nice access denied message 9857 (LP: #1574829) 9858 - daemon: add user parameter to all commands 9859 - snap, store: rework purchase methods into decorators 9860 - many: simplify release package and add OnClassic 9861 - interfaces: miscellaneous policy updates 9862 - snappy,wrappers: move desktop files handling to wrappers 9863 - snappy: remove some obviously dead code 9864 - interfaces/builtin: quote apparmor label 9865 - many: remove the gadget yaml support from snappy 9866 - snappy,systemd,wrappers: move service units generation to wrappers 9867 - store: add method to determine if a snap must be bought 9868 - store: add methods to read purchases from the store 9869 - wrappers,snappy: move binary wrapper generation to new package 9870 wrappers 9871 - snap: add `snap help` command 9872 - integration-tests: remove framework-test data and avoid using 9873 config-snap for now 9874 - add integration test to verify fix for LP: #1571721 9875 9876 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 13 May 2016 17:19:37 -0700 9877 9878 snapd (2.0.3) xenial; urgency=medium 9879 9880 * New upstream micro release: 9881 - integration-tests, debian/tests: add unity snap autopkg test 9882 - snappy: introduce first feature flag for assumes: common-data-dir 9883 - timeout,snap: add YAML unmarshal function for timeout.Timeout 9884 - many: go into state.Retry state when unmounting a snap fails. 9885 (LP: #1571721, #1575399) 9886 - daemon,client,cmd/snap: improve output after snap 9887 install/refresh/remove (LP: #1574830) 9888 - integration-tests, debian/tests: add test for home interface 9889 - interfaces,overlord: support unversioned data 9890 - interfaces/builtin: improve the bluez interface 9891 - cmd: don't include the unit tests when building with go test -c 9892 for integration tests 9893 - integration-tests: teach some new trick to the fake store, 9894 reenable the app refresh test 9895 - many: move with some simplifications test snap building to 9896 snap/snaptest 9897 - asserts: define type for revision related errors 9898 - snap/snaptest,daemon,overlord/ifacestate,overlord/snapstate: unify 9899 mocking snaps behind MockSnap 9900 - snappy: fix openSnapFile's handling of sideInfo 9901 - daemon: improve snap sideload form handling 9902 - snap: add short and long description to the man-page 9903 (LP: #1570280) 9904 - snappy: remove unused SetProperty 9905 - snappy: use more accurate test data 9906 - integration-tests: add a integration test about remove removing 9907 all revisions 9908 - overlord/snapstate: make "snap remove" remove all revisions of a 9909 snap (LP: #1571710) 9910 - integration-tests: re-enable a bunch of integration tests 9911 - snappy: remove unused dbus code 9912 - overlord/ifacestate: fix setup-profiles to use new snap revision 9913 for setup (LP: #1572463) 9914 - integration-tests: add regression test for auth bug LP:#1571491 9915 - client, snap: remove obsolete TypeCore which was used in the old 9916 SystemImage days 9917 - integration-tests: add apparmor test 9918 - cmd: don't perform type assertion when we know error to be nil 9919 - client: list correct snap types 9920 - intefaces/builtin: allow getsockname on connected x11 plugs 9921 (LP: #1574526) 9922 - daemon,overlord/snapstate: read name out of sideloaded snap early, 9923 improved change summary 9924 - overlord: keep tasks unlinked from a change hidden, prune them 9925 - integration-tests: snap list on fresh boot is good again 9926 - integration-tests: add partial term to the find test 9927 - integration-tests: changed default release to 16 9928 - integration-tests: add regression test for snaps not present after 9929 reboot 9930 - integration-tests: network interface 9931 - integration-tests: add proxy related environment variables to 9932 snapd env file 9933 - README.md: snappy => snap 9934 - etc: trivial typo fix (LP:#1569892) 9935 - debian: remove unneeded /var/lib/snapd/apparmor/additional 9936 directory (LP: #1569577) 9937 - builtin/unity7.go: allow using gmenu. LP: #1576287 9938 9939 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 03 May 2016 07:51:57 +0200 9940 9941 snapd (2.0.2) xenial; urgency=medium 9942 9943 * New upstream release: 9944 - systemd: add multi-user.target (LP: #1572125) 9945 - release: our series is 16 9946 - integration-tests: fix snapd binary path for mounting the daemon 9947 built from branch 9948 - overlord,snap: add firstboot state sync 9949 9950 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 19 Apr 2016 16:02:44 +0200 9951 9952 snapd (2.0.1) xenial; urgency=medium 9953 9954 * client,daemon,overlord: fix authentication: 9955 - fix incorrect authenication check (LP: #1571491) 9956 9957 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 18 Apr 2016 07:24:33 +0200 9958 9959 snapd (2.0) xenial; urgency=medium 9960 9961 * New upstream release: 9962 - debian: put snapd in /usr/lib/snapd/ 9963 - cmd/snap: minor polishing 9964 - cmd,client,daemon: add snap abort command 9965 - overlord: don't hold locks when callling backends 9966 - release,store,daemon: no more default-channel, release=>series 9967 - many: drop support for deprecated environment variables 9968 (SNAP_APP_*) 9969 - many: support individual ids in changes cmd 9970 - overlord/state: use numeric change and task ids 9971 - overlord/auth,daemon,client,cmd/snap: logout 9972 - daemon: don't install ubuntu-core twice 9973 - daemon,client,overlord/state,cmd: add changes command 9974 - interfaces/dbus: drop superfluous backslash from template 9975 - daemon, overlord/snapstate: updates are users too! 9976 - cmd/snap,daemon,overlord/ifacestate: add support for developer 9977 mode 9978 - daemon,overlord/snapstate: on refresh use the remembered channel, 9979 default to stable channel otherwise 9980 - cmd/snap: improve UX of snap interfaces when there are no results 9981 - overlord/state: include time in task log messages 9982 - overlord: prune and abort old changes and tasks 9983 - overlord/ifacestate: add implicit slots in setup-profiles 9984 - daemon,overlord: setup authentication for store downloads 9985 - daemon: macaroon-authed users are like root, and sudoers can login 9986 - daemon,client,docs: send install options to daemon 9987 9988 -- Michael Vogt <michael.vogt@ubuntu.com> Sat, 16 Apr 2016 22:15:40 +0200 9989 9990 snapd (1.9.4) xenial; urgency=medium 9991 9992 * New upstream release: 9993 - etc: fix desktop file location 9994 - overlord/snapstate: stop an update once download sees the revision 9995 is already installed 9996 - overlord: make SnapState.DevMode a method, store flags 9997 - snappy: no more snapYaml in snappy.Snap 9998 - daemon,cmd,dirs,lockfile: drop all lockfiles 9999 - debian: use sudo in setup of the proxy environment 10000 - snap/snapenv,snappy,systemd: expose SNAP_REVISION to app 10001 environment 10002 - snap: validate similarly to what we did with old snapYaml info 10003 from squashfs snaps 10004 - daemon,store: plug in authentication for store search/details 10005 - overlord/snapstate: fix JSON name of SnapState.Candidate 10006 - overlord/snapstate: start using revisions higher than 100000 for 10007 local installs (sideloads) 10008 - interfaces,overlorf/ifacestate: honor user choice and don't auto- 10009 connect disconnected plugs 10010 - overlord/auth,daemon,client: hide user ids again 10011 - daemon,overlord/snapstate: back /snaps (and so snap list) using 10012 state 10013 - daemon,client,overlord/auth: rework state auth data 10014 - overlord/snapstate: disable Activate and Deactivate 10015 - debian: fix silly typo in autopkgtest setup 10016 - overlord/ifacestate: remove connection state with discard-conns 10017 task, on the removal of last snap 10018 - daemon,client: rename API update action to refresh 10019 - cmd/snap: rework login to be more resilient 10020 - overlord/snapstate: deny two changes on one snap 10021 - snappy: fix crash on certain snap.yaml 10022 - systemd: use native systemctl enable instead of our own 10023 implementation 10024 - store: add workaround for misbehaving store 10025 - debian: make autopkgtest use the right env vars 10026 - state: log do/undo status too when a task is run 10027 - docs: update rest.md with price information 10028 - daemon: only include price property if the snap is non-free 10029 - daemon, client, cmd/snap: connect/disconnect now async 10030 - snap,snappy: allow snaps to require system features 10031 - integration-tests: fix report of skips in SetUpTest method 10032 - snappy: clean out major bits (still using Installed) now 10033 unreferenced as cmd/snappy is gone 10034 - daemon/api,overlord/auth: add helper to get UserState from a 10035 client request 10036 10037 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 15 Apr 2016 23:30:00 +0200 10038 10039 snapd (1.9.3) xenial; urgency=medium 10040 10041 * New upstream release: 10042 - many: prepare for opengl support on classic 10043 - interfaces/apparmor: load all apparmor profiles on snap setup 10044 - daemon,client: move async resource to change in meta 10045 - debian: disable autopilot 10046 - snap: add basic progress reporting 10047 - client,cmd,daemon,snap,store: show the price of snaps in the cli 10048 - state: add minimal taskrunner logging 10049 - daemon,snap,overlord/snapstate: in the API get the snap icon using 10050 state 10051 - client,daemon,overlord: don't guess snap file vs. name 10052 - overlord/ifacestate: reload snap connections when setting up 10053 security for a given snap 10054 - snappy: remove cmd/snappy (superseded in favour of cmd/snap) 10055 - interfaecs/apparmor: remove all traces of old-security from 10056 apparmor backend 10057 - interfaces/builtin: add bluez interface 10058 - overlord/ifacestate: don't crash if connection cannot be reloaded 10059 - debian: add searchSuite to autopkgtest 10060 - client, daemon, cmd/snap: no more tasks; everything is changes 10061 - client: send authorization header in client requests 10062 - client, daemon: marshal suggested currency over REST 10063 - docs, snap: enumerate snap types correctly in docs and comments 10064 - many: add store authenticator parameter 10065 - overlord/ifacestate,daemon: setup security on conect and 10066 disconnect 10067 - interfaces/apparmor: remove unused apparmor variables 10068 - snapstate: add missing "TaskProgressAdapter.Write()" for working 10069 progress reporting 10070 - many: clean out snap config related code not for OS 10071 - daemon,client,cmd: return snap list from /v2/snaps 10072 - docs: update `/v2/snaps` endpoint documentation 10073 - interfaces: rename developerMode to devMode 10074 - daemon,client,overlord: progress current => done 10075 - daemon,client,cmd/snap: move query metadata to top-level doc 10076 - interfaces: add TestSecurityBackend 10077 - many: replace typographic quotes with ASCII 10078 - client, daemon: rework rest changes to export "ready" and "err" 10079 - overlord/snapstate,snap,store: track snap-id in side-info and 10080 therefore in state 10081 - daemon: improve mocking of interfaces API tests 10082 - integration-tests: remove origins in default snap names for udf 10083 call 10084 - integration-test: use "snap list" in GetCurrentVersion 10085 - many: almost no more NewInstalledSnap reading manifest from 10086 snapstate and backend 10087 - daemon: auto install ubuntu-core if missing 10088 - oauth,store: remove OAuth authentication logic 10089 - overlord/ifacestate: simplify some tests with implicit manager 10090 initialization 10091 - store, snappy: move away from hitting details directly 10092 - overlord/ifacestate: reload connections when restarting the 10093 manager 10094 - overlord/ifacestate: increase flexibility of unit tests 10095 - overlord: use state to discover all installed snaps 10096 - overlord/ifacestate: track connections in the state 10097 - many: separate copy-data from unlinking of current snap 10098 - overlord/auth,store/auth: add macaroon authenticator to UserState 10099 - client: support for /v2/changes and /v2/changes/{id} 10100 - daemon/api,overlord/auth: rework authenticated users information 10101 in state 10102 10103 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 14 Apr 2016 23:29:43 +0200 10104 10105 snapd (1.9.2) xenial; urgency=medium 10106 10107 * New upstream release: 10108 - cmd/snap,daemon,store: rework login command to use daemon login 10109 API 10110 - store: cache suggested currency from the store 10111 - overlord/ifacestate: modularize and extend tests 10112 - integration-tests: reenable failure tests 10113 - daemon: include progress in rest changes 10114 - daemon, overlord/state: expose individual changes 10115 - overlord/ifacestate: drop duplicate package comment 10116 - overlord/ifacestate: allow tests to override security backends 10117 - cmd/snap: install *.snap and *.snap.* as files too 10118 - interfaces/apparmor: replace /var/lib/snap with /var/snap 10119 - daemon,overlord/ifacestate: connect REST API to interfaces in the 10120 overlord 10121 - debian: remove unneeded dependencies from snapd 10122 - overlord/state: checkpoint on final progress only 10123 - osutil: introduce IsUIDInAny 10124 - overlord/snapstate: rename GetSnapState to Get, SetSnapState to 10125 Set 10126 - daemon: add id to changes json 10127 - overlord/snapstate: SetSnapState() needs locks 10128 - overlord: fix broken tests 10129 - overlord/snapstate,overlord/ifacestate: reimplement SnapInfo (as 10130 Info) actually using the state 10131 10132 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 13 Apr 2016 17:27:00 +0200 10133 10134 snapd (1.9.1.1) xenial; urgency=medium 10135 10136 * debian/tests/control: 10137 - add git to make autopkgtest work 10138 10139 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Apr 2016 17:19:19 +0200 10140 10141 snapd (1.9.1) xenial; urgency=medium 10142 10143 * Add warning about installing ubuntu-core-snapd-units on Desktop systems. 10144 * Add ${misc:Depends} to ubuntu-core-snapd-units. 10145 * interfaces,overlord: add support for auto-connecting plugs on 10146 install 10147 * fix sideloading snaps and (re)add tests for this 10148 * add `ca-certificates` to the test-dependencies to fix autopkgtest 10149 failure on armhf 10150 10151 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Apr 2016 14:39:57 +0200 10152 10153 snapd (1.9) xenial; urgency=medium 10154 10155 * rename source and binary package to "snapd" 10156 * update directory layout to final 16.04 layout 10157 * use `snap` command instead of the previous `snappy` 10158 * use `interface` based security 10159 * use new state engine for install/update/remove 10160 10161 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 12 Apr 2016 01:05:09 +0200 10162 10163 ubuntu-snappy (1.7.3+20160310ubuntu1) xenial; urgency=medium 10164 10165 - debian: update versionized ubuntu-core-launcher dependency 10166 - debian: tweak desktop file dir, ship Xsession.d snip for seamless 10167 integration 10168 - snappy: fix hw-assign to work with per-app udev tags 10169 - snappy: use $snap.$app as per-app udev tag 10170 - snap,snappy,systemd: %s/\<SNAP_ORIGIN\>/SNAP_DEVELOPER/g 10171 - snappy: add mksquashfs --no-xattrs parameter 10172 - snap,snappy,systemd: kill SNAP_FULLNAME 10173 10174 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Mar 2016 09:26:20 +0100 10175 10176 ubuntu-snappy (1.7.3+20160308ubuntu1) xenial; urgency=medium 10177 10178 - snappy,snap: move icon under meta/gui/ 10179 - debian: add snap.8 manpage 10180 - debian: move snapd to /usr/lib/snappy/snapd 10181 - snap,snappy,systemd: remove TMPDIR, TEMPDIR, SNAP_APP_TMPDIR 10182 - snappy,dirs: add support to use desktop files from inside snaps 10183 - daemon: snapd API events endpoint redux 10184 - interfaces/builtin: add "network" interface 10185 - overlord/state: do small fixes (typo, id clashes paranoia) 10186 - overlord: add first pass of the logic in StateEngine itself 10187 - overlord/state: introduce Status/SetStatus on Change 10188 - interfaces: support permanent security snippets 10189 - overlord/state: introduce Status/SetStatus and 10190 Progress/SetProgress on Task 10191 - overlord/state: introduce Task and Change.NewTask 10192 - many: selectively swap semantics of plugs and slots 10193 - client,cmd/snap: remove useless indirection in Interfaces 10194 - interfaces: maintain Plug and Slot connection details 10195 - client,daemon,cmd/snap: change POST /2.0/interfaces to work with 10196 lists 10197 - overlord/state: introduce Change and NewChange on state to create 10198 them 10199 - snappy: bugfix for snap.yaml parsing to be more consistent with 10200 the spec 10201 - snappy,systemd: remove "ports" from snap.yaml 10202 10203 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 08 Mar 2016 11:24:09 +0100 10204 10205 ubuntu-snappy (1.7.3+20160303ubuntu4) xenial; urgency=medium 10206 10207 * rename: 10208 debian/golang-snappy-dev.install -> 10209 debian/golang-github-ubuntu-core-snappy-dev.install: 10210 10211 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 12:29:16 +0100 10212 10213 ubuntu-snappy (1.7.3+20160303ubuntu3) xenial; urgency=medium 10214 10215 * really fix typo in dependency name 10216 10217 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 12:21:39 +0100 10218 10219 ubuntu-snappy (1.7.3+20160303ubuntu2) xenial; urgency=medium 10220 10221 * fix typo in dependency name 10222 10223 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 12:05:36 +0100 10224 10225 ubuntu-snappy (1.7.3+20160303ubuntu1) xenial; urgency=medium 10226 10227 - debian: update build-depends for MIR 10228 - many: implement new REST API: GET /2.0/interfaces 10229 - integration-tests: properly stop snapd from branch 10230 - cmd/snap: update tests for go-flags changes 10231 - overlord/state: implement Lock/Unlock with implicit checkpointing 10232 - overlord: split out the managers and State to their own 10233 subpackages of overlord 10234 - snappy: rename "migration-skill" to "old-security" and use new 10235 interface names instead of skills 10236 - client,cmd/snap: clarify name ambiguity in Plug or Slot 10237 - overlord: start working on state engine along spec v2, have the 10238 main skeleton follow that 10239 - classic, oauth: update tests for change in MakeRandomString() 10240 - client,cmd/snap: s/add/install/:-( 10241 - interfaces,daemon: specialize Name to either Plug or Slot 10242 - interfaces,interfaces/types: unify security snippet functions 10243 - snapd: close the listener on Stop, to force the http.Serve loop to 10244 exit 10245 - snappy,daemon,snap/lightweight,cmd/snappy,docs/rest.md: expose 10246 explicit channel selection to rest api 10247 - interfaces,daemon: rename package holding built-in interfaces 10248 - integration-tests: add the first classic dimension tests 10249 - client,deaemon,docs: rename skills to interfaces on the wire 10250 - asserts: add identity assertion type 10251 - integration-tests: add the no_proxy env var 10252 - debian: update build-depends for new package names 10253 - oauth: fix oauth & quoting in the oauth_signature 10254 - integration-tests: remove unused field 10255 - integration-tests: add the http proxy argument 10256 - interfaces,interfaces/types,deamon: mass internal rename to 10257 interfaces 10258 - client,cmd/snap: rename skills to interfaces (part 2) 10259 - arch: fix missing mapping for powerpc 10260 10261 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 03 Mar 2016 11:00:19 +0100 10262 10263 ubuntu-snappy (1.7.3+20160225ubuntu1) xenial; urgency=medium 10264 10265 - integration-tests: always use the built snapd when compiling 10266 binaries from branch 10267 - cmd/snap: rename skills to interfaces 10268 - testutil,skills/types,skills,daemon: tweak discovery of know skill 10269 types 10270 - docs: add docs for arm64 cross building 10271 - overlord: implement basic ReadState/WriteState 10272 - overlord: implement Get/Set/Copy on State 10273 - integration-tests: fix dd output check 10274 - integration-tests: add fromBranch config field 10275 - integration-tests: use cli pkg methods in hwAssignSuite 10276 - debian: do not create the snappypkg user, we don't need it anymore 10277 - arch: fix build failure on s390x 10278 - classic: cleanup downloaded lxd tarball 10279 - cmd/snap,client,integration-tests: rename snap subcmds 10280 'assert'=>'ack', 'asserts'=>'known' 10281 - skills: fix broken tests builds 10282 - skills,skills/types: pass slot to SlotSecuritySnippet() 10283 - skills/types: teach bool-file about udev security 10284 10285 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 25 Feb 2016 16:17:19 +0100 10286 10287 ubuntu-snappy (1.7.2+20160223ubuntu1) xenial; urgency=medium 10288 10289 * New git snapshot: 10290 - asserts: introduce snap-declaration 10291 - cmd/snap: fix integration tests for the "cmd_asserts" 10292 - integration-tests: fix fanctl output check 10293 - cmd/snap: fix test failure after merging 23a64e6 10294 - cmd/snap: replace skip-help with empty description 10295 - docs: update security.md to match current migration-skill 10296 semantics 10297 - snappy: treat commands with 'daemon' field as services 10298 - asserts: use more consistent names for receivers in 10299 snap_asserts*.go 10300 - debian: add missing golang-websocket-dev build-dependency 10301 - classic: if classic fails to get created, undo the bind mounts 10302 - snappy: never return nil in NewLocalSnapRepository() 10303 - notifications: A simple notification system 10304 - snappy: when using staging, authenticate there instead 10305 - integration-tests/snapd: fix the start of the test snapd socket 10306 - skills/types: use CamelCase for security names 10307 - skills: add support for implicit revoke 10308 - skills: add security layer 10309 - integration-tests: use exec.Command wrapper for updates 10310 - cmd/snap: add 'snap skills' 10311 - cms/snap: add 'snap revoke' 10312 - docs: add docs for skills API 10313 - cmd/snap: add 'snap grant' 10314 - cmd/snappy, coreconfig, daemon, snappy: move config to always be 10315 bytes (in and out) 10316 - overlord: start with a skeleton and stubs for Overlord, 10317 StateEngine, StateJournal and managers 10318 - integration-tests: skip tests affected by LP: #1544507 10319 - skills/types: add bool-file 10320 - po: refresh translation templates 10321 - cmd/snap: add 'snap experimental remove-skill-slot' 10322 - asserts: introduce device assertion 10323 - cmd/snap: implemented add, remove, purge, refresh, rollback, 10324 activate, deactivate 10325 - cmd/snap: add 'snap experimental add-skill-slot' 10326 - cmd/snap: add 'snap experimental remove-skill' 10327 - cmd/snap: add tests for common skills code 10328 - cmd/snap: add 'snap experimental add-skill' 10329 - asserts: make assertion checkers used by db.Check modular and 10330 pluggable 10331 - cmd,client,daemon,caps,docs,po: remove capabilities 10332 - scripts: move the script to get dependencies to a separate file 10333 - asserts: make the disk layout compatible for storing more than one 10334 revision 10335 - cmd/snap: make the assert command options exported 10336 - integration-tests: Remove the target release and channel 10337 - asserts: introduce model assertion 10338 - integration-tests: add exec.Cmd wrapper 10339 - cmd/snap: add client test support methods 10340 - cmd/snap: move key=value attribute parsing to commmon 10341 - cmd/snap: apply new style consistency to "snap" commands. 10342 - cmd/snap: support redirecting the client for testing 10343 - cmd/snap: support testing command output 10344 - snappy,daemon: remove the meta repositories abstractions 10345 - cmd: add support for experimental commands 10346 - cmd/snappy,daemon,snap,snappy: remove SetActive from parts 10347 - cmd/snappy,daemon,snappy,snap: remove config from parts interface 10348 - client: improve test data 10349 - cmd: allow to construct a fresh parser 10350 - cmd: don't treat help as an error 10351 - cmd/snappy,snappy: remove "Details" from the repository interface 10352 - asserts: check that primary keys are set when 10353 Decode()ing/assembling assertions 10354 - snap,snappy: refactor to remove "Install" from the Part interface 10355 - client,cmd: make client.New() configurable 10356 - client: enable retrieving asynchronous operation information with 10357 `Client.Operation`. 10358 10359 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 23 Feb 2016 11:28:18 +0100 10360 10361 ubuntu-snappy (1.7.2+20160204ubuntu1) xenial; urgency=medium 10362 10363 * New git snapshot: 10364 - integration-tests: fix the rollback error messages 10365 - integration-test: use the common cli method when trying to install 10366 an unexisting snap 10367 - integration-tests: rename snap find test 10368 - daemon: refactor makeErrorResponder() 10369 - integration: add regression test for LP: #1541317 10370 - integration-tests: reenable TestRollbackMustRebootToOtherVersion 10371 - asserts: introduce "snap asserts" subcmd to show assertions in the 10372 system db 10373 - docs: fix parameter style 10374 - daemon: use underscore in JSON interface 10375 - client: add skills API 10376 - asserts,docs/rest.md: change Encoder not to add extra newlines at 10377 the end of the stream 10378 - integration-tests: "snappy search" is no more, its "snap search" 10379 now 10380 - README, integration-tests/tests: chmod snapd.socket after manual 10381 start. 10382 - snappy: add default security profile if none is specified 10383 - skills,daemon: add REST APIs for skills 10384 - cmd/snap, cmd/snappy: move from `snappy search` to `snap find`. 10385 - The first step towards REST world domination: search is now done 10386 via 10387 - debian: remove obsolete /etc/grub.d/09_snappy on upgrade 10388 - skills: provide different security snippets for skill and slot 10389 side 10390 - osutil: make go vet happy again 10391 - snappy,systemd: use Type field in systemd.ServiceDescription 10392 - skills: add basic grant-revoke methods 10393 - client,daemon,asserts: expose the ability to query assertions in 10394 the system db 10395 - skills: add basic methods for slot handling 10396 - snappy,daemon,snap: move "Uninstall" into overlord 10397 - snappy: move SnapFile.Install() into Overlord.Install() 10398 - integration-tests: re-enable some failover tests 10399 - client: remove snaps 10400 - asserts: uniform searching across trusted (account keys) and main 10401 backstore 10402 - asserts: introduce Decoder to parse streams of assertions and 10403 Encoder to build them 10404 - client: filter snaps with a search query 10405 - client: pass query as well as path in client internals 10406 - skills: provide different security snippets for skill and slot 10407 side 10408 - snappy: refactor snapYaml to remove methods on snapYaml type 10409 - snappy: remove unused variable from test 10410 - skills: add basic methods for skill handing 10411 - snappy: remove support for meta/package.yaml and implement new 10412 meta/snap.yaml 10413 - snappy: add new overlord type responsible for 10414 Installed/Install/Uninstall/SetActive and stub it out 10415 - skills: add basic methods for type handling 10416 - daemon, snappy: add find (aka search) 10417 - client: filter snaps by type 10418 - skills: tweak valid names and error messages 10419 - skills: add special skill type for testing 10420 - cmd/snapd,daemon: filter snaps by type 10421 - partition: remove obsolete uEnv.txt 10422 - skills: add Type interface 10423 - integration-tests: fix the bootloader path 10424 - asserts: introduce a memory backed assertion backstore 10425 - integration-tests: get name of OS snap from bootloader 10426 - cmd/snapd,daemon: filter snaps by source 10427 - asserts,daemon: bump some copyright years for things that have 10428 been touched in the new year 10429 - skills: add the initial Repository type 10430 - skills: add a name validation function 10431 - client: filter snaps by source 10432 - snappy: unmount the squashfs snap again if it fails to install 10433 - snap: make a copy of the search uri before mutating it 10434 Closes: LP#1537005 10435 - cmd/snap,client,daemon,asserts: introduce "assert " snap 10436 subcommand 10437 - cmd/snappy, snappy: fix failover handling of the "active" 10438 kernel/os snap 10439 - daemon, client, docs/rest.md, snapd integration tests: move to the 10440 new error response 10441 - asserts: change Backstore interface, backstores can now access 10442 primary key names from types 10443 - asserts: make AssertionType into a real struct exposing the 10444 metadata Name and PrimaryKey 10445 - caps: improve bool-file sanitization 10446 - asserts: fixup toolbelt to use exposed key ID. 10447 - client: return by reference rather than by value 10448 - asserts: exported filesystem backstores + explicit backstores 10449 10450 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 04 Feb 2016 16:35:31 +0100 10451 10452 ubuntu-snappy (1.7.2+20160113ubuntu1) xenial; urgency=medium 10453 10454 * New git snapshot 10455 10456 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 13 Jan 2016 11:25:40 +0100 10457 10458 ubuntu-snappy (1.7.2ubuntu1) xenial; urgency=medium 10459 10460 * New upstream release: 10461 - bin-path integration 10462 - assertions/capability work 10463 - fix squashfs based snap building 10464 10465 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 04 Dec 2015 08:46:35 +0100 10466 10467 ubuntu-snappy (1.7.1ubuntu1) xenial; urgency=medium 10468 10469 * New upstream release: 10470 - fix dependencies 10471 - fix armhf builds 10472 10473 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 02 Dec 2015 07:46:07 +0100 10474 10475 ubuntu-snappy (1.7ubuntu1) xenial; urgency=medium 10476 10477 * New upstream release: 10478 - kernel/os snap support 10479 - squashfs snap support 10480 - initial capabilities work 10481 - initial assertitions work 10482 - rest API support 10483 10484 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 18 Nov 2015 19:59:51 +0100 10485 10486 ubuntu-snappy (1.6ubuntu1) wily; urgency=medium 10487 10488 * New upstream release, including the following changes: 10489 - Fix hwaccess for gpio (LP: #1493389, LP: #1488618) 10490 - Fix handleAssets name normalization 10491 - Run boot-ok job late (LP: #1476129) 10492 - Add support for systemd socket files 10493 - Add "snappy service" command 10494 - Documentation improvements 10495 - Many test improvements (unit and integration) 10496 - Override sideload versions 10497 - Go1.5 fixes 10498 - Add i18n 10499 - Add man-page 10500 - Add .snapignore 10501 - Run services that uses external ports only after the network is up 10502 - Bufix in Synbootloader (LP: 1474125) 10503 - Use uboot.env for boot state tracking 10504 10505 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 09 Sep 2015 14:20:22 +0200 10506 10507 ubuntu-snappy (1.5ubuntu1) wily; urgency=medium 10508 10509 * New upstream release, including the following changes: 10510 - Use O_TRUNC when copying files 10511 - Added path redefinition to include test's binaries location 10512 - Don't run update-grub, instead use grub.cfg from the oem 10513 package 10514 - Do network configuration from first boot 10515 - zero size systemd of new partition made executable to 10516 prevent unrecoverable boot failure 10517 - Close downloaded files 10518 10519 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Mon, 06 Jul 2015 15:14:37 -0300 10520 10521 ubuntu-snappy (1.4ubuntu1) wily; urgency=medium 10522 10523 * New upstream release, including the following changes: 10524 - Allow to run the integration tests using snappy from branch 10525 - Add CopyFileOverwrite flag and behaviour to helpers.CopyFile 10526 - add a bunch of missing i18n.G() now that we have gettext 10527 - Generate only the translators comments that start with 10528 TRANSLATORS 10529 - Try both clickpkg and snappypkg when dropping privs 10530 10531 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Thu, 02 Jul 2015 16:21:53 -0300 10532 10533 ubuntu-snappy (1.3ubuntu1) wily; urgency=medium 10534 10535 * New upstream release, including the following changes: 10536 - gettext support 10537 - use snappypkg user for the installed snaps 10538 - switch to system-image-3.x as the system-image backend 10539 - more reliable developer mode detection 10540 10541 -- Michael Vogt <michael.vogt@ubuntu.com> Wed, 01 Jul 2015 10:37:05 +0200 10542 10543 ubuntu-snappy (1.2-0ubuntu1) wily; urgency=medium 10544 10545 * New upstream release, including the following changes: 10546 - Consider the root directory when installing and removing policies 10547 - In the uboot TestHandleAssetsNoHardwareYaml, patch the cache dir 10548 before creating the partition type 10549 - In the PartitionTestSuite, remove the unnecessary patches for 10550 defaultCacheDir 10551 - Fix the help output of "snappy install -h" 10552 10553 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Wed, 17 Jun 2015 11:42:47 -0300 10554 10555 ubuntu-snappy (1.1.2-0ubuntu1) wily; urgency=medium 10556 10557 * New upstream release, including the following changes: 10558 - Remove compatibility for click-bin-path in generated exec-wrappers 10559 - Release the readme.md after parsing it 10560 10561 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Thu, 11 Jun 2015 23:42:49 -0300 10562 10563 ubuntu-snappy (1.1.1-0ubuntu1) wily; urgency=medium 10564 10565 * New upstream release, including the following changes: 10566 - Set all app services to restart on failure 10567 - Fixes the missing oauth quoting and makes the code a bit nicer 10568 - Added integrate() to set Integration to default values needed for 10569 integration 10570 - Moved setActivateClick to be a method of SnapPart 10571 - Make unsetActiveClick a method of SnapPart 10572 - Check the package.yaml for the required fields 10573 - Integrate lp:snappy/selftest branch into snappy itself 10574 - API to record information about the image and to check if the kernel was 10575 sideloaded. 10576 - Factor out update from cmd 10577 - Continue updating when a sideload error is returned 10578 10579 -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Wed, 10 Jun 2015 15:54:12 -0300 10580 10581 ubuntu-snappy (1.1-0ubuntu1) wily; urgency=low 10582 10583 * New wily upload with fix for go 1.4 syscall.Setgid() breakage 10584 10585 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 09 Jun 2015 10:02:04 +0200 10586 10587 ubuntu-snappy (1.0.1-0ubuntu1) vivid; urgency=low 10588 10589 * fix symlink unpacking 10590 * fix typo in apparmor rules generation 10591 10592 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 23 Apr 2015 16:09:56 +0200 10593 10594 ubuntu-snappy (1.0-0ubuntu1) vivid; urgency=low 10595 10596 * 15.04 archive upload 10597 10598 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 23 Apr 2015 11:08:22 +0200 10599 10600 ubuntu-snappy (0.1.2-0ubuntu1) vivid; urgency=medium 10601 10602 * initial ubuntu archive upload 10603 10604 -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 13 Apr 2015 22:48:13 -0500 10605 10606 ubuntu-snappy (0.1.1-0ubuntu1) vivid; urgency=low 10607 10608 * new snapshot 10609 10610 -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 12 Feb 2015 13:51:22 +0100 10611 10612 ubuntu-snappy (0.1-0ubuntu1) vivid; urgency=medium 10613 10614 * Initial packaging 10615 10616 -- Sergio Schvezov <sergio.schvezov@canonical.com> Fri, 06 Feb 2015 02:25:43 -0200