github.com/hugh712/snapd@v0.0.0-20200910133618-1a99902bd583/packaging/fedora/snapd.spec (about) 1 # With Fedora, nothing is bundled. For everything else, bundling is used. 2 # To use bundled stuff, use "--with vendorized" on rpmbuild 3 %if 0%{?fedora} 4 %bcond_with vendorized 5 %else 6 %bcond_without vendorized 7 %endif 8 9 # With Amazon Linux 2+, we're going to provide the /snap symlink by default, 10 # since classic snaps currently require it... :( 11 %if 0%{?amzn} >= 2 12 %bcond_without snap_symlink 13 %else 14 %bcond_with snap_symlink 15 %endif 16 17 # A switch to allow building the package with support for testkeys which 18 # are used for the spread test suite of snapd. 19 %bcond_with testkeys 20 21 %global with_devel 1 22 %global with_debug 1 23 %global with_check 0 24 %global with_unit_test 0 25 %global with_test_keys 0 26 %global with_selinux 1 27 28 # For the moment, we don't support all golang arches... 29 %global with_goarches 0 30 31 # Set if multilib is enabled for supported arches 32 %ifarch x86_64 aarch64 %{power64} s390x 33 %global with_multilib 1 34 %endif 35 36 %if ! %{with vendorized} 37 %global with_bundled 0 38 %else 39 %global with_bundled 1 40 %endif 41 42 %if ! %{with testkeys} 43 %global with_test_keys 0 44 %else 45 %global with_test_keys 1 46 %endif 47 48 %if 0%{?with_debug} 49 %global _dwz_low_mem_die_limit 0 50 %else 51 %global debug_package %{nil} 52 %endif 53 54 %global provider github 55 %global provider_tld com 56 %global project snapcore 57 %global repo snapd 58 # https://github.com/snapcore/snapd 59 %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} 60 %global import_path %{provider_prefix} 61 62 %global snappy_svcs snapd.service snapd.socket snapd.autoimport.service snapd.seeded.service 63 %global snappy_user_svcs snapd.session-agent.socket 64 65 # Until we have a way to add more extldflags to gobuild macro... 66 %if 0%{?fedora} || 0%{?rhel} >= 8 67 # buildmode PIE triggers external linker consumes -extldflags 68 %define gobuild_static(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags -static'" -a -v -x %{?**}; 69 %endif 70 %if 0%{?rhel} == 7 71 # trigger external linker manually, otherwise -extldflags have no meaning 72 %define gobuild_static(o:) go build -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags -static'" -a -v -x %{?**}; 73 %endif 74 75 # These macros are missing BUILDTAGS in RHEL 8 76 %if 0%{?rhel} == 8 77 %define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**}; 78 %endif 79 80 # These macros are not defined in RHEL 7 81 %if 0%{?rhel} == 7 82 %define gobuild(o:) go build -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags'" -a -v -x %{?**}; 83 %define gotest() go test -compiler gc -ldflags "${LDFLAGS:-}" %{?**}; 84 %endif 85 86 # Compat path macros 87 %{!?_environmentdir: %global _environmentdir %{_prefix}/lib/environment.d} 88 %{!?_systemdgeneratordir: %global _systemdgeneratordir %{_prefix}/lib/systemd/system-generators} 89 %{!?_systemd_system_env_generator_dir: %global _systemd_system_env_generator_dir %{_prefix}/lib/systemd/system-environment-generators} 90 91 # Fedora selinux-policy includes 'map' permission on a 'file' class. However, 92 # Amazon Linux 2 does not have the updated policy containing the fix for 93 # https://bugzilla.redhat.com/show_bug.cgi?id=1574383. 94 # For now disable SELinux on Amazon Linux 2 until it's fixed. 95 %if 0%{?amzn2} == 1 96 %global with_selinux 0 97 %endif 98 99 Name: snapd 100 Version: 2.46.1 101 Release: 0%{?dist} 102 Summary: A transactional software package manager 103 License: GPLv3 104 URL: https://%{provider_prefix} 105 Source0: https://%{provider_prefix}/releases/download/%{version}/%{name}_%{version}.no-vendor.tar.xz 106 Source1: https://%{provider_prefix}/releases/download/%{version}/%{name}_%{version}.only-vendor.tar.xz 107 108 %if 0%{?with_goarches} 109 # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required 110 ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} 111 %else 112 # Verified arches from snapd upstream 113 ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le s390x 114 %endif 115 116 # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. 117 BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang >= 1.9} 118 BuildRequires: systemd 119 %{?systemd_requires} 120 121 Requires: snap-confine%{?_isa} = %{version}-%{release} 122 Requires: squashfs-tools 123 124 %if 0%{?rhel} && 0%{?rhel} < 8 125 # Rich dependencies not available, always pull in squashfuse 126 # snapd will use squashfs.ko instead of squashfuse if it's on the system 127 # NOTE: Amazon Linux 2 does not have squashfuse, squashfs.ko is part of the kernel package 128 %if ! 0%{?amzn2} 129 Requires: squashfuse 130 Requires: fuse 131 %endif 132 %else 133 # snapd will use squashfuse in the event that squashfs.ko isn't available (cloud instances, containers, etc.) 134 Requires: ((squashfuse and fuse) or kmod(squashfs.ko)) 135 %endif 136 137 # bash-completion owns /usr/share/bash-completion/completions 138 Requires: bash-completion 139 140 %if 0%{?with_selinux} 141 # Force the SELinux module to be installed 142 Requires: %{name}-selinux = %{version}-%{release} 143 %endif 144 145 %if 0%{?fedora} && 0%{?fedora} < 30 146 # snapd-login-service is no more 147 # Note: Remove when F29 is EOL 148 Obsoletes: %{name}-login-service < 1.33 149 Provides: %{name}-login-service = 1.33 150 Provides: %{name}-login-service%{?_isa} = 1.33 151 %endif 152 153 %if ! 0%{?with_bundled} 154 BuildRequires: golang(github.com/boltdb/bolt) 155 BuildRequires: golang(github.com/coreos/go-systemd/activation) 156 BuildRequires: golang(github.com/godbus/dbus) 157 BuildRequires: golang(github.com/godbus/dbus/introspect) 158 BuildRequires: golang(github.com/gorilla/mux) 159 BuildRequires: golang(github.com/jessevdk/go-flags) 160 BuildRequires: golang(github.com/juju/ratelimit) 161 BuildRequires: golang(github.com/kr/pretty) 162 BuildRequires: golang(github.com/kr/text) 163 BuildRequires: golang(github.com/mvo5/goconfigparser) 164 BuildRequires: golang(github.com/seccomp/libseccomp-golang) 165 BuildRequires: golang(github.com/snapcore/go-gettext) 166 BuildRequires: golang(golang.org/x/crypto/openpgp/armor) 167 BuildRequires: golang(golang.org/x/crypto/openpgp/packet) 168 BuildRequires: golang(golang.org/x/crypto/sha3) 169 BuildRequires: golang(golang.org/x/crypto/ssh/terminal) 170 BuildRequires: golang(golang.org/x/xerrors) 171 BuildRequires: golang(golang.org/x/xerrors/internal) 172 BuildRequires: golang(gopkg.in/check.v1) 173 BuildRequires: golang(gopkg.in/macaroon.v1) 174 BuildRequires: golang(gopkg.in/mgo.v2/bson) 175 BuildRequires: golang(gopkg.in/retry.v1) 176 BuildRequires: golang(gopkg.in/tomb.v2) 177 BuildRequires: golang(gopkg.in/yaml.v2) 178 %endif 179 180 %description 181 Snappy is a modern, cross-distribution, transactional package manager 182 designed for working with self-contained, immutable packages. 183 184 %package -n snap-confine 185 Summary: Confinement system for snap applications 186 License: GPLv3 187 BuildRequires: autoconf 188 BuildRequires: automake 189 BuildRequires: libtool 190 BuildRequires: gcc 191 BuildRequires: gettext 192 BuildRequires: gnupg 193 BuildRequires: pkgconfig(glib-2.0) 194 BuildRequires: pkgconfig(libcap) 195 BuildRequires: pkgconfig(libseccomp) 196 %if 0%{?with_selinux} 197 BuildRequires: pkgconfig(libselinux) 198 %endif 199 BuildRequires: pkgconfig(libudev) 200 BuildRequires: pkgconfig(systemd) 201 BuildRequires: pkgconfig(udev) 202 BuildRequires: xfsprogs-devel 203 BuildRequires: glibc-static 204 %if ! 0%{?rhel} 205 BuildRequires: libseccomp-static 206 %endif 207 BuildRequires: valgrind 208 BuildRequires: %{_bindir}/rst2man 209 %if 0%{?fedora} 210 # ShellCheck in EPEL is too old... 211 BuildRequires: %{_bindir}/shellcheck 212 %endif 213 214 # Ensures older version from split packaging is replaced 215 Obsoletes: snap-confine < 2.19 216 217 %description -n snap-confine 218 This package is used internally by snapd to apply confinement to 219 the started snap applications. 220 221 %if 0%{?with_selinux} 222 %package selinux 223 Summary: SELinux module for snapd 224 License: GPLv2+ 225 BuildArch: noarch 226 BuildRequires: selinux-policy, selinux-policy-devel 227 Requires(post): selinux-policy-base >= %{_selinux_policy_version} 228 Requires(post): policycoreutils 229 %if 0%{?rhel} == 7 230 Requires(post): policycoreutils-python 231 %else 232 Requires(post): policycoreutils-python-utils 233 %endif 234 Requires(pre): libselinux-utils 235 Requires(post): libselinux-utils 236 237 %description selinux 238 This package provides the SELinux policy module to ensure snapd 239 runs properly under an environment with SELinux enabled. 240 %endif 241 242 %if 0%{?with_devel} 243 %package devel 244 Summary: Development files for %{name} 245 BuildArch: noarch 246 247 %if 0%{?with_check} && ! 0%{?with_bundled} 248 %endif 249 250 %if ! 0%{?with_bundled} 251 Requires: golang(github.com/boltdb/bolt) 252 Requires: golang(github.com/coreos/go-systemd/activation) 253 Requires: golang(github.com/godbus/dbus) 254 Requires: golang(github.com/godbus/dbus/introspect) 255 Requires: golang(github.com/gorilla/mux) 256 Requires: golang(github.com/jessevdk/go-flags) 257 Requires: golang(github.com/juju/ratelimit) 258 Requires: golang(github.com/kr/pretty) 259 Requires: golang(github.com/kr/text) 260 Requires: golang(github.com/mvo5/goconfigparser) 261 Requires: golang(github.com/seccomp/libseccomp-golang) 262 Requires: golang(github.com/snapcore/go-gettext) 263 Requires: golang(golang.org/x/crypto/openpgp/armor) 264 Requires: golang(golang.org/x/crypto/openpgp/packet) 265 Requires: golang(golang.org/x/crypto/sha3) 266 Requires: golang(golang.org/x/crypto/ssh/terminal) 267 Requires: golang(golang.org/x/xerrors) 268 Requires: golang(golang.org/x/xerrors/internal) 269 Requires: golang(gopkg.in/check.v1) 270 Requires: golang(gopkg.in/macaroon.v1) 271 Requires: golang(gopkg.in/mgo.v2/bson) 272 Requires: golang(gopkg.in/retry.v1) 273 Requires: golang(gopkg.in/tomb.v2) 274 Requires: golang(gopkg.in/yaml.v2) 275 %else 276 # These Provides are unversioned because the sources in 277 # the bundled tarball are unversioned (they go by git commit) 278 # *sigh*... I hate golang... 279 Provides: bundled(golang(github.com/snapcore/bolt)) 280 Provides: bundled(golang(github.com/coreos/go-systemd/activation)) 281 Provides: bundled(golang(github.com/godbus/dbus)) 282 Provides: bundled(golang(github.com/godbus/dbus/introspect)) 283 Provides: bundled(golang(github.com/gorilla/mux)) 284 Provides: bundled(golang(github.com/jessevdk/go-flags)) 285 Provides: bundled(golang(github.com/juju/ratelimit)) 286 Provides: bundled(golang(github.com/kr/pretty)) 287 Provides: bundled(golang(github.com/kr/text)) 288 Provides: bundled(golang(github.com/mvo5/goconfigparser)) 289 Provides: bundled(golang(github.com/mvo5/libseccomp-golang)) 290 Provides: bundled(golang(github.com/snapcore/go-gettext)) 291 Provides: bundled(golang(golang.org/x/crypto/openpgp/armor)) 292 Provides: bundled(golang(golang.org/x/crypto/openpgp/packet)) 293 Provides: bundled(golang(golang.org/x/crypto/sha3)) 294 Provides: bundled(golang(golang.org/x/crypto/ssh/terminal)) 295 Provides: bundled(golang(golang.org/x/xerrors)) 296 Provides: bundled(golang(golang.org/x/xerrors/internal)) 297 Provides: bundled(golang(gopkg.in/check.v1)) 298 Provides: bundled(golang(gopkg.in/macaroon.v1)) 299 Provides: bundled(golang(gopkg.in/mgo.v2/bson)) 300 Provides: bundled(golang(gopkg.in/retry.v1)) 301 Provides: bundled(golang(gopkg.in/tomb.v2)) 302 Provides: bundled(golang(gopkg.in/yaml.v2)) 303 %endif 304 305 # Generated by gofed 306 Provides: golang(%{import_path}/advisor) = %{version}-%{release} 307 Provides: golang(%{import_path}/arch) = %{version}-%{release} 308 Provides: golang(%{import_path}/asserts) = %{version}-%{release} 309 Provides: golang(%{import_path}/asserts/assertstest) = %{version}-%{release} 310 Provides: golang(%{import_path}/asserts/signtool) = %{version}-%{release} 311 Provides: golang(%{import_path}/asserts/snapasserts) = %{version}-%{release} 312 Provides: golang(%{import_path}/asserts/sysdb) = %{version}-%{release} 313 Provides: golang(%{import_path}/asserts/systestkeys) = %{version}-%{release} 314 Provides: golang(%{import_path}/boot) = %{version}-%{release} 315 Provides: golang(%{import_path}/boot/boottest) = %{version}-%{release} 316 Provides: golang(%{import_path}/bootloader) = %{version}-%{release} 317 Provides: golang(%{import_path}/bootloader/androidbootenv) = %{version}-%{release} 318 Provides: golang(%{import_path}/bootloader/grubenv) = %{version}-%{release} 319 Provides: golang(%{import_path}/bootloader/ubootenv) = %{version}-%{release} 320 Provides: golang(%{import_path}/client) = %{version}-%{release} 321 Provides: golang(%{import_path}/cmd) = %{version}-%{release} 322 Provides: golang(%{import_path}/cmd/cmdutil) = %{version}-%{release} 323 Provides: golang(%{import_path}/cmd/snap-seccomp/syscalls) = %{version}-%{release} 324 Provides: golang(%{import_path}/cmd/snaplock) = %{version}-%{release} 325 Provides: golang(%{import_path}/daemon) = %{version}-%{release} 326 Provides: golang(%{import_path}/dirs) = %{version}-%{release} 327 Provides: golang(%{import_path}/errtracker) = %{version}-%{release} 328 Provides: golang(%{import_path}/features) = %{version}-%{release} 329 Provides: golang(%{import_path}/gadget) = %{version}-%{release} 330 Provides: golang(%{import_path}/httputil) = %{version}-%{release} 331 Provides: golang(%{import_path}/i18n) = %{version}-%{release} 332 Provides: golang(%{import_path}/image) = %{version}-%{release} 333 Provides: golang(%{import_path}/interfaces) = %{version}-%{release} 334 Provides: golang(%{import_path}/interfaces/apparmor) = %{version}-%{release} 335 Provides: golang(%{import_path}/interfaces/backends) = %{version}-%{release} 336 Provides: golang(%{import_path}/interfaces/builtin) = %{version}-%{release} 337 Provides: golang(%{import_path}/interfaces/dbus) = %{version}-%{release} 338 Provides: golang(%{import_path}/interfaces/hotplug) = %{version}-%{release} 339 Provides: golang(%{import_path}/interfaces/ifacetest) = %{version}-%{release} 340 Provides: golang(%{import_path}/interfaces/kmod) = %{version}-%{release} 341 Provides: golang(%{import_path}/interfaces/mount) = %{version}-%{release} 342 Provides: golang(%{import_path}/interfaces/policy) = %{version}-%{release} 343 Provides: golang(%{import_path}/interfaces/seccomp) = %{version}-%{release} 344 Provides: golang(%{import_path}/interfaces/systemd) = %{version}-%{release} 345 Provides: golang(%{import_path}/interfaces/udev) = %{version}-%{release} 346 Provides: golang(%{import_path}/interfaces/utils) = %{version}-%{release} 347 Provides: golang(%{import_path}/jsonutil) = %{version}-%{release} 348 Provides: golang(%{import_path}/jsonutil/safejson) = %{version}-%{release} 349 Provides: golang(%{import_path}/logger) = %{version}-%{release} 350 Provides: golang(%{import_path}/metautil) = %{version}-%{release} 351 Provides: golang(%{import_path}/netutil) = %{version}-%{release} 352 Provides: golang(%{import_path}/osutil) = %{version}-%{release} 353 Provides: golang(%{import_path}/osutil/squashfs) = %{version}-%{release} 354 Provides: golang(%{import_path}/osutil/strace) = %{version}-%{release} 355 Provides: golang(%{import_path}/osutil/sys) = %{version}-%{release} 356 Provides: golang(%{import_path}/osutil/udev/crawler) = %{version}-%{release} 357 Provides: golang(%{import_path}/osutil/udev/netlink) = %{version}-%{release} 358 Provides: golang(%{import_path}/overlord) = %{version}-%{release} 359 Provides: golang(%{import_path}/overlord/assertstate) = %{version}-%{release} 360 Provides: golang(%{import_path}/overlord/auth) = %{version}-%{release} 361 Provides: golang(%{import_path}/overlord/cmdstate) = %{version}-%{release} 362 Provides: golang(%{import_path}/overlord/configstate) = %{version}-%{release} 363 Provides: golang(%{import_path}/overlord/configstate/config) = %{version}-%{release} 364 Provides: golang(%{import_path}/overlord/configstate/configcore) = %{version}-%{release} 365 Provides: golang(%{import_path}/overlord/configstate/proxyconf) = %{version}-%{release} 366 Provides: golang(%{import_path}/overlord/configstate/settings) = %{version}-%{release} 367 Provides: golang(%{import_path}/overlord/devicestate) = %{version}-%{release} 368 Provides: golang(%{import_path}/overlord/devicestate/devicestatetest) = %{version}-%{release} 369 Provides: golang(%{import_path}/overlord/hookstate) = %{version}-%{release} 370 Provides: golang(%{import_path}/overlord/hookstate/ctlcmd) = %{version}-%{release} 371 Provides: golang(%{import_path}/overlord/hookstate/hooktest) = %{version}-%{release} 372 Provides: golang(%{import_path}/overlord/ifacestate) = %{version}-%{release} 373 Provides: golang(%{import_path}/overlord/ifacestate/ifacerepo) = %{version}-%{release} 374 Provides: golang(%{import_path}/overlord/ifacestate/udevmonitor) = %{version}-%{release} 375 Provides: golang(%{import_path}/overlord/patch) = %{version}-%{release} 376 Provides: golang(%{import_path}/overlord/servicestate) = %{version}-%{release} 377 Provides: golang(%{import_path}/overlord/snapshotstate) = %{version}-%{release} 378 Provides: golang(%{import_path}/overlord/snapshotstate/backend) = %{version}-%{release} 379 Provides: golang(%{import_path}/overlord/snapstate) = %{version}-%{release} 380 Provides: golang(%{import_path}/overlord/snapstate/backend) = %{version}-%{release} 381 Provides: golang(%{import_path}/overlord/standby) = %{version}-%{release} 382 Provides: golang(%{import_path}/overlord/state) = %{version}-%{release} 383 Provides: golang(%{import_path}/overlord/storecontext) = %{version}-%{release} 384 Provides: golang(%{import_path}/polkit) = %{version}-%{release} 385 Provides: golang(%{import_path}/progress) = %{version}-%{release} 386 Provides: golang(%{import_path}/progress/progresstest) = %{version}-%{release} 387 Provides: golang(%{import_path}/release) = %{version}-%{release} 388 Provides: golang(%{import_path}/sandbox/seccomp) = %{version}-%{release} 389 Provides: golang(%{import_path}/sanity) = %{version}-%{release} 390 Provides: golang(%{import_path}/selinux) = %{version}-%{release} 391 Provides: golang(%{import_path}/snap) = %{version}-%{release} 392 Provides: golang(%{import_path}/snap/naming) = %{version}-%{release} 393 Provides: golang(%{import_path}/snap/pack) = %{version}-%{release} 394 Provides: golang(%{import_path}/snap/snapdir) = %{version}-%{release} 395 Provides: golang(%{import_path}/snap/snapenv) = %{version}-%{release} 396 Provides: golang(%{import_path}/snap/snaptest) = %{version}-%{release} 397 Provides: golang(%{import_path}/snap/squashfs) = %{version}-%{release} 398 Provides: golang(%{import_path}/spdx) = %{version}-%{release} 399 Provides: golang(%{import_path}/store) = %{version}-%{release} 400 Provides: golang(%{import_path}/store/storetest) = %{version}-%{release} 401 Provides: golang(%{import_path}/strutil) = %{version}-%{release} 402 Provides: golang(%{import_path}/strutil/quantity) = %{version}-%{release} 403 Provides: golang(%{import_path}/strutil/shlex) = %{version}-%{release} 404 Provides: golang(%{import_path}/systemd) = %{version}-%{release} 405 Provides: golang(%{import_path}/tests/lib/fakestore/refresh) = %{version}-%{release} 406 Provides: golang(%{import_path}/tests/lib/fakestore/store) = %{version}-%{release} 407 Provides: golang(%{import_path}/testutil) = %{version}-%{release} 408 Provides: golang(%{import_path}/timeout) = %{version}-%{release} 409 Provides: golang(%{import_path}/timeutil) = %{version}-%{release} 410 Provides: golang(%{import_path}/timings) = %{version}-%{release} 411 Provides: golang(%{import_path}/userd) = %{version}-%{release} 412 Provides: golang(%{import_path}/userd/ui) = %{version}-%{release} 413 Provides: golang(%{import_path}/wrappers) = %{version}-%{release} 414 Provides: golang(%{import_path}/x11) = %{version}-%{release} 415 Provides: golang(%{import_path}/xdgopenproxy) = %{version}-%{release} 416 417 %description devel 418 This package contains library source intended for 419 building other packages which use import path with 420 %{import_path} prefix. 421 %endif 422 423 %if 0%{?with_unit_test} && 0%{?with_devel} 424 %package unit-test-devel 425 Summary: Unit tests for %{name} package 426 427 %if 0%{?with_check} 428 #Here comes all BuildRequires: PACKAGE the unit tests 429 #in %%check section need for running 430 %endif 431 432 # test subpackage tests code from devel subpackage 433 Requires: %{name}-devel = %{version}-%{release} 434 435 %description unit-test-devel 436 This package contains unit tests for project 437 providing packages with %{import_path} prefix. 438 %endif 439 440 %prep 441 %if ! 0%{?with_bundled} 442 %setup -q 443 # Ensure there's no bundled stuff accidentally leaking in... 444 rm -rf vendor/* 445 %else 446 # Extract each tarball properly 447 %setup -q -D -b 1 448 %endif 449 450 %build 451 # Generate version files 452 ./mkversion.sh "%{version}-%{release}" 453 454 # We don't want/need squashfuse in the rpm, as it's available in Fedora and EPEL 455 sed -e 's:_ "github.com/snapcore/squashfuse"::g' -i systemd/systemd.go 456 457 # Build snapd 458 mkdir -p src/github.com/snapcore 459 ln -s ../../../ src/github.com/snapcore/snapd 460 461 %if ! 0%{?with_bundled} 462 export GOPATH=$(pwd):%{gopath} 463 %else 464 export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath} 465 %endif 466 467 # see https://github.com/gofed/go-macros/blob/master/rpm/macros.d/macros.go-compilers-golang 468 BUILDTAGS= 469 %if 0%{?with_test_keys} 470 BUILDTAGS="withtestkeys nosecboot" 471 %else 472 BUILDTAGS="nosecboot" 473 %endif 474 475 %if ! 0%{?with_bundled} 476 # We don't need mvo5 fork for seccomp, as we have seccomp 2.3.x 477 sed -e "s:github.com/mvo5/libseccomp-golang:github.com/seccomp/libseccomp-golang:g" -i cmd/snap-seccomp/*.go 478 # We don't need the snapcore fork for bolt - it is just a fix on ppc 479 sed -e "s:github.com/snapcore/bolt:github.com/boltdb/bolt:g" -i advisor/*.go errtracker/*.go 480 %endif 481 482 # We have to build snapd first to prevent the build from 483 # building various things from the tree without additional 484 # set tags. 485 %gobuild -o bin/snapd $GOFLAGS %{import_path}/cmd/snapd 486 BUILDTAGS="${BUILDTAGS} nomanagers" 487 %gobuild -o bin/snap $GOFLAGS %{import_path}/cmd/snap 488 %gobuild -o bin/snap-failure $GOFLAGS %{import_path}/cmd/snap-failure 489 490 # To ensure things work correctly with base snaps, 491 # snap-exec, snap-update-ns, and snapctl need to be built statically 492 ( 493 %if 0%{?rhel} >= 8 494 # since 1.12.1, the go-toolset module is built with FIPS compliance that 495 # defaults to using libcrypto.so which gets loaded at runtime via dlopen(), 496 # disable that functionality for statically built binaries 497 BUILDTAGS="${BUILDTAGS} no_openssl" 498 %endif 499 %gobuild_static -o bin/snap-exec $GOFLAGS %{import_path}/cmd/snap-exec 500 %gobuild_static -o bin/snap-update-ns $GOFLAGS %{import_path}/cmd/snap-update-ns 501 %gobuild_static -o bin/snapctl $GOFLAGS %{import_path}/cmd/snapctl 502 ) 503 504 %if 0%{?rhel} 505 # There's no static link library for libseccomp in RHEL/CentOS... 506 sed -e "s/-Bstatic -lseccomp/-Bstatic/g" -i cmd/snap-seccomp/*.go 507 %endif 508 %gobuild -o bin/snap-seccomp $GOFLAGS %{import_path}/cmd/snap-seccomp 509 510 %if 0%{?with_selinux} 511 ( 512 %if 0%{?rhel} == 7 513 M4PARAM='-D distro_rhel7' 514 %endif 515 # Build SELinux module 516 cd ./data/selinux 517 # pass M4PARAM in env instead of as an override, so that make can still 518 # manipulate it freely, for more details see: 519 # https://www.gnu.org/software/make/manual/html_node/Override-Directive.html 520 M4PARAM="$M4PARAM" make SHARE="%{_datadir}" TARGETS="snappy" 521 ) 522 %endif 523 524 # Build snap-confine 525 pushd ./cmd 526 # FIXME This is a hack to get rid of a patch we have to ship for the 527 # Fedora package at the moment as /usr/lib/rpm/redhat/redhat-hardened-ld 528 # accidentially adds -pie for static executables. See 529 # https://bugzilla.redhat.com/show_bug.cgi?id=1343892 for a few more 530 # details. To prevent this from happening we drop the linker 531 # script and define our LDFLAGS manually for now. 532 export LDFLAGS="-Wl,-z,relro -z now" 533 autoreconf --force --install --verbose 534 # FIXME: add --enable-caps-over-setuid as soon as possible (setuid discouraged!) 535 %configure \ 536 --disable-apparmor \ 537 %if 0%{?with_selinux} 538 --enable-selinux \ 539 %endif 540 --libexecdir=%{_libexecdir}/snapd/ \ 541 --enable-nvidia-biarch \ 542 %{?with_multilib:--with-32bit-libdir=%{_prefix}/lib} \ 543 --with-snap-mount-dir=%{_sharedstatedir}/snapd/snap \ 544 --enable-merged-usr 545 546 %make_build 547 popd 548 549 # Build systemd units, dbus services, and env files 550 pushd ./data 551 make BINDIR="%{_bindir}" LIBEXECDIR="%{_libexecdir}" \ 552 SYSTEMDSYSTEMUNITDIR="%{_unitdir}" \ 553 SNAP_MOUNT_DIR="%{_sharedstatedir}/snapd/snap" \ 554 SNAPD_ENVIRONMENT_FILE="%{_sysconfdir}/sysconfig/snapd" 555 popd 556 557 %install 558 install -d -p %{buildroot}%{_bindir} 559 install -d -p %{buildroot}%{_libexecdir}/snapd 560 install -d -p %{buildroot}%{_mandir}/man8 561 install -d -p %{buildroot}%{_environmentdir} 562 install -d -p %{buildroot}%{_systemdgeneratordir} 563 install -d -p %{buildroot}%{_systemd_system_env_generator_dir} 564 install -d -p %{buildroot}%{_unitdir} 565 install -d -p %{buildroot}%{_sysconfdir}/profile.d 566 install -d -p %{buildroot}%{_sysconfdir}/sysconfig 567 install -d -p %{buildroot}%{_sharedstatedir}/snapd/assertions 568 install -d -p %{buildroot}%{_sharedstatedir}/snapd/cookie 569 install -d -p %{buildroot}%{_sharedstatedir}/snapd/dbus-1/services 570 install -d -p %{buildroot}%{_sharedstatedir}/snapd/dbus-1/system-services 571 install -d -p %{buildroot}%{_sharedstatedir}/snapd/desktop/applications 572 install -d -p %{buildroot}%{_sharedstatedir}/snapd/device 573 install -d -p %{buildroot}%{_sharedstatedir}/snapd/hostfs 574 install -d -p %{buildroot}%{_sharedstatedir}/snapd/inhibit 575 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/gl 576 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/gl32 577 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/glvnd 578 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/vulkan 579 install -d -p %{buildroot}%{_sharedstatedir}/snapd/mount 580 install -d -p %{buildroot}%{_sharedstatedir}/snapd/seccomp/bpf 581 install -d -p %{buildroot}%{_sharedstatedir}/snapd/snaps 582 install -d -p %{buildroot}%{_sharedstatedir}/snapd/snap/bin 583 install -d -p %{buildroot}%{_localstatedir}/snap 584 install -d -p %{buildroot}%{_localstatedir}/cache/snapd 585 install -d -p %{buildroot}%{_datadir}/polkit-1/actions 586 %if 0%{?with_selinux} 587 install -d -p %{buildroot}%{_datadir}/selinux/devel/include/contrib 588 install -d -p %{buildroot}%{_datadir}/selinux/packages 589 %endif 590 591 # Install snap and snapd 592 install -p -m 0755 bin/snap %{buildroot}%{_bindir} 593 install -p -m 0755 bin/snap-exec %{buildroot}%{_libexecdir}/snapd 594 install -p -m 0755 bin/snap-failure %{buildroot}%{_libexecdir}/snapd 595 install -p -m 0755 bin/snapd %{buildroot}%{_libexecdir}/snapd 596 install -p -m 0755 bin/snap-update-ns %{buildroot}%{_libexecdir}/snapd 597 install -p -m 0755 bin/snap-seccomp %{buildroot}%{_libexecdir}/snapd 598 # Ensure /usr/bin/snapctl is a symlink to /usr/libexec/snapd/snapctl 599 install -p -m 0755 bin/snapctl %{buildroot}%{_libexecdir}/snapd/snapctl 600 ln -sf %{_libexecdir}/snapd/snapctl %{buildroot}%{_bindir}/snapctl 601 602 %if 0%{?with_selinux} 603 # Install SELinux module 604 install -p -m 0644 data/selinux/snappy.if %{buildroot}%{_datadir}/selinux/devel/include/contrib 605 install -p -m 0644 data/selinux/snappy.pp.bz2 %{buildroot}%{_datadir}/selinux/packages 606 %endif 607 608 # Install snap(8) man page 609 bin/snap help --man > %{buildroot}%{_mandir}/man8/snap.8 610 611 # Install the "info" data file with snapd version 612 install -m 644 -D data/info %{buildroot}%{_libexecdir}/snapd/info 613 614 # Install bash completion for "snap" 615 install -m 644 -D data/completion/bash/snap %{buildroot}%{_datadir}/bash-completion/completions/snap 616 install -m 644 -D data/completion/bash/complete.sh %{buildroot}%{_libexecdir}/snapd 617 install -m 644 -D data/completion/bash/etelpmoc.sh %{buildroot}%{_libexecdir}/snapd 618 # Install zsh completion for "snap" 619 install -d -p %{buildroot}%{_datadir}/zsh/site-functions 620 install -m 644 -D data/completion/zsh/_snap %{buildroot}%{_datadir}/zsh/site-functions/_snap 621 622 # Install snap-confine 623 pushd ./cmd 624 %make_install 625 # Undo the 0111 permissions, they are restored in the files section 626 chmod 0755 %{buildroot}%{_sharedstatedir}/snapd/void 627 # We don't use AppArmor 628 rm -rfv %{buildroot}%{_sysconfdir}/apparmor.d 629 # ubuntu-core-launcher is dead 630 rm -fv %{buildroot}%{_bindir}/ubuntu-core-launcher 631 popd 632 633 # Install all systemd and dbus units, and env files 634 pushd ./data 635 %make_install BINDIR="%{_bindir}" LIBEXECDIR="%{_libexecdir}" \ 636 SYSTEMDSYSTEMUNITDIR="%{_unitdir}" \ 637 SNAP_MOUNT_DIR="%{_sharedstatedir}/snapd/snap" \ 638 SNAPD_ENVIRONMENT_FILE="%{_sysconfdir}/sysconfig/snapd" 639 popd 640 641 %if 0%{?rhel} == 7 642 # Install kernel tweaks 643 # See: https://access.redhat.com/articles/3128691 644 install -m 644 -D data/sysctl/rhel7-snap.conf %{buildroot}%{_sysctldir}/99-snap.conf 645 %endif 646 647 # Remove snappy core specific units 648 rm -fv %{buildroot}%{_unitdir}/snapd.system-shutdown.service 649 rm -fv %{buildroot}%{_unitdir}/snapd.snap-repair.* 650 rm -fv %{buildroot}%{_unitdir}/snapd.core-fixup.* 651 rm -fv %{buildroot}%{_unitdir}/snapd.recovery-chooser-trigger.service 652 653 # Remove snappy core specific scripts 654 rm %{buildroot}%{_libexecdir}/snapd/snapd.core-fixup.sh 655 656 # Remove snapd apparmor service 657 rm -f %{buildroot}%{_unitdir}/snapd.apparmor.service 658 rm -f %{buildroot}%{_libexecdir}/snapd/snapd-apparmor 659 660 # Install Polkit configuration 661 install -m 644 -D data/polkit/io.snapcraft.snapd.policy %{buildroot}%{_datadir}/polkit-1/actions 662 663 # Disable re-exec by default 664 echo 'SNAP_REEXEC=0' > %{buildroot}%{_sysconfdir}/sysconfig/snapd 665 666 # Create state.json and the README file to be ghosted 667 touch %{buildroot}%{_sharedstatedir}/snapd/state.json 668 touch %{buildroot}%{_sharedstatedir}/snapd/snap/README 669 670 # When enabled, create a symlink for /snap to point to /var/lib/snapd/snap 671 %if %{with snap_symlink} 672 ln -sr %{buildroot}%{_sharedstatedir}/snapd/snap %{buildroot}/snap 673 %endif 674 675 # source codes for building projects 676 %if 0%{?with_devel} 677 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ 678 echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list 679 # find all *.go but no *_test.go files and generate devel.file-list 680 for file in $(find . -iname "*.go" -o -iname "*.s" \! -iname "*_test.go") ; do 681 echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list 682 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) 683 cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file 684 echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list 685 done 686 %endif 687 688 # testing files for this project 689 %if 0%{?with_unit_test} && 0%{?with_devel} 690 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ 691 # find all *_test.go files and generate unit-test.file-list 692 for file in $(find . -iname "*_test.go"); do 693 echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list 694 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) 695 cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file 696 echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list 697 done 698 699 # Install additional testdata 700 install -d %{buildroot}/%{gopath}/src/%{import_path}/cmd/snap/test-data/ 701 cp -pav cmd/snap/test-data/* %{buildroot}/%{gopath}/src/%{import_path}/cmd/snap/test-data/ 702 echo "%%{gopath}/src/%%{import_path}/cmd/snap/test-data" >> unit-test-devel.file-list 703 %endif 704 705 %if 0%{?with_devel} 706 sort -u -o devel.file-list devel.file-list 707 %endif 708 709 %check 710 for binary in snap-exec snap-update-ns snapctl; do 711 ldd bin/$binary | grep 'not a dynamic executable' 712 done 713 714 # snapd tests 715 %if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} 716 %if ! 0%{?with_bundled} 717 export GOPATH=%{buildroot}/%{gopath}:%{gopath} 718 %else 719 export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} 720 %endif 721 %gotest %{import_path}/... 722 %endif 723 724 # snap-confine tests (these always run!) 725 pushd ./cmd 726 make check 727 popd 728 729 %files 730 #define license tag if not already defined 731 %{!?_licensedir:%global license %doc} 732 %license COPYING 733 %doc README.md docs/* 734 %{_bindir}/snap 735 %{_bindir}/snapctl 736 %{_environmentdir}/990-snapd.conf 737 %if 0%{?rhel} == 7 738 %{_sysctldir}/99-snap.conf 739 %endif 740 %dir %{_libexecdir}/snapd 741 %{_libexecdir}/snapd/snapctl 742 %{_libexecdir}/snapd/snapd 743 %{_libexecdir}/snapd/snap-exec 744 %{_libexecdir}/snapd/snap-failure 745 %{_libexecdir}/snapd/info 746 %{_libexecdir}/snapd/snap-mgmt 747 %if 0%{?with_selinux} 748 %{_libexecdir}/snapd/snap-mgmt-selinux 749 %endif 750 %{_mandir}/man8/snap.8* 751 %{_datadir}/applications/snap-handle-link.desktop 752 %{_datadir}/bash-completion/completions/snap 753 %{_libexecdir}/snapd/complete.sh 754 %{_libexecdir}/snapd/etelpmoc.sh 755 %{_datadir}/zsh/site-functions/_snap 756 %{_libexecdir}/snapd/snapd.run-from-snap 757 %{_sysconfdir}/profile.d/snapd.sh 758 %{_mandir}/man8/snapd-env-generator.8* 759 %{_systemd_system_env_generator_dir}/snapd-env-generator 760 %{_unitdir}/snapd.socket 761 %{_unitdir}/snapd.service 762 %{_unitdir}/snapd.autoimport.service 763 %{_unitdir}/snapd.failure.service 764 %{_unitdir}/snapd.seeded.service 765 %{_userunitdir}/snapd.session-agent.service 766 %{_userunitdir}/snapd.session-agent.socket 767 %{_datadir}/dbus-1/services/io.snapcraft.Launcher.service 768 %{_datadir}/dbus-1/services/io.snapcraft.Settings.service 769 %{_datadir}/dbus-1/session.d/snapd.session-services.conf 770 %{_datadir}/dbus-1/system.d/snapd.system-services.conf 771 %{_datadir}/polkit-1/actions/io.snapcraft.snapd.policy 772 %{_sysconfdir}/xdg/autostart/snap-userd-autostart.desktop 773 %config(noreplace) %{_sysconfdir}/sysconfig/snapd 774 %dir %{_sharedstatedir}/snapd 775 %dir %{_sharedstatedir}/snapd/assertions 776 %dir %{_sharedstatedir}/snapd/cookie 777 %dir %{_sharedstatedir}/snapd/dbus-1 778 %dir %{_sharedstatedir}/snapd/dbus-1/services 779 %dir %{_sharedstatedir}/snapd/dbus-1/system-services 780 %dir %{_sharedstatedir}/snapd/desktop 781 %dir %{_sharedstatedir}/snapd/desktop/applications 782 %dir %{_sharedstatedir}/snapd/device 783 %dir %{_sharedstatedir}/snapd/hostfs 784 %dir %{_sharedstatedir}/snapd/inhibit 785 %dir %{_sharedstatedir}/snapd/lib 786 %dir %{_sharedstatedir}/snapd/lib/gl 787 %dir %{_sharedstatedir}/snapd/lib/gl32 788 %dir %{_sharedstatedir}/snapd/lib/glvnd 789 %dir %{_sharedstatedir}/snapd/lib/vulkan 790 %dir %{_sharedstatedir}/snapd/mount 791 %dir %{_sharedstatedir}/snapd/seccomp 792 %dir %{_sharedstatedir}/snapd/seccomp/bpf 793 %dir %{_sharedstatedir}/snapd/snaps 794 %dir %{_sharedstatedir}/snapd/snap 795 %ghost %dir %{_sharedstatedir}/snapd/snap/bin 796 %dir %{_localstatedir}/cache/snapd 797 %dir %{_localstatedir}/snap 798 %ghost %{_sharedstatedir}/snapd/state.json 799 %ghost %{_sharedstatedir}/snapd/snap/README 800 %if %{with snap_symlink} 801 /snap 802 %endif 803 # this is typically owned by zsh, but we do not want to explicitly require zsh 804 %dir %{_datadir}/zsh 805 %dir %{_datadir}/zsh/site-functions 806 807 %files -n snap-confine 808 %doc cmd/snap-confine/PORTING 809 %license COPYING 810 %dir %{_libexecdir}/snapd 811 # For now, we can't use caps 812 # FIXME: Switch to "%%attr(0755,root,root) %%caps(cap_sys_admin=pe)" asap! 813 %attr(4755,root,root) %{_libexecdir}/snapd/snap-confine 814 %{_libexecdir}/snapd/snap-device-helper 815 %{_libexecdir}/snapd/snap-discard-ns 816 %{_libexecdir}/snapd/snap-gdb-shim 817 %{_libexecdir}/snapd/snap-gdbserver-shim 818 %{_libexecdir}/snapd/snap-seccomp 819 %{_libexecdir}/snapd/snap-update-ns 820 %{_libexecdir}/snapd/system-shutdown 821 %{_mandir}/man8/snap-confine.8* 822 %{_mandir}/man8/snap-discard-ns.8* 823 %{_systemdgeneratordir}/snapd-generator 824 %attr(0111,root,root) %{_sharedstatedir}/snapd/void 825 826 %if 0%{?with_selinux} 827 %files selinux 828 %license data/selinux/COPYING 829 %doc data/selinux/README.md 830 %{_datadir}/selinux/packages/snappy.pp.bz2 831 %{_datadir}/selinux/devel/include/contrib/snappy.if 832 %endif 833 834 %if 0%{?with_devel} 835 %files devel -f devel.file-list 836 %license COPYING 837 %doc README.md 838 %dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} 839 %endif 840 841 %if 0%{?with_unit_test} && 0%{?with_devel} 842 %files unit-test-devel -f unit-test-devel.file-list 843 %license COPYING 844 %doc README.md 845 %endif 846 847 %post 848 %if 0%{?rhel} == 7 849 %sysctl_apply 99-snap.conf 850 %endif 851 %systemd_post %{snappy_svcs} 852 %systemd_user_post %{snappy_user_svcs} 853 # If install, test if snapd socket and timer are enabled. 854 # If enabled, then attempt to start them. This will silently fail 855 # in chroots or other environments where services aren't expected 856 # to be started. 857 if [ $1 -eq 1 ] ; then 858 if systemctl -q is-enabled snapd.socket > /dev/null 2>&1 ; then 859 systemctl start snapd.socket > /dev/null 2>&1 || : 860 fi 861 fi 862 863 %preun 864 %systemd_preun %{snappy_svcs} 865 %systemd_user_preun %{snappy_user_svcs} 866 867 # Remove all Snappy content if snapd is being fully uninstalled 868 if [ $1 -eq 0 ]; then 869 %{_libexecdir}/snapd/snap-mgmt --purge || : 870 fi 871 872 %postun 873 %systemd_postun_with_restart %{snappy_svcs} 874 %systemd_user_postun %{snappy_user_svcs} 875 876 %if 0%{?with_selinux} 877 %triggerun -- snapd < 2.39 878 # TODO: the trigger relies on a very specific snapd version that introduced SELinux 879 # mount context, figure out how to update the trigger condition to run when needed 880 881 # Trigger on uninstall, with one version of the package being pre 2.38 see 882 # https://rpm-packaging-guide.github.io/#triggers-and-scriptlets for details 883 # when triggers are run 884 if [ "$1" -eq 2 -a "$2" -eq 1 ]; then 885 # Upgrade from pre 2.38 version 886 %{_libexecdir}/snapd/snap-mgmt-selinux --patch-selinux-mount-context=system_u:object_r:snappy_snap_t:s0 || : 887 888 # snapd might have created fontconfig cache directory earlier, but with 889 # incorrect context due to bugs in the policy, make sure it gets the right one 890 # on upgrade when the new policy was introduced 891 if [ -d "%{_localstatedir}/cache/fontconfig" ]; then 892 restorecon -R %{_localstatedir}/cache/fontconfig || : 893 fi 894 elif [ "$1" -eq 1 -a "$2" -eq 2 ]; then 895 # Downgrade to a pre 2.38 version 896 %{_libexecdir}/snapd/snap-mgmt-selinux --remove-selinux-mount-context=system_u:object_r:snappy_snap_t:s0 || : 897 fi 898 899 %pre selinux 900 %selinux_relabel_pre 901 902 %post selinux 903 %selinux_modules_install %{_datadir}/selinux/packages/snappy.pp.bz2 904 %selinux_relabel_post 905 906 %posttrans selinux 907 %selinux_relabel_post 908 909 %postun selinux 910 %selinux_modules_uninstall snappy 911 if [ $1 -eq 0 ]; then 912 %selinux_relabel_post 913 fi 914 %endif 915 916 917 %changelog 918 * Fri Sep 04 2020 Michael Vogt <mvo@ubuntu.com> 919 - New upstream release 2.46.1 920 - interfaces: allow snap-update-ns to read 921 /proc/cmdline 922 - github: run macOS job with Go 1.14 923 - o/snapstate, features: add feature flag for disk space check on 924 remove 925 - tests: account for apt-get on core18 926 - mkversion.sh: include dirty in version if the tree 927 is dirty 928 - interfaces/systemd: compare dereferenced Service 929 - vendor.json: update mysterious secboot SHA again 930 931 * Tue Aug 25 2020 Michael Vogt <mvo@ubuntu.com> 932 - New upstream release 2.46 933 - logger: add support for setting snapd.debug=1 on kernel cmdline 934 - o/snapstate: check disk space before creating automatic snapshot 935 on remove 936 - boot, o/devicestate: observe existing recovery bootloader trusted 937 boot assets 938 - many: use transient scope for tracking apps and hooks 939 - features: add HiddenSnapFolder feature flag 940 - tests/lib/nested.sh: fix partition typo, unmount the image on uc20 941 too 942 - runinhibit: open the lock file in read-only mode in IsLocked 943 - cmd/s-b/initramfs-mounts: make recover -> run mode transition 944 automatic 945 - tests: update spread test for unknown plug/slot with snapctl is- 946 connected 947 - osutil: add OpenExistingLockForReading 948 - kernel: add kernel.Validate() 949 - interfaces: add vcio interface 950 - interfaces/{docker,kubernetes}-support: load overlay and support 951 systemd cgroup driver 952 - tests/lib/nested.sh: use more robust code for finding what loop 953 dev we mounted 954 - cmd/snap-update-ns: detach all bind-mounted file 955 - snap/snapenv: set SNAP_REAL_HOME 956 - packaging: umount /snap on purge in containers 957 - interfaces: misc policy updates xlvi 958 - secboot,cmd/snap-bootstrap: cross-check partitions before 959 unlocking, mounting 960 - boot: copy boot assets cache to new root 961 - gadget,kernel: add new kernel.{Info,Asset} struct and helpers 962 - o/hookstate/ctlcmd: make is-connected check whether the plug or 963 slot exists 964 - tests: find -ignore_readdir_race when scanning cgroups 965 - interfaces/many: deny arbitrary desktop files and misc from 966 /usr/share 967 - tests: use "set -ex" in prep-snapd-in-lxd.sh 968 - tests: re-enable udisks test on debian-sid 969 - cmd/snapd-generator: use PATH fallback if PATH is not set 970 - tests: disable udisks2 test on arch linux 971 - github: use latest/stable go, not latest/edge 972 - tests: remove support for ubuntu 19.10 from spread tests 973 - tests: fix lxd test wrongly tracking 'latest' 974 - secboot: document exported functions 975 - cmd: compile snap gdbserver shim correctly 976 - many: correctly calculate the desktop file prefix everywhere 977 - interfaces: add kernel-crypto-api interface 978 - corecfg: add "system.timezone" setting to the system settings 979 - cmd/snapd-generator: generate drop-in to use fuse in container 980 - cmd/snap-bootstrap/initramfs-mounts: tweak names, add comments 981 from previous PR 982 - interfaces/many: miscellaneous updates for strict microk8s 983 - secboot,cmd/snap-bootstrap: don't import boot package from secboot 984 - cmd/snap-bootstrap/initramfs-mounts: call systemd-mount instead of 985 the-tool 986 - tests: work around broken update of systemd-networkd 987 - tests/main/install-fontconfig-cache-gen: enhance test by 988 verifying, add fonts to test 989 - o/devicestate: wrap asset update observer error 990 - boot: refactor such that bootStateUpdate20 mainly carries Modeenv 991 - mkversion.sh: disallow changelog versions that have git in it, if 992 we also have git version 993 - interfaces/many: miscellaneous updates for strict microk8s 994 - snap: fix repeated "cannot list recovery system" and add test 995 - boot: track trusted assets during initial install, assets cache 996 - vendor: update secboot to fix key data validation 997 - tests: unmount FUSE file-systems from XDG runtime dir 998 - overlord/devicestate: workaround non-nil interface with nil struct 999 - sandbox/cgroup: remove temporary workaround for multiple cgroup 1000 writers 1001 - sandbox/cgroup: detect dangling v2 cgroup 1002 - bootloader: add helper for creating a bootloader based on gadget 1003 - tests: support different images on nested execution 1004 - many: reorg cmd/snapinfo.go into snap and new client/clientutil 1005 - packaging/arch: use external linker when building statically 1006 - tests: cope with ghost cgroupv2 1007 - tests: fix issues related to restarting systemd-logind.service 1008 - boot, o/devicestate: TrustedAssetUpdateObserver stubs, hook up to 1009 gadget updates 1010 - vendor: update github.com/kr/pretty to fix diffs of values with 1011 pointer cycles 1012 - boot: move bootloaderKernelState20 impls to separate file 1013 - .github/workflows: move snap building to test.yaml as separate 1014 cached job 1015 - tests/nested/manual/minimal-smoke: run core smoke tests in a VM 1016 meeting minimal requirements 1017 - osutil: add CommitAs to atomic file 1018 - gadget: introduce content update observer 1019 - bootloader: introduce TrustedAssetsBootloader, implement for grub 1020 - o/snapshotstate: helpers for calculating disk space needed for an 1021 automatic snapshot 1022 - gadget/install: retrieve command lines from bootloader 1023 - boot/bootstate20: unify commit method impls, rm 1024 bootState20MarkSuccessful 1025 - tests: add system information and image information when debug 1026 info is displayed 1027 - tests/main/cgroup-tracking: try to collect some information about 1028 cgroups 1029 - boot: introduce current_boot_assets and 1030 current_recovery_boot_assets to modeenv 1031 - tests: fix for timing issues on journal-state test 1032 - many: remove usage and creation of hijacked pid cgroup 1033 - tests: port regression-home-snap-root-owned to tests.session 1034 - tests: run as hightest via tests.session 1035 - github: run CLA checks on self-hosted workers 1036 - github: remove Ubuntu 19.10 from actions workflow 1037 - tests: remove End-Of-Life opensuse/fedora releases 1038 - tests: remove End-Of-Life releases from spread.yaml 1039 - tests: fix debug section of appstream-id test 1040 - interfaces: check !b.preseed earlier 1041 - tests: work around bug in systemd/debian 1042 - boot: add deepEqual, Copy helpers for Modeenv to simplify 1043 bootstate20 refactor 1044 - cmd: add new "snap recovery" command 1045 - interfaces/systemd: use emulation mode when preseeding 1046 - interfaces/kmod: don't load kernel modules in kmod backend when 1047 preseeding 1048 - interfaces/udev: do not reload udevadm rules when preseeding 1049 - cmd/snap-preseed: use snapd from the deb if newer than from seeds 1050 - boot: fancy marshaller for modeenv values 1051 - gadget, osutil: use atomic file copy, adjust tests 1052 - overlord: use new tracking cgroup for refresh app awareness 1053 - github: do not skip gofmt with Go 1.9/1.10 1054 - many: introduce content write observer, install mode glue, initial 1055 seal stubs 1056 - daemon,many: switch to use client.ErrorKind and drop the local 1057 errorKind... 1058 - tests: new parameters for nested execution 1059 - client: move all error kinds into errors.go and add doc strings 1060 - cmd/snap: display the error in snap debug seeding if seeding is in 1061 error 1062 - cmd/snap/debug/seeding: use unicode for proper yaml 1063 - tests/cmd/snap-bootstrap/initramfs-mounts: add test case for empty 1064 recovery_mode 1065 - osutil/disks: add mock disk and tests for happy path of mock disks 1066 - tests: refresh/revert snapd in uc20 1067 - osutil/disks: use a dedicated error to indicate a fs label wasn't 1068 found 1069 - interfaces/system-key: in WriteSystemKey during tests, don't call 1070 ParserFeatures 1071 - boot: add current recovery systems to modeenv 1072 - bootloader: extend managed assets bootloader interface to compose 1073 a candidate command line 1074 - interfaces: make the unmarshal test match more the comment 1075 - daemon/api: use pointers to time.Time for debug seeding aspect 1076 - o/ifacestate: update security profiles in connect undo handler 1077 - interfaces: add uinput interface 1078 - cmd/snap-bootstrap/initramfs-mounts: add doSystemdMount + unit 1079 tests 1080 - o/devicestate: save seeding/preseeding times for use with debug 1081 seeding api 1082 - cmd/snap/debug: add "snap debug seeding" command for preseeding 1083 debugging 1084 - tests/main/selinux-clean: workaround SELinux denials triggered by 1085 linger setup on Centos8 1086 - bootloader: compose command line with mode and extra arguments 1087 - cmd/snap, daemon: detect and bail purge on multi-snap 1088 - o/ifacestate: fix bug in snapsWithSecurityProfiles 1089 - interfaces/builtin/multipass: replace U+00A0 no-break space with 1090 simple space 1091 - bootloader/assets: generate bootloader assets from files 1092 - many/tests/preseed: reset the preseeded images before preseeding 1093 them 1094 - tests: drop accidental accents from e 1095 - secboot: improve key sealing tests 1096 - tests: replace _wait_for_file_change with retry 1097 - tests: new fs-state which replaces the files.sh helper 1098 - sysconfig/cloudinit_test.go: add test for initramfs case, rm "/" 1099 from path 1100 - cmd/snap: track started apps and hooks 1101 - tests/main/interfaces-pulseaudio: disable start limit checking for 1102 pulseaudio service 1103 - api: seeding debug api 1104 - .github/workflows/snap-build.yaml: build the snapd snap via GH 1105 Actions too 1106 - tests: moving journalctl.sh to a new journal-state tool 1107 - tests/nested/manual: add spread tests for cloud-init vuln 1108 - bootloader/assets: helpers for registering per-edition snippets, 1109 register snippets for grub 1110 - data,packaging,wrappers: extend D-Bus service activation search 1111 path 1112 - spread: add opensuse 15.2 and tumbleweed for qemu 1113 - overlord,o/devicestate: restrict cloud-init on Ubuntu Core 1114 - sysconfig/cloudinit: add RestrictCloudInit 1115 - cmd/snap-preseed: check that target path exists and is a directory 1116 on --reset 1117 - tests: check for pids correctly 1118 - gadget,gadget/install: refactor partition table update 1119 - sysconfig/cloudinit: add CloudInitStatus func + CloudInitState 1120 type 1121 - interface/fwupd: add more policies for making fwupd upstream 1122 strict 1123 - tests: new to-one-line tool which replaces the strings.sh helper 1124 - interfaces: new helpers to get and compare system key, for use 1125 with seeding debug api 1126 - osutil, many: add helper for checking whether the process is a go 1127 test binary 1128 - cmd/snap-seccomp/syscalls: add faccessat2 1129 - tests: adjust xdg-open after launcher changes 1130 - tests: new core config helper 1131 - usersession/userd: do not modify XDG_DATA_DIRS when calling xdg- 1132 open 1133 - cmd/snap-preseed: handle relative chroot path 1134 - snapshotstate: move sizer to osutil.Sizer() 1135 - tests/cmd/snap-bootstrap/initramfs-mounts: rm duplicated env ref 1136 kernel tests 1137 - gadget/install,secboot: use snapcore/secboot luks2 api 1138 - boot/initramfs_test.go: add Commentf to more Assert()'s 1139 - tests/lib: account for changes in arch package file name extension 1140 - bootloader/bootloadertest: fix comment typo 1141 - bootloader: add helper for getting recovery system environment 1142 variables 1143 - tests: preinstall shellcheck and run tests on focal 1144 - strutil: add a helper for parsing kernel command line 1145 - osutil: add CheckFreeSpace helper 1146 - secboot: update tpm connection error handling 1147 - packaging, cmd/snap-mgmt, tests: remove modules files on purge 1148 - tests: add tests.cleanup helper 1149 - packaging: add "ca-certificates" to build-depends 1150 - tests: more checks in core20 early config spread test 1151 - tests: fix some snapstate tests to use pointers for 1152 snapmgrTestSuite 1153 - boot: better naming of helpers for obtaining kernel command line 1154 - many: use more specific check for unit test mocking 1155 - systemd/escape: fix issues with "" and "\t" handling 1156 - asserts: small improvements and corrections for sequence-forming 1157 assertions' support 1158 - boot, bootloader: query kernel command line of run mod and 1159 recovery mode systems 1160 - snap/validate.go: disallow snap layouts with new top-level 1161 directories 1162 - tests: allow to add a new label to run nested tests as part of PR 1163 validation 1164 - tests/core/gadget-update-pc: port to UC20 1165 - tests: improve nested tests flexibility 1166 - asserts: integer headers: disallow prefix zeros and make parsing 1167 more uniform 1168 - asserts: implement Database.FindSequence 1169 - asserts: introduce SequenceMemberAfter in the asserts backstores 1170 - spread.yaml: remove tests/lib/tools from PATH 1171 - overlord: refuse to install snaps whose activatable D-Bus services 1172 conflict with installed snaps 1173 - tests: shorten lxd-state undo-mount-changes 1174 - snap-confine: don't die if a device from sysfs path cannot be 1175 found by udev 1176 - tests: fix argument handling of apt-state 1177 - tests: rename lxd-tool to lxd-state 1178 - tests: rename user-tool to user-state, fix --help 1179 - interfaces: add gconf interface 1180 - sandbox/cgroup: avoid parsing security tags twice 1181 - tests: rename version-tool to version-compare 1182 - cmd/snap-update-ns: handle anomalies better 1183 - tests: fix call to apt.Package.mark_install(auto_inst=True) 1184 - tests: rename mountinfo-tool to mountinfo.query 1185 - tests: rename memory-tool to memory-observe-do 1186 - tests: rename invariant-tool to tests.invariant 1187 - tests: rename apt-tool to apt-state 1188 - many: managed boot config during run mode setup 1189 - asserts: introduce the concept of sequence-forming assertion types 1190 - tests: tweak comments/output in uc20-recovery test 1191 - tests/lib/pkgdb: do not use quiet when purging debs 1192 - interfaces/apparmor: allow snap-specific /run/lock 1193 - interfaces: add system-source-code for access to /usr/src 1194 - sandbox/cgroup: extend SnapNameFromPid with tracking cgroup data 1195 - gadget/install: move udev trigger to gadget/install 1196 - many: make nested spread tests more reliable 1197 - tests/core/uc20-recovery: apply hack to get gopath in recover mode 1198 w/ external backend 1199 - tests: enable tests on uc20 which now work with the real model 1200 assertion 1201 - tests: enable system-snap-refresh test on uc20 1202 - gadget, bootloader: preserve managed boot assets during gadget 1203 updates 1204 - tests: fix leaked dbus-daemon in selinux-clean 1205 - tests: add servicestate.Control tests 1206 - tests: fix "restart.service" 1207 - wrappers: helper for enabling services - extract and move enabling 1208 of services into a helper 1209 - tests: new test to validate refresh and revert of kernel and 1210 gadget on uc20 1211 - tests/lib/prepare-restore: collect debug info when prepare purge 1212 fails 1213 - bootloader: allow managed bootloader to update its boot config 1214 - tests: Remove unity test from nightly test suite 1215 - o/devicestate: set mark-seeded to done in the task itself 1216 - tests: add spread test for disconnect undo caused by failing 1217 disconnect hook 1218 - sandbox/cgroup: allow discovering PIDs of given snap 1219 - osutil/disks: support IsDecryptedDevice for mountpoints which are 1220 dm devices 1221 - osutil: detect autofs mounted in /home 1222 - spread.yaml: allow amazon-linux-2-64 qemu with 1223 ec2-user/ec2-user 1224 - usersession: support additional zoom URL schemes 1225 - overlord: mock timings.DurationThreshold in TestNewWithGoodState 1226 - sandbox/cgroup: add tracking helpers 1227 - tests: detect stray dbus-daemon 1228 - overlord: refuse to install snaps providing user daemons on Ubuntu 1229 14.04 1230 - many: move encryption and installer from snap-boostrap to gadget 1231 - o/ifacestate: fix connect undo handler 1232 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 1233 - bootloader: introduce managed bootloader, implement for grub 1234 - tests: fix incorrect check in smoke/remove test 1235 - asserts,seed: split handling of essential/not essential model 1236 snaps 1237 - gadget: fix typo in mounted filesystem updater 1238 - gadget: do only one mount point lookup in mounted fs updater 1239 - tests/core/snap-auto-mount: try to make the test more robust 1240 - tests: adding ubuntu-20.04 to google-sru backend 1241 - o/servicestate: add updateSnapstateServices helper 1242 - bootloader: pull recovery grub config from internal assets 1243 - tests/lib/tools: apply linger workaround when needed 1244 - overlord/snapstate: graceful handling of denied "managed" refresh 1245 schedule 1246 - snapstate: fix autorefresh from classic->strict 1247 - overlord/configstate: add system.kernel.printk.console-loglevel 1248 option 1249 - tests: fix assertion disk handling for nested UC systems 1250 - snapstate: use testutil.HostScaledTimeout() in snapstate tests 1251 - tests: extra worker for google-nested backend to avoid timeout 1252 error on uc20 1253 - snapdtool: helper to check whether the current binary is reexeced 1254 from a snap 1255 - tests: mock servicestate in api tests to avoid systemctl checks 1256 - many: rename back snap.Info.GetType to Type 1257 - tests/lib/cla_check: expect explicit commit range 1258 - osutil/disks: refactor diskFromMountPointImpl a bit 1259 - o/snapstate: service-control task handler 1260 - osutil: add disks pkg for associating mountpoints with 1261 disks/partitions 1262 - gadget,cmd/snap-bootstrap: move partitioning to gadget 1263 - seed: fix LoadEssentialMeta when gadget is not loaded 1264 - cmd/snap: Debian does not allow $SNAP_MOUNT_DIR/bin in sudo 1265 secure_path 1266 - asserts: introduce new assertion validation-set 1267 - asserts,daemon: add support for "serials" field in system-user 1268 assertion 1269 - data/sudo: drop a failed sudo secure_path workaround 1270 - gadget: mv encodeLabel to osutil/disks.EncodeHexBlkIDFormat 1271 - boot, snap-bootstrap: move initramfs-mounts logic to boot pkg 1272 - spread.yaml: update secure boot attribute name 1273 - interfaces/block_devices: add NVMe subsystem devices, support 1274 multipath paths 1275 - tests: use the "jq" snap from the edge channel 1276 - tests: simplify the tpm test by removing the test-snapd-mokutil 1277 snap 1278 - boot/bootstate16.go: clean snap_try_* vars when not in Trying 1279 status too 1280 - tests/main/sudo-env: check snap path under sudo 1281 - tests/main/lxd: add test for snaps inside nested lxd containers 1282 not working 1283 - asserts/internal: expand errors about invalid serialized grouping 1284 labels 1285 - usersession/userd: add msteams url support 1286 - tests/lib/prepare.sh: adjust comment about sgdisk 1287 - tests: fix how gadget pc is detected when the snap does not exist 1288 and ls fails 1289 - tests: move a few more tests to snapstate_update_test.go 1290 - tests/main: add spread test for running svc from install hook 1291 - tests/lib/prepare: increase the size of the uc16/uc18 partitions 1292 - tests/special-home-can-run-classic-snaps: re-enable 1293 - workflow: test PR title as part of the static checks again 1294 - tests/main/xdg-open-compat: backup and restore original xdg-open 1295 - tests: move update-related tests to snapstate_update_test.go 1296 - cmd,many: move Version and bits related to snapd tools to 1297 snapdtool, merge cmdutil 1298 - tests/prepare-restore.sh: reset-failed systemd-journald before 1299 restarting 1300 - interfaces: misc small interface updates 1301 - spread: use find rather than recursive ls, skip mounted snaps 1302 - tests/lib/prepare-restore.sh: if we failed to purge snapd deb, ls 1303 /var/lib/snapd 1304 - tests: enable snap-auto-mount test on core20 1305 - cmd/snap: do not show $PATH warning when executing under sudo on a 1306 known distro 1307 - asserts/internal: add some iteration benchmarks 1308 - sandbox/cgroup: improve pid parsing code 1309 - snap: add new `snap run --experimental-gdbserver` option 1310 - asserts/internal: limit Grouping size switching to a bitset 1311 representationWe don't always use the bit-set representation 1312 because: 1313 - snap: add an activates-on property to apps for D-Bus activation 1314 - dirs: delete unused Cloud var, fix typo 1315 - sysconfig/cloudinit: make callers of DisableCloudInit use 1316 WritableDefaultsDir 1317 - tests: fix classic ubuntu core transition auth 1318 - tests: fail in setup_reflash_magic() if there is snapd state left 1319 - tests: port interfaces-many-core-provided to tests.session 1320 - tests: wait after creating partitions with sfdisk 1321 - bootloader: introduce bootloarder assets, import grub.cfg with an 1322 edition marker 1323 - riscv64: bump timeouts 1324 - gadget: drop dead code, hide exports that are not used externally 1325 - tests: port 2 uc20 part1 1326 - tests: fix bug waiting for snap command to be ready 1327 - tests: move try-related tests to snapstate_try_test.go 1328 - tests: add debug for 20.04 prepare failure 1329 - travis.yml: removed, all our checks run in GH actions now 1330 - tests: clean up up the use of configcoreSuite in the configcore 1331 tests 1332 - sandbox/cgroup: remove redundant pathOfProcPidCgroup 1333 - sandbox/cgroup: add tests for ParsePids 1334 - tests: fix the basic20 test for uc20 on external backend 1335 - tests: use configcoreSuite in journalSuite and remove some 1336 duplicated code 1337 - tests: move a few more tests to snapstate_install_test 1338 - tests: assorted small patches 1339 - dbusutil/dbustest: separate license from package 1340 - interfaces/builtin/time-control: allow POSIX clock API 1341 - usersession/userd: add "slack" to the white list of URL schemes 1342 handled by xdg-open 1343 - tests: check that host settings like hostname are settable on core 1344 - tests: port xdg-settings test to tests.session 1345 - tests: port snap-handle-link test to tests.session 1346 - arch: add riscv64 1347 - tests: core20 early defaults spread test 1348 - tests: move install tests from snapstate_test.go to 1349 snapstate_install_test.go 1350 - github: port macOS sanity checks from travis 1351 - data/selinux: allow checking /var/cache/app-info 1352 - o/devicestate: core20 early config from gadget defaults 1353 - tests: autoremove after removing lxd in preseed-lxd test 1354 - secboot,cmd/snap-bootstrap: add tpm sealing support to secboot 1355 - sandbox/cgroup: move FreezerCgroupDir from dirs.go 1356 - tests: update the file used to detect the boot path on uc20 1357 - spread.yaml: show /var/lib/snapd in debug 1358 - cmd/snap-bootstrap/initramfs-mounts: also copy systemd clock + 1359 netplan files 1360 - snap/naming: add helpers to parse app and hook security tags 1361 - tests: modernize retry tool 1362 - tests: fix and trim debug section in xdg-open-portal 1363 - tests: modernize and use snapd.tool 1364 - vendor: update to latest github.com/snapcore/bolt for riscv64 1365 - cmd/snap-confine: add support for libc6-lse 1366 - interfaces: miscellaneous policy updates xlv 1367 - interfaces/system-packages-doc: fix typo in variable names 1368 - tests: port interfaces-calendar-service to tests.session 1369 - tests: install/run the lzo test snap too 1370 - snap: (small) refactor of `snap download` code for 1371 testing/extending 1372 - data: fix shellcheck warnings in snapd.sh.in 1373 - packaging: disable buildmode=pie for riscv64 1374 - tests: install test-snapd-rsync snap from edge channel 1375 - tests: modernize tests.session and port everything using it 1376 - tests: add ubuntu 20.10 to spread tests 1377 - cmd/snap/remove: mention snap restore/automatic snapshots 1378 - dbusutil: move all D-Bus helpers and D-Bus test helpers 1379 - wrappers: pass 'disable' flag to StopServices wrapper 1380 - osutil: enable riscv64 build 1381 - snap/naming: add ParseSecurityTag and friends 1382 - tests: port document-portal-activation to session-tool 1383 - bootloader: rename test helpers to reflect we are mocking EFI boot 1384 locations 1385 - tests: disable test of nfs v3 with udp proto on debian-sid 1386 - tests: plan to improve the naming and uniformity of utilities 1387 - tests: move *-tool tests to their own suite 1388 - snap-bootstrap: remove sealed key file on reinstall 1389 - bootloader/ubootenv: don't panic with an empty uboot env 1390 - systemd: rename actualFsTypeAndMountOptions to 1391 hostFsTypeAndMountOptions 1392 - daemon: fix filtering of service-control changes for snap.app 1393 - tests: spread test for preseeding in lxd container 1394 - tests: fix broken snapd.session agent.socket 1395 - wrappers: add RestartServices function and ReloadOrRestart to 1396 systemd 1397 - o/cmdstate: handle ignore flag on exec-command tasks 1398 - gadget: make ext4 filesystems with or without metadata checksum 1399 - tests: update statx test to run on all LTS releases 1400 - configcore: show better error when disabling services 1401 - interfaces: add hugepages-control 1402 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 1403 - tests: run ubuntu-20.04-* tests on all ubuntu-2* releases 1404 - tests: skip interfaces-openvswitch for centos 8 in nightly suite 1405 - tests: reload systemd --user for root, if present 1406 - tests: reload systemd after editing /etc/fstab 1407 - tests: add missing dependencies needed for sbuild test on debian 1408 - tests: reload systemd after removing pulseaudio 1409 - image, tests: core18 early config. 1410 - interfaces: add system-packages-doc interface 1411 - cmd/snap-preseed, systemd: fix handling of fuse.squashfuse when 1412 preseeding 1413 - interfaces/fwupd: allow bind mount to /boot on core 1414 - tests: improve oom-vitality tests 1415 - tests: add fedora 32 to spread.yaml 1416 - config: apply vitality-hint immediately when the config changes 1417 - tests: port snap-routine-portal-info to session-tool 1418 - configcore: add "service.console-conf.disable" config option 1419 - tests: port xdg-open to session-tool 1420 - tests: port xdg-open-compat to session-tool 1421 - tests: port interfaces-desktop-* to session-tool 1422 - spread.yaml: apply yaml formatter/linter 1423 - tests: port interfaces-wayland to session-tool 1424 - o/devicestate: refactor current system handling 1425 - snap-mgmt: perform cleanup of user services 1426 - snap/snapfile,squashfs: followups from 8729 1427 - boot, many: require mode in modeenv 1428 - data/selinux: update policy to allow forked processes to call 1429 getpw*() 1430 - tests: log stderr from dbus-monitor 1431 - packaging: build cmd/snap and cmd/snap-bootstrap with nomanagers 1432 tag 1433 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 1434 layout 1435 - interfaces/builtin/desktop: do not mount fonts cache on distros 1436 with quirks 1437 - data/selinux: allow snapd to remove/create the its socket 1438 - testutil/exec.go: set PATH after running shellcheck 1439 - tests: silence stderr from dbus-monitor 1440 - snap,many: mv Open to snapfile pkg to support add'l options to 1441 Container methods 1442 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 1443 gadget 1444 - github: remove workaround for bug 133 in actions/cache 1445 - tests: remove dbus.sh 1446 - cmd/snap-preseed: improve mountpoint checks of the preseeded 1447 chroot 1448 - spread.yaml: add ps aux to debug section 1449 - github: run all spread systems in a single go with cached results 1450 - test: session-tool cli tweaks 1451 - asserts: rest of the Pool API 1452 - tests: port interfaces-network-status-classic to session-tool 1453 - packaging: remove obsolete 16.10,17.04 symlinks 1454 - tests: setup portals before starting user session 1455 - o/devicestate: typo fix 1456 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 1457 devices 1458 - cmd/snap/model: support store, system-user-authority keys in 1459 --verbose 1460 - o/devicestate: raise conflict when requesting system action while 1461 seeding 1462 - tests: detect signs of crashed snap-confine 1463 - tests: sign kernel and gadget to run nested tests using current 1464 snapd code 1465 - tests: remove gnome-online-accounts we install 1466 - tests: fix the issue where all the tests were executed on secboot 1467 system 1468 - tests: port interfaces-accounts-service to session-tool 1469 - interfaces/network-control: bring /var/lib/dhcp from host 1470 - image,cmd/snap,tests: add support for store-wide cohort keys 1471 - configcore: add nomanagers buildtag for conditional build 1472 - tests: port interfaces-password-manager-service to session-tool 1473 - o/devicestate: cleanup system actions supported by recover mode 1474 - snap-bootstrap: remove create-partitions and update tests 1475 - tests: fix nested tests 1476 - packaging/arch: update PKGBUILD to match one in AUR 1477 - tests: port interfaces-location-control to session-tool 1478 - tests: port interfaces-contacts-service to session-tool 1479 - state: log task errors in the journal too 1480 - o/devicestate: change how current system is reported for different 1481 modes 1482 - devicestate: do not report "ErrNoState" for seeded up 1483 - tests: add a note about broken test sequence 1484 - tests: port interfaces-autopilot-introspection to session-tool 1485 - tests: port interfaces-dbus to session-tool 1486 - packaging: update sid packaging to match 16.04+ 1487 - tests: enable degraded test on uc20 1488 - c/snaplock/runinhibit: add run inhibition operations 1489 - tests: detect and report root-owned files in /home 1490 - tests: reload root's systemd --user after snapd tests 1491 - tests: test registration with serial-authority: [generic] 1492 - cmd/snap-bootstrap/initramfs-mounts: copy auth.json and macaroon- 1493 key in recover 1494 - tests/mount-ns: stop binfmt_misc mount unit 1495 - cmd/snap-bootstrap/initramfs-mounts: use booted kernel partition 1496 uuid if available 1497 - daemon, tests: indicate system mode, test switching to recovery 1498 and back to run 1499 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 1500 denials 1501 - tests/mount-ns: update to reflect new UEFI boot mode 1502 - usersession,tests: clean ups for userd/settings.go and move 1503 xdgopenproxy under usersession 1504 - tests: disable mount-ns test 1505 - tests: test user belongs to systemd-journald, on core20 1506 - tests: run core/snap-set-core-config on uc20 too 1507 - tests: remove generated session-agent units 1508 - sysconfig: use new _writable_defaults dir to create cloud config 1509 - cmd/snap-bootstrap/initramfs-mounts: cosmetic changes in prep for 1510 future work 1511 - asserts: make clearer that with label we mean a serialized label 1512 - cmd/snap-bootstrap: tweak recovery trigger log messages 1513 - asserts: introduce PoolTo 1514 - userd: allow setting default-url-scheme-handler 1515 - secboot: append uuid to ubuntu-data when decrypting 1516 - o/configcore: pass extra options to FileSystemOnlyApply 1517 - tests: add dbus-user-session to bionic and reorder package names 1518 - boot, bootloader: adjust comments, expand tests 1519 - tests: improve debugging of user session agent tests 1520 - packaging: add the inhibit directory 1521 - many: add core.resiliance.vitality-hint config setting 1522 - tests: test adjustments and fixes for recently published images 1523 - cmd/snap: coldplug auto-import assertions from all removable 1524 devices 1525 - secboot,cmd/snap-bootstrap: move initramfs-mounts tpm access to 1526 secboot 1527 - tests: not fail when boot dir cannot be determined 1528 - tests: new directory used to store the cloud images on gce 1529 - tests: inject snapd from edge into seeds of the image in manual 1530 preseed test 1531 - usersession/agent,wrappers: fix races between Shutdown and Serve 1532 - tests: add dependency needed for next upgrade of bionic 1533 - tests: new test user is used for external backend 1534 - cmd/snap: fix the order of positional parameters in help output 1535 - tests: don't create root-owned things in ~test 1536 - tests/lib/prepare.sh: delete patching of the initrd 1537 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 1538 as well 1539 - progress: tweak multibyte label unit test data 1540 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline 1541 - gadget: fix fallback device lookup for 'mbr' type structures 1542 - configcore: only reload journald if systemd is new enough 1543 - cmd/snap-boostrap, boot: use /run/mnt/data instead of ubuntu-data 1544 - wrappers: allow user mode systemd daemons 1545 - progress: fix progress bar with multibyte duration units 1546 - tests: fix raciness in pulseaudio test 1547 - asserts/internal: introduce Grouping and Groupings 1548 - tests: remove user.sh 1549 - tests: pair of follow-ups from earlier reviews 1550 - overlord/snapstate: warn of refresh/postpone events 1551 - configcore,tests: use daemon-reexec to apply watchdog config 1552 - c/snap-bootstrap: check mount states via initramfsMountStates 1553 - store: implement DownloadAssertions 1554 - tests: run smoke test with different bases 1555 - tests: port user-mounts test to session-tool 1556 - store: handle error-list in fetch-assertions results 1557 - tests: port interfaces-audio-playback-record to session-tool 1558 - data/completion: add `snap` command completion for zsh 1559 - tests/degraded: ignore failure in systemd-vconsole-setup.service 1560 - image: stub implementation of image.Prepare for darwin 1561 - tests: session-tool --restore -u stops user-$UID.slice 1562 - o/ifacestate/handlers.go: fix typo 1563 - tests: port pulseaudio test to session-tool 1564 - tests: port user-session-env to session-tool 1565 - tests: work around journald bug in core16 1566 - tests: add debug to core-persistent-journal test 1567 - tests: port selinux-clean to session-tool 1568 - tests: port portals test to session-tool, fix portal tests on sid 1569 - tests: adding option --no-install-recommends option also when 1570 install all the deps 1571 - tests: add session-tool --has-systemd-and-dbus 1572 - packaging/debian-sid: add gcc-multilib to build deps 1573 - osutil: expand FileLock to support shared locks and more 1574 - packaging: stop depending on python-docutils 1575 - store,asserts,many: support the new action fetch-assertions 1576 - tests: port snap-session-agent-* to session-tool 1577 - packaging/fedora: disable FIPS compliant crypto for static 1578 binaries 1579 - tests: fix for preseeding failures 1580 1581 * Tue Jul 28 2020 Samuele Pedroni <pedronis@lucediurna.net> 1582 - New upstream release, LP: #1875071 1583 - o/ifacestate: fix bug in snapsWithSecurityProfiles 1584 - tests/main/selinux-clean: workaround SELinux denials triggered by 1585 linger setup on Centos8 1586 1587 * Mon Jul 27 2020 Zygmunt Krynicki <me@zygoon.pl> 1588 - New upstream release, LP: #1875071 1589 - many: backport _writable_defaults dir changes 1590 - tests: fix incorrect check in smoke/remove test 1591 - cmd/snap-bootstrap,seed: backport of uc20 PRs 1592 - tests: avoid exit when nested type var is not defined 1593 - cmd/snap-preseed: backport fixes 1594 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 1595 - many: cherry-picks for 2.45, gh-action, test fixes 1596 - tests/lib: account for changes in arch package file name extension 1597 - postrm, snap-mgmt: cleanup modules and other cherry-picks 1598 - snap-confine: don't die if a device from sysfs path cannot be 1599 found by udev 1600 - data/selinux: update policy to allow forked processes to call 1601 getpw*() 1602 - tests/main/interfaces-time-control: exercise setting time via date 1603 - interfaces/builtin/time-control: allow POSIX clock API 1604 - usersession/userd: add "slack" to the white list of URL schemes 1605 handled by xdg-open 1606 1607 * Fri Jul 10 2020 Michael Vogt <mvo@ubuntu.com> 1608 - New upstream release 2.45.2 1609 - SECURITY UPDATE: sandbox escape vulnerability on snapctl xdg-open 1610 implementation 1611 - usersession/userd/launcher.go: remove XDG_DATA_DIRS environment 1612 variable modification when calling the system xdg-open. Patch 1613 thanks to James Henstridge 1614 - packaging/ubuntu-16.04/snapd.postinst: ensure "snap userd" is 1615 restarted. Patch thanks to Michael Vogt 1616 - CVE-2020-11934 1617 - SECURITY UPDATE: arbitrary code execution vulnerability on core 1618 devices with access to physical removable media 1619 - devicestate: Disable/restrict cloud-init after seeding. 1620 - CVE-2020-11933 1621 1622 * Fri Jun 05 2020 Michael Vogt <mvo@ubuntu.com> 1623 - New upstream release 2.45.1 1624 - data/selinux: allow checking /var/cache/app-info 1625 - cmd/snap-confine: add support for libc6-lse 1626 - interfaces: miscellaneous policy updates xlv 1627 - snap-bootstrap: remove sealed key file on reinstall 1628 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 1629 - gadget: make ext4 filesystems with or without metadata checksum 1630 - interfaces/fwupd: allow bind mount to /boot on core 1631 - tests: cherry-pick test fixes from master 1632 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 1633 layout 1634 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 1635 devices 1636 - snap,many: mv Open to snapfile pkg to support add'l options to 1637 Container methods 1638 - interfaces/builtin/desktop: do not mount fonts cache on distros 1639 with quirks 1640 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 1641 gadget 1642 - data/completion, packaging: cherry-pick zsh completion 1643 - state: log task errors in the journal too 1644 - devicestate: do not report "ErrNoState" for seeded up 1645 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 1646 denials 1647 - packaging/fedora: disable FIPS compliant crypto for static 1648 binaries 1649 - packaging: stop depending on python-docutils 1650 1651 * Tue May 12 2020 Michael Vogt <mvo@ubuntu.com> 1652 - New upstream release 2.45 1653 - o/devicestate: support doing system action reboots from recover 1654 mode 1655 - vendor: update to latest secboot 1656 - tests: not fail when boot dir cannot be determined 1657 - configcore: only reload journald if systemd is new enough 1658 - cmd/snap-bootstrap/initramfs-mounts: append uuid to ubuntu-data 1659 when decrypting 1660 - tests/lib/prepare.sh: delete patching of the initrd 1661 - cmd/snap: coldplug auto-import assertions from all removable 1662 devices 1663 - cmd/snap: fix the order of positional parameters in help output 1664 - c/snap-bootstrap: port mount state mocking to the new style on 1665 master 1666 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 1667 as well 1668 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline, 1669 unlock in recover mode initramfs 1670 - progress: tweak multibyte label unit test data 1671 - gadget: fix fallback device lookup for 'mbr' type structures 1672 - progress: fix progress bar with multibyte duration units 1673 - many: use /run/mnt/data over /run/mnt/ubuntu-data for uc20 1674 - many: put the sealed keys in a directory on seed for tidiness 1675 - cmd/snap-bootstrap: measure epoch and model before unlocking 1676 encrypted data 1677 - o/configstate: core config handler for persistent journal 1678 - bootloader/uboot: use secondary ubootenv file boot.sel for uc20 1679 - packaging: add "$TAGS" to dh_auto_test for debian packaging 1680 - tests: ensure $cache_dir is actually available 1681 - secboot,cmd/snap-bootstrap: add model to pcr protection profile 1682 - devicestate: do not use snap-boostrap in devicestate to install 1683 - tests: fix a typo in nested.sh helper 1684 - devicestate: add support for cloud.cfg.d config from the gadget 1685 - cmd/snap-bootstrap: cleanups, naming tweaks 1686 - testutil: add NewDBusTestConn 1687 - snap-bootstrap: lock access to sealed keys 1688 - overlord/devicestate: preserve the current model inside ubuntu- 1689 boot 1690 - interfaces/apparmor: use differently templated policy for non-core 1691 bases 1692 - seccomp: add get_tls, io_pg* and *time64/*64 variants for existing 1693 syscalls 1694 - cmd/snap-bootstrap/initramfs-mounts: mount ubuntu-seed first, 1695 other misc changes 1696 - o/snapstate: tweak "waiting for restart" message 1697 - boot: store model model and grade information in modeenv 1698 - interfaces/firewall-control: allow -legacy and -nft for core20 1699 - boot: enable makeBootable20RunMode for EnvRefExtractedKernel 1700 bootloaders 1701 - boot/bootstate20: add EnvRefExtractedKernelBootloader bootstate20 1702 implementation 1703 - daemon: fix error message from `snap remove-user foo` on classic 1704 - overlord: have a variant of Mock that can take a state.State 1705 - tests: 16.04 and 18.04 now have mediating pulseaudio (again) 1706 - seed: clearer errors for missing essential snapd or core snap 1707 - cmd/snap-bootstrap/initramfs-mounts: support 1708 EnvRefExtractedKernelBootloader's 1709 - gadget, cmd/snap-bootstrap: MBR schema support 1710 - image: improve/adjust DownloadSnap doc comment 1711 - asserts: introduce ModelGrade.Code 1712 - tests: ignore user-12345 slice and service 1713 - image,seed/seedwriter: support redirect channel aka default 1714 tracks 1715 - bootloader: use binary.Read/Write 1716 - tests: uc20 nested suite part II 1717 - tests/boot: refactor to make it easier for new 1718 bootloaderKernelState20 impl 1719 - interfaces/openvswitch: support use of ovs-appctl 1720 - snap-bootstrap: copy auth data from real ubuntu-data in recovery 1721 mode 1722 - snap-bootstrap: seal and unseal encryption key using tpm 1723 - tests: disable special-home-can-run-classic-snaps due to jenkins 1724 repo issue 1725 - packaging: fix build on Centos8 to support BUILDTAGS 1726 - boot/bootstate20: small changes to bootloaderKernelState20 1727 - cmd/snap: Implement a "snap routine file-access" command 1728 - spread.yaml: switch back to latest/candidate for lxd snap 1729 - boot/bootstate20: re-factor kernel methods to use new interface 1730 for state 1731 - spread.yaml,tests/many: use global env var for lxd channel 1732 - boot/bootstate20: fix bug in try-kernel cleanup 1733 - config: add system.store-certs.[a-zA-Z0-9] support 1734 - secboot: key sealing also depends on secure boot enabled 1735 - httputil: fix client timeout retry tests 1736 - cmd/snap-update-ns: handle EBUSY when unlinking files 1737 - cmd/snap/debug/boot-vars: add opts for setting dir and/or uc20 1738 vars 1739 - secboot: add tpm support helpers 1740 - tests/lib/assertions/developer1-pi-uc20.model: use 20/edge for 1741 kernel and gadget 1742 - cmd/snap-bootstrap: switch to a 64-byte key for unlocking 1743 - tests: preserve size for centos images on spread.yaml 1744 - github: partition the github action workflows 1745 - run-checks: use consistent "Checking ..." style messages 1746 - bootloader: add efi pkg for reading efi variables 1747 - data/systemd: do not run snapd.system-shutdown if finalrd is 1748 available 1749 - overlord: update tests to work with latest go 1750 - cmd/snap: do not hide debug boot-vars on core 1751 - cmd/snap-bootstrap: no error when not input devices are found 1752 - snap-bootstrap: fix partition numbering in create-partitions 1753 - httputil/client_test.go: add two TLS version tests 1754 - tests: ignore user@12345.service hierarchy 1755 - bootloader, gadget, cmd/snap-bootstrap: misc cosmetic things 1756 - tests: rewrite timeserver-control test 1757 - tests: fix racy pulseaudio tests 1758 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 1759 - tests: update snap-preseed --reset logic to accommodate for 2.44 1760 change 1761 - cmd/snap: don't wait for system key when stopping 1762 - sandbox/cgroup: avoid making arrays we don't use 1763 - osutil: mock proc/self/mountinfo properly everywhere 1764 - selinux: export MockIsEnforcing; systemd: use in tests 1765 - tests: add 32 bit machine to GH actions 1766 - tests/session-tool: kill cron session, if any 1767 - asserts: it should be possible to omit many snap-ids if allowed, 1768 fix 1769 - boot: cleanup more things, simplify code 1770 - github: skip spread jobs when corresponding label is set 1771 - dirs: don't depend on osutil anymore, mv apparmor vars to apparmor 1772 pkg 1773 - tests/session-tool: add session-tool --dump 1774 - github: allow cached debian downloads to restore 1775 - tests/session-tool: session ordering is non-deterministic 1776 - tests: enable unit tests on debian-sid again 1777 - github: move spread to self-hosted workers 1778 - secboot: import secboot on ubuntu, provide dummy on !ubuntu 1779 - overlord/devicestate: support for recover and run modes 1780 - snap/naming: add validator for snap security tag 1781 - interfaces: add case for rootWritableOverlay + NFS 1782 - tests/main/uc20-create-partitions: tweaks, renames, switch to 1783 20.04 1784 - github: port CLA check to Github Actions 1785 - interfaces/many: miscellaneous policy updates xliv 1786 - configcore,tests: fix setting watchdog options on UC18/20 1787 - tests/session-tool: collect information about services on startup 1788 - tests/main/uc20-snap-recovery: unbreak, rename to uc20-create- 1789 partitions 1790 - state: add state.CopyState() helper 1791 - tests/session-tool: stop anacron.service in prepare 1792 - interfaces: don't use the owner modifier for files shared via 1793 document portal 1794 - systemd: move the doc comments to the interface so they are 1795 visible 1796 - cmd/snap-recovery-chooser: tweaks 1797 - interfaces/docker-support: add overlayfs file access 1798 - packaging: use debian/not-installed to ignore snap-preseed 1799 - travis.yml: disable unit tests on travis 1800 - store: start splitting store.go and store_test.go into subtopic 1801 files 1802 - tests/session-tool: stop cron/anacron from meddling 1803 - github: disable fail-fast as spread cannot be interrupted 1804 - github: move static checks and spread over 1805 - tests: skip "/etc/machine-id" in "writablepaths" test 1806 - snap-bootstrap: store encrypted partition recovery key 1807 - httputil: increase testRetryStrategy max timelimit to 5s 1808 - tests/session-tool: kill leaking closing session 1809 - interfaces: allow raw access to USB printers 1810 - tests/session-tool: reset failed session-tool units 1811 - httputil: increase httpclient timeout in 1812 TestRetryRequestTimeoutHandling 1813 - usersession: extend timerange in TestExitOnIdle 1814 - client: increase timeout in client tests to 100ms 1815 - many: disentagle release and snapdenv from sandbox/* 1816 - boot: simplify modeenv mocking to always write a modeenv 1817 - snap-bootstrap: expand data partition on install 1818 - o/configstate: add backlight option for core config 1819 - cmd/snap-recovery-chooser: add recovery chooser 1820 - features: enable robust mount ns updates 1821 - snap: improve TestWaitRecovers test 1822 - sandbox/cgroup: add ProcessPathInTrackingCgroup 1823 - interfaces/policy: fix comment in recent new test 1824 - tests: make session tool way more robust 1825 - interfaces/seccomp: allow passing an address to setgroups 1826 - o/configcore: introduce core config handlers (3/N) 1827 - interfaces: updates to login-session-observe, network-manager and 1828 modem-manager interfaces 1829 - interfaces/policy/policy_test.go: add more tests'allow- 1830 installation: false' and we grant based on interface attributes 1831 - packaging: detect/disable broken seed in the postinst 1832 - cmd/snap-confine/mount-support-nvidia.c: add libnvoptix as nvidia 1833 library 1834 - tests: remove google-tpm backend from spread.yaml 1835 - tests: install dependencies with apt using --no-install-recommends 1836 - usersession/userd: add zoommtg url support 1837 - snap-bootstrap: fix disk layout sanity check 1838 - snap: add `snap debug state --is-seeded` helper 1839 - devicestate: generate warning if seeding fails 1840 - config, features: move and rename config.GetFeatureFlag helper to 1841 features.Flag 1842 - boot, overlord/devicestate, daemon: implement requesting boot 1843 into a given recovery system 1844 - xdgopenproxy: forward requests to the desktop portal 1845 - many: support immediate reboot 1846 - store: search v2 tweaks 1847 - tests: fix cross build tests when installing dependencies 1848 - daemon: make POST /v2/systems/<label> root only 1849 - tests/lib/prepare.sh: use only initrd from the kernel snap 1850 - cmd/snap,seed: validate full seeds (UC 16/18) 1851 - tests/main/user-session-env: stop the user session before deleting 1852 the test-zsh user 1853 - overlord/devicestate, daemon: record the seed current system was 1854 installed from 1855 - gadget: SystemDefaults helper function to convert system defaults 1856 config into a flattened map suitable for FilesystemOnlyApply. 1857 - many: comment or avoid cryptic snap-ids in tests 1858 - tests: add LXD_CHANNEL environment 1859 - store: support for search API v2 1860 - .github: register a problem matcher to detect spread failures 1861 - seed: add Info() method for seed.Snap 1862 - github: always run the "Discard spread workers" step, even if the 1863 job fails 1864 - github: offload self-hosted workers 1865 - cmd/snap: the model command needs just a client, no waitMixin 1866 - github: combine tests into one workflow 1867 - github: fix order of go get caches 1868 - tests: adding more workers for ubuntu 20.04 1869 - boot,overlord: rename operating mode to system mode 1870 - config: add new Transaction.GetPristine{,Maybe}() function 1871 - o/devicestate: rename readMaybe* to maybeRead* 1872 - github: cache Debian dependencies for unit tests 1873 - wrappers: respect pre-seeding in error path 1874 - seed: validate UC20 seed system label 1875 - client, daemon, overlord/devicestate: request system action API 1876 and stubs 1877 - asserts,o/devicestate: support model specified alternative serial- 1878 authority 1879 - many: introduce naming.WellKnownSnapID 1880 - o/configcore: FilesystemOnlyApply method for early configuration 1881 of core (1/N) 1882 - github: run C unit tests 1883 - github: run spread tests on PRs only 1884 - interfaces/docker-support: make containerd abstract socket more 1885 generic 1886 - tests: cleanup security-private-tmp properly 1887 - overlord/devicestate,boot: do not hold to the originally read 1888 modeenv 1889 - dirs: rm RunMnt; boot: add vars for early boot env layout; 1890 sysconfig: take targetdir arg 1891 - cmd/snap-bootstrap/initramfs-mounts/tests: use dirs.RunMnt over 1892 s.runMnt 1893 - tests: add regression test for MAAS refresh bug 1894 - errtracker: add missing mocks 1895 - github: apt-get update before installing build-deps 1896 - github: don't fail-fast 1897 - github: run spread via github actions 1898 - boot,many: add modeenv.WriteTo, make Write take no args 1899 - wrappers: fix timer schedules that are days only 1900 - tests/main/snap-seccomp-syscalls: install gperf 1901 - github: always checkout to snapcore/snapd 1902 - github: add prototype workflow running unit tests 1903 - many: improve comments, naming, a possible TODO 1904 - client: use Assert when checking for error 1905 - tests: ensure sockets target is ready in session agent spread 1906 tests 1907 - osutil: do not leave processes behind after the test run 1908 - tests: update proxy-no-core to match latest CDN changes 1909 - devicestate,sysconfig: support "cloud.cfg.d" in uc20 for grade: 1910 dangerous 1911 - cmd/snap-failure,tests: try to make snap-failure more robust 1912 - many: fix packages having mistakenly their copyright as doc 1913 - many: enumerate system seeds, return them on the /v2/systems API 1914 endpoint 1915 - randutil: don't consume kernel entropy at init, just mix more info 1916 to try to avoid fleet collisions 1917 - snap-bootstrap: add creationSupported predicate for partition 1918 types 1919 - tests: umount partitions which are not umounted after remount 1920 gadget 1921 - snap: run gofmt -s 1922 - many: improve environment handling, fixing duplicate entries 1923 - boot_test: add many boot robustness tests for UC20 kernel 1924 MarkBootSuccessul and SetNextBoot 1925 - overlord: remove unneeded overlord.MockPruneInterval() mocks 1926 - interfaces/greengrass-support: fix typo 1927 - overlord,timings,daemon: separate timings from overlord/state 1928 - tests: enable nested on core20 and test current branch 1929 - snap-bootstrap: remove created partitions on reinstall 1930 - boot: apply Go 1.10 formatting 1931 - apparmor: use rw for uuidd request to default and remove from 1932 elsewhere 1933 - packaging: add README.source for debian 1934 - tests: cleanup various uc20 boot tests from previous PR 1935 - devicestate: disable cloud-init by default on uc20 1936 - run-checks: tweak formatting checks 1937 - packaging,tests: ensure debian-sid builds without vendor/ 1938 - travis.yml: run unit tests with go/master as well* travis.yml: run 1939 unit tests with go/master as well 1940 - seed: make Brand() part of the Seed interface 1941 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 1942 - daemon: do a forceful server shutdown if we hit a deadline 1943 - tests/many: don't use StartLimitInterval anymore, unify snapd- 1944 failover variants, build snapd snap for UC16 tests 1945 - snap-seccomp: robustness improvements 1946 - run-tests: disable -v for go test to avoid spaming the logs 1947 - snap: whitelist lzo as support compression for snap pack 1948 - snap: tweak comment in Install() for overlayfs detection 1949 - many: introduce snapdenv.Preseeding instead of release.PreseedMode 1950 - client, daemon, overlord/devicestate: structures and stubs for 1951 systems API 1952 - o/devicestate: delay the creation of mark-seeded task until 1953 asserts are loaded 1954 - data/selinux, tests/main/selinux: cleanup tmpfs operations in the 1955 policy, updates 1956 - interfaces/greengrass-support: add new 1.9 access 1957 - snap: do not hardlink on overlayfs 1958 - boot,image: ARM kernel extract prepare image 1959 - interfaces: make gpio robust against not-existing gpios in /sys 1960 - cmd/snap-preseed: handle --reset flag 1961 - many: introduce snapdenv to present common snapd env options 1962 - interfaces/kubernetes-support: allow autobind to journald socket 1963 - snap-seccomp: allow mprotect() to unblock the tests 1964 - tests/lib/reset: workaround unicode dot in systemctl output 1965 - interfaces/udisks2: also allow Introspection on 1966 /org/freedesktop/UDisks/** 1967 - snap: introduce Container.RandomAccessFile 1968 - o/ifacestate, api: implementation of snap disconnect --forget 1969 - cmd/snap: make the portal-info command search for the network- 1970 status interface 1971 - interfaces: work around apparmor_parser slowness affecting uio 1972 - tests: fix/improve failing spread tests 1973 - many: clean separation of bootenv mocking vs mock bootloader kinds 1974 - tests: mock prune ticker in overlord tests to reduce wait times 1975 - travis: disable arm64 again 1976 - httputil: add support for extra snapd certs 1977 - travis.yml: run unit tests on arm64 as well 1978 - many: fix a pair of ineffectual assignments 1979 - tests: add uc20 kernel snap upgrade managers test, fix 1980 bootloadertest bugs 1981 - o/snapstate: set base in SnapSetup on snap revert 1982 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 1983 - cmd/snap-exec: add test case for LP bug 1860369 1984 - interfaces: make the network-status interface implicit on 1985 classic 1986 - interfaces: power control interfaceIt is documented in the 1987 kernel 1988 - interfaces: miscellaneous policy updates 1989 - cmd/snap: add a "snap routine portal-info" command 1990 - usersession/userd: add "apt" to the white list of URL schemes 1991 handled by xdg-open 1992 - interfaces/desktop: allow access to system prompter interface 1993 - devicestate: allow encryption regardless of grade 1994 - tests: run ipv6 network-retry test too 1995 - tests: test that after "remove-user" the system is unmanaged 1996 - snap-confine: unconditionally add /dev/net/tun to the device 1997 cgroup 1998 - snapcraft.yaml: use sudo -E and remove workaround 1999 - interfaces/audio_playback: Fix pulseaudio config access 2000 - ovelord/snapstate: update only system wide fonts cache 2001 - wrappers: import /etc/environment in all services 2002 - interfaces/u2f: Add Titan USB-C key 2003 - overlord, taskrunner: exit on task/ensure error when preseeding 2004 - tests: add session-tool, a su / sudo replacement 2005 - wrappers: add mount unit dependency for snapd services on core 2006 devices 2007 - tests: just remove user when the system is not managed on create- 2008 user-2 test 2009 - snap-preseed: support for preseeding of snapd and core18 2010 - boot: misc UC20 changes 2011 - tests: adding arch-linux execution 2012 - packaging: revert "work around review-tools and snap-confine" 2013 - netlink: fix panic on arm64 with the new rawsockstop codewith a 2014 nil Timeval panics 2015 - spread, data/selinux: add CentOS 8, update policy 2016 - tests: updating checks to new test account for snapd-test snaps 2017 - spread.yaml: mv opensuse 15.1 to unstable 2018 - cmd/snap-bootstrap,seed: verify only in-play snaps 2019 - tests: use ipv4 in retry-network to unblock failing master 2020 - data/systemd: improve the description 2021 - client: add "Resume" to DownloadOptions and new test 2022 - tests: enable snapd-failover on uc20 2023 - tests: add more debug output to the snapd-failure handling 2024 - o/devicestate: unset recovery_system when done seeding 2025 2026 * Fri Apr 10 2020 Michael Vogt <mvo@ubuntu.com> 2027 - New upstream release 2.44.3 2028 - tests: fix racy pulseaudio tests 2029 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 2030 - tests: update snap-preseed --reset logic 2031 - tests: backport partition fixes 2032 - cmd/snap: don't wait for system key when stopping 2033 - interfaces/many: miscellaneous policy updates xliv 2034 - tests/main/uc20-snap-recovery: use 20.04 system 2035 - tests: skip "/etc/machine-id" in "writablepaths 2036 - interfaces/docker-support: add overlays file access 2037 2038 * Thu Apr 2 2020 Michael Vogt <mvo@ubuntu.com> 2039 - New upstream release 2.44.2 2040 - packaging: detect/disable broken seeds in the postinst 2041 - cmd/snap,seed: validate full seeds (UC 16/18) 2042 - snap: add `snap debug state --is-seeded` helper 2043 - devicestate: generate warning if seeding fails 2044 - store: support for search API v2 2045 - cmd/snap-seccomp/syscalls: update the list of known syscalls 2046 - snap/cmd: the model command needs just a client, no waitMixin 2047 - tests: cleanup security-private-tmp properly 2048 - wrappers: fix timer schedules that are days only 2049 - tests: update proxy-no-core to match latest CDN changes 2050 - cmd/snap-failure,tests: make snap-failure more robust 2051 - tests, many: don't use StartLimitInterval anymore, unify snapd- 2052 failover variants, build snapd snap for UC16 tests 2053 2054 * Sat Mar 21 2020 Michael Vogt <mvo@ubuntu.com> 2055 - New upstream release 2.44.1 2056 - randutil: switch back to setting up seed with lower entropy data 2057 - interfaces/greengrass-support: fix typo 2058 - packaging,tests: ensure debian-sid builds without vendor/ 2059 - travis.yml: run unit tests with go/master as well 2060 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 2061 2062 * Tue Mar 17 2020 Michael Vogt <mvo@ubuntu.com> 2063 - New upstream release 2.44 2064 - daemon: do a forceful serer shutdown if we hit a deadline 2065 - snap: whitelist lzo as support compression for snap pack 2066 - data/selinux: update policy to allow more ops 2067 - interfaces/greengrass-support: add new 1.9 access 2068 - snap: do not hardlink on overlayfs 2069 - cmd/snap-preseed: handle --reset flag 2070 - interfaces/kubernetes-support: allow autobind to journald socket 2071 - snap-seccomp: allow mprotect() to unblock the tests 2072 - tests/lib/reset: workaround unicode dot in systemctl output 2073 - interfaces: work around apparmor_parser slowness affecting uio 2074 - interfaces/udisks2: also allow Introspection on 2075 /org/freedesktop/UDisks2/** 2076 - tests: mock prune ticker in overlord tests to reduce wait times 2077 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 2078 - interfaces: miscellaneous policy updates 2079 - interfaces/audio_playback: Fix pulseaudio config access 2080 - overlord: disable Test..AbortShortlyAfterStartOfOperation for 2.44 2081 - ovelord/snapstate: update only system wide fonts cache 2082 - wrappers: import /etc/environment in all services 2083 - interfaces/u2f: Add Titan USB-C key 2084 - overlord, taskrunner: exit on task/ensure error when preseeding 2085 - overlord/snapstate/backend: update snapd services contents in unit 2086 tests 2087 - wrappers: add mount unit dependency for snapd services on core 2088 devices 2089 - Revert "tests: remove /tmp/snap.* left over by other tests" 2090 - Revert "packaging: work around review-tools and snap-confine" 2091 - netlink: fix panic on arm64 with the new rawsockstop code 2092 - spread, data/selinux: add CentOS 8, update policy 2093 - spread.yaml: mv opensuse tumbleweed to unstable too 2094 - spread.yaml: mv opensuse 15.1 to unstable 2095 - tests: use ipv4 in retry-network to unblock failing master 2096 - data/systemd: improve the description 2097 - tests/lib/prepare.sh: simplify, combine code paths 2098 - tests/main/user-session-env: add test verifying environment 2099 variables inside the user session 2100 - spread.yaml: make qemu ubuntu-core-20-64 use ubuntu-20.04-64 2101 - run-checks: SKIP_GMFMT really skips formatting checks 2102 - tests: enable more tests for UC20/UC18 2103 - tests: remove tmp dir for snap not-test-snapd-sh on security- 2104 private-tmp test 2105 - seed,cmd/snap-bootstrap: introduce seed.Snap.EssentialType, 2106 simplify bootstrap code 2107 - snapstate: do not restart in undoLinkSnap unless on first install 2108 - cmd/snap-bootstrap: subcommand to detect UC chooser trigger 2109 - cmd/snap-bootstrap/initramfs-mounts: mount the snapd snap in run- 2110 mode too 2111 - cmd/libsnap, tests: fix C unit tests failing as non-root 2112 - cmd/snap-bootstrap: verify kernel snap is in modeenv before 2113 mounting it 2114 - tests: adding amazon linux to google backend 2115 - cmd/snap-failure/snapd: rm snapd.socket, reset snapd.socket failed 2116 status 2117 - client: add support for "ResumeToken", "HeaderPeek" to download 2118 - build: enable type: snapd 2119 - tests: rm -rf /tmp/snap.* in restore 2120 - cmd/snap-confine: deny snap-confine to load nss libs 2121 - snapcraft.yaml: add comments, rename snapd part to snapd-deb 2122 - boot: write current_kernels in bootstate20, makebootable 2123 - packaging: work around review-tools and snap-confine 2124 - tests: skipping interfaces-openvswitch on centos due to package is 2125 not available 2126 - packaging,snap-confine: stop being setgid root 2127 - cmd/snap-confine: bring /var/lib/dhcp from host, if present 2128 - store: rely on CommandFromSystemSnap to find xdelta3 2129 - tests: bump sleep time of the new overlord tests 2130 - cmd/snap-preseed: snapd version check for the target 2131 - netlink: fix/support stopping goroutines reading netlink raw 2132 sockets 2133 - tests: reset PS1 before possibly interactive dash 2134 - overlord, state: don't abort changes if spawn time before 2135 StartOfOperationTime (2/2) 2136 - snapcraft.yaml: add python3-apt, tzdata as build-deps for the 2137 snapd snap 2138 - tests: ask tar to speak English 2139 - tests: using google storage when downloading ubuntu cloud images 2140 from gce 2141 - Coverity produces false positives for code like this: 2142 - many: maybe restart & security backend options 2143 - o/standby: add SNAPD_STANDBY_WAIT to control standby in 2144 development 2145 - snap: use the actual staging snap-id for snapd 2146 - cmd/snap-bootstrap: create a new parser instance 2147 - snapcraft.yaml: use build-base and adopt-info, rm builddeb 2148 plugin 2149 - tests: set StartLimitInterval in snapd failover test 2150 - tests: disable archlinux system 2151 - tests: add preseed test for classic 2152 - many, tests: integrate all preseed bits and add spread tests 2153 - daemon: support resuming downloads 2154 - tests: use Filename() instead of filepath.Base(sn.MountFile()) 2155 - tests/core: add swapfiles test 2156 - interfaces/cpu-control: allow to control cpufreq tunables 2157 - interfaces: use commonInteface for desktopInterface 2158 - interfaces/{desktop-legacy,unity7}: adjust for new ibus socket 2159 location 2160 - snap/info: add Filename 2161 - bootloader: make uboot a RecoveryAwareBootloader 2162 - gadget: skip update when mounted filesystem content is identical 2163 - systemd: improve is-active check for 'failed' services 2164 - boot: add current_kernels to modeenv 2165 - o/devicestate: StartOfOperationTime helper for Prune (1/2) 2166 - tests: detect LXD launching i386 containers 2167 - tests: move main/ubuntu-core-* tests to core/ suite 2168 - tests: remove snapd in ubuntu-core-snapd 2169 - boot: enable base snap updates in bootstate20 2170 - tests: Fix core revert channel after 2.43 has been released to 2171 stable 2172 - data/selinux: unify tabs/spaces 2173 - o/ifacestate: move ResolveDisconnect to ifacestate 2174 - spread: move centos to stable systems 2175 - interfaces/opengl: allow datagrams to nvidia-driver 2176 - httputil: add NoNetwork(err) helper, spread test and use in serial 2177 acquire 2178 - store: detect if server does not support http range headers 2179 - test/lib/user: add helper lib for doing things for and as a user 2180 - overlord/snapstate, wrappers: undo of snapd on core 2181 - tests/main/interfaces-pulseaudio: use custom pulseaudio script, 2182 set kill timeout 2183 - store: add support for resume in DownloadStream 2184 - cmd/snap: implement 'snap remove-user' 2185 - overlord/devicestate: fix preseed unit tests on systems not using 2186 /snap 2187 - tests/main/static: ldd in glibc 2.31 logs to stderr now 2188 - run-checks, travis: allow skipping spread jobs by adding a label 2189 - tests: add new backend which includes images with tpm support 2190 - boot: use constants for boot status values 2191 - tests: add "core" suite for UC specific tests 2192 - tests/lib/prepare: use a local copy of uc20 initramfs skeleton 2193 - tests: retry mounting the udisk2 device due to timing issue 2194 - usersession/client: add a client library for the user session 2195 agent 2196 - o/devicestate: Handle preseed mode in the firstboot mode (core16 2197 only for now). 2198 - boot: add TryBase and BaseStatus to modeenv; use in snap-bootstrap 2199 - cmd/snap-confine: detect base transitions on core16 2200 - boot: don't use "kernel" from the modeenv anymore 2201 - interfaces: add uio interface 2202 - tests: repack the initramfs + kernel snap for UC20 spread tests 2203 - interfaces/greengrass-support: add /dev/null -> 2204 /proc/latency_stats mount 2205 - httputil: remove workaround for redirect handling in go1.7 2206 - httputil: remove go1.6 transport workaround 2207 - snap: add `snap pack --compression=<comp>` options 2208 - tests/lib/prepare: fix hardcoded loopback device names for UC 2209 images 2210 - timeutil: add a unit test case for trivial schedule 2211 - randutil,o/snapstate,-mkauthors.sh: follow ups to randutil 2212 introduction 2213 - dirs: variable with distros using alternate snap mount 2214 - many,randutil: centralize and streamline our random value 2215 generation 2216 - tests/lib/prepare-restore: Revert "Continue on errors updating or 2217 installing dependencies" 2218 - daemon: Allow clients to call /v2/logout via Polkit 2219 - dirs: manjaro-arm is like manjaro 2220 - data, packaging: Add sudoers snippet to allow snaps to be run with 2221 sudo 2222 - daemon, store: better expose single action errors 2223 - tests: switch mount-ns test to differential data set 2224 - snapstate: refactor things to add the re-refresh task last 2225 - daemon: drop support for the DELETE method 2226 - client: move to /v2/users; implement RemoveUser 2227 - boot: enable UC20 kernel extraction and bootState20 handling 2228 - interfaces/policy: enforce plug-names/slot-names constraints 2229 - asserts: parse plug-names/slot-names constraints 2230 - daemon: make users result more consistent 2231 - cmd/snap-confine,tests: support x.y.z nvidia version 2232 - dirs: fixlet for XdgRuntimeDirGlob 2233 - boot: add bootloader options to coreKernel 2234 - o/auth,daemon: do not remove unknown user 2235 - tests: tweak and enable tests on ubuntu 20.04 2236 - daemon: implement user removal 2237 - cmd/snap-confine: allow snap-confine to link to libpcre2 2238 - interfaces/builtin: Allow NotificationReplied signal on 2239 org.freedesktop.Notifications 2240 - overlord/auth: add RemoveUserByName 2241 - client: move user-related things to their own files 2242 - boot: tweak kernel cmdline helper docstring 2243 - osutil: implement deluser 2244 - gadget: skip update when raw structure content is unchanged 2245 - boot, cmd/snap, cmd/snap-bootstrap: move run mode and system label 2246 detection to boot 2247 - tests: fix revisions leaking from snapd-refresh test 2248 - daemon: refactor create-user to a user action & hide behind a flag 2249 - osutil/tests: check there are no leftover symlinks with 2250 AtomicSymlink 2251 - grub: support atomically renaming kernel symlinks 2252 - osutil: add helpers for creating symlinks and renaming in an 2253 atomic manner 2254 - tests: add marker tag for core 20 test failure 2255 - tests: fix gadget-update-pc test leaking snaps 2256 - tests: remove revision leaking from ubuntu-core-refresh 2257 - tests: remove revision leaking from remodel-kernel 2258 - tests: disable system-usernames test on core20 2259 - travis, tests, run-checks: skip nakedret 2260 - tests: run `uc20-snap-recovery-encrypt` test on 20.04-64 as well 2261 - tests: update mount-ns test tables 2262 - snap: disable auto-import in uc20 install-mode 2263 - tests: add a command-chain service test 2264 - tests: use test-snapd-upower instead of upower 2265 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 2266 - spread.yaml: fix ubuntu 19.10 and 20.04 names 2267 - debian: check embedded keys for snap-{bootstrap,preseed} too 2268 - interfaces/apparmor: fix doc-comments, unnecessary code 2269 - o/ifacestate,o/devicestatate: merge gadget-connect logic into 2270 auto-connect 2271 - bootloader: add ExtractedRunKernelImageBootloader interface, 2272 implement in grub 2273 - tests: add spread test for hook permissions 2274 - cmd/snap-bootstrap: check device size before boostrapping and 2275 produce a meaningful error 2276 - cmd/snap: add ability to register "snap routine" commands 2277 - tests: add a test demonstrating that snaps can't access the 2278 session agent socket 2279 - api: don't return connections referring to non-existing 2280 plugs/slots 2281 - interfaces: refactor path() from raw-volume into utils with 2282 comments for old 2283 - gitignore: ignore snap files 2284 - tests: skip interfaces-network-manager on arm devices 2285 - o/devicestate: do not create perfTimings if not needed inside 2286 ensureSeed/Operational 2287 - tests: add ubuntu 20.04 to the tests execution and remove 2288 tumbleweed from unstable 2289 - usersession: add systemd user instance service control to user 2290 session agent 2291 - cmd/snap: print full channel in 'snap list', 'snap info' 2292 - tests: remove execution of ubuntu 19.04 from google backend 2293 - cmd/snap-boostrap: add mocking for fakeroot 2294 - tests/core18/snapd-failover: collect more debug info 2295 - many: run black formatter on all python files 2296 - overlord: increase settle timeout for slow machines 2297 - httputil: use shorter timeout in TestRetryRequestTimeoutHandling 2298 - store, o/snapstate: send default-tracks header, use 2299 RedirectChannel 2300 - overlord/standby: fix possible deadlock in standby test 2301 - cmd/snap-discard-ns: fix pattern for .info files 2302 - boot: add HasModeenv to Device 2303 - devicestate: do not allow remodel between core20 models 2304 - bootloader,snap: misc tweaks 2305 - store, overlord/snapstate, etc: SnapAction now returns a []…Result 2306 - snap-bootstrap: create encrypted partition 2307 - snap: remove "host" output from `snap version` 2308 - tests: use snap remove --purge flag in most of the spread tests 2309 - data/selinux, test/main/selinux-clean: update the test to cover 2310 more scenarios 2311 - many: drop NameAndRevision, use snap.PlaceInfo instead 2312 - boot: split MakeBootable tests into their own file 2313 - travis-ci: add go import path 2314 - boot: split MakeBootable implementations into their own file 2315 - tests: enable a lot of the tests of main on uc20 2316 - packaging, tests: stop services in prerm 2317 - tests: enable regression suite on core20 2318 - overlord/snapstate: improve snapd snap backend link unit tests 2319 - boot: implement SetNextBoot in terms of bootState.setNext 2320 - wrappers: write and undo snapd services on core 2321 - boot,o/devicestate: refactor MarkBootSuccessful over bootState 2322 - snap-bootstrap: mount the correct snapd snap to /run/mnt/snapd 2323 - snap-bootstrap: refactor partition creation 2324 - tests: use new snapd.spread-tests-run-mode-tweaks.service unit 2325 - tests: add core20 tests 2326 - boot,o/snapstate: SetNextBoot/LinkSnap return whether to reboot, 2327 use the information 2328 - tests/main/snap-sign: add test for non-stdin signing 2329 - snap-bootstrap: trigger udev after filesystem creation 2330 - boot,overlord: introduce internal abstraction bootState and use it 2331 for InUse/GetCurrentBoot 2332 - overlord/snapstate: tracks are now sticky 2333 - cmd: sign: add filename param 2334 - tests: remove "test-snapd-tools" in smoke/sandbox on restore 2335 - cmd/snap, daemon: stop over-normalising channels 2336 - tests: fix classic-ubuntu-core-transition-two-cores after refactor 2337 of MATCH -v 2338 - packaging: ship var/lib/snapd/desktop/applications in the pkg 2339 - spread: drop copr repo with F30 build dependencies 2340 - tests: use test-snapd-sh snap instead of test-snapd-tools - Part 3 2341 - tests: fix partition creation test 2342 - tests: unify/rename services-related spread tests to start with 2343 services- prefix 2344 - test: extract code that modifies "writable" for test prep 2345 - systemd: handle preseed mode 2346 - snap-bootstrap: read only stdout when parsing the sfdisk json 2347 - interfaces/browser-support: add more product/vendor paths 2348 - boot: write compat UC16 bootvars in makeBootable20RunMode 2349 - devicestate: avoid adding mockModel to deviceMgrInstallModeSuite 2350 - devicestate: request reboot after successful doSetupRunSystem() 2351 - snapd.core-fixup.sh: do not run on UC20 at all 2352 - tests: unmount automounted snap-bootstrap devices 2353 - devicestate: run boot.MakeBootable in doSetupRunSystem 2354 - boot: copy kernel/base to data partition in makeBootable20RunMode 2355 - tests: also check nested lxd container 2356 - run-checks: complain about MATCH -v 2357 - boot: always return the trivial boot participant in ephemeral mode 2358 - o/devicestate,o/snapstate: move the gadget.yaml checkdrive-by: use 2359 gadget.ReadInfoFromSnapFile in checkGadgetRemodelCompatible 2360 - snap-bootstrap: append new partitions 2361 - snap-bootstrap: mount filesystems after creation 2362 - snapstate: do not try to detect rollback in ephemeral modes 2363 - snap-bootstrap: trigger udev for new partitions 2364 - cmd/snap-bootstrap: xxx todos about kernel cross-checks 2365 - tests: avoid mask rsyslog service in case is not enabled on the 2366 system 2367 - tests: fix use of MATCH -v 2368 - cmd/snap-preseed: update help strings 2369 - cmd/snap-bootstrap: actually parse snapd_recovery_system label 2370 - bootstrap: reduce runmode mounts from 5 to 2 steps. 2371 - lkenv.go: adjust for new location of include file 2372 - snap: improve squashfs.ReadFile() error 2373 - systemd: fix uc20 shutdown 2374 - boot: write modeenv when creating the run mode 2375 - boot,image: add skeleton boot.makeBootable20RunMode 2376 - cmd/snap-preseed: add snap-preseed executable 2377 - overlord,boot: follow ups to #7889 and #7899 2378 - interfaces/wayland: Add access to Xwayland's shm files 2379 - o/hookstate/ctlcmd: fix command name in snapctl -h 2380 - daemon,snap: remove screenshot deprecation notice 2381 - overlord,o/snapstate: make sure we never leave config behind 2382 - many: pass consistently boot.Device state to boot methods 2383 - run-checks: check multiline string blocks in 2384 restore/prepare/execute sections of spread tests 2385 - intrefaces: login-session-control - added missing dbus commands 2386 - tests/main/parallel-install-remove-after: parallel installs should 2387 not break removal 2388 - overlord/snapstate: tweak assumes error hint 2389 - overlord: replace DeviceContext.OldModel with GroundContext 2390 - devicestate: use httputil.ShouldRetryError() in 2391 prepareSerialRequest 2392 - tests: replace "test-snapd-base-bare" with real "bare" base snap 2393 - many: pass a Model to the gadget info reading functions 2394 - snapstate: relax gadget constraints in ConfigDefaults Et al. 2395 - devicestate: only run ensureBootOk() in "run" mode 2396 - tests/many: quiet lxc launching, file pushing 2397 - tests: disable apt-hooks test until it can be properly fixed 2398 - tests: 16.04 and 18.04 now have mediating pulseaudio 2399 2400 * Wed Feb 12 2020 Michael Vogt <mvo@ubuntu.com> 2401 - New upstream release 2.43.3 2402 - interfaces/opengl: allow datagrams to nvidia-driver 2403 - httputil: add NoNetwork(err) helper, spread test and use 2404 in serial acquire 2405 - interfaces: add uio interface 2406 - interfaces/greengrass-support: 'aws-iot-greengrass' snap fails to 2407 start due to apparmor deny on mounting of "/proc/latency_stats". 2408 - data, packaging: Add sudoers snippet to allow snaps to be run with 2409 sudo 2410 2411 * Tue Jan 28 2020 Michael Vogt <mvo@ubuntu.com> 2412 - New upstream release 2.43.2 2413 - cmd/snap-confine: Revert #7421 (unmount /writable from snap view) 2414 - overlord/snapstate: fix for re-refresh bug 2415 - tests, run-checks, many: fix nakedret issues 2416 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 2417 - tests: use test-snapd-upower instead of upower 2418 - overlord: increase overall settle timeout for slow arm boards 2419 2420 * Tue Jan 14 2020 Michael Vogt <mvo@ubuntu.com> 2421 - New upstream release 2.43.1 2422 - devicestate: use httputil.ShouldRetryError() in prepareSerialRequest 2423 - overlord/standby: fix possible deadlock in standby test 2424 - cmd/snap-discard-ns: fix pattern for .info files 2425 - overlord,o/snapstate: make sure we never leave config behind 2426 - data/selinux: update policy to cover more cases 2427 - snap: remove "host" output from `snap version` 2428 2429 * Thu Jan 09 2020 Michael Vogt <mvo@ubuntu.com> 2430 - New upstream release 2.43 2431 - snap: default to "--direct" in `snap known` 2432 - packaging: ship var/lib/snapd/desktop/applications in the 2433 pkg 2434 - tests: cherry-pick fixes for snap-set-core-config/ubuntu-core- 2435 config-defaults-once 2436 - tests: use test-snapd-sh snap instead of test-snapd-tools 2437 - tests: rename "test-snapd-sh" in smoke test to test-snapd-sandbox 2438 - tests: fix partition creation test 2439 - packaging: fix incorrect changelog entry 2440 - Revert "tests: 16.04 and 18.04 now have mediating pulseaudio" 2441 - tests: 16.04 and 18.04 now have mediating pulseaudio 2442 - interfaces: include hooks in plug/slot apparmor label 2443 - interfaces: add raw-volume interface for access to partitions 2444 - image: set recovery system label when creating the image 2445 - cmd/snapd-generator: fix unit name for non /snap mount locations 2446 - boot,bootloader: setup the snap recovery system bootenv 2447 - seed: support ModeSnaps(mode) for mode != "run" 2448 - seed: fix seed location of local but asserted snaps 2449 - doc: HACKING.md change autopkgtest-trusty-amd64.img name 2450 - interfaces/seccomp: parallelize seccomp backend setup 2451 - cmd/snap-bootstrap: mount ubuntu-data tmpfs, in one go with kernel 2452 & base 2453 - interfaces: add audio-playback/record and pulseaudio spread tests 2454 - apparmor: allow 'r' 2455 /sys/kernel/mm/transparent_hugepage/hpage_pmd_size 2456 - cmd/snap-mgmt, packaging/postrm: stop and remove socket units when 2457 purging 2458 - tests: use test-snapd-sh snap instead of test-snapd-tools 2459 - snap-confine: raise egid before calling setup_private_mount() 2460 - tests: fix fwupd version regular expression 2461 - snap-bootstrap: parse seed if either kernel or base are not 2462 mounted 2463 - tests: check for SELinux denials in interfaces-kvm spread test 2464 - tests: run snap-set-core-config on all core devices 2465 - selinux: update policy to allow modifications related to kmod 2466 backend 2467 - o/hookstate/ctlcmd: snapctl is-connected command 2468 - devicestate: add missing test for failing task setup-run-system 2469 - gadget: add missing test for duplicate detection of roles 2470 - tests/cmd/snapctl: unset SNAP_CONTEXT for the suite 2471 - snap/pack, cmd_pack: 'snap pack --check-skeleton' checks 2472 interfaces 2473 - gitignore: ignore visual studio code directory 2474 - snap-bootstrap: implement "run" mode in snap-bootstrap initramfs- 2475 mounts 2476 - interfaces/apparmor: handle pre-seeding mode 2477 - devicestate: implement creating partitions in "install" mode 2478 - seed: support extra snaps on top of Core 20 dangerous models 2479 - tests: cache snaps also for ubuntu core and add new snaps to cache 2480 - snap-bootstrap: support auto-detect device in create-partitions 2481 - tests: fix partitioning test debug message 2482 - tests: prevent partitioning test errors 2483 - cmd/snap-bootstrap: stub out snap.SanitizePlugsSlots for real 2484 - gadget: extract and export new DiskFromPartition() helper 2485 - snap-bootstrap: force partition table operations 2486 - HACKING.md: add nvidia options to configure example 2487 - tests: move the watchdog timeout to 2s to make the tests work in 2488 rpi 2489 - tests: demand silence from check_journalctl_log 2490 - tests: fix the channels checks done on nested tests 2491 - tests: reduce the complexity of the test-snapd-sh snap 2492 - snap/squashfs, osutil: verify files/dirs can be accessed by 2493 mksquashfs when building a snap 2494 - boot: add boot.Modeenv.Kernel support 2495 - devicestate: ensure system installation 2496 - tests: apply change on permissions to serial port on hotplug test 2497 - cmd/snap-update-ns: adjust debugging output for usability 2498 - devicestate: add reading of modeenv to uc20 firstboot code 2499 - tests/lib/prepare: drop workarounds for rpmbuild rewriting /bin/sh 2500 - cmd/snap-bootstrap: write /var/lib/snapd/modeenv to the right 2501 place 2502 - boot: add boot.Modeenv.Base support 2503 - overlord/snapstate: install task edges 2504 - cmd/snap-bootstrap: some small naming and code org tweaks 2505 - snap-bootstrap: remove SNAPPY_TESTING check, we use it for real 2506 now 2507 - interfaces: remove leftover reservedForOS 2508 - snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv 2509 - osutil/mount: optimize flagOptSearch some more 2510 - devicestate: read modeenv early and store in devicestate 2511 - interfaces: add login-session-observe for who, {fail,last}log and 2512 loginctl 2513 - tests: add Ubuntu Eoan to google-sru backend 2514 - osutil/mount: de-duplicate code to use a list 2515 - interfaces: remove reservedForOS from commonInterface 2516 - interfaces/browser-support: allow reading status of huge pages 2517 - interfaces: update system-backup tests to not check for sanitize 2518 errors related to os 2519 - interfaces: add system-backup interface 2520 - osutil/mount: add {Unm,M}outFlagsToOpts helpers 2521 - snap-bootstrap: make cmdline parsing robust 2522 - overlord/patch: normalize tracking channel in state 2523 - boot: add boot.Modeenv that can read/write the UC20 modeenv files 2524 - bootloader: add new bootloader.InstallBootConfig() 2525 - many: share single implementation to list needed default-providers 2526 - snap-bootstrap: implement "snap-bootstrap initramfs-mounts" 2527 - seccomp: allow chown 'snap_daemon:root' and 'root:snap_daemon' 2528 - osutil: handle "rw" mount flag in ParseMountEntry 2529 - overlord/ifacestate: report bad plug/slots with warnings on snap 2530 install 2531 - po: sync translations from launchpad 2532 - tests: cleanup most test snaps icons, they were anyway in the 2533 wrong place 2534 - seed: fix confusing pre snapd dates in tests 2535 - many: make ValidateBasesAndProviders signature simpler/canonical 2536 - snap-bootstrap: set expected filesystem labels 2537 - testutil, many: make MockCommand() create prefix of absolute paths 2538 - tests: improve TestDoPrereqRetryWhenBaseInFlight to fix occasional 2539 flakiness. 2540 - seed: proper support for optional snaps for Core 20 models 2541 - many: test various kinds of overriding for the snapd snap in Core 2542 20 2543 - cmd/snap-failure: passthrough snapd logs, add informational 2544 logging 2545 - cmd/snap-failure: fallback to snapd from core, extend tests 2546 - configcore: fix missing error propagation 2547 - devicestate: rename ensureSeedYaml -> ensureSeeded 2548 - tests: adding fedora 31 2549 - tests: restart the snapd service in the snapd-failover test 2550 - seed: Core 20 seeds channel overrides support for grade dangerous 2551 - cmd: fix the get command help message 2552 - tests: enable degraded test on arch linux after latest image 2553 updates 2554 - overlord/snapstate: don't re-enable and start disabled services on 2555 refresh, etc. 2556 - seed: support in Core 20 seeds local unasserted snaps for model 2557 snaps 2558 - snap-bootstrap: add go-flags cmdline parsing and tests 2559 - gadget: skip fakeroot if not needed 2560 - overlord/state: panic in MarkEdge() if task is nil 2561 - spread: fix typo in spread suite 2562 - overlord: mock device serial in gadget remodel unit tests 2563 - tests: fix spread shellcheck and degraded tests to unbreak master 2564 - spread, tests: openSUSE Tumbleweed to unstable systems, update 2565 system-usernames on Amazon Linux 2 2566 - snap: extract printInstallHint in cmd_download.go 2567 - cmd: fix a pair of typos 2568 - release: preseed mode flag 2569 - cmd/snap-confine: tracking processes with classic confinement 2570 - overlord/ifacestate: remove automatic connections if plug/slot 2571 missing 2572 - o/ifacestate,interfaces,interfaces/policy: slots-per-plug: * 2573 - tests/lib/state: snapshot and restore /var/snap during the tests 2574 - overlord: add base->base remodel undo tests and fixes 2575 - seed: test and improve Core 20 seed handling errors 2576 - asserts: add "snapd" type to valid types in the model assertion 2577 - snap-bootstrap: check gadget versus disk partitions 2578 - devicestate: add support for gadget->gadget remodel 2579 - snap/snapenv: preserve XDG_RUNTIME_DIR for classic confinement 2580 - daemon: parse and reject invalid channels in snap ops 2581 - overlord: add kernel remodel undo tests and fix undo 2582 - cmd/snap: support (but warn) using deprecated multi-slash channel 2583 - overlord: refactor mgrsSuite and extract kernelSuite 2584 - tests/docker-smoke: add minimal docker smoke test 2585 - interfaces: extend the fwupd slot to be implicit on classic 2586 - cmd/snap: make 'snap list' shorten latest/$RISK to $RISK 2587 - tests: fix for journalctl which is failing to restart 2588 - cmd/snap,image: initial support for Core 20 in prepare-image with 2589 test 2590 - cmd/snap-confine: add support for parallel instances of classic 2591 snaps, global mount ns initialization 2592 - overlord: add kernel rollback across reboots manager test and 2593 fixes 2594 - o/devicestate: the basics of Core 20 firstboot support with test 2595 - asserts: support and parsing for slots-per-plug/plugs-per-slotSee 2596 https://forum.snapcraft.io/t/plug-slot-declaration-rules-greedy- 2597 plugs/12438 2598 - parts/plugins: don't xz-compress a deb we're going to discard 2599 - cmd/snap: make completion skip hidden commands (unless overridden) 2600 - many: load/consume Core 20 seeds (aka recovery systems) 2601 - tests: add netplan test on ubuntu core 2602 - seed/internal: doc comment fix and drop handled TODOs 2603 - o/ifacestate: unify code into 2604 autoConnectChecker.addAutoConnectionsneed to change to support 2605 slots-per-plugs: * 2606 - many: changes to testing in preparation of Core 20 seed consuming 2607 code 2608 - snapstate,devicestate: make OldModel() available in DeviceContext 2609 - tests: opensuse tumbleweed has similar issue than arch linux with 2610 snap --strace 2611 - client,daemon: pass sha3-384 in /v2/download to the client 2612 - builtin/browser_support.go: allow monitoring process memory 2613 utilization (used by chromium) 2614 - overlord/ifacestate: use SetupMany in setupSecurityByBackend 2615 - tests: add 14.04 canonical-livepatch test 2616 - snap: make `snap known --remote` use snapd if available 2617 - seed: share auxInfo20 and makeSystemSnap via internal 2618 - spread: disable secondary compression for deltas 2619 - interfaces/content: workaround for renamed target 2620 - tests/lib/gendevmodel: helper tool for generating developer model 2621 assertions 2622 - tests: tweak wording in mount-ns test 2623 - tests: don't depend on GNU time 2624 - o/snapstate, etc: SnapState.Channel -> TrackingChannel, and a 2625 setter 2626 - seed/seedwriter: support writing Core 20 seeds (aka recovery 2627 systems) 2628 - snap-recovery: rename to "snap-bootstrap" 2629 - managers: add remodel undo test for new required snaps case 2630 - client: add xerrors and wrap errors coming from "client" 2631 - tests: verify host is not affected by mount-ns tests 2632 - tests: configure the journald service for core systems 2633 - cmd/snap, store: include snapcraft.io page URL in snap info output 2634 - cmd/cmdutil: version helper 2635 - spread: enable bboozzoo/snapd-devel-deps COPR repo for getting 2636 golang-x-xerrors 2637 - interfaces: simplify AddUpdateNS and emit 2638 - interfaces/policy: expand cstrs/cstrs1 to 2639 altConstraints/constraints 2640 - overlord/devicestate: check snap handler for gadget remodel 2641 compatibility 2642 - snap-recovery: deploy gadget content when creating partitions 2643 - gadget: skip structures with MBR role during remodel 2644 - tests: do not use lsblk in uc20-snap-recovery test 2645 - overlord/snapstate: add LastActiveDisabledServices, 2646 missingDisabledServices 2647 - overlord/devicestate: refactor and split into per-functionality 2648 files, drop dead code 2649 - tests: update mount-ns after addition of /etc/systemd/user 2650 - interfaces/pulseaudio: adjust to manually connect by default 2651 - interfaces/u2f-devices: add OnlyKey to devices list 2652 - interfaces: emit update-ns snippets to function 2653 - interfaces/net-setup-{observe,control}: add Info D-Bus method 2654 accesses 2655 - tests: moving ubuntu-19.10-64 from google-unstable to google 2656 backend 2657 - gadget: rename existing and add new helpers for checking 2658 filesystem/partition presence 2659 - gadget, overlord/devicestate: add support for customized update 2660 policy, add remodel policy 2661 - snap-recovery: create filesystems as defined in the gadget 2662 - tests: ignore directories for go modules 2663 - policy: implement CanRemove policy for the snapd type 2664 - overlord/snapstate: skip catalog refresh if unseeded 2665 - strutil: add OrderedSet 2666 - snap-recovery: add minimal binary so that we can use spread on it 2667 - gadget, snap/pack: perform extended validation of gadget metadata 2668 and contents 2669 - timeutil: fix schedules with ambiguous nth weekday spans 2670 - interfaces/many: allow k8s/systemd-run to mount volume subPaths 2671 plus cleanups 2672 - client: add KnownOptions to Know() and support remote assertions 2673 - tests: check the apparmor_parser when the file exists on snap- 2674 confine test 2675 - gadget: helper for volume compatibility checks 2676 - tests: update snap logs to match for multiple lines for "running" 2677 - overlord: add checks for bootvars in 2678 TestRemodelSwitchToDifferentKernel 2679 - snap-install: add ext4,vfat creation support 2680 - snap-recovery: remove "usedPartitions" from sfdisk.Create() 2681 - image,seed: hide Seed16/Snap16, use seed.Open in image_test.go 2682 - cmd/snap: Sort tasks in snap debug timings output by lanes and 2683 ready-time. 2684 - snap-confine.apparmor.in: harden pivot_root until we have full 2685 mediation 2686 - gadget: refactor ensureVolumeConsistency 2687 - gadget: add a public helper for parsing gadget metadata 2688 - many: address issues related to explicit/implicit channels for 2689 image building 2690 - overlord/many: switch order of check snap parameters 2691 - cmd/snap-confine: remove leftover condition from capability world 2692 - overlord: set fake serial in TestRemodelSwitchToDifferentKernel 2693 - overlord/many: extend check snap callback to take snap container 2694 - recovery-tool: add sfdisk wrapper 2695 - tests: launch the lxd images following the pattern 2696 ubuntu:${VERSION_ID} 2697 - sandbox/cgroup: move freeze/thaw code 2698 - gadget: accept system-seed role and ubuntu-data label 2699 - test/lib/names.sh: make backslash escaping explicit 2700 - spread: generate delta when using google backend 2701 - cmd/snap-confine: remove loads of dead code 2702 - boot,dirs,image: various refinements in the prepare-image code 2703 switched to seedwriter 2704 - spread: include mounts list in task debug output 2705 - .gitignore: pair of trivial changes 2706 - image,seed/seedwriter: switch image to use seedwriter.Writer 2707 - asserts: introduce explicit support for grade for Core 20 models 2708 - usersession: drive by fixes for things flagged by unused or 2709 gosimple 2710 - spread.yaml: exclude vendor dir 2711 - sandbox/cgroup, overlord/snapstate: move helper for listing pids 2712 in group to the cgroup package 2713 - sandbox/cgroup: refactor process cgroup helper to support v2 and 2714 named hierarchies 2715 - snap-repair: error if run as non-root 2716 - snap: when running `snap repair` without arguments, show hint 2717 - interfaces: add cgroup-version to system-key 2718 - snap-repair: add missing check in TestRepairBasicRun 2719 - tests: use `snap model` instead of `snap known model` in tests 2720 - daemon: make /v2/download take snapRevisionOptions 2721 - snap-repair: add additional comment about trust in runner.Verify() 2722 - client: add support to use the new "download" API 2723 - interfaces: bump system-key version (and keep on bumping) 2724 - interfaces/mount: account for cgroup version when reporting 2725 supported features 2726 - tests: change regex to validate access to cdn during snap 2727 download 2728 - daemon: change /v2/download API to take "snap-name" as input 2729 - release: make forced dev mode look at cgroupv2 support 2730 - seed/seedwriter: support for extra snaps 2731 - wrappers/services.go: add disabled svc list arg to AddSnapServices 2732 - overlord/snapstate: add SetTaskSnapSetup helper + unit tests 2733 - cmd/libsnap: use cgroup.procs instead of tasks 2734 - tests: fix snapd-failover test for core18 tests on boards 2735 - overlord/snapstate/policy, etc: introduce policy, move canRemove 2736 to it 2737 - seed/seedwriter: cleanups and small left over todos* drive-by: use 2738 testutil.FilePresent consistently 2739 - cmd/snap: update 'snap find' help because it's no longer narrow 2740 - seed/seedwriter,snap/naming: support classic models 2741 - cmd/snap-confine: unmount /writable from snap view 2742 - spread.yaml: exclude automake cacheThe error message is looks like 2743 this:dpkg-source: info: local changes detected, the modified files 2744 are: 2745 - interfaces/openvswitch: allow access to other openvswitch sockets 2746 - cmd/model: don't show model with display-name inline w/ opts 2747 - daemon: add a 'prune' debug action 2748 - client: add doTimeout to http.Client{Timeout} 2749 - interfaces/seccomp: query apparmor sandbox helper rather than 2750 aggregate info 2751 - sandbox/cgroup: avoid dependency on dirs 2752 - seed/seedwriter,snap: support local snaps 2753 - overlord/snapstate: fix undo on firstboot seeding. 2754 - usersession: track connections to session agent for exit on idle 2755 and peer credential checks 2756 - tests: fix ubuntu-core-device-reg test for arm devices on core18 2757 - sandbox/seccomp: move the remaining sandbox bits to a 2758 corresponding sandbox package 2759 - osutil: generalize SyncDir with FileState interface 2760 - daemon, client, cmd/snap: include architecture in 'snap version' 2761 - daemon: allow /v2/assertions/{assertType} to query store 2762 - gadget: do not fail the update when old gadget snap is missing 2763 bare content 2764 - sandbox/selinux: move SELinux related bits from 'release' to 2765 'sandbox/selinux' 2766 - tests: add unit test for gadget defaults with a multiline string 2767 - overlord/snapstate: have more context in the errors about 2768 prerequisites 2769 - httputil: set user agent for CONNECT 2770 - seed/seedwriter: resolve channels using channel.Resolve* for snaps 2771 - run-checks: allow overriding gofmt binary, show gofmt diff 2772 - asserts,seed/seedwriter: follow snap type sorting in the model 2773 assertion snap listings 2774 - daemon: return "snapname_rev.snap" style when using /v2/download 2775 - tests: when the backend is external skip the loop waiting for snap 2776 version 2777 - many: move AppArmor probing code under sandbox/apparmor 2778 - cmd: add `snap debug boot-vars` that dumps the current bootvars 2779 - tests: skip the ubuntu-core-upgrade on arm devices on core18 2780 - seed/seedwriter: implement WriteMeta and tree16 corresponding code 2781 - interfaces/docker-support,kubernetes-support: misc updates for 2782 strict k8s 2783 - tests: restart the journald service while preparing the test 2784 - tests/cmd/debug_state: make the test output TZ independent 2785 - interfaces/kubernetes-support: allow use of /run/flannel 2786 - seed/seedwriter: start of Writer and internal policy16/tree16 2787 - sandbox/cgroup, usersession/userd: move cgroup related helper to a 2788 dedicated package 2789 - tests: move "centos-7" to unstable systems 2790 - snapstate: add missing tests for checkGadgetOrKernel 2791 - docs: Update README.md 2792 - snapcraft: set license to GPL-3.0 2793 - interfaces/wayland: allow a confined server running in a user 2794 session to work with Qt, GTK3 & SDL2 clients 2795 - selinux: move the package under sandbox/selinux 2796 - interfaces/udev: account for cgroup version when reporting 2797 supported features 2798 - store, ..., client: add a "website" field 2799 - sanity: sanity check cgroup probing 2800 - snapstate: increase settleTimeout in 2801 TestRemodelSwitchToDifferentKernel 2802 - packaging: remove obsolete usr.lib.snapd.snap-confine in postinst 2803 - data/selinux: allow snapd/snap to do statfs() on the cgroup 2804 mountpoint 2805 - usersession/userd: make sure to export DBus interfaces before 2806 requesting a name 2807 - data/selinux: allow snapd to issue sigkill to journalctl 2808 - docs: Add Code of Conduct 2809 - store: download propagates options to delta download 2810 - tests/main/listing: account for dots in ~pre suffix 2811 2812 * Fri Dec 06 2019 Michael Vogt <mvo@ubuntu.com> 2813 - New upstream release 2.42.5 2814 - snap-confine: revert, with comment, explicit unix deny for nested 2815 lxd 2816 - Disable mount-ns test on 16.04. It is too flaky currently. 2817 2818 * Thu Nov 28 2019 Michael Vogt <mvo@ubuntu.com> 2819 - New upstream release 2.42.4 2820 - overlord/snapstate: make sure configuration defaults are applied 2821 only once 2822 2823 * Wed Nov 27 2019 Michael Vogt <mvo@ubuntu.com> 2824 - New upstream release 2.42.3 2825 - overlord/snapstate: pick up system defaults when seeding the snapd 2826 snap 2827 - cmd/snap-update-ns: fix overlapping, nested writable mimic 2828 handling 2829 - interfaces: misc updates for u2f-devices, browser-support, 2830 hardware-observe, et al 2831 - tests: reset failing "fwupd-refresh.service" if needed 2832 - tests/main/gadget-update-pc: use a program to modify gadget yaml 2833 - snap-confine: suppress noisy classic snap file_inherit denials 2834 2835 * Wed Nov 20 2019 Michael Vogt <mvo@ubuntu.com> 2836 - New upstream release 2.42.2 2837 - interfaces/lxd-support: Fix on core18 2838 - tests/main/system-usernames: Amazon Linux 2 comes with libseccomp 2839 2.4.1 now 2840 - snap-seccomp: add missing clock_getres_time64 2841 - cmd/snap-seccomp/syscalls: update the list of known 2842 syscalls 2843 - sandbox/seccomp: accept build ID generated by Go toolchain 2844 - interfaces: allow access to ovs bridge sockets 2845 2846 * Wed Oct 30 2019 Michael Vogt <mvo@ubuntu.com> 2847 - New upstream release 2.42.1 2848 - interfaces: de-duplicate emitted update-ns profiles 2849 - packaging: tweak handling of usr.lib.snapd.snap-confine 2850 - interfaces: allow introspecting network-manager on core 2851 - tests/main/interfaces-contacts-service: disable on openSUSE 2852 Tumbleweed 2853 - tests/lib/lxd-snapfuse: restore mount changes introduced by LXD 2854 - snap: fix default-provider in seed validation 2855 - tests: update system-usernames test now that opensuse-15.1 works 2856 - overlord: set fake sertial in TestRemodelSwitchToDifferentKernel 2857 - gadget: rename "boot{select,img}" -> system-boot-{select,image} 2858 - tests: listing test, make accepted snapd/core versions consistent 2859 2860 * Tue Oct 01 2019 Michael Vogt <mvo@ubuntu.com> 2861 - New upstream release 2.42 2862 - tests: disable {contacts,calendar}-service tests on debian-sid 2863 - tests/main/snap-run: disable strace test cases on Arch 2864 - cmd/system-shutdown: include correct prototype for die 2865 - snap/naming: add test for hook name connect-plug-i2c 2866 - cmd/snap-confine: allow digits in hook names 2867 - gadget: do not fail the update when old gadget snap is missing 2868 bare content 2869 - tests: disable {contacts,calendar}-service tests on Arch Linux 2870 - tests: move "centos-7" to unstable systems 2871 - interfaces/docker-support,kubernetes-support: misc updates for 2872 strict k8s 2873 - packaging: remove obsolete usr.lib.snapd.snap-confine in 2874 postinst 2875 - tests: add test that ensures our snapfuse binary actually works 2876 - packaging: use snapfuse_ll to speed up snapfuse performance 2877 - usersession/userd: make sure to export DBus interfaces before 2878 requesting a name 2879 - data/selinux: allow snapd to issue sigkill to journalctl 2880 - store: download propagates options to delta download 2881 - wrappers: allow snaps to install icon theme icons 2882 - debug: state-inspect debugging utility 2883 - sandbox/cgroup: introduce cgroup wrappers package 2884 - snap-confine: fix return value checks for udev functions 2885 - cmd/model: output tweaks, add'l tests 2886 - wrappers/services: add ServicesEnableState + unit tests 2887 - tests: fix newline and wrong test name pointed out in previous PRs 2888 - tests: extend mount-ns test to handle mimics 2889 - run-checks, tests/main/go: allow gofmt checks to be skipped on 2890 19.10 2891 - tests/main/interfaces-{calendar,contacts}-service: disable on 2892 19.10 2893 - tests: part3 making tests work on ubuntu-core-18 2894 - tests: fix interfaces-timeserver-control on 19.10 2895 - overlord/snapstate: config revision code cleanup and extra tests 2896 - devicestate: allow remodel to different kernels 2897 - overlord,daemon: adjust startup timeout via EXTEND_TIMEOUT_USEC 2898 using an estimate 2899 - tests/main/many: increase kill-timeout to 5m 2900 - interfaces/kubernetes-support: allow systemd-run to ptrace read 2901 unconfined 2902 - snapstate: auto transition on experimental.snapd-snap=true 2903 - tests: retry checking until the written file on desktop-portal- 2904 filechooser 2905 - tests: unit test for a refresh failing on configure hook 2906 - tests: remove mount_id and parent_id from mount-ns test data 2907 - tests: move classic-ubuntu-core-transition* to nightly 2908 - tests/mountinfo-tool: proper formatting of opt_fields 2909 - overlord/configstate: special-case "null" in transaction Changes() 2910 - snap-confine: fallback gracefully on a cgroup v2 only system 2911 - tests: debian sid now ships new seccomp, adjust tests 2912 - tests: explicitly restore after using LXD 2913 - snapstate: make progress reporting less granular 2914 - bootloader: little kernel support 2915 - fixme: rename ubuntu*architectures to dpkg*architectures 2916 - tests: run dbus-launch inside a systemd unit 2917 - channel: introduce Resolve and ResolveLocked 2918 - tests: run failing tests on ubuntu eoan due to is now set as 2919 unstable 2920 - systemd: detach rather than unmount .mount units 2921 - cmd/snap-confine: add unit tests for sc_invocation, cleanup memory 2922 leaks in tests 2923 - boot,dirs,image: introduce boot.MakeBootable, use it in image 2924 instead of ad hoc code 2925 - cmd/snap-update-ns: clarify sharing comment 2926 - tests/overlord/snapstate: refactor for cleaner test failures 2927 - cmd/snap-update-ns: don't propagate detaching changes 2928 - interfaces: allow reading mutter Xauthority file 2929 - cmd/snap-confine: fix /snap duplication in legacy mode 2930 - tests: fix mountinfo-tool filtering when used with rewriting 2931 - seed,image,o/devicestate: extract seed loading to seed/seed16.go 2932 - many: pass the rootdir and options to bootloader.Find 2933 - tests: part5 making tests work on ubuntu-core-18 2934 - cmd/snap-confine: keep track of snap instance name and the snap 2935 name 2936 - cmd: unify die() across C programs 2937 - tests: add functions to make an abstraction for the snaps 2938 - packaging/fedora, tests/lib/prepare-restore: helper tool for 2939 packing sources for RPM 2940 - cmd/snap: improve help and error msg for snapshot commands 2941 - hookstate/ctlcmd: fix snapctl set help message 2942 - cmd/snap: don't append / to snap name just because a dir exists 2943 - tests: support fastly-global.cdn.snapcraft.io url on proxy-no-core 2944 test 2945 - tests: add --quiet switch to retry-tool 2946 - tests: add unstable stage for travis execution 2947 - tests: disable interfaces-timeserver-control on 19.10 2948 - tests: don't guess in is_classic_confinement_supported 2949 - boot, etc: simplify BootParticipant (etc) usage 2950 - tests: verify retry-tool not retrying missing commands 2951 - tests: rewrite "retry" command as retry-tool 2952 - tests: move debug section after restore 2953 - cmd/libsnap-confine-private, cmd/s-c: use constants for 2954 snap/instance name lengths 2955 - tests: measure behavior of the device cgroup 2956 - boot, bootloader, o/devicestate: boot env manip goes in boot 2957 - tests: enabling ubuntu 19.10-64 on spread.yaml 2958 - tests: fix ephemeral mount table in left over by prepare 2959 - tests: add version-tool for comparing versions 2960 - cmd/libsnap: make feature flag enum 1<<N style 2961 - many: refactor boot/boottest and move to bootloader/bootloadertest 2962 - tests/cross/go-build: use go list rather than shell trickery 2963 - HACKING.md: clarify where "make fmt" is needed 2964 - osutil: make flock test more robust 2965 - features, overlord: make parallel-installs exported, export flags 2966 on startup 2967 - overlord/devicestate: support the device service returning a 2968 stream of assertions 2969 - many: add snap model command, add /v2/model, /v2/model/serial REST 2970 APIs 2971 - debian: set GOCACHE dir during build to fix FTBFS on eoan 2972 - boot, etc.: refactor boot to have a lookup with different imps 2973 - many: add the start of Core 20 extensions support to the model 2974 assertion 2975 - overlord/snapstate: revert track-risk behavior change and 2976 validation on install 2977 - cmd/snap,image,seed: move image.ValidateSeed to 2978 seed.ValidateFromYaml 2979 - image,o/devicestate,seed: oops, make sure to clear seedtest 2980 helpers 2981 - tests/main/snap-info: update check.py for test-snapd-tools 2.0 2982 - tests: moving tests to nightly suite 2983 - overlord/devicestate,seed: small step, introduce 2984 seed.LoadAssertions and use it from firstboot 2985 - snapstate: add comment to checkVersion vs strutil.VersionCompare 2986 - tests: add unit tests for cmd_whoami 2987 - tests: add debug section to interfaces-contacts-service 2988 - many: introduce package seed and seedtest 2989 - interfaces/bluez: enable communication between bluetoothd and 2990 meshd via dbus 2991 - cmd/snap: fix snap switch message 2992 - overlord/snapstate: check channel names on install 2993 - tests: check snap_daemon user and group on system-usernames- 2994 illegal test are not created 2995 - cmd/snap-confine: fix group and permission of .info files 2996 - gadget: do not error on gadget refreshes with multiple volumes 2997 - snap: use deterministic paths to find the built deb 2998 - tests: just build snapd commands on go-build test 2999 - tests: re-enable mount-ns test on classic 3000 - tests: rename fuse_support to fuse-support 3001 - tests: move restore-project-each code to existing function 3002 - tests: simplify interfaces-account-control test 3003 - i18n, vendor, packaging: drop github.com/ojii/gettext.go, use 3004 github.com/snapcore/go-gettext 3005 - tests: always say 'restore: |' 3006 - tests: new test to check the output after refreshing/reverting 3007 core 3008 - snapstate: validate all system-usernames before creating them 3009 - tests: fix system version check on listing test for external 3010 backend 3011 - tests: add check for snap_daemon user/group 3012 - tests: don't look for lxcfs in mountinfo 3013 - tests: adding support for arm devices on ubuntu-core-device-reg 3014 test 3015 - snap: explicitly forbid trying to parallel install from seed 3016 - tests: remove trailing spaces from shell scripts 3017 - tests: remove locally installed revisions of core 3018 - tests: fix removal of snaps on ubuntu-core 3019 - interfaces: support Tegra display drivers 3020 - tests: move interfaces-contacts-service to /tmp 3021 - interfaces/network-manager: allow using 3022 org.freedesktop.DBus.ObjectManager 3023 - tests: restore dpkg selections after upgrade-from-2.15 test 3024 - tests: pass --remove to userdel on core 3025 - snap/naming: simplify SnapSet somewhat 3026 - devicestate/firstboot: check for missing bases early 3027 - httputil: rework protocol error detection 3028 - tests: unmount fuse connections only if not initially mounted 3029 - snap: prevent duplicated snap name and snap files when parsing 3030 seed.yaml 3031 - tests: re-implement user tool in python 3032 - image: improve/tweak some warning/error messages 3033 - cmd/libsnap-confine-private: add checks for parallel instances 3034 feature flag 3035 - tests: wait_for_service shows status after actual first minute 3036 - sanity: report proper errror when fuse is needed but not available 3037 - snap/naming: introduce SnapRef, Snap, and SnapSet 3038 - image: support prepare-image --classic for snapd snap only 3039 imagesConsequently: 3040 - tests/main/mount-ns: account for clone_children in cpuset cgroup 3041 on 18.04 3042 - many: merging asserts.Batch Precheck with CommitTo and other 3043 clarifications 3044 - devicestate: add missing test for remodeling possibly removing 3045 required flag 3046 - tests: use user-tool to remove test user in the non-home test 3047 - overlord/configstate: sort patch keys to have deterministic order 3048 with snap set 3049 - many: generalize assertstate.Batch to asserts.Batch, have 3050 assertstate.AddBatch 3051 - gadget, overlord/devicestate: rename Position/Layout 3052 - store, image, cmd: make 'snap download' leave partials 3053 - httputil: improve http2 PROTOCOL_ERROR detection 3054 - tests: add new "user-tool" helper and use in system-user tests 3055 - tests: clean up after NFS tests 3056 - ifacestate: optimize auto-connect by setting profiles once after 3057 all connects 3058 - hookstate/ctlcmd: snapctl unset command 3059 - tests: allow test user XDG_RUNTIME_DIR to phase out 3060 - tests: cleanup "snap_daemon" user in system-usernames-install- 3061 twice 3062 - cmd/snap-mgmt: set +x on startup 3063 - interfaces/wayland,x11: allow reading an Xwayland Xauth file 3064 - many: move channel parsing to snap/channel 3065 - check-pr-title.py: allow {} in pr prefix 3066 - tests: spam test logs less while waiting for systemd unit to stop 3067 - tests: remove redundant activation check for snapd.socket 3068 snapd.service 3069 - tests: trivial snapctl test cleanup 3070 - tests: ubuntu 18.10 removed from the google-sru backend on the 3071 spread.yaml 3072 - tests: add new cases into arch_test 3073 - tests: clean user and group for test system-usernames-install- 3074 twice 3075 - interfaces: k8s worker node updates 3076 - asserts: move Model to its own model.go 3077 - tests: unmount binfmt_misc on cleanup 3078 - tests: restore nsdelegate clobbered by LXD 3079 - cmd/snap: fix snap unset help string 3080 - tests: unmount fusectl after testing 3081 - cmd/snap: fix remote snap info for parallel installed snaps 3082 3083 * Fri Aug 30 2019 Michael Vogt <mvo@ubuntu.com> 3084 - New upstream release 2.41 3085 - overlord/snapstate: revert track-risk behavior 3086 - tests: fix snap info test 3087 - httputil: rework protocol error detection 3088 - gadget: do not error on gadget refreshes with multiple volumes 3089 - i18n, vendor, packaging: drop github.com/ojii/gettext.go, use 3090 github.com/snapcore/go-gettext 3091 - snapstate: validate all system-usernames before creating them 3092 - mkversion.sh: fix version from git checkouts 3093 - interfaces/network-{control,manager}: allow 'k' on 3094 /run/resolvconf/** 3095 - interfaces/wayland,x11: allow reading an Xwayland Xauth file 3096 - interfaces: k8s worker node updates 3097 - debian: re-enable systemd environment generator 3098 - many: create system-usernames user/group if both don't exist 3099 - packaging: fix symlink for snapd.session-agent.socket 3100 - tests: change cgroups so that LXD doesn't have to 3101 - interfaces/network-setup-control: allow dbus netplan apply 3102 messages 3103 - tests: add /var/cache/snapd to the snapd state to prevent error on 3104 the store 3105 - tests: add test for services disabled during refresh hook 3106 - many: simpler access to snap-seccomp version-info 3107 - snap: cleanup some tests, clarify some errorsThis is a follow up 3108 from work on system usernames: 3109 - osutil: add osutil.Find{Uid,Gid} 3110 - tests: use a different archive based on the spread backend on go- 3111 build test 3112 - cmd/snap-update-ns: fix pair of bugs affecting refresh of snap 3113 with layouts 3114 - overlord/devicestate: detect clashing concurrent (ongoing, just 3115 finished) remodels or changes 3116 - interfaces/docker-support: declare controls-device-cgroup 3117 - packaging: fix removal of old apparmor profile 3118 - store: use track/risk for "channel" name when parsing store 3119 details 3120 - many: allow 'system-usernames' with libseccomp > 2.4 and golang- 3121 seccomp > 0.9.0 3122 - overlord/devicestate, tests: use gadget.Update() proper, spread 3123 test 3124 - overlord/configstate/configcore: allow setting start_x=1 to enable 3125 CSI camera on RPi 3126 - interfaces: remove BeforePrepareSlot from commonInterface 3127 - many: support system-usernames for 'snap_daemon' user 3128 - overlord/devicestate,o/snapstate: queue service commands before 3129 mark-seeded and other final tasks 3130 - interfaces/mount: discard mount ns on backend Remove 3131 - packaging/fedora: build on RHEL8 3132 - overlord/devicestate: support seeding a classic system with the 3133 snapd snap and no core 3134 - interfaces: fix test failure in gpio_control_test 3135 - interfaces, policy: remove sanitize helpers and use minimal policy 3136 check 3137 - packaging: use %systemd_user_* macros to enable session agent 3138 socket according to presets 3139 - snapstate, store: handle 429s on catalog refresh a little bit 3140 better 3141 - tests: part4 making tests work on ubuntu-core-18 3142 - many: drop snap.ReadGadgetInfo wrapper 3143 - xdgopenproxy: update test API to match upstream 3144 - tests: show why sbuild failed 3145 - data/selinux: allow mandb_t to search /var/lib/snapd 3146 - tests: be less verbose when checking service status 3147 - tests: set sbuild test as manual 3148 - overlord: DeviceCtx must find the remodel context for a remodel 3149 change 3150 - tests: use snap info --verbose to check for base 3151 - sanity: unmount squashfs with --lazy 3152 - overlord/snapstate: keep current track if only risk is specified 3153 - interfaces/firewall-control: support nft routing expressions and 3154 device groups 3155 - gadget: support for writing symlinks 3156 - tests: mountinfo-tool fail if there are no matches 3157 - tests: sync journal log before start the test 3158 - cmd/snap, data/completion: improve completion for 'snap debug' 3159 - httputil: retry for http2 PROTOCOL_ERROR 3160 - Errata commit: pulseaudio still auto-connects on classic 3161 - interfaces/misc: updates for k8s 1.15 (and greengrass test) 3162 - tests: set GOTRACEBACK=1 when running tests 3163 - cmd/libsnap: don't leak memory in sc_die_on_error 3164 - tests: improve how the system is restored when the upgrade- 3165 from-2.15 test fails 3166 - interfaces/bluetooth-control: add udev rules for BT_chrdev devices 3167 - interfaces: add audio-playback/audio-record and make pulseaudio 3168 manually connect 3169 - tests: split the sbuild test in 2 depending on the type of build 3170 - interfaces: add an interface granting access to AppStream metadata 3171 - gadget: ensure filesystem labels are unique 3172 - usersession/agent: use background context when stopping the agent 3173 - HACKING.md: update spread section, other updates 3174 - data/selinux: allow snap-confine to read entries on nsfs 3175 - tests: respect SPREAD_DEBUG_EACH on the main suite 3176 - packaging/debian-sid: set GOCACHE to a known writable location 3177 - interfaces: add gpio-control interface 3178 - cmd/snap: use showDone helper with 'snap switch' 3179 - gadget: effective structure role fallback, extra tests 3180 - many: fix unit tests getting stuck 3181 - tests: remove installed snap on restore 3182 - daemon: do not modify test data in user suite 3183 - data/selinux: allow read on sysfs 3184 - packaging/debian: don't md5sum absent files 3185 - tests: remove test-snapd-curl 3186 - tests: remove test-snapd-snapctl-core18 in restore 3187 - tests: remove installed snap in the restore section 3188 - tests: remove installed test snap 3189 - tests: correctly escape mount unit path 3190 - cmd/Makefile.am: support building with the go snap 3191 - tests: work around classic snap affecting the host 3192 - tests: fix typo "current" 3193 - overlord/assertstate: add Batch.Precheck to check for the full 3194 validity of the batch before Commit 3195 - tests: restore cpuset clone_children clobbered by lxd 3196 - usersession: move userd package to usersession/userd 3197 - tests: reformat and fix markdown in snapd-state.md 3198 - gadget: select the right updater for given structure 3199 - tests: show stderr only if it exists 3200 - sessionagent: add a REST interface with socket activation 3201 - tests: remove locally installed core in more tests 3202 - tests: remove local revision of core 3203 - packaging/debian-sid: use correct apparmor Depends for Debian 3204 - packaging/debian-sid: merge debian upload changes back into master 3205 - cmd/snap-repair: make sure the goroutine doesn't stick around on 3206 timeout 3207 - packaging/fedora: github.com/cheggaaa/pb is no longer used 3208 - configstate/config: fix crash in purgeNulls 3209 - boot, o/snapst, o/devicest: limit knowledge of boot vars to boot 3210 - client,cmd/snap: stop depending on status/status-code in the JSON 3211 responses in client 3212 - tests: unmount leftover /run/netns 3213 - tests: switch mount-ns test to manual 3214 - overlord,daemon,cmd/snapd: move expensive startup to dedicated 3215 StartUp methods 3216 - osutil: add EnsureTreeState helper 3217 - tests: measure properties of various mount namespaces 3218 - tests: part2 making tests work on ubuntu-core-18 3219 - interfaces/policy: minimal policy check for replacing 3220 sanitizeReservedFor helpers (1/2) 3221 - interfaces: add an interface that grants access to the PackageKit 3222 service 3223 - overlord/devicestate: update gadget update handlers and mocks 3224 - tests: add mountinfo-tool --ref-x1000 3225 - tests: remove lxd / lxcfs if pre-installed 3226 - tests: removing support for ubuntu cosmic on spread test suite 3227 - tests: don't leak /run/netns mount 3228 - image: clean up the validateSuite 3229 - bootloader: remove "Dir()" from Bootloader interface 3230 - many: retry to reboot if snapd gets restarted before expected 3231 reboot 3232 - overlord: implement re-registration remodeling 3233 - cmd: revert PR#6933 (tweak of GOMAXPROCS) 3234 - cmd/snap: add snap unset command 3235 - many: add Client-User-Agent to "SnapAction" install API call 3236 - tests: first part making tests run on ubuntu-core-18 3237 - hookstate/ctlcmd: support hidden commands in snapctl 3238 - many: replace snapd snap name checks with type checks (3/4) 3239 - overlord: mostly stop needing Kernel/CoreInfo, make GadgetInfo 3240 consider a DeviceContext 3241 - snapctl: handle unsetting of config options with "!" 3242 - tests: move core migration snaps to tests/lib/snaps dir 3243 - cmd/snap: handle unsetting of config options with "!" 3244 - cmd/snap, etc: add health to 'snap list' and 'snap info' 3245 - gadget: use struct field names when intializing data in mounted 3246 updater unit tests 3247 - cmd/snap-confine: bring /lib/firmware from the host 3248 - snap: set snapd snap type (1/4) 3249 - snap: add checks in validate-seed for missing base/default- 3250 provider 3251 - daemon: replace shutdownServer with net/http's native shutdown 3252 support 3253 - interfaces/builtin: add exec "/bin/runc" to docker-support 3254 - gadget: mounted filesystem updater 3255 - overlord/patch: simplify conditions for re-applying sublevel 3256 patches for level 6 3257 - seccomp/compiler: adjust test case names and comment for later 3258 changes 3259 - tests: fix error doing snap pack running failover test 3260 - tests: don't preserve size= when rewriting mount tables 3261 - tests: allow reordering of rewrite operations 3262 - gadget: main update routine 3263 - overlord/config: normalize nulls to support config unsetting 3264 semantics 3265 - snap-userd-autostart: don't list as a startup application on the 3266 GUI 3267 - tests: renumber snap revisions as seen via writable 3268 - tests: change allocation for mount options 3269 - tests: re-enable ns-re-associate test 3270 - tests: mountinfo-tool allow many --refs 3271 - overlord/devicestate: implement reregRemodelContext with the 3272 essential re-registration logic 3273 - tests: replace various numeric mount options 3274 - gadget: filesystem image writer 3275 - tests: add more unit tests for mountinfo-tool 3276 - tests: introduce mountinfo-tool --ref feature 3277 - tests: refactor mountinfo-tool rewrite state 3278 - tests: allow renumbering mount namespace identifiers 3279 - snap: refactor and explain layout blacklisting 3280 - tests: renumber snap revisions as seen via hostfs 3281 - daemon, interfaces, travis: workaround build ID with Go 1.9, use 3282 1.9 for travis tests 3283 - cmd/libsnap: add sc_error_init_{simple,api_misuse} 3284 - gadget: make raw updater handle shifted structures 3285 - tests/lib/nested: create WORK_DIR before accessing it 3286 - cmd/libsnap: rename SC_LIBSNAP_ERROR to SC_LIBSNAP_DOMAIN 3287 - cmd,tests: forcibly discard mount namespace when bases change 3288 - many: introduce healthstate, run check-health 3289 post-(install/refresh/try/revert) 3290 - interfaces/optical-drive: add scsi-generic type 4 and 5 support 3291 - cmd/snap-confine: exit from helper when parent dies 3292 3293 * Fri Jul 12 2019 Michael Vogt <mvo@ubuntu.com> 3294 - New upstream release 2.40 3295 - overlord/patch: simplify conditions for re-applying sublevel 3296 patches for level 6 3297 - cmd,tests: forcibly discard mount namespace when bases change 3298 - cmd/snap-confine: handle device cgroup before pivot 3299 - cmd/snap-apparmor-service: quit if there are no profiles 3300 - cmd/snap, image: add --target-directory and --basename to 'snap 3301 download' 3302 - interfaces: add jack1 implicit classic interface 3303 - interfaces: miscellaneous policy updates 3304 - daemon: classic confinement is not supported on core 3305 - interfaces: bluetooth-control: add mtk BT device node 3306 - cmd/snap-seccomp: initial support for negative arguments with 3307 uid/gid caching 3308 - snap-confine: move seccomp load after permanent privilege drop 3309 - tests: new profiler snap used to track cpu and memory for snapd 3310 and snap commands 3311 - debian: make maintainer scripts do nothing on powerpc 3312 - gadget: mounted filesystem writer 3313 - cmd/snap: use padded checkers for snapshot output 3314 - bootloader: switch to bootloader_test style testing 3315 - gadget: add a wrapper for generating partitioned images with 3316 sfdisk 3317 - tests/main/snap-seccomp-syscalls: add description 3318 - tests: continue executing on errors either updating the repo db or 3319 installing dependencies 3320 - cmd/snap-seccomp/syscalls: add io_uring syscalls 3321 - systemd: add InstanceMode enumeration to control which systemd 3322 instance to control 3323 - netutil: extract socket activation helpers from daemon package. 3324 - interfaces: spi: update regex rules to accept spi nodes like 3325 spidev12345.0 3326 - gadget: fallback device lookup 3327 - many: add strutil.ElliptLeft, use it for shortening cohorts 3328 - wrappers: allow sockets under $XDG_RUNTIME_DIR 3329 - gadget: add wrapper for creating and populating filesystems 3330 - gadget: add writer for offset-write 3331 - gadget: support relative symlinks in device lookup 3332 - snap, snapstate: additional validation of base field 3333 - many: fix some races and missing locking, make sure UDevMonitor is 3334 stopped 3335 - boot: move ExtractKernelAssets 3336 - daemon, snap: screenshots _only_ shows the deprecation notice, 3337 from 2.39 3338 - osutil: add a workaround for overlayfs apparmor as it is used on 3339 Manjaro 3340 - snap: introduce GetType() function for snap.Info 3341 - tests: update systems to be used for during sru validation 3342 - daemon: increase `shutdownTimeout` to 25s to deal with slow 3343 HW 3344 - interfaces/network-manager: move deny ptrace to the connected slot 3345 - interfaces: allow locking of pppd files 3346 - cmd/snap-exec: fix snap completion for classic snaps with non 3347 /usr/lib/snapd libexecdir 3348 - daemon: expose pprof endpoints 3349 - travis: disable snap pack on OSX 3350 - client, cmd/snap: expose the new cohort options for snap ops 3351 - overlord/snapstate: tweak switch summaries 3352 - tests: reuse the image created initially for nested tests 3353 execution 3354 - tests/lib/nested: tweak assert disk prepare step 3355 - daemon, overlord/snapstate: support leave-cohort 3356 - tests/main/appstream-id: collect debug info 3357 - store,daemon: add client-user-agent support to store.SnapInfo 3358 - tests: add check for invalid PR titles in the static checks 3359 - tests: add snap-tool for easier access to internal tools 3360 - daemon: unexport file{Response,Stream} 3361 - devicestate: make TestUpdateGadgetOnClassicErrorsOut less racy 3362 - tests: fix test desktop-portal-filechooser 3363 - tests: sort commands from DumpCommands in the dumpDbHook 3364 - cmd/snap: add unit test for "advise-snap --dump-db". 3365 - bootloader: remove extra mock bootloader implementation 3366 - daemon: tweak for "add api endpoint for download" PR 3367 - packaging: fix reproducible build error 3368 - tests: synchronize journal logs before check logs 3369 - tests: fix snap service watchdog test 3370 - tests: use more readable test directory names 3371 - tests/regression/lp-1805485: update test description 3372 - overlord: make changes conflict with remodel 3373 - tests: make sure the snapshot unit test uses a snapshot time 3374 relative to Now() 3375 - tests: revert "tests: stop catalog-update/apt-hooks test for now" 3376 - tests: mountinfo-tool --one prints matches on failure 3377 - data/selinux: fix policy for snaps with bases and classic snaps 3378 - debian: fix building on eoan by tweaking golang build-deps 3379 - packaging/debian-sid: update required golang version to 1.10 3380 - httputil: handle "no such host" error explicitly and do not retry 3381 it 3382 - overlord/snapstate, & fallout: give Install a *RevisionOptions 3383 - cmd/snap: don't run install on 'snap --help install' 3384 - gadget: raw/bare structure writer and updater 3385 - daemon, client, cmd/snap: show cohort key in snap info --verbose 3386 - overlord/snapstate: add update-gadget task when needed, block 3387 other changes 3388 - image: turn a missing default content provider into an error 3389 - overlord/devicestate: update-gadget-assets task handler with 3390 stubbed gadget callbacks 3391 - interface: builtin: avahi-observe/control: update label for 3392 implicit slot 3393 - tests/lib/nested: fix multi argument copy_remote 3394 - tests/lib/nested: have mkfs.ext4 use a rootdir instead of mounting 3395 an image 3396 - packaging: fix permissions powerpc docs dir 3397 - overlord: mock store to avoid net requests 3398 - debian: rework how we run autopkgtests 3399 - interface: builtin: avahi-observe/control: allow slots 3400 implementation also by app snap on classic system 3401 - interfaces: builtin: utils: add helper function to identify system 3402 slots 3403 - interfaces: add missing adjtimex to time-control 3404 - overlord/snapstate, snap: support base = "none" 3405 - daemon, overlord/snapstate: give RevisionOptions a CohortKey 3406 - data/selinux: permit init_t to remount snappy_snap_t 3407 - cmd/snap: test for a friendly error on 'okay' without 'warnings' 3408 - cmd/snap: support snap debug timings --startup=.. and measure 3409 loadState time 3410 - advise-snap: add --dump-db which dumps the command database 3411 - interfaces/docker-support: support overlayfs on ubuntu core 3412 - cmd/okay: Remove err message when warning file not exist 3413 - devicestate: disallow removal of snaps used in booting early 3414 - packaging: fix build-depends on powerpc 3415 - tests: run spread tests on opensuse leap 15.1 3416 - strutil/shlex: fix ineffassign 3417 - cmd/snapd: ensure GOMAXPROCS is at least 2 3418 - cmd/snap-update-ns: detach unused mount points 3419 - gadget: record gadget root directory used during positioning 3420 - tests: force removal to prevent restore fails when directory 3421 doesn't exist on lp-1801955 test 3422 - overlord: implement store switch remodeling 3423 - tests: stop using ! for naive negation in shell scripts 3424 - snap,store,daemon,client: send new "Snap-Client-User-Agent" header 3425 in Search() 3426 - osutil: now that we require golang-1.10, use user.LookupGroup() 3427 - spread.yaml,tests: change MATCH and REBOOT to cmds 3428 - packaging/fedora: force external linker to ensure static linking 3429 and -extldflags use 3430 - timings: tweak the conditional for ensure timings 3431 - timings: always store ensure timings as long as they have an 3432 associated change 3433 - cmd/snap: tweak the output of snap debug timings --ensure=... 3434 - overlord/devicestate: introduce remodel kinds and 3435 contextsregistrationContext: 3436 - snaptest: add helper for mocking snap with contents 3437 - snapstate: allow removal of non-model kernels 3438 - tests: change strace parameters on snap-run test to avoid the test 3439 gets stuck 3440 - gadget: keep track of the index where structure content was 3441 defined 3442 - cmd/snap-update-ns: rename leftover ctx to upCtx 3443 - tests: add "not" command 3444 - spread.yaml: use "snap connections" in debug 3445 - tests: fix how strings are matched on auto-refresh-retry test 3446 - spread-shellcheck: add support for variants and environment 3447 - gadget: helper for shifting structure start position 3448 - cmd/snap-update-ns: add several TODO comments 3449 - cmd/snap-update-ns: rename ctx to upCtx 3450 - spread.yaml: make HOST: usage shellcheck-clean 3451 - overlord/snapstate, daemon: snapstate.Switch now takes a 3452 RevisionOption 3453 - tests: add mountinfo-tool 3454 - many: make snapstate.Update take *RevisionOptions instead of chan, 3455 rev 3456 - tests/unit/spread-shellcheck: temporary workaround for SC2251 3457 - daemon: refactor user ops to api_users 3458 - cmd/snap, tests: refactor info to unify handling of 'direct' snaps 3459 - cmd/snap-confine: combine sc_make_slave_mount_ns into caller 3460 - cmd/snap-update-ns: use "none" for propagation changes 3461 - cmd/snap-confine: don't pass MS_SLAVE along with MS_BIND 3462 - cmd/snap, api, snapstate: implement "snap remove --purge" 3463 - tests: new hotplug test executed on ubuntu core 3464 - tests: running tests on fedora 30 3465 - gadget: offset-write: fix validation, calculate absolute position 3466 - data/selinux: allow snap-confine to do search on snappy_var_t 3467 directories 3468 - daemon, o/snapstate, store: support for installing from cohorts 3469 - cmd/snap-confine: do not mount over non files/directories 3470 - tests: validates snapd from ppa 3471 - overlord/configstate: don't panic on invalid configuration 3472 - gadget: improve device lookup, add helper for mount point lookup 3473 - cmd/snap-update-ns: add tests for executeMountProfileUpdate 3474 - overlord/hookstate: don't run handler unless hooksup.Always 3475 - cmd/snap-update-ns: allow changing mount propagation 3476 - systemd: workaround systemctl show quirks on older systemd 3477 versions 3478 - cmd/snap: allow option descriptions to start with the command 3479 - many: introduce a gadget helper for locating device matching given 3480 structure 3481 - cmd/snap-update-ns: fix golint complaints about variable names 3482 - cmd/snap: unit tests for debug timings 3483 - testutil: support sharing-related mount flags 3484 - packaging/fedora: Merge changes from Fedora Dist-Git and drop EOL 3485 Fedora releases 3486 - cmd/snap: support for --ensure argument for snap debug timings 3487 - cmd,sandbox: tweak seccomp version info handling 3488 - gadget: record sector size in positioned volume 3489 - tests: make create-user test support managed devices 3490 - packaging: build empty package on powerpc 3491 - overlord/snapstate: perform hard refresh check 3492 - gadget: add volume level update checks 3493 - cmd/snap: mangle descriptions that have indent > terminal width 3494 - cmd/snap-update-ns: rename applyFstab to executeMountProfileUpdate 3495 - cmd/snap-confine: unshare per-user mount ns once 3496 - tests: retry govendor sync 3497 - tests: avoid removing snaps which are cached to speed up the 3498 prepare on boards 3499 - tests: fix how the base snap are deleted when there are multiple 3500 to deleted on reset 3501 - cmd/snap-update-ns: merge apply functions 3502 - many: introduce assertstest.SigningAccounts and AddMany test 3503 helpers 3504 - interfaces: special-case "snapd" in sanitizeSlotReservedForOS* 3505 helpers 3506 - cmd/snap-update-ns: make apply{User,System}Fstab identical 3507 - gadget: introduce checkers for sanitizing structure updates 3508 - cmd/snap-update-ns: move apply{Profile,{User,System}Fstab} to same 3509 file 3510 - overlord/devicestate: introduce registrationContext 3511 - cmd/snap-update-ns: add no-op load/save current user profile logic 3512 - devicestate: set "new-model" on the remodel change 3513 - devicestate: use deviceCtx in checkGadgetOrKernel 3514 - many: use a fake assertion model in the device contexts for tests 3515 - gadget: fix handling of positioning constrains for structures of 3516 MBR role 3517 - snap-confine: improve error when running on a not /home homedir 3518 - devicestate: make Remodel() return a state.Change 3519 - many: make which store to use contextualThis reworks 3520 snapstate.Store instead of relying solely on DeviceContext, 3521 because: 3522 - tests: enable tests on centos 7 again 3523 - interfaces: add login-session-control interface 3524 - tests: extra debug for snapshot-basic test 3525 - overlord,overlord/devicestate: do without GadgetInfo/KernelInfo in 3526 devicestate 3527 - gadget: more validation checks for legacy MBR structure type & 3528 role 3529 - osutil: fix TestReadBuildGo test in sbuild 3530 - data: update XDG_DATA_DIRS via the systemd environment.d mechanism 3531 too 3532 - many: do without device state/assertions accessors based on state 3533 only outside of devicestate/tests 3534 - interfaces/dbus: fix unit tests when default snap mount dir is not 3535 /snap 3536 - tests: add security-seccomp to verify seccomp with arg filtering 3537 - snapshotstate: disable automatic snapshots on core for now 3538 - snapstate: auto-install snapd when needed 3539 - overlord/ifacestate: update static attributes of "content" 3540 interface 3541 - interfaces: add support for the snapd snap in the dbus backend* 3542 - overlord/snapstate: tweak autorefresh logic if network is not 3543 available 3544 - snapcraft: also include ld.so.conf from libc in the snapcraft.yml 3545 - snapcraft.yaml: fix links ld-linux-x86-64.so.2/ld64.so.2 3546 - overlord: pass a DeviceContext to the checkSnap implementations 3547 - daemon: add RootOnly flag to commands 3548 - many: make access to the device model assertion etc contextual 3549 via a DeviceCtx hook/DeviceContext interface 3550 - snapcraft.yaml: include libc6 in snapd 3551 - tests: reduce snapcraft leftovers from PROJECT_PATH, temp disable 3552 centos 3553 - overlord: make the store context composably backed by separate 3554 backends for device asserts/info etc. 3555 - snapstate: revert "overlord/snapstate: remove PlugsOnly" 3556 - osutil,cmdutil: move CommandFromCore and make it use the snapd 3557 snap (if available) 3558 - travis: bump Go version to 1.10.x 3559 - cmd/snap-update-ns: remove instanceName argument from applyProfile 3560 - gadget: embed volume in positioned volume, rename fields 3561 - osutil: use go build-id when no gnu build-id is available 3562 - snap-seccomp: add 4th field to version-info for golang-seccomp 3563 features 3564 - cmd/snap-update-ns: merge computeAndSaveSystemChanges into 3565 applySystemFstab 3566 - cmd/snap, client, daemon, store: create-cohort 3567 - tests: give more time until nc returns on appstream test 3568 - tests: run spread tests on ubuntu 19.04 3569 - gadget: layout, smaller fixes 3570 - overlord: update static attrs when reloading connections 3571 - daemon: verify snap instructions for multi-snap requests 3572 - overlord/corecfg: make expiration of automatic snapshots 3573 configurable (4/4) 3574 - cmd/snap-update-ns: pass MountProfileUpdate to 3575 apply{System,User}Fstab 3576 - snap: fix interface bindings on implicit hooks 3577 - tests: improve how snaps are cached 3578 - cmd/snap-update-ns: formatting tweaks 3579 - data/selinux: policy tweaks 3580 - cmd/snap-update-ns: move locking to the common layer 3581 - overlord: use private YAML inside several tests 3582 - cmd/snap, store, image: support for cohorts in "snap download" 3583 - overlord/snapstate: add timings to critical task handlers and the 3584 backend 3585 - cmd: add `snap debug validate-seed <path>` cmd 3586 - state: add possible error return to TaskSet.Edge() 3587 - snap-seccomp: use username regex as defined in osutil/user.go 3588 - osutil: make IsValidUsername public and fix regex 3589 - store: serialize the acquisition of device sessions 3590 - interfaces/builtin/desktop: fonconfig v6/v7 cache handling on 3591 Fedora 3592 - many: move Device/SetDevice to devicestate, start of making them 3593 pluggable in storecontext 3594 - overlord/snapstate: remove PlugsOnly 3595 - interfaces/apparmor: allow running /usr/bin/od 3596 - spread: add qemu:fedora-29-64 3597 - tests: make test parallel-install-interfaces work for boards with 3598 pre-installed snaps 3599 - interfaces/builtin/intel_mei: fix /dev/mei* AppArmor pattern 3600 - spread.yaml: add qemu:centos-7-64 3601 - overlord/devicestate: extra measurements related to 3602 populateStateFromSeed 3603 - cmd/snap-update-ns: move Assumption to {System,User}ProfileUpdate 3604 - cmd/libsnap: remove fringe error function 3605 - gadget: add validation of cross structure overlap and offset 3606 writes 3607 - cmd/snap-update-ns: refactor of profile application (3/N) 3608 - data/selinux: tweak the policy for runuser and s-c, interpret 3609 audit entries 3610 - tests: fix spaces issue in the base snaps names to remove during 3611 reset phase 3612 - tests: wait for man db cache is updated before after install snapd 3613 on Fedora 3614 - tests: extend timeout of sbuild test 3615 3616 * Fri Jun 21 2019 Michael Vogt <mvo@ubuntu.com> 3617 - New upstream release 2.39.3 3618 - daemon: increase `shutdownTimeout` to 25s to deal with slow HW 3619 - spread: run tests against openSUSE 15.1 3620 - data/selinux: fix policy for snaps with bases and classic snaps 3621 3622 * Wed Jun 05 2019 Michael Vogt <mvo@ubuntu.com> 3623 - New upstream release 2.39.2 3624 - debian: rework how we run autopkgtests 3625 - interfaces/docker-support: add overlayfs accesses for ubuntu core 3626 - data/selinux: permit init_t to remount snappy_snap_t 3627 - strutil/shlex: fix ineffassign 3628 - packaging: fix build-depends on powerpc 3629 3630 * Wed May 29 2019 Michael Vogt <mvo@ubuntu.com> 3631 - New upstream release 2.39.1 3632 - spread: enable Fedora 30 3633 - cmd/snap-confine, data/selinux: cherry pick Fedora 30 fixes 3634 - tests/unit/spread-shellcheck: temporary workaround for SC2251 3635 - packaging: build empty package on powerpc 3636 - interfaces: special-case "snapd" in sanitizeSlotReservedForOS* 3637 helper 3638 - cmd/snap: mangle descriptions that have indent > terminal width 3639 - cmd/snap-confine: unshare per-user mount ns once 3640 - tests: avoid adding spaces to the base snaps names 3641 - systemd: workaround systemctl show quirks on older systemd 3642 versions 3643 3644 * Mon May 06 2019 Neal Gompa <ngompa13@gmail.com> - 2.39-1 3645 - Release 2.39 to Fedora (RH#1699087) 3646 - Enable basic SELinux integration 3647 - Fix changelog entry to fix build for EPEL 7 3648 - Exclude bash and POSIX sh shebangs from mangling (LP:1824158) 3649 - Drop some old pre Fedora 28 logic 3650 3651 * Fri May 03 2019 Michael Vogt <mvo@ubuntu.com> 3652 - New upstream release 2.39 3653 - overlord/ifacestate: update static attributes of "content" 3654 interface 3655 - data/selinux: tweak the policy for runuser and s-c, interpret 3656 audit entries 3657 - snapshotstate: disable automatic snapshots on core for now 3658 - overlord/corecfg: make expiration of automatic snapshots 3659 configurable 3660 - snapstate: auto-install snapd when needed 3661 - interfaces: add support for the snapd snap in the dbus backend 3662 - overlord/snapstate: tweak autorefresh logic if network is not 3663 available 3664 - interfaces/apparmor: allow running /usr/bin/od 3665 - osutil,cmdutil: move CommandFromCore and make it use the snapd 3666 snap (if available) 3667 - daemon: also verify snap instructions for multi-snap requests 3668 - data/selinux: allow snap-confine to mount on top of bin 3669 - data/selinux: auto transition /var/snap to snappy_var_t 3670 - cmd: add `snap debug validate-seed <path>` cmd 3671 - interfaces/builtin/desktop: fonconfig v6/v7 cache handling on 3672 Fedora 3673 - interfaces/builtin/intel_mei: fix /dev/mei* AppArmor pattern 3674 - tests: make snap-connections test work on boards with snaps pre- 3675 installed 3676 - tests: check for /snap/core16/current in core16-provided-by-core 3677 - tests: run livepatch test on 18.04 as well 3678 - devicestate: deal correctly with the "required" flag on Remodel 3679 - snapstate,state: add TaskSet.AddAllWithEdges() and use in doUpdate 3680 - snapstate: add new NoReRefresh flag and use in Remodel() 3681 - many: allow core as a fallback for core16 3682 - snapcraft: build static fontconfig in the snapd snap 3683 - cmd/snap-confine: remove unused sc_open_snap_{update,discard}_ns 3684 - data/selinux: allow snapd to execute runuser under snappy_t 3685 - spread, tests: do not leave mislabeled files in restorecon test, 3686 attempt to catch similar files 3687 - interfaces: cleanup internal tool lookup in system-key 3688 - many: move auth.AuthContext to store.DeviceAndAuthContext, the 3689 implemention to a separate storecontext packageThis: 3690 - overlord/devicestate: measurements around ensure and related tasks 3691 - cmd: tweak internal tool lookup to accept more possible locations 3692 - overlord/snapstate,snapshotstate: create snapshot on snap removal 3693 - tests: run smoke tests on (almost) pristine systems 3694 - tests: system disable ssh for config defaults in gadget 3695 - cmd/debug: integrate new task timings with "snap debug timings" 3696 - tests/upgrade/basic, packaging/fedoar: restore SELinux context of 3697 /var/cache/fontconfig, patch pre-2.39 mount units 3698 - image: simplify prefer local logic and fixes 3699 - tests/main/selinux-lxd: make sure LXD from snaps works cleanly 3700 with enforcing SELinux 3701 - tests: deny ioctl - TIOCSTI with garbage in high bits 3702 - overlord: factor out mocking of device service and gadget w. 3703 prepare-device for registration tests 3704 - data/selinux, tests/main/selinux-clean: fine tune the policy, make 3705 sure that no denials are raised 3706 - cmd/libsnap,osutil: fix parsing of mountinfo 3707 - ubuntu: disable -buildmode=pie on armhf to fix memory issue 3708 - overlord/snapstate: inhibit refresh for up to a week 3709 - cmd/snap-confine: prevent cwd restore permission bypass 3710 - overlord/ifacestate: introduce HotplugKey type use short key in 3711 change summaries 3712 - many: make Remodel() download everything first before installing 3713 - tests: fixes discovered debugging refresh-app-awareness 3714 - overlord/snapstate: track time of postponed refreshes 3715 - snap-confine: set rootfs_dir in sc_invocation struct 3716 - tests: run create-user on core devices 3717 - boot: add flag file "meta/force-kernel-extraction" 3718 - tests: add regression test for systemctl race fix 3719 - overlord/snapshotstate: helpers for snapshot expirations 3720 - overlord,tests: perform soft refresh check in doInstall 3721 - tests: enable tests that write /etc/{hostname,timezone} on core18 3722 - overlord/ifacestate: implement String() method of 3723 HotplugDeviceInfo for better logs/messages 3724 - cmd/snap-confine: move ubuntu-core fallback checks 3725 - testutil: fix MockCmd for shellcheck 0.5 3726 - snap, gadget: move gadget read/validation into separate package, 3727 tweak naming 3728 - tests: split travis spread execution in 2 jobs for ubuntu and non 3729 ubuntu systems 3730 - testutil: make mocked command work with shellcheck from snaps 3731 - packaging/fedora, tests/upgrade/basic: patch existing mount units 3732 with SELinux context on upgrade 3733 - metautil, snap: extract yaml value normalization to a helper 3734 package 3735 - tests: use apt via eatmydata 3736 - dirs,overlord/snapstate: add Soft and Hard refresh checks 3737 - cmd/snap-confine: allow using tools from snapd snap 3738 - cmd,interfaces: replace local helpers with cmd.InternalToolPath 3739 - tweak: fix "make hack" on Fedora 3740 - snap: add validation of gadget.yaml 3741 - cmd/snap-update-ns: refactor of profile application 3742 - cmd/snap,client,daemon,store: layout and sanity tweaks for 3743 find/search options 3744 - tests: add workaround for missing cache reset on older snapd 3745 - interfaces: deal with the snapd snap correctly for apparmor 2.13 3746 - release-tools: add debian-package-builder 3747 - tests: enable opensuse 15 and add force-resolution installing 3748 packages 3749 - timings: AddTag helper 3750 - testutil: run mocked commands through shellcheck 3751 - overlord/snapshotstate: support auto flag 3752 - client, daemon, store: search by common-id 3753 - tests: all the systems for google backend with 6 workers 3754 - interfaces: hotplug nested vm test, updated serial-port interface 3755 for hotplug. 3756 - sanity: use proper SELinux context when mounting squashfs 3757 - cmd/libsnap: neuter variables in cleanup functions 3758 - interfaces/adb-support: account for hubs on sysfs path 3759 - interfaces/seccomp: regenerate changed profiles only 3760 - snap: reject layouts to /lib/{firmware,modules} 3761 - cmd/snap-confine, packaging: support SELinux 3762 - selinux, systemd: support mount contexts for snap images 3763 - interfaces/builtin/opengl: allow access to Tegra X1 3764 - cmd/snap: make 'snap warnings' output yamlish 3765 - tests: add check to detect a broken snap on reset 3766 - interfaces: add one-plus devices to adb-support 3767 - cmd: prevent umask from breaking snap-run chain 3768 - tests/lib/pkgdb: allow downgrade when installing packages in 3769 openSUSE 3770 - cmd/snap-confine: use fixed private tmp directory 3771 - snap: tweak parsing errors of gadget updates 3772 - overlord/ifacemgr: basic measurements 3773 - spread: refresh metadata on openSUSE 3774 - cmd/snap-confine: pass sc_invocation instead of numerous args 3775 around 3776 - snap/gadget: introduce volume update info 3777 - partition,bootloader: rename 'partition' package to 'bootloader' 3778 - interfaces/builtin: add dev/pts/ptmx access to docker_support 3779 - tests: restore sbuild test 3780 - strutil: make SplitUnit public, allow negative numbers 3781 - overlord/snapstate,: retry less for auto-stuff 3782 - interfaces/builtin: add add exec "/" to docker-support 3783 - cmd/snap: fix regression of snap saved command 3784 - cmd/libsnap: rename C enum for feature flag 3785 - cmd: typedef mountinfo structures 3786 - tests/main/remodel: clean up before reverting the state 3787 - cmd/snap-confine: umount scratch dir using UMOUNT_NOFOLLOW 3788 - timings: add new helpers, Measurer interface and DurationThreshold 3789 - cmd/snap-seccomp: version-info subcommand 3790 - errortracker: fix panic in Report if db cannot be opened 3791 - sandbox/seccomp: a helper package wrapping calls to snap-seccomp 3792 - many: add /v2/model API, `snap remodel` CLI and spread test 3793 - tests: enable opensuse tumbleweed back 3794 - overlord/snapstate, store: set a header when auto-refreshing 3795 - data/selinux, tests: refactor SELinux policy, add minimal tests 3796 - spread: restore SELinux context when we mess with system files 3797 - daemon/api: filter connections with hotplug-gone=true 3798 - daemon: support returning assertion information as JSON with the 3799 "json" query parameter 3800 - cmd/snap: hide 'interfaces' command, show deprecation notice 3801 - timings: base API for recording timings in state 3802 - cmd/snap-confine: drop unused dependency on libseccomp 3803 - interfaces/apparmor: factor out test boilerplate 3804 - daemon: extract assertions api endpoint implementation into 3805 api_asserts.go 3806 - spread.yaml: bump delta reference 3807 - cmd/snap-confine: track per-app and per-hook processes 3808 - cmd/snap-confine: make sc_args helpers const-correct 3809 - daemon: move a function that was between an other struct and its 3810 methods 3811 - overlord/snapstate: fix restoring of "old-current" revision config 3812 in undoLinkSnap 3813 - cmd/snap, client, daemon, ifacestate: show a leading attribute of 3814 a connection 3815 - cmd/snap-confine: call sc_should_use_normal_mode once 3816 - cmd/snap-confine: populate enter_non_classic_execution_environment 3817 - daemon: allow downloading snaps blobs via .../file 3818 - cmd/snap-confine: introduce sc_invocation 3819 - devicestate: add initial Remodel support 3820 - snap: remove obsolete license-* fields in the yaml 3821 - cmd/libsnap: add cgroup-pids-support module 3822 - overlord/snapstate/backend: make LinkSnap clean up more 3823 - snapstate: only keep 2 snaps on classic 3824 - ctlcmd/tests: tests tweaks (followup to #6322) 3825 3826 * Tue Apr 23 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.38-3 3827 - Rebuilt for fix in golang-github-seccomp-libseccomp-golang 3828 3829 * Fri Apr 05 2019 Neal Gompa <ngompa13@gmail.com> - 2.38-2 3830 - Readd snapd-login-service Provides for gnome-software for F29 and older 3831 3832 * Thu Mar 21 2019 Neal Gompa <ngompa13@gmail.com> - 2.38-1 3833 - Release 2.38 to Fedora (RH#1691296) 3834 - Switch to officially released main source tarball 3835 - Drop obsolete snapd-login-service Provides 3836 3837 * Thu Mar 21 2019 Michael Vogt <mvo@ubuntu.com> 3838 - New upstream release 2.38 3839 - overlord/snapstate,: retry less for auto-stuff 3840 - cmd/snap: fix regression of snap saved command 3841 - interfaces/builtin: add dev/pts/ptmx access to docker_support 3842 - overlord/snapstate, store: set a header when auto-refreshing 3843 - interfaces/builtin: add add exec "/" to docker-support 3844 - cmd/snap, client, daemon, ifacestate: show a leading attribute of 3845 a connection 3846 - interface: avahi-observe: Fixing socket permissions on 4.15 3847 kernels 3848 - tests: check that apt works before using it 3849 - apparmor: support AppArmor 2.13 3850 - snapstate: restart into the snapd snap on classic 3851 - overlord/snapstate: during refresh, re-refresh on epoch bump 3852 - cmd, daemon: split out the common bits of mapLocal and mapRemote 3853 - cmd/snap-confine: chown private /tmp to root.root 3854 - cmd/snap-confine: drop uid from random /tmp name 3855 - overlord/hookstate: apply pending transaction changes onto 3856 temporary configuration for snapctl get 3857 - cmd/snap: `snap connections` command 3858 - interfaces/greengrass_support: update accesses for GGC 1.8 3859 - cmd/snap, daemon: make the connectivity check use GET 3860 - interfaces/builtin,/udev: add spec support to disable udev + 3861 device cgroup and use it for greengrass 3862 - interfaces/intel-mei: small follow up tweaks 3863 - ifacestate/tests: fix/improve udev mon test 3864 - interfaces: add multipass-support interface 3865 - tests/main/high-user-handling: fix the test for Go 1.12 3866 - interfaces: add new intel-mei interface 3867 - systemd: decrease the checker counter before unlocking otherwise 3868 we can get spurious panics 3869 - daemon/tests: fix race in the disconnect conflict test 3870 - cmd/snap-confine: allow moving tasks to pids cgroup 3871 - tests: enable opensuse tumbleweed on spread 3872 - cmd/snap: fix `snap services` completion 3873 - ifacestate/hotplug: integration with udev monitor 3874 - packaging: build snapctl as a static binary 3875 - packaging/opensuse: move most logic to snapd.mk 3876 - overlord: fix ensure before slowness on Retry 3877 - overlord/ifacestate: fix migration of connections on upgrade from 3878 ubuntu-core 3879 - daemon, client, cmd/snap: debug GETs ask aspects, not actions 3880 - tests/main/desktop-portal-*: fix handling of python dependencies 3881 - interfaces/wayland: allow wayland server snaps function on classic 3882 too 3883 - daemon, client, cmd/snap: snap debug base-declaration 3884 - tests: run tests on opensuse leap 15.0 instead of 42.3 3885 - cmd/snap: fix error messages for snapshots commands if ID is not 3886 uint 3887 - interfaces/seccomp: increase filter precision 3888 - interfaces/network-manager: no peer label check for hostname1 3889 - tests: add a tests for xdg-desktop-portal integration 3890 - tests: not checking 'tracking channel' after refresh core on 3891 nested execution 3892 - tests: remove snapweb from tests 3893 - snap, wrappers: support StartTimeout 3894 - wrappers: Add an X-SnapInstanceName field to desktop files 3895 - cmd/snap: produce better output for help on subcommands 3896 - tests/main/nfs-support: use archive mode for creating fstab backup 3897 - many: collect time each task runs and display it with `snap debug 3898 timings <id>` 3899 - tests: add attribution to helper script 3900 - daemon: make ucrednetGet not loop 3901 - squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test 3902 - features,cmd/libsnap: add new feature "refresh-app-awareness" 3903 - overlord: fix random typos 3904 - interfaces/seccomp: generate global seccomp profile 3905 - daemon/api: fix error case for disconnect conflict 3906 - overlord/snapstate: add some randomness to the catalog refresh 3907 - tests: disable trusty-proposed for now 3908 - tests: fix upgrade-from-2.15 with kernel 4.15 3909 - interfaces/apparmor: allow sending and receiving signals from 3910 ourselves 3911 - tests: split the test interfaces-many in 2 and remove snaps on 3912 restore 3913 - tests: use snap which takes 15 seconds to install on retryable- 3914 error test 3915 - packaging: avoid race in snapd.postinst 3916 - overlord/snapstate: discard mount namespace when undoing 1st link 3917 snap 3918 - cmd/snap-confine: allow writes to /var/lib/** 3919 - tests: stop catalog-update test for now 3920 - tests/main/auto-refresh-private: make sure to actually download 3921 with the expired macaroon 3922 - many: save media info when installing, show it when listing 3923 - userd: handle help urls which requires prepending XDG_DATA_DIRS 3924 - tests: fix NFS home mocking 3925 - tests: improve snaps-system-env test 3926 - tests: pre-cache core on core18 systems 3927 - interfaces/hotplug: renamed RequestedSlotSpec to ProposedSlot, 3928 removed Specification 3929 - debian: ensure leftover usr.lib.snapd.snap-confine is gone 3930 - image,cmd/snap,tests: introduce support for modern prepare-image 3931 --snap <snap>[=<channel>] 3932 - overlord/ifacestate: tweak logic for generating unique slot names 3933 - packaging: import debian salsa packaging work, add sbuild test and 3934 use in spead 3935 - overlord/ifacestate: hotplug-add-slot handler 3936 - image,cmd/snap: simplify --classic-arch to --arch, expose 3937 prepare-image 3938 - tests: run test snap as user in the smoke test 3939 - cmd/snap: tweak man output to have no doubled up .TP lines 3940 - cmd/snap, overlord/snapstate: silently ignore classic flag when a 3941 snap is strictly confined 3942 - snap-confine: remove special handling of /var/lib/jenkins 3943 - cmd/snap-confine: handle death of helper process 3944 - packaging: disable systemd environment generator on 18.04 3945 - snap-confine: fix classic snaps for users with /var/lib/* homedirs 3946 - tests/prepare: prevent console-conf from running 3947 - image: bootstrapToRootDir => setupSeed 3948 - image,cmd/snap,tests: introduce prepare-image --classic 3949 - tests: update smoke/sandbox test for armhf 3950 - client, daemon: introduce helper for querying snapd API for the 3951 list of slot/plug connections 3952 - cmd/snap-confine: refactor and cleanup of seccomp loading 3953 - snapstate, snap: allow update/switch requests with risk only 3954 channel to DTRT 3955 - interfaces: add network-manager-observe interface 3956 - snap-confine: increase locking timeout to 30s 3957 - snap-confine: fix incorrect "sanity timeout 3s" message 3958 - snap-confine: provide proper error message on sc_sanity_timeout 3959 - snapd,state: improve error message on state reading failure 3960 - interfaces/apparmor: deny inet/inet6 in snap-update-ns profile 3961 - snap: fix reexec from the snapd snap for classic snaps 3962 - snap: fix hook autodiscovery for parallel installed snaps 3963 - overlord/snapstate: format the refresh time for the log 3964 - cmd/snap-confine: add special case for Jenkins 3965 - snapcraft.yaml: fix XBuildDeb PATH for go-1.10 3966 - overlord/snapstate: validate instance names early 3967 - overlord/ifacestate: handler for hotplug-update-slot tasks 3968 - polkit: cast pid to uint32 to keep polkit happy for now 3969 - snap/naming: move various name validation helpers to separate 3970 package 3971 - tests: iterate getting journal logs to support delay on boards on 3972 daemon-notify test 3973 - cmd/snap: fix typo in cmd_wait.go 3974 - snap/channel: improve channel parsing 3975 - daemon, polkit: pid_t is signed 3976 - daemon: introduce /v2/connections snapd API endpoint 3977 - cmd/snap: small refactor of cmd_info's channel handling 3978 - overlord/snapstate: use an ad-hoc error when no results 3979 - cmd/snap: wrap "summary" better 3980 - tests: workaround missing go dependencies in debian-9 3981 - daemon: try to tidy up the icon stuff a little 3982 - interfaces: add display-control interface 3983 - snapcraft.yaml: fix snap building in launchpad 3984 - tests: update fedora 29 workers to speed up the whole testing time 3985 - interfaces: add u2f-devices interface and allow reading udev 3986 +power_supply:* in hardware-observe 3987 - cmd/snap-update-ns: save errno from strtoul 3988 - tests: interfaces tests normalization 3989 - many: cleanup golang.org/x/net/context 3990 - tests: add spread test for system dbus interface 3991 - tests: remove -o pipefail 3992 - interfaces: add block-devices interface 3993 - spread: enable upgrade suite on fedora 3994 - tests/main/searching: video section got renamed to photo-and-video 3995 - interfaces/home: use dac_read_search instead of dac_override with 3996 'read: all' 3997 - snap: really run the RunSuite 3998 - interfaces/camera: allow reading vendor/etc info from 3999 /run/udev/data/+usb:* 4000 - interfaces/dbus: be less strict about alternations for well-known 4001 names 4002 - interfaces/home: allow dac_override with 'read: 4003 all' 4004 - interfaces/pulseaudio: allow reading subdirectories of 4005 /etc/pulse 4006 - interfaces/system-observe: allow read on 4007 /proc/locks 4008 - run-checks: ensure we use go-1.10 if available 4009 - tests: get test-snapd-dbus-{provider,consumer} from the beta 4010 channel 4011 - interfaces/apparmor: mock presence of overlayfs root 4012 - spread: increase default kill-timeout to 30min 4013 - tests: simplify interfaces-contacts-service test 4014 - packaging/ubuntu: build with golang 1.10 4015 - ifacestate/tests: extra test for hotplug-connect handler 4016 - packaging: make sure that /var/lib/snapd/lib/glvnd is accounted 4017 for 4018 - overlord/snapstate/backend: call fontconfig helpers from the new 4019 'current' 4020 - kvm: load required kernel modules if necessary 4021 - cmd/snap: use a fake user for 'run' tests 4022 - tests: update systems for google sru backend 4023 - tests: fix install-snaps test by changing the snap info regex 4024 - interfaces: helpers for sorting plug/slot/connection refs 4025 - tests: moving core-snap-refresh-on-core test from main to nested 4026 suite 4027 - tests: fix daemon-notify test checking denials considering all the 4028 log lines 4029 - tests: skip lp-1802591 on "official" images 4030 - tests: fix listing tests to match "snap list --unicode=never" 4031 - debian: fix silly typo in the spread test invocation 4032 - interface: raw-usb: Adding ttyACM ttyACA permissions 4033 - tests: fix enable-disable-unit-gpio test on external boards 4034 - overlord/ifacestate: helper API to obtain the state of connections 4035 - tests: define new "tests/smoke" suite and use that for 4036 autopkgtests 4037 - cmd/snap-update-ns: explicitly check for return value from 4038 parse_arg_u 4039 - interfaces/builtin/opengl: allow access to NVIDIA VDPAU library 4040 - tests: auto-clean the test directory 4041 - cmd/snap: further tweak messaging; add a test 4042 - overlord/ifacestate: handler for hotplug-connect task 4043 - cmd/snap-confine: join freezer only after setting up user mount 4044 - cmd/snap-confine: don't preemptively create .mnt files 4045 - cmd/snap-update-ns: manually implement isspace 4046 - cmd/snap-update-ns: let the go parser know we are parsing -u 4047 - cmd/snap-discard-ns: fix name of user fstab files 4048 - snapshotstate: don't task.Log without the lock 4049 - tests: exclude some more slow tests from runs in autopkgtest 4050 - many: remove .user-fstab files from /run/snapd/ns 4051 - cmd/libsnap: pass --from-snap-confine when calling snap-update-ns 4052 as user 4053 - cmd/snap-update-ns: make freezer mockable 4054 - cmd/snap-update-ns: move XDG code to dedicated file 4055 - osutil: add helper for loading fstab from string 4056 - cmd/snap-update-ns: move existing code around, renaming some 4057 functions 4058 - overlord/configstate/configcore: support - and _ in cloud init 4059 field names 4060 - * cmd/snap-confine: use makedev instead of MKDEV 4061 - tests: review/fix the autopkgtest failures in disco 4062 - overlord: drop old v1 store api support from managers test 4063 - tests: new test for snapshots with more than 1 user 4064 4065 * Thu Feb 28 2019 Neal Gompa <ngompa13@gmail.com> - 2.37.4-2 4066 - Fix accidentally corrupted changelog merge 4067 4068 * Thu Feb 28 2019 Zygmunt Bazyli Krynicki <me@zygoon.pl> - 2.37.4-1 4069 - Release 2.37.4 to Fedora (RH#1683795) 4070 - Fix RPM macro in changelog (rpmlint) 4071 - Fix non-break space in changelog (rpmlint) 4072 4073 * Wed Feb 27 2019 Michael Vogt <mvo@ubuntu.com> 4074 - New upstream release 2.37.4 4075 - squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test 4076 - overlord/ifacestate: fix migration of connections on upgrade from 4077 ubuntu-core 4078 - tests: fix upgrade-from-2.15 with kernel 4.15 4079 - interfaces/seccomp: increase filter precision 4080 - tests: remove snapweb from tests 4081 4082 * Tue Feb 19 2019 Zygmunt Bazyli Krynicki <me@zygoon.pl> - 2.37.3-1 4083 - Release 2.37.3 to Fedora (RH#1678603) 4084 4085 * Mon Feb 18 2019 Michael Vogt <mvo@ubuntu.com> 4086 - New upstream release 2.37.3 4087 - interfaces/seccomp: generate global seccomp profile 4088 - overlord/snapstate: add some randomness to the catalog refresh 4089 - tests: add upgrade test from 2.15.2ubuntu1 -> current snapd 4090 - snap-confine: fix fallback to ubuntu-core 4091 - packaging: avoid race in snapd.postinst 4092 - overlord/snapstate: discard mount namespace when undoing 1st link 4093 snap 4094 - cmd/snap-confine: allow writes to /var/lib/** again 4095 - tests: stop catalog-update/apt-hooks test until the catlog refresh 4096 is randomized 4097 - debian: ensure leftover usr.lib.snapd.snap-confine is gone 4098 4099 * Wed Feb 06 2019 Neal Gompa <ngompa13@gmail.com> - 2.37.2-1 4100 - Release 2.37.2 to Fedora (RH#1667460) 4101 4102 * Wed Feb 06 2019 Michael Vogt <mvo@ubuntu.com> 4103 - New upstream release 2.37.2 4104 - cmd/snap, overlord/snapstate: silently ignore classic flag when a 4105 snap is strictly confined 4106 - snap-confine: remove special handling of /var/lib/jenkins 4107 - cmd/snap-confine: handle death of helper process gracefully 4108 - snap-confine: fix classic snaps for users with /var/lib/* homedirs 4109 like jenkins/postgres 4110 - packaging: disable systemd environment generator on 18.04 4111 - tests: update smoke/sandbox test for armhf 4112 - cmd/snap-confine: refactor and cleanup of seccomp loading 4113 - snap-confine: increase locking timeout to 30s 4114 - snap-confine: fix incorrect "sanity timeout 3s" message 4115 - snap: fix hook autodiscovery for parallel installed snaps 4116 - tests: iterate getting journal logs to support delay on boards on 4117 daemon-notify test 4118 - interfaces/apparmor: deny inet/inet6 in snap-update-ns profile 4119 - interfaces: add u2f-devices interface 4120 4121 * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.36.3-2 4122 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild 4123 4124 * Tue Jan 29 2019 Michael Vogt <mvo@ubuntu.com> 4125 - New upstream release 2.37.1 4126 - cmd/snap-confine: add special case for Jenkins 4127 - tests: workaround missing go dependencies in debian-9 4128 - daemon, polkit: pid_t is signed 4129 - interfaces: add display-control interface 4130 - interfaces: add block-devices interface 4131 - tests/main/searching: video section got renamed to photo-and-video 4132 - interfaces/camera: allow reading vendor/etc info from 4133 /run/udev/data/+usb 4134 - interfaces/dbus: be less strict about alternations for well-known 4135 names 4136 - interfaces/home: allow dac_read_search with 'read: all' 4137 - interfaces/pulseaudio: allow reading subdirectories of 4138 /etc/pulse 4139 - interfaces/system-observe: allow read on 4140 /proc/locks 4141 - tests: get test-snapd-dbus-{provider,consumer} from the beta 4142 channel 4143 - interfaces/apparmor: mock presence of overlayfs root 4144 - packaging/{fedora,opensuse,ubuntu}: add /var/lib/snapd/lib/glvnd 4145 4146 * Wed Jan 16 2019 Michael Vogt <mvo@ubuntu.com> 4147 - New upstream release 2.37 4148 - snapd: fix race in TestSanityFailGoesIntoDegradedMode test 4149 - cmd: fix snap-device-helper to deal correctly with hooks 4150 - tests: various fixes for external backend 4151 - interface: raw-usb: Adding ttyACM[0-9]* as many serial devices 4152 have device node /dev/ttyACM[0-9] 4153 - tests: fix enable-disable-unit-gpio test on external boards 4154 - tests: define new "tests/smoke" suite and use that for 4155 autopkgtests 4156 - interfaces/builtin/opengl: allow access to NVIDIA VDPAU 4157 library 4158 - snapshotstate: don't task.Log without the lock 4159 - overlord/configstate/configcore: support - and _ in cloud init 4160 field names 4161 - cmd/snap-confine: use makedev instead of MKDEV 4162 - tests: review/fix the autopkgtest failures in disco 4163 - systemd: allow only a single daemon-reload at the same time 4164 - cmd/snap: only auto-enable unicode to a tty 4165 - cmd/snap: right-align revision and size in info's channel map 4166 - dirs, interfaces/builtin/desktop: system fontconfig cache path is 4167 different on Fedora 4168 - tests: fix "No space left on device" issue on amazon-linux 4169 - store: undo workaround for timezone-less released-at 4170 - store, snap, cmd/snap: channels have released-at 4171 - snap-confine: fix incorrect use "src" var in mount-support.c 4172 - release: support probing SELinux state 4173 - release-tools: display self-help 4174 - interface: add new `{personal,system}-files` interface 4175 - snap: give Epoch an Equal method 4176 - many: remove unused interface code 4177 - interfaces/many: use 'unsafe' with docker-support change_profile 4178 rules 4179 - run-checks: stop running HEAD of staticcheck 4180 - release: use sync.Once around lazy intialized state 4181 - overlord/ifacestate: include interface name in the hotplug- 4182 disconnect task summary 4183 - spread: show free space in debug output 4184 - cmd/snap: attempt to restore SELinux context of snap user 4185 directories 4186 - image: do not write empty etc/cloud 4187 - tests: skip snapd snap on reset for core systems 4188 - cmd/snap-discard-ns: fix umount(2) typo 4189 - overlord/ifacestate: hotplug-remove-slot task handler 4190 - overlord/ifacestate: handler for hotplug-disconnect task 4191 - ifacestate/hotplug: updateDevice helper 4192 - tests: reset snapd state on tests restore 4193 - interfaces: return security setup errors 4194 - overlord: make InstallMany work like UpdateMany, issuing a single 4195 request to get candidates 4196 - systemd/systemd.go: add missing tests for systemd.IsActive 4197 - overlord/ifacestate: addHotplugSeqWaitTask helper 4198 - cmd/snap-confine: refactor call to snap-update-ns --user-mounts 4199 - tests: new backend used to run upgrade test suite 4200 - travis: short circuit failures in static and unit tests travis job 4201 - cmd: automatically fix localized <option>s to <option> 4202 - overlord/configstate,features: expose features to snapd tools 4203 - selinux: package to query SELinux status and verify/restore file 4204 contexts 4205 - wrappers: use new systemd.IsActive in core18 early boot 4206 - cmd: add tests for lintArg and lintDesc 4207 - httputil: retry on temporary net errors 4208 - cmd/snap-confine: remove unused sc_discard_preserved_mount_ns 4209 - wrappers: only restart service in core18 when they are active 4210 - overlord/ifacestate: helpers for serializing hotplug changes 4211 - packaging/{fedora,opensuse}: own /var/lib/snapd/cookie 4212 - systemd: start snapd.autoimport.service in --no-block mode 4213 - data/selinux: fix syntax error in definition of snappy_admin 4214 interface 4215 - snap/info: bind global plugs/slots to implicit hooks 4216 - cmd/snap-confine: remove SC_NS_MNT_FILE 4217 - spread: record each tests/upgrade job 4218 - osutil: do not import dirs 4219 - cmd/snap-confine: fix typo "a pipe" 4220 - tests: make security-device-cgroups-{devmode,jailmode} work on arm 4221 devices 4222 - tests: force test-snapd-daemon-notify exit 0 when the interface is 4223 not connected 4224 - overlord/snapstate: run 'remove' hook before 'auto-disconnect' 4225 - centos: enable SELinux support on CentOS 7 4226 - apparmor: allow hard link to snap-specific semaphore files 4227 - tests/lib/pkgdb: disable weak deps on Fedora 4228 - release: detect too old apparmor_parser 4229 - tests: improve how the log is checked to see if the system is 4230 waiting for a reboot 4231 - cmd, dirs, interfaces/apparmor: update distro identification to 4232 support ID="archlinux" 4233 - spread, tests: add Fedora 29 4234 - cmd/snap-confine: refactor calling snapd tools into helper module 4235 - apparmor: allow snap-update-ns access to common devices 4236 - cmd/snap-confine: capture initialized per-user mount ns 4237 - tests: reduce verbosity around package installation 4238 - data: set KillMode=process for snapd 4239 - cmd/snap: handle DNS error gracefully 4240 - spread, tests: use checkpoints when dumping audit log 4241 - tests/lib/prepare: make sure that SELinux context of repacked core 4242 snap is controlled 4243 - testutils: split checkers, tweak tests 4244 - tests: fix for tests test-*-cgroup 4245 - spread: show AVC audits when debugging, start auditd on Fedora 4246 - spread: drop Fedora 27, add Fedora 29 4247 - tests/lib/reset: restore context of removed snapd directories 4248 - testutil: add File{Present,Absent} checkers 4249 - snap: add new `snap run --trace-exec` 4250 - tests: fix for failover test on how logs are checked 4251 - snapctl: add "services" 4252 - overlord/snapstate: use file timestamp to initialize timer 4253 - cmd/libsnap: introduce and use sc_strdup 4254 - interfaces: let NM access ifindex/ifupdown files 4255 - overlord/snapstate: on refresh, check new rev can read current 4256 - client, store: don't use store from client (use client from store) 4257 - tests/main/parallel-install-store: verify installation of more 4258 than one instance at a time 4259 - overlord: don't write system key if security setup fails 4260 - packaging/fedora/snapd.spec: fix bogus date in changelog 4261 - snapstate: update fontconfig caches on install 4262 - interfaces/apparmor/backend.go:411:38: regular expression does not 4263 contain any meta characters (SA6004) 4264 - asserts/header_checks.go:199:35: regular expression does not 4265 contain any meta characters (SA6004) 4266 - run staticcheck every time :-) 4267 - tests/lib/systemd-escape/main.go:46:14: printf-style function with 4268 dynamic first argument and no further arguments should use print- 4269 style function instead (SA1006) 4270 - tests/lib/fakestore/cmd/fakestore/cmd_run.go:66:15: the channel 4271 used with signal.Notify should be buffered (SA1017) 4272 - tests/lib/fakedevicesvc/main.go:55:15: the channel used with 4273 signal.Notify should be buffered (SA1017) 4274 - spdx/parser.go:30:1: only the first constant has an explicit type 4275 (SA9004) 4276 - overlord/snapstate/snapmgr.go:553:21: printf-style function with 4277 dynamic first argument and no further arguments should use print- 4278 style function instead (SA1006) 4279 - overlord/patch/patch3.go:44:70: printf-style function with dynamic 4280 first argument and no further arguments should use print-style 4281 function instead (SA1006) 4282 - cmd/snap/cmd_advise.go:200:2: empty branch (SA9003) 4283 - osutil/udev/netlink/conn.go:120:5: ineffective break statement. 4284 Did you mean to break out of the outer loop? (SA4011) 4285 - daemon/api.go:992:22: printf-style function with dynamic first 4286 argument and no further arguments should use print-style function 4287 instead (SA1006) 4288 - cmd/snapd/main.go:94:5: ineffective break statement. Did you mean 4289 to break out of the outer loop? (SA4011) 4290 - cmd/snap/cmd_userd.go:73:15: the channel used with signal.Notify 4291 should be buffered (SA1017) 4292 - cmd/snap/cmd_help.go:102:7: io.Writer.Write must not modify the 4293 provided buffer, not even temporarily (SA1023) 4294 - release: probe apparmor features lazily 4295 - overlord,daemon: mock security backends for testing 4296 - cmd/libsnap: move apparmor-support to libsnap 4297 - cmd: drop cruft from snap-discard-ns build rules 4298 - cmd/snap-confine: use snap-discard-ns ns to discard stale 4299 namespaces 4300 - cmd/snap-confine: handle mounted shared /run/snapd/ns 4301 - many: fix composite literals with unkeyed fields 4302 - dirs, wrappers, overlord/snapstate: make completion + bases work 4303 - tests: revert "tests: restore in restore, not prepare" 4304 - many: validate title 4305 - snap: make description maximum in runes, not bytes 4306 - tests: discard mount namespaces in reset.sh 4307 - tests/lib: sync cla check back from snapcraft 4308 - Revert "cmd/snap, tests/main/snap-info: highlight the current 4309 channel" 4310 - daemon: remove enableInternalInterfaceActions 4311 - mkversion: use "test -n" rather than "! test -z" 4312 - run-checks: assorted fixes 4313 - tests: restore in restore, not in prepare 4314 - cmd/snap: fix missing newline in "snap keys" error message 4315 - snap: epoch lists must contain no duplicate entries 4316 - interfaces/avahi_observe: Fix typo in comment 4317 - tests: add SPREAD_JOB to the description of 4318 systemd_create_and_start_unit 4319 - daemon, vendor: bump github.com/coreos/go-systemd/activation, 4320 handle API changes 4321 - Revert "cmd/snap-confine: don't allow mapping lib{uuid,blkid}" 4322 - packaging/fedora: use %%_sysctldir macro 4323 - cmd/snap-confine: remove unneeded unshare 4324 - sanity: extend the kernel version check to cover CentOS/RHEL 4325 kernels 4326 - wrappers: remove all desktop files from a snap on removal 4327 - snap: add an explicit check for `epoch: null` loading 4328 - snap: check max description length in validate 4329 - spread, tests: add CentOS support 4330 - cmd/snap-confine: allow mapping more libc shards 4331 - cmd/snap-discard-ns: add support for --from-snap-confine 4332 - tests: make tinyproxy support systemd notify 4333 - tests: fix shellcheck 4334 - snap, store: rename `snap.Epoch`'s `Unset` to `IsZero` 4335 - store: add a test for a non-zero epoch refresh (with epoch bump) 4336 - store: v1 search doesn't send epoch, stop pretending it does 4337 - snap: make any "0" epoch be Unset, and marshalled to {[0],[0]} 4338 - overlord/snapstate: amend test should send local revision 4339 - tests: use mock-gpio.py in enable-disable-units-gpio test 4340 - snap: enforce minimal snap name len of 2 4341 - cmd/libsnap: add sc_verify_snap_lock 4342 - cmd/snap-update-ns: extra debugging of trespassing events 4343 - userd: force zenity width if the text displayed is long 4344 - overlord/snapstate, store: always send epochs 4345 - cmd/snap-confine,snap-update-ns: discard quirks 4346 - cmd/snap: add nanosleep to blacklisted syscalls when running with 4347 --strace 4348 - cmd/snap-update-ns, tests: clean trespassing paths 4349 - nvidia, interfaces/builtin: OpenCL fixes 4350 - ifacestate/hotplug: removeDevice helper 4351 - cmd: install snap-discard-ns in "make hack" 4352 - overlord/ifacestate: setup security backends phased by backends 4353 first 4354 - ifacestate/helpers: added SystemSnapName mapper helper method 4355 - overlord/ifacestate: set hotplug-key of the connection when 4356 connecting hotplug slots 4357 - snapd: allow snap-update-ns to read /proc/version 4358 - cmd: handle tumbleweed and leap in autogen.sh 4359 - interfaces/tests: MockHotplugSlot test helper 4360 - store,daemon: make UserInfo,LoginUser part of the store interface 4361 - overlord/ifacestate: use remapper when checking if system snap is 4362 installed 4363 - tests: fix how pinentry is prepared for new gpg v 2.1 and 2.2 4364 - packaging/arch: fix bash completions path 4365 - interfaces/builtin: add device-buttons interface for accessing 4366 events 4367 - tests, fakestore: extend refresh tests with parallel installed 4368 snaps 4369 - snap, store, overlord/snapshotstate: drop epoch pointers 4370 - snap: make Epoch default to {[0],[0]} on load from yaml 4371 - data/completion: pass documented arguments to completion functions 4372 - tests: skip opensuse from interfaces-openvswitch-support test 4373 - tests: simple reproducer for snap try and hooks bug 4374 - snapstate: do not allow classic mode for strict snaps 4375 - snap: make Epoch's MarshalJSON not simplify 4376 - store: remove unused currentSnap and currentSnapJSON 4377 - many: some small doc comment fixes in recent hotplug code 4378 - ifacestate/udevmonitor: added callback to signal end of 4379 enumeration 4380 - cmd/libsnap: add simplified feature flag checker 4381 - interfaces/opengl: add additional accesses for cuda 4382 - tests: add core18 only hooks test and fix running core18 only on 4383 classic 4384 - sanity, release, cmd/snap: refuse to try to do things on WSL. 4385 - cmd: make coreSupportsReExec faster 4386 - overlord/ifacestate: don't remove the dash when generating unique 4387 slot name 4388 - cmd/snap-seccomp: add full complement of ptrace constants 4389 - cmd: update autogen.sh for opensuse 4390 - interfaces/apparmor: allow access to /run/snap.$SNAP_INSTANCE_NAME 4391 - spread.yaml: add more systems to the autopkgtest and qemu backends 4392 - daemon: spool sideloaded snap into blob dir 4393 overlord/snapstate: address review feedback 4394 - packaging/opensuse: stop using golang-packaging 4395 - overlord/snapshots: survive an unknown user 4396 - wrappers: fix generating of service units with multiple `before` 4397 dependencies 4398 - data: run snapd.autoimport.service only after seeding 4399 - cmd/snap: unhide --name parameter to snap install, tweak help 4400 message 4401 - packaging/fedora: Merge changes from Fedora Dist-Git 4402 - tests/main/snap-service-after-before-install: verify after/before 4403 in snap install 4404 - overlord/ifacestate: mark connections disconnected by hotplug with 4405 hotplug-gone 4406 - ifacestate/ifacemgr: don't reload hotplug-gone connections on 4407 startup 4408 - tests: install dependencies during prepare 4409 - tests,store,daemon: ensure proxy settings are honored in 4410 auth/userinfo too 4411 - tests: core 18 does not support classic confinement 4412 - tests: add debug output for degraded test 4413 - strutil: make VersionCompare faster 4414 - overlord/snapshotstate/backend: survive missing directories 4415 - overlord/ifacestate: use map[string]*connState when passing conns 4416 around 4417 - tests: move fedora 28 to manual 4418 - overlord/snapshotstate/backend: be more verbose when 4419 SNAPPY_TESTING=1 4420 - tests: removing fedora 26 system from spread.yaml 4421 - tests: linode execution is not needed anymore 4422 - tests/lib: adjust to changed systemctl behaviour on debian-9 4423 - tests: fixes and new backend for tests on nested suite 4424 - strutil: let MatchCounter work with a nil regexp 4425 - ifacestate/helpers: findConnsForHotplugKey helper 4426 - many: move regexp.(Must)Compile out of non-init functions into 4427 variables 4428 - store: also make snaps downloaded via deltas 0600 4429 - snap: use Lstat to determine snap size, remove 4430 ReadSnapInfoExceptSize 4431 - interfaces/builtin: add adb-support interface 4432 - tests: fail if install_snap_local fails 4433 - strutil: add extra test to CommaSeparatedList as suggested by 4434 mborzecki 4435 - cmd/snap, daemon, strutil: use CommaSeparatedList to split a CSL 4436 - ifacestate: optimize disconnect hooks 4437 - cmd/snap-update-ns: parse the -u <uid> command line option 4438 - cmd/snap, tests: snapshots for all 4439 - client, cmd/daemon: allow disabling keepalive, improve degraded 4440 mode unit tests 4441 - snap: only show "next" refresh time if its after the hold time 4442 - overlord/snapstate: run tests for classic snaps even on systems 4443 that don't support classic 4444 - overlord/standby: fix a race between standby goroutine and stop 4445 - cmd/snap-exec: don't fail on some try mode snaps 4446 - cmd/snap, userd, testutil: tweak DBus tests to use private session 4447 bus connection 4448 - cmd: remove remnants of sc_should_populate_mount_ns 4449 - client, daemon, cmd/snap: indicate that services are socket/timer 4450 activated 4451 - cmd/snap-seccomp: only look for PTRACE_GETFPX?REGS where available 4452 - cmd/snap-confine: remove SC_NS_FAIL_GRACEFULLY 4453 - snap/pack, cmd/snap: allow specifying the filename of 'snap pack' 4454 - cmd/snap-discard-ns: add support for per-user mount namespaces 4455 - cmd/snap-confine: remove stale mount profile along stale namespace 4456 - data/apt: close stderr when calling snap in the apt install hook. 4457 - tests/main: fixes for the new shellcheck 4458 - testutil, cmd/snap: introduce and use testutil.EqualsWrapped and 4459 fly 4460 - tests: initial setup for testing current branch on nested vm and 4461 hotplug management 4462 - cmd: refactor IPC and lifecycle of the helper process 4463 - tests/main/parallel-install-store: the store has caught up, do not 4464 expect failures 4465 - overlord/snapstate, snap, wrappers: start services in the right 4466 order during install 4467 - interfaces/browser-support, cmd/snap-seccomp: Allow read-only 4468 ptrace, for the Breakpad crash reporter 4469 - snap,client: use a different exit code for retryable errors 4470 - overlord/ifacestate: don't conflict on own discard-snap tasks when 4471 refreshing & doing garbage collection 4472 - cmd/snap: tweak `snap services` output when there is no services 4473 - interfaces/many: updates to support k8s worker nodes 4474 - cmd/snap: gnome-software install via snap:// handler 4475 - overlord/many: cleanup use of snapName vs. instanceName 4476 - snapstate: add command-chain to supported featureset 4477 - daemon, snap: mark screenshots as deprecated 4478 - interfaces: fix decoding of json numbers for static/dynamic 4479 attributes* ifstate: fix decoding of json numbers 4480 - cmd/snap: try not to panic on error from "snap try" 4481 - tests: new cosmic image for spread tests on gce 4482 - interfaces/system-key: add parser mtime and only discover features 4483 on write 4484 - overlord/snapshotstate/backend: detect path to tar in unit tests 4485 - tests/unit/gccgo: drop gccgo unit tests 4486 - cmd: use relative file names in locking APIs 4487 - interfaces: fix NormalizeInterfaceAttributes, add tests 4488 - overlord/snapshotstate/backend: fall back on sudo when no runuser 4489 - cmd/snap-confine: reduce verbosity of debug and error messages 4490 - systemd: extend Status() to work for socket and timer units 4491 - interfaces: typo 'allows' for consistency with other ifaces 4492 - systemd,wrappers: don't start disabled services 4493 - ifacestate: simplify task chaining in ifacestate.Connect 4494 - tests: ensure that goa-daemon is off 4495 - snap/pack, snap/squashfs: remove extra copy before mksquashfs 4496 - cmd/snap: block 'snap help <cmd> --all' 4497 - asserts, image: ensure kernel, gadget, base and required-snaps use 4498 valid snap names 4499 - apparmor: add unit test for probeAppArmorParser and simplify code 4500 - interfaces/apparmor: conditionally add explicit deny rules for 4501 ptrace 4502 - po: sync translations from launchpad 4503 - osutil: tweak handling of error adduser errors 4504 - cmd: rename ns_group to mount_ns 4505 - tests/main/interfaces-accounts-service: more debugging 4506 - snap/pack, snap/squashfs: use type to determine mksquashfs args 4507 - data/systemd, wrappers: tweak system-shutdown helper for core18 4508 - tests: show list of processes when ifaces-accounts-service fails 4509 - tests: do not run degraded test in autopkgtest env 4510 - snap: overhaul validation error messages 4511 - ifacestate/hooks: only create interface hook tasks if hooks exist 4512 - osutil: workaround overlayfs on ubuntu 18.10 4513 - interfaces/home: don't allow snaps to write to $HOME/bin 4514 - interfaces: improve Attr error further 4515 - snapstate: tweak GetFeatureFlagBool() to have a default argument 4516 - many: cleanup remaining parallel installs TODOs 4517 - image: improve validation of extra snaps 4518 4519 * Tue Dec 18 2018 Neal Gompa <ngompa13@gmail.com> - 2.36.3-1 4520 - Release 2.36.3 to Fedora 4521 - Remove merged patch 4522 4523 * Fri Dec 14 2018 Michael Vogt <mvo@ubuntu.com> 4524 - New upstream release 2.36.3 4525 - wrappers: use new systemd.IsActive in core18 early boot 4526 - httputil: retry on temporary net errors 4527 - wrappers: only restart service in core18 when they are active 4528 - systemd: start snapd.autoimport.service in --no-block mode 4529 - data/selinux: fix syntax error in definition of snappy_admin 4530 interfacewhen installing selinux-policy-devel package. 4531 - centos: enable SELinux support on CentOS 7 4532 - cmd, dirs, interfaces/apparmor: update distro identification to 4533 support ID="archlinux" 4534 - apparmor: allow hard link to snap-specific semaphore files 4535 - overlord,apparmor: new syskey behaviour + non-ignored snap-confine 4536 profile errors 4537 - snap: add new `snap run --trace-exec` call 4538 - interfaces/backends: detect too old apparmor_parser 4539 4540 * Thu Nov 29 2018 Michael Vogt <mvo@ubuntu.com> 4541 - New upstream release 2.36.2 4542 - daemon, vendor: bump github.com/coreos/go-systemd/activation, 4543 handle API changes 4544 - snapstate: update fontconfig caches on install 4545 - overlord,daemon: mock security backends for testing 4546 - sanity, spread, tests: add CentOS 4547 - Revert "cmd/snap, tests/main/snap-info: highlight the current 4548 channel" 4549 - cmd/snap: add nanosleep to blacklisted syscalls when running with 4550 --strace 4551 - tests: add regression test for LP: #1803535 4552 - snap-update-ns: fix trailing slash bug on trespassing error 4553 - interfaces/builtin/opengl: allow reading /etc/OpenCL/vendors 4554 - cmd/snap-confine: nvidia: pick up libnvidia-opencl.so 4555 - interfaces/opengl: add additional accesses for cuda 4556 4557 * Wed Nov 21 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-4 4558 - Fix backport patch 4559 4560 * Wed Nov 21 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-3 4561 - Backport fixes for EL7 support 4562 4563 * Wed Nov 14 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-2 4564 - Fix runtime dependency for selinux subpackage for EL7 4565 4566 * Fri Nov 09 2018 Michael Vogt <mvo@ubuntu.com> 4567 - New upstream release 2.36.1 4568 - tests,snap-confine: add core18 only hooks test and fix running 4569 core18 only hooks on classic 4570 - interfaces/apparmor: allow access to 4571 /run/snap.$SNAP_INSTANCE_NAME 4572 - spread.yaml: add more systems to the autopkgtest and qemu backends 4573 - daemon: spool sideloaded snap into blob dir 4574 - wrappers: fix generating of service units with multiple `before` 4575 dependencies 4576 - data: run snapd.autoimport.service only after seeding 4577 - tests,store,daemon: ensure proxy settings are honored in 4578 auth/userinfo too 4579 - packaging/fedora: Merge changes from Fedora Dist-Git 4580 - tests/lib: adjust to changed systemctl behaviour on debian-9 4581 - tests/main/interfces-accounts-service: switch to busctl, more 4582 debugging 4583 - store: also make snaps downloaded via deltas 0600 4584 - cmd/snap-exec: don't fail on some try mode snaps 4585 - cmd/snap, userd, testutil: tweak DBus tests to use private session 4586 bus connection 4587 - tests/main: fixes for the new shellcheck 4588 - cmd/snap-confine: remove stale mount profile along stale namespace 4589 - data/apt: close stderr when calling snap in the apt install hook 4590 4591 * Sun Nov 04 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-1 4592 - Release 2.36 to Fedora 4593 4594 * Wed Oct 24 2018 Michael Vogt <mvo@ubuntu.com> 4595 - New upstream release 2.36 4596 - overlord/snapstate, snap, wrappers: start services in the right 4597 order during install 4598 - tests: the store has caught up, drop gccgo test, update cosmic 4599 image 4600 - cmd/snap: try not to panic on error from "snap try"`--devmode` 4601 - overlord/ifacestate: don't conflict on own discard-snap tasks when 4602 refreshing & doing garbage collection 4603 - snapstate: add command-chain to supported featureset 4604 - daemon, snap: mark screenshots as deprecated 4605 - interfaces: fix decoding of json numbers for static/dynamic 4606 attributes 4607 - data/systemd, wrappers: tweak system-shutdown helper for core18 4608 - interfaces/system-key: add parser mtime and only discover features 4609 on write 4610 - interfaces: fix NormalizeInterfaceAttributes, add tests 4611 - systemd,wrappers: don't start disabled services 4612 - ifacestate/hooks: only create interface hook tasks if hooks exist 4613 - tests: do not run degraded test in autopkgtest env 4614 - osutil: workaround overlayfs on ubuntu 18.10 4615 - interfaces: include invalid type in Attr error 4616 - many: enable layouts by default 4617 - interfaces/default: don't scrub with change_profile with classic 4618 - cmd/snap: speed up unit tests 4619 - vendor, cmd/snap: refactor to accommodate the new less buggy go- 4620 flags 4621 - daemon: expose snapshots to the API 4622 - interfaces: updates for default, screen-inhibit-control, tpm, 4623 {hardware,system,network}-observe 4624 - interfaces/hotplug: rename HotplugDeviceKey method to HotplugKey, 4625 update test interface 4626 - interfaces/tests: use TestInterface instead of a custom local 4627 helper 4628 - overlord/snapstate: export getFeatureFlagBool. 4629 - osutil,asserts,daemon: support force password change in system- 4630 user assertion 4631 - snap, wrappers: support restart-delay, generate RestartSec=<value> 4632 in service units 4633 - tests/ifacestate: moved asserts-related mocking into helper 4634 - image: fetch device store assertion if available 4635 - many: enable AppArmor on Arch 4636 - interfaces/repo: two helper methods for hotplug 4637 - overlord/ifacestate: add hotplug slots with implicit slots 4638 - interfaces/hotplug: helpers and struct updates 4639 - tests: run the snapd tests on Ubuntu 18.10 4640 - snapstate: only report errors if there is an actual error 4641 - store: speedup unit tests 4642 - spread-shellcheck: fix interleaved error messages, tweaks 4643 - apparmor: create SnapAppArmorDir in setupSnapConfineReexec 4644 - ifacestate: implementation of defaultDeviceKey function for 4645 hotplug 4646 - cmd/snap-update-ns: remove empty placeholders used for mounting 4647 - snapshotstate: restore to current revision 4648 - tests/lib: rework the CLA checker 4649 - many: support and consider store friendly-stores when checking 4650 device scope constraints 4651 - overlord/snapstate: block parallel installs of snapd, core, base, 4652 kernel, gadget snaps 4653 - overlord/patch: patch for static plug/slot attributes 4654 - interfaces: honor static attributes when reloading conns 4655 - osutils: unit tests speedup; introduce «run-checks --short- 4656 unit». 4657 - systemd, wrappers: speed up wrappers unit tests 4658 - client: speedup unit tests 4659 - spread-shellcheck: use threads to parallelise 4660 - snap: validate plug and slot names 4661 - osutil, interfaces/apparmor: add and use of osutil.UnlinkMany 4662 - wrappers: do not depend on network.taget in socket units, tweak 4663 generated units 4664 - interfaces/apparmor: (un)load profiles in one apparmor_parser call 4665 - store: gracefully handle unexpected errors in 'action' 4666 response 4667 - cmd: put our manpages in section 8 4668 - overlord: don't make become-operational interfere with user 4669 requests 4670 - store: tweak unmatched refresh result error log 4671 - snap, client, daemon, store: use and expose "media" more 4672 - tests,cmd/snap-update-ns: add test showing mount update bug 4673 cmd/snap-update-ns: better detection of snapd-made tmpfs 4674 - tests: spread tests for aliases with parallel installed snaps 4675 - interfaces/seccomp: allow using statx by default 4676 - store: gracefully handle unexpected errors in 'action' response 4677 - overlord/snapshotstate: chown the tempdir 4678 - cmd/snap: attempt to start the document portal if running with a 4679 session bus 4680 - snap: detect layouts vs layout in snap.yaml 4681 - interfaces/apparmor: handle overlayfs snippet for snap-update-ns 4682 - snapcraft.yaml: set grade to stable 4683 - tests: shellchecks, final round 4684 - interfaces/apparmor: handle overlayfs snippet for snap-update-ns 4685 - snap: detect layouts vs layout in snap.yaml 4686 - overlord/snapshotstate: store epoch in snapshot, check on restore 4687 - cmd/snap: tweak UX of snap refresh --list 4688 - overlord/snapstate: improve consistency, use validateInfoAndFlags 4689 also in InstallPath 4690 - snap: give Epoch a CanRead helper 4691 - overlord/snapshotstate: small refactor of internal helpers 4692 - interfaces/builtin: adding missing permission to create 4693 /run/wpa_supplicant directory 4694 - interfaces/builtin: avahi interface update 4695 - client, daemon: support passing of 'unaliased' option when 4696 installing from local files 4697 - selftest: rename selftest.Run() to sanity.Check() 4698 - interfaces/apparmor: report apparmor support level and policy 4699 - ifacestate: helpers for generating slot names for hotplug 4700 - overlord/ifacestate: make sure to pass in the Model assertion when 4701 enforcing policies 4702 - overlord/snapshotstate: store the SnapID in snapshot, block 4703 restore if changed 4704 - interfaces: generalize writable mimic profile 4705 - asserts,interfaces/policy: add support for on-store/on-brand/on- 4706 model plug/slot rule constraints 4707 - many: fetch the device store assertion together and in the context 4708 of interpreting snap-declarations 4709 - tests: disable gccgo tests on 18.04 for now, until dh-golang vs 4710 gccgo is fixed 4711 - tests/main/parallel-install-services: add spread test for snaps 4712 with services 4713 - tests/main/snap-env: extend to cover parallel installations of 4714 snaps 4715 - tests/main/parallel-install-local: rename from *-sideload, extend 4716 to run snaps 4717 - cmd/snapd,daemon,overlord: without snaps, stop and wait for socket 4718 - cmd/snap: tame the help zoo 4719 - tests/main/parallel-install-store: run installed snap 4720 - cmd/snap: add a bunch of TRANSLATORS notes (and a little more 4721 i18n) 4722 - cmd: fix C formatting 4723 - tests: remove unneeded cleanup from layout tests 4724 - image: warn on missing default-providers 4725 - selftest: add test to ensure selftest.checks is up-to-date 4726 - interfaces/apparmor, interfaces/builtin: tweaks for parallel snap 4727 installs 4728 - userd: extend the list of supported XDG Desktop properties when 4729 autostarting user applications 4730 - cmd/snap-update-ns: enforce trespassing checks 4731 - selftest: actually run the kernel version selftest 4732 - snapd: go into degraded mode when the selftest fails 4733 - tests: add test that runs snapctl with a core18 snap 4734 - tests: add snap install hook with base: core18 4735 - overlord/{snapstate,assertstate}: parallel instances and 4736 refresh validation 4737 - interfaces/docker-support: add rules to read apparmor macros 4738 - tests: make nfs test available for more systems 4739 - tests: cleanup copy/paste dup in interfaces-network-setup-control 4740 - tests: using single sh snap in interface tests 4741 - overlord/snapstate: improve cleaup in mount-snap handler 4742 - tests: don't fail interfaces-bluez test if bluez is already 4743 installed 4744 - tests: find snaps just for edge and beta channels 4745 - daemon, snapstate: consistent snap list [--all] output with broken 4746 snaps 4747 - tests: fix listing to allow extra things in the notes column 4748 - cmd/snap: improve UX when removing specific snap revision 4749 - cmd/snap, tests/main/snap-info: highlight the current channel 4750 - interfaces/testiface: added TestHotplugInterface 4751 - snap: tweak commands 4752 - interfaces/hotplug: hotplug spec takes one slot definition 4753 - overlord/snapstate, snap: handle shared snap directories when 4754 installing/remove snaps with instance key 4755 - interfaces/opengl: misc accesses for VA-API 4756 - client, cmd/snap: expose warnings to the world 4757 - cmd/snap-update-ns: introduce trespassing state tracking 4758 - cmd/snap: commands no longer build their own client 4759 - tests: try to build cmd/snap for darwin 4760 - daemon: make error responders not printf when called with 1 4761 argument 4762 - many: return real snap name in API response 4763 - overlord/state: return latest LastAdded time in WarningsSummary 4764 - many: mount namespace mapping for parallel installs of snaps 4765 - ifacestate/autoconnect: do not self-conflict on setup-profiles if 4766 core-phase-2 4767 - client, cmd/snap: on !linux, exit when the client tries to Do 4768 something 4769 - tests: refactor for nested suite and tests fixed 4770 - tests: use lxd's waitready instead of polling lxd socket 4771 - ifacestate: don't initialize udev monitor until we have a system 4772 snap 4773 - interfaces: extra argument for static attrs in 4774 NewConnectedPlug/NewConnectedSlot 4775 - packaging/arch: sync packaging with AUR 4776 - snapstate/tests: serialize all appends in fake backend 4777 - snap-confine: make /lib/modules optional 4778 - cmd/snap: handle "snap interfaces core" better 4779 - store: move download tests into downloadSuite 4780 - tests,interfaces: run interfaces-account-control on UC18 4781 - tests: fix install snaps test by adding link to /snap 4782 - tests: fix for nested test suite 4783 - daemon: fix snap list --all with parallel snap instances 4784 - snapstate: refactor tests to use SetModel* 4785 - wrappers: fix snap services order in tests 4786 - many: provide salt for generating instance-key in store requests 4787 - ifacestate: fix hang when retrying content providers 4788 - snapd-env-generator: fix when PATH is empty or unset 4789 - overlord/assertstate: propagate TaskSnapSetup error 4790 - client: catch and expose logs errors 4791 - overlord: integrate device enumeration with udev monitor 4792 - daemon, overlord/state: warnings pipeline 4793 - tests: add publisher regex to fix the snap-info test pass on sru 4794 - cmd: use systemdsystemgeneratorsdir, cleanup automake complaints, 4795 tweaks 4796 - cmd/snap-update-ns: remove the unused Secure type 4797 - osutil, o/snapshotstate, o/sss/backend: quick fixes 4798 - tests: update the listing expression to support core from 4799 different channels 4800 - store: use stable instance key in store refresh requests 4801 - cmd/snap-update-ns: detach Mk{Prefix,{File,Dir,Symlink{,All}}} 4802 - overlord/patch: support for sublevel patches 4803 - tests: update prepare/restore for nightly suite 4804 - cmd/snap-update-ns: detach BindMount from the Secure type 4805 - cmd/snap-update-ns: re-factor pair of helpers to call fstatfs once 4806 - ifacestate: retry on "discard-snap" in autoconnect conflict check 4807 - cmd/snap-update-ns: separate OpenPath from the Secure struct 4808 - wrappers: remove Wants=network-online.target 4809 - tests: add new core16-base test 4810 - store: refactor tests so that they work as store_test package 4811 - many: add refresh.rate-limit core option 4812 - tests: run account-control test with different bases 4813 - tests: port proxy test to use python tinyproxy 4814 - overlord: introduce snapshotstate. 4815 - testutil: allow Fstatfs results to vary over time 4816 - snap-update-ns: add comments about the "deadcode" in bootstrap.go 4817 - overlord: add chg.Err() in testUpdateWithAutoconnectRetry 4818 - many: remove deadcode 4819 - tests: also run unit/gccgo in 18.04 4820 - tests: introduce a helper for installing local snaps with --name 4821 - tests: avoid removing core snap on reset 4822 - snap: use snap.SideInfo in test to fix build with gccgo 4823 - partition: remove unused runCommand 4824 - image: fix incorrect error when using local bases 4825 - overlord/snapstate: fix format 4826 - cmd: fix format 4827 - tests: setting "storage: preserve-size" just for amazon-linux 4828 system 4829 - tests: test for the hostname interface 4830 - interfaces/modem-manager: allow access to more USB strings 4831 - overlord: instantiate UDevMonitor 4832 - interfaces/apparmor: tweak naming, rename to AddLayout() 4833 - interfaces: take instance name in ifacetest.InstallSnap 4834 - snapcraft: do not use --dirty in mkversion 4835 - cmd: add systemd environment generator 4836 - devicestate: support getting (http) proxy from core config 4837 - many: rename ClientOpts to ClientOptions 4838 - prepare-image-grub-core18: remove image root in restore 4839 - overlord/ifacestate: remove "old-conn" from connect/undo connect 4840 handlers 4841 - packaging/fedora: Merge changes from Fedora Dist-Git 4842 - image: handle errors when downloadedSnapsInfoForBootConfig has no 4843 data 4844 - tests: use official core18 model assertion in tests 4845 - snap-confine: map /var/lib/extrausers into snaps mount-namespace 4846 - overlord,store: support proxy settings internally too 4847 - cmd/snap: bring back 'snap version' 4848 - interfaces/mount: tweak naming of things 4849 - strutil: fix MatchCounter to also work with buffer reuse 4850 - cmd,interfaces,tests: add /mnt to removable-media interface 4851 - systemd: do not run "snapd.snap-repair.service.in on firstboot 4852 bootstrap 4853 - snap/snapenv: drop some instance specific variables, use instance- 4854 specific ones for user locations 4855 - firstboot: sort by type when installing the firstboot snaps 4856 - cmd, cmd/snap: better support for non-linux 4857 - strutil: add new ParseByteSize 4858 - image: detect and error if bases are missing 4859 - interfaces/apparmor: do not downgrade confinement on arch with 4860 linux-hardened 4.17.4+ 4861 - daemon: add pokeStateLock helper to the daemon tests 4862 - snap/squashfs: improve error message from Build on mksquashfs 4863 failure 4864 - tests: remove /etc/alternatives from dirs-not-shared-with-host 4865 - cmd: support re-exec into the "snapd" snap 4866 - spdx: remove "Other Open Source" from the support licenses 4867 - snap: add new type "TypeSnapd" and attach to the snapd snap 4868 - interfaces: retain order of inserted security backends 4869 - tests: spread test for parallel-installs desktop file handling 4870 - overlord/devicestate: use OpenSSL's PEM format when generating 4871 keys 4872 - cmd: remove --skip-command-chain from snap run and snap-exec 4873 - selftest: detect if apparmor is unusable and error 4874 - snap,snap-exec: support command-chain for hooks 4875 - tests: significantly reduce execution time for managers test 4876 - snapstate: use new "snap.ByType" sorting 4877 - overlord/snapstate: fix UpdateMany() to work with parallel 4878 instances 4879 - testutil: have File* checker produce more useful error output 4880 - overlord/ifacestate: introduce connectOpts 4881 - interfaces: parallel instances support, extend unit tests 4882 - tests: normalize tests 4883 - snapstate: make InstallPath() return *snap.Info too 4884 - snap: add ByType sorting 4885 - interfaces: add cifs-mount interface 4886 - tests: use file based markers in snap-service-stop-mode 4887 - osutil: reorg and stub out things to get it building on darwin 4888 - tests/main/layout: cleanup after the test 4889 - osutil/sys: small tweaks to let it build on darwin 4890 - daemon, overlord/snapstate: set instance name when installing from 4891 snap file 4892 - many: move Uname to osutil, for more DRY and easier porting. 4893 - cmd/snap: create snap user directory when running parallel 4894 installed snaps 4895 - cmd/snap-confine: switch to validation of SNAP_INSTANCE_NAME 4896 - tests: basic test for parallel installs from the store 4897 - image: download the gadget from the model.GadgetTrack() 4898 - snapstate: add support for gadget tracks in model assertion 4899 - image: add support for "gadget=track" 4900 - overlord: handle sigterm during shutdown better 4901 - tests: add the original function to fix the errors on new kernels 4902 - tests/main/lxd: pull lxd from candidate; reënable i386 4903 - wayland: add extra sockets that are used by older toolkits (e.g. 4904 gtk3) 4905 - asserts: add support for gadget tracks in the model assertion 4906 - overlord/snapstate: improve feature flag validation 4907 - tests/main/lxd: run ubuntu-16.04 only on 64 bit variant 4908 - interfaces: workaround for activated services and newer DBus 4909 - tests: get the linux-image-extra available for the current kernel 4910 - interfaces: add new "sysfs-name" to i2c interfaces code 4911 - interfaces: disconnect hooks 4912 - cmd/libsnap: unify detection of core/classic with go 4913 - tests: fix autopkgtest failures in cosmic 4914 - snap: fix advice json 4915 - overlord/snapstate: parallel snap install 4916 - store: backward compatible instance-key handling for non-instance 4917 snaps 4918 - interfaces: add screencast-legacy for video and audio recording 4919 - tests: skip unsupported architectures for fedora-base-smoke test 4920 - tests: avoid using the journalctl cursor when it has not been 4921 created yet 4922 - snapstate: ensure normal snaps wait for the "snapd" snap on 4923 refresh 4924 - tests: enable lxd again everywhere 4925 - tests: new test for udisks2 interface 4926 - interfaces: add cpu-control for setting CPU tunables 4927 - overlord/devicestate: fix tests, set seeded in registration 4928 through proxy tests 4929 - debian: add missing breaks on cosmic 4930 - devicestate: only run device-hook when fully seeded 4931 - seccomp: conditionally add socketcall() based on system and base 4932 - tests: new test for juju client observe interface 4933 - overlord/devicestate: DTRT w/a snap proxy to reach a serial vault 4934 - snapcraft: set version information for the snapd snap 4935 - cmd/snap, daemon: error out if trying to install a snap using 4936 empty name 4937 - hookstate: simplify some hook tests 4938 - cmd/snap-confine: extend security tag validation to cover instance 4939 names 4940 - snap: fix mocking of systemkey in snap-run tests 4941 - packaging/opensuse: fix static build of snap-update-ns and snap- 4942 exec 4943 - interfaces/builtin: addtl network-manager resolved DBus fix 4944 - udev: skip TestParseUdevEvent on ppc 4945 - interfaces: miscellaneous policy updates 4946 - debian: add tzdata to build-dep to ensure snapd builds correctly 4947 - cmd/libsnap-confine-private: intoduce helpers for validating snap 4948 instance name and instance key 4949 - snap,snap-exec: support command-chain for app 4950 - interfaces/builtin: network-manager resolved DBus changes 4951 - snap: tweak `snap wait` command 4952 - cmd/snap-update-ns: introduce validation of snap instance names 4953 - cmd/snap: fix some corner-case test setup weirdness 4954 - cmd,dirs: fix various issues discovered by a Fedora base snap 4955 - tests/lib/prepare: fix extra snaps test 4956 4957 * Mon Oct 15 2018 Michael Vogt <mvo@ubuntu.com> 4958 - New upstream release 2.35.5 4959 - interfaces/home: don't allow snaps to write to $HOME/bin 4960 - osutil: workaround overlayfs on ubuntu 18.10 4961 4962 * Fri Oct 05 2018 Michael Vogt <mvo@ubuntu.com> 4963 - New upstream release 2.35.4 4964 - wrappers: do not depend on network.taget in socket units, tweak 4965 generated units 4966 4967 * Fri Oct 05 2018 Michael Vogt <mvo@ubuntu.com> 4968 - New upstream release 2.35.3 4969 - overlord: don't make become-operational interfere with user 4970 requests 4971 - docker_support.go: add rules to read apparmor macros 4972 - interfaces/apparmor: handle overlayfs snippet for snap-update- 4973 nsFixes: 4974 - snapcraft.yaml: add workaround to fix snapcraft build 4975 - interfaces/opengl: misc accesses for VA-API 4976 4977 * Wed Sep 12 2018 Michael Vogt <mvo@ubuntu.com> 4978 - New upstream release 2.35.2 4979 - cmd,overlord/snapstate: go 1.11 format fixes 4980 - ifacestate: fix hang when retrying content providers 4981 - snap-env-generator: do nothing when PATH is unset 4982 - interfaces/modem-manager: allow access to more USB strings 4983 4984 * Mon Sep 03 2018 Michael Vogt <mvo@ubuntu.com> 4985 - New upstream release 2.35.1 4986 - packaging/fedora: Merge changes from Fedora Dist-Git 4987 - snapcraft: do not use --diry in mkversion.sh 4988 - cmd: add systemd environment generator 4989 - snap-confine: map /var/lib/extrausers into snaps mount-namespace 4990 - tests: cherry-pick test fixes from master for 2.35 4991 - systemd: do not run "snapd.snap-repair.service.in on firstboot 4992 bootstrap 4993 - interfaces: retain order of inserted security backends 4994 - selftest: detect if apparmor is unusable and error 4995 4996 * Sat Aug 25 2018 Neal Gompa <ngompa13@gmail.com> - 2.35-1 4997 - Release 2.35 to Fedora (RH#1598946) 4998 4999 * Mon Aug 20 2018 Michael Vogt <mvo@ubuntu.com> 5000 - New upstream release 2.35 5001 - snapstate: add support for gadget tracks in model assertion 5002 - image: add support for "gadget=track" 5003 - asserts: add support for gadget tracks in the model assertion 5004 - interfaces: add new "sysfs-name" to i2c interfaces code 5005 - overlord: handle sigterm during shutdown better 5006 - wayland: add extra sockets that are used by older toolkits 5007 - snap: fix advice json 5008 - tests: fix autopkgtest failures in cosmic 5009 - store: backward compatible instance-key handling for non-instance 5010 snaps 5011 - snapstate: ensure normal snaps wait for the "snapd" snap on 5012 refresh 5013 - interfaces: add cpu-control for setting CPU tunables 5014 - debian: add missing breaks on comisc 5015 - overlord/devicestate: DTRT w/a snap proxy to reach a serial vault 5016 - devicestate: only run device-hook when fully seeded 5017 - seccomp: conditionally add socketcall() based on system and base 5018 - interfaces/builtin: addtl network-manager resolved DBus fix 5019 - hookstate: simplify some hook tests 5020 - udev: skip TestParseUdevEvent on ppc 5021 - interfaces: miscellaneous policy updates 5022 - debian: add tzdata to build-dep to ensure snapd builds correctly 5023 - interfaces/builtin: network-manager resolved DBus changes 5024 - tests: add spread test for fedora29 base snap 5025 - cmd/libsnap: treat distributions with VARIANT_ID=snappy as "core" 5026 - dirs: fix SnapMountDir inside a Fedora base snap 5027 - tests: fix snapd-failover for core18 with external backend 5028 - overlord/snapstate: always clean SnapState when doing Get() 5029 - overlod/ifacestate: always use a new SnapState when fetching the 5030 snap state 5031 - overlord/devicestate: have the serial request talk to the proxy if 5032 set 5033 - interfaces/hotplug: udevadm output parser 5034 - tests: New test for daemon-notify interface 5035 - image: ensure "core" is ordered early if base: and core is used 5036 - cmd/snap-confine: snap-device-helper parallel installs support 5037 - tests: enable interfaces-framebuffer everywhere 5038 - tests: reduce nc wait time from 2 to 1 second 5039 - snap/snapenv: add snap instance specific variables 5040 - cmd/snap-confine: add minimal test for snap-device-helper 5041 - tests: enable snapctl test on core18 5042 - overlord: added UDevMonitor for future hotplug support 5043 - wrappers: do not glob when removing desktop files 5044 - tests: add dbus monitor log to interfaces-accounts-service 5045 - tests: add core-18 systems to external backend 5046 - wrappers: account for changed app wrapper in parallel installed 5047 snaps 5048 - wrappers: make sure that the tests pass on non-Ubuntu too 5049 - many: add snapd snap failure handling 5050 - tests: new test for dvb interface 5051 - configstate: accept refresh.timer=managed 5052 - tests: new test for snap logs command 5053 - wrapper: generate all the snapd unit files when generating 5054 wrappers 5055 - store: keep all files with link-count > 1 in the cache 5056 - store: be less verbose in the common refresh case of "no updates" 5057 - snap-confine: update snappy-app-dev path 5058 - debian: ensure dependency on fixed apt on 18.04 5059 - snapd: add initial software watchdog for snapd 5060 - daemon, systemd: change journalctl -n=all to --no-tail 5061 - systemd: fix snapd.apparmor.service.in dependencies 5062 - snapstate: refuse to remove bases or core if snaps need them 5063 - snap: introduce package-level helpers for building snap related 5064 directory/file paths 5065 - overlord/devicestate: deny parallel install of kernel or gadget 5066 snaps 5067 - store: clean up parallel-install TODOs in store tests 5068 - timeutil: fix first weekday of the month schedule 5069 - interfaces: match all possible tty but console 5070 - tests: shellchecks part 5 5071 - cmd/snap-confine: allow ptrace read for 4.18 kernels 5072 - advise: make the bolt database do the atomic rename dance 5073 - tests/main/apt-hooks: debug dump of commands.db 5074 - tests/lib/prepare-restore: update Arch Linux kernel LOCALVERSION 5075 handling 5076 - snap: validate instance name as part of Validate() 5077 - daemon: if a snap is inactive, don't ask systemd about its 5078 services. 5079 - udev: skip TestParseUdevEvent on s390x 5080 - tests: switch core-amd64-18 to use `kernel: pc-kernel=18` 5081 - asserts,image: add support for new kernel=track syntax 5082 - tests: new gce image for fedora 27 5083 - interfaces/apparmor: use the cache in mtime-resilient way 5084 - store, overlord/snapstate: introduce instance name in store APIs 5085 - tests: drive-by cleanup of redudant pkgname matching 5086 - tests: ensure apt-hook is only run after catalog update ran 5087 - tests: use pkill instead of kilall 5088 - tests/main: another bunch of updates for Amazon Linux 2 5089 - tests/lib/snaps: avoid using relative command paths that go up in 5090 the directory tree 5091 - tests: disable/fix more tests for Amazon Linux 2 5092 - overlord: introduce InstanceKey to SnapState and SnapSetup, 5093 renames 5094 - daemon: make sure most change generating handlers can produce 5095 errors with kinds 5096 - tests/main/interfaces-calendar-service: skip the test on AMZN2 5097 - tests/lib/snaps: avoid using relative command paths that go up in 5098 the directory tree 5099 - cmd/snap: add a green check mark to verified publishers 5100 - cmd/snap: fix two issues in the cmd/snap unit tests 5101 - packaging/fedora: fix target path of /snap symlink 5102 - cmd/snap: support `--last=<type>?` to mean "no error on empty" 5103 - cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so 5104 - strutil: detect and bail out of Unmarshal on duplicate key 5105 - packaging/fedora(amzn2): disable SELinux, drop dependency on 5106 squashfuse for AMZN2 5107 - spread, tests: add support for Amazon Linux 2 5108 - packaging/fedora: Add Amazon Linux 2 support 5109 - many: make Wait/Stop optional on StateManagers 5110 - snap/squashfs: stop printing unsquashfs info to stderr 5111 - snap: add support for `snap advise-snap --from-apt` 5112 - overlord/ifacestate: ignore connect if already connected 5113 - tests: change the service snap used instead of network-bind- 5114 consumer 5115 - interfaces/network-control: update for wpa-supplicant and ifupdown 5116 - tests: fix raciness in stop mode tests 5117 - logger: try to not have double dates 5118 - debian: use deb-systemd-invoke instead of systemctl directly 5119 - tests: run all main tests on core18 5120 - many: finish sharing a single TaskRunner with all the the managers 5121 - interfaces/repo: added AllHotplugInterfaces helper 5122 - snapstate: ensure kernel-track is honored on switch/refresh 5123 - overlord/ifacestate: support implicit slots on snapd 5124 - image: add support for "kernel-track" in `snap prepare-image` 5125 - tests: add test that ensures we do not boot any system in degraded 5126 state 5127 - tests: update tests to work on core18 5128 - cmd/snap: check for typographic dashes in command 5129 - tests: fix tests expecting old email address 5130 - client: add some existing error kinds that were not listed in 5131 client.go 5132 - tests: add missing slots in classic and core provider test snaps 5133 - overlord,daemon,cmd: re-map snap names around the edges of snapd 5134 - tests: use install_local in snap-run-hooks 5135 - coreconfig: add support for `snap set system network.disable- 5136 ipv6` 5137 - overlord/snapstate: dedupe default content providers 5138 - osutil/udev: sync with upstream 5139 - debian: do not ship snapd.apparmor.service on ubuntu 5140 - overlord: have SnapManager use a passed in TaskRunner created by 5141 Overlord 5142 - many: streamline the generic conflict check mechanisms 5143 - tests: remove unneeded setup code in snap-run-symlink 5144 - cmd/snap: print unset license as "unset", instead of "unknown" 5145 - asserts: add (optional) kernel-track to model assertion 5146 - snap/squashfs, tests: pass -n[o-progress] to {mk,un}squashfs 5147 - interfaces/pulseaudio: be clear that the interface allows playback 5148 and record 5149 - snap: support hook environment 5150 - interfaces: fix typo "daemonNotify" (add missing "n") 5151 - interfaces: tweak tests of daemon-notify, use common naming 5152 - interfaces: allow invoking systemd-notify when daemon-notify is 5153 connected 5154 - store: make snap blobs be 0600 5155 - interfaces,daemon: move JSON types to the daemon 5156 - tests: prepare needs to handle bin/snapctl being a symlink 5157 - tests: do not mask errors in interfaces-timezone-control (#5405) 5158 - packaging: put snapctl into /usr/lib/snapd and symlink in usr/bin 5159 - tests: add basic integration test for spread hold 5160 - overlord/snapstate: improve PlugsOnly comment 5161 - many: assorted shellcheck fixes 5162 - store, daemon, client, cmd/snap: expose "scope", default to wide 5163 - snapstate: allow setting "refresh.timer=managed" 5164 - cmd/snap: display a link to data privacy notice for interactive 5165 snap login 5166 - client, cmd/snap: pass snap instance name when installing from 5167 file 5168 - cmd/snap: add 'debug paths' command 5169 - snapstate: make sure all *link-*snap tasks carry a snap type and 5170 further hints 5171 - devicestate: fix race when refreshing a snap with snapd-control 5172 - tests: fix tests on arch 5173 - tests: start active system units on reset 5174 - tests: new test for joystick interface 5175 - tests: moving install of dependencies to pkgdb helper 5176 - tests: enable new fedora image with test dependencies installed 5177 - tests: start using the new opensuse image with test dependencies 5178 - tests: check catalog refresh before and after restart snapd 5179 - tests: stop restarting journald service on prepare 5180 - interfaces: make core-support a no-op interface 5181 - interfaces: prefer "snapd" when resolving implicit connections 5182 - interfaces/hotplug: add hotplug Specification and 5183 HotplugDeviceInfo 5184 - many: lessen the use of core-support 5185 - tests: fixes for the autopkgtest failures in cosmic 5186 - tests: remove extra ' which breaks interfaces-bluetooth-control 5187 test 5188 - dirs: fix antergos typo 5189 - tests: use grep to avoid non-matching messages from MATCH 5190 - dirs: improve distro detection for Antegros 5191 - vendor: switch to latest bson 5192 - interfaces/builtin: create can-bus interface 5193 - tests: "snap connect" is idempotent so just connect 5194 - many: use extra "releases" information on store "revision-not- 5195 found" errors to produce better errors 5196 - interfaces: treat "snapd" snap as type:os 5197 - interfaces: tweak tests to have less repetition of "core" and 5198 "ubuntu… 5199 - tests: simplify econnreset test 5200 - snap: add helper for renaming slots 5201 - devicestate: fix panic in firstboot code when no snaps are seeded 5202 - tests: add artful for sru validation on google backend 5203 - snap,interfaces: move interface name validation to snap 5204 - overlord/snapstate: introduce path to fake backend ops 5205 - cmd/snap-confine: fix snaps running on core18 5206 - many: expose publisher's validation throughout the API 5207 5208 * Fri Jul 27 2018 Michael Vogt <mvo@ubuntu.com> 5209 - New upstream release 2.34.3 5210 - interfaces/apparmor: use the cache in mtime-resilient way 5211 - cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so 5212 - snapstate: allow setting "refresh.timer=managed" 5213 - spread: switch Fedora and openSUSE images 5214 5215 * Thu Jul 19 2018 Michael Vogt <mvo@ubuntu.com> 5216 - New upstream release 2.34.2 5217 - packaging: fix bogus date in fedora snapd.spec 5218 - tests: fix tests expecting old email address 5219 5220 * Tue Jul 17 2018 Michael Vogt <mvo@ubuntu.com> 5221 - New upstream release 2.34.1 5222 - tests: cherry-pick test fixes from master for 2.34 5223 - coreconfig: add support for `snap set system network.disable- 5224 ipv6` 5225 - debian: do not ship snapd.apparmor.service on ubuntu 5226 - overlord/snapstate: dedupe default content providers 5227 - interfaces/builtin: create can-bus interface 5228 5229 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.33.1-2 5230 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild 5231 5232 * Fri Jul 06 2018 Michael Vogt <mvo@ubuntu.com> 5233 - New upstream release 2.34 5234 - store, daemon, client, cmd/snap: expose "scope", default to wide* 5235 - tests: fix arch tests 5236 - snapstate: make sure all *link-*snap tasks carry a snap type and 5237 further hints 5238 - snapstate: allow setting "refresh.timer=managed" 5239 - cmd/snap: display a link to data privacy notice for interactive 5240 snap login 5241 - devicestate: fix race when refreshing a snap with snapd-control 5242 - tests: skip interfaces-framebuffer when no /dev/fb0 is found 5243 - tests: run interfaces-contacts-service only where test-snapd-eds 5244 is available 5245 - many: expose publisher's validation throughout the API 5246 - many: use extra "releases" information on store "revision-not- 5247 found" errors to produce better errors 5248 - dirs: improve distro detection for Antegros 5249 - Revert "dirs: improve identification of Arch Linux like systems" 5250 - devicestate: fix panic in firstboot code when no snaps are seeded 5251 - i18n: use xgettext-go --files-from to avoid running into cmdline 5252 size limits 5253 - interfaces: move ValidateName helper to utils 5254 - snapstate,ifstate: wait for pending restarts before auto- 5255 connecting 5256 - snap: account for parallel installs in wrappers, place info and 5257 tests 5258 - configcore: fix incorrect handling of keys with numbers (like 5259 gpu_mem_512) 5260 - tests: fix tests when no keyboard input detected 5261 - overlord/configstate: add watchdog options 5262 - snap-mgmt: fix for non-existent dbus system policy dir, 5263 shellchecks 5264 - tests/main/snapd-notify: use systemd's service properties rater 5265 than the journal 5266 - snapstate: allow removal of snap.TypeOS when using a model with a 5267 base 5268 - interfaces: make findSnapdPath smarter 5269 - tests: run "arp" tests only if arp is available 5270 - spread: increase the number of auto retries for package downloads 5271 in opensuse 5272 - cmd/snap-confine: fix nvidia support under lxd 5273 - corecfg: added experimental.hotplug feature flag 5274 - image: block installation of parallel snap instances 5275 - interfaces: moved normalize method to interfaces/utils and made it 5276 public 5277 - api/snapctl: allow -h and --help for regular users. 5278 - interfaces/udisks2: also implement implicit classic slot 5279 - cmd/snap-confine: include CUDA runtime libraries 5280 - tests: disable auto-refresh test on core18 5281 - many: switch to account validation: unproven|verified 5282 - overlord/ifacestate: get/set connection state only via helpers 5283 - tests: adding extra check to validate journalctl is showing 5284 current test data 5285 - data: add systemd environment configuration 5286 - i18n: handle write errors in xgettext-go 5287 - snap: helper for validating snap instance names 5288 - snap{/snaptest}: set instance key based on snap name 5289 - userd: fix running unit tests on KDE 5290 - tests/main/econnreset: limit ingress traffic to 512kB/s 5291 - snap: introduce a struct Channel to represent store channels, and 5292 helpers to work with it 5293 - tests: add fedora to distro_clean_package_cache function 5294 - many: rename snap.Info.StoreName() to snap.Info.SnapName() 5295 - tests: add spread test to ensure snapd/core18 are not removable 5296 - tests: tweaks for running the main tests on core18 5297 - overlord/{config,snap}state: introduce experimental.parallel- 5298 instances feature flag 5299 - strutil: support iteration over almost clean paths 5300 - strutil: add PathIterator.Rewind 5301 - tests: update interfaces-timeserver-control to core18 5302 - tests: add halt-timeout to google backend 5303 - tests: skip security-udev-input-subsystem without /dev/input/by- 5304 path 5305 - snap: introduce the instance key field 5306 - packaging/opensuse: remaining packaging updates for 2.33.1 5307 - overlord/snapstate: disallow installing snapd on baseless models 5308 - tests: disable core tests on all core systems (16 and 18) 5309 - dirs: improve identification of Arch Linux like systems 5310 - many: expose full publisher info over the snapd API 5311 - tests: disable core tests on all core systems (16 and 18) 5312 - tests/main/xdg-open: restore or clean up xdg-open 5313 - tests/main/interfaces-firewall-control: shellcheck fix 5314 - snapstate: sort "snapd" first 5315 - systemd: require snapd.socket in snapd.seeded.service; make sure 5316 snapd.seeded 5317 - spread-shellcheck: use the latest shellcheck available from snaps 5318 - tests: use "ss" instead of "netstat" (netstat is not available in 5319 core18) 5320 - data/complete: fix three out of four shellcheck warnings in 5321 data/complete 5322 - packaging/opensuse: fix typo, missing assignment 5323 - tests: initial core18 spread image building 5324 - overlord: introduce a gadget-connect task and use it at first boot 5325 - data/completion: fix inconsistency in +x and shebang 5326 - firstboot: mark essential snaps as "Required" in the state 5327 - spread-shellcheck: use a whitelist of files that are allowed to 5328 fail validation 5329 - packaging/opensuse: build position-independent binaries 5330 - ifacestate: prevent running interface hooks twice when self- 5331 connecting on autoconnect 5332 - data: remove /bin/sh from snapd.sh 5333 - tests: fix shellcheck 0.5.0 warnings 5334 - packaging/opensuse: snap-confine should be 06755 5335 - packaging/opensuse: ship apparmor integration if enabled 5336 - interfaces/udev,misc: only trigger udev events on input subsystem 5337 as needed 5338 - packaging/opensuse: add missing bits for snapd.seeded.service 5339 - packaging/opensuse: don't use %-macros in comments 5340 - tests: shellchecks part 4 5341 - many: rename snap.Info.Name() to snap.Info.InstanceName(), leave 5342 parallel-install TODOs 5343 - store: drop unused: channel map types, and details fixture. 5344 - store: have a basic test about the unmarshalling of /search 5345 results 5346 - tests: show executed tests on current system when a test fails 5347 - tests: fix for the download of the big snap 5348 - interfaces/apparmor: add chopTree 5349 - tests: remove double debug: | entry in tests and add more checks 5350 - cmd/snap-update-ns: introduce mimicRequired helper 5351 - interfaces: move assertions around for better failure line number 5352 - store: log a nice clear "download succeeded" message 5353 - snap: run snap-confine from the re-exec location 5354 - snapstate: support restarting snapd from the snapd snap on core18 5355 - tests: show status of the partial test-snapd-huge snap in 5356 econnreset test 5357 - tests: fix interfaces-calendar-service test when gvfsd-metadata 5358 loks the xdg dirctory 5359 - store: switch store.SnapInfo to use the new v2/info endpoint 5360 - interfaces: add Repository.AllInterfaces 5361 - snapstate: stop using evolving SnapSpec internally, use an 5362 internal-only snapSpec instead 5363 - cmd/libsnap-confine-private: introduce a helper for splitting snap 5364 name 5365 - tests: econnreset/retry tweaks 5366 - store, et al: kill dead code that uses the bulk endpoint 5367 - tests/lib/prepare-restore: fix upgrade/reboot handling on arch 5368 - cmd/snap-update-ns,strutil: move PathIterator to strutil, add 5369 Depth helper 5370 - data/systemd/snapd.run-from-snap: ensure snapd tooling is 5371 available 5372 - store: switch connectivity check to use v2/info 5373 - devicestate: support seeding from a base snap instead of core 5374 - snapstate,ifacestate: remove core-phase-2 handling 5375 - interfaces/docker-support: update for docker 18.05 5376 - tests: enable fedora 28 again 5377 - overlord/ifacestate: simplify checkConnectConflicts and also 5378 connect signature 5379 - snap: parse connect instructions in gadget.yaml 5380 - tests: fix snapd-repair.timer on ubuntu-core-snapd-run- from-snap 5381 test 5382 - interfaces/apparmor: allow killing snap-update-ns 5383 - tests: skip "try" test on s390x 5384 - store, image: have 'snap download' use v2/refresh action=download 5385 - interfaces/policy: test that base policy can be parsed 5386 - tests: publish test-snapd-appstreamid for any architecture 5387 - snap: don't include newline in hook environment 5388 - cmd/snap-update-ns: use RCall with SyscallsEqual 5389 - cmd/snap-update-ns: add IsSnapdCreatedPrivateTmpfs and tests 5390 - tests: skip security-dev-input-event-denied on s390x/arm64 5391 - interfaces: add the dvb interface 5392 - daemon: paging is not a thing. 5393 - cmd/snap-mgmt: remove system key on purge 5394 - testutil: syscall sequence checker 5395 - cmd/snap-update-ns: fix a leaking file descriptor in MkSymlink 5396 - packaging: use official bolt in the errtracker on fedora 5397 - many: add `snap debug connectivity` command* many: add `snap debug 5398 connectivity` command 5399 - configstate: deny configuration of base snaps and for the "snapd" 5400 snap 5401 - interfaces/raw-usb: also allow usb serial devices 5402 - snap: reject more layout locations 5403 - errtracker: do not send duplicated reports 5404 - httputil: extra debug if an error is not retried 5405 - cmd/snap-update-ns: improve wording in many errors 5406 - cmd/snap: use snaptest.MockSnapCurrent in `snap run` tests 5407 - cmd/snap-update-ns: add helper for checking for read-only 5408 filesystems 5409 - interfaces/builtin/docker: use commonInterface over specific 5410 struct 5411 - testutil: add test support for Fstatfs 5412 - cmd/snap-update-ns: discard the concept of segments 5413 - cmd/libsnap-confine-private: helper for extracting store snap name 5414 from local-name 5415 - tests: fix flaky test for hooks undo 5416 - interfaces: add {contacts,calendar}-service interfaces 5417 - tests: retry 'restarting into..' match in the snap-confine-from- 5418 core test 5419 - systemd: adjust TestWriteMountUnitForDirs() to use 5420 squashfs.MockUseFuse(false) 5421 - data: add helper that can generate/start/stop the snapd service 5422 - sefltest: advise reboot into 4.4 on trusty running 3.13 5423 - selftest: add new selftest package that tests squashfs mounting 5424 - store, jsonutil: move store.getStructFields to 5425 jsonutil.StructFields 5426 - ifacestate: improved conflict and error handling when creating 5427 autoconnect tasks 5428 - cmd/snap-confine: applied make fmt 5429 - interfaces/udev: call 'udevadm settle --timeout=10' after 5430 triggering events 5431 - tests: wait more time until snap start to be downloaded on 5432 econnreset test 5433 - snapstate: ensure fakestore returns TypeOS for the core snap 5434 - tests: fix lxd test which hangs on restore 5435 - cmd/snap-update-ns: add PathIterator 5436 - asserts,image: add support for models with bases 5437 - tests: shellchecks part 3 5438 - overlord/hookstate: support undo for hooks 5439 - interfaces/tpm: Allow access to the kernel resource manager 5440 - tests: skip appstream-id test for core systems 32 bits 5441 - interfaces/home: remove redundant common interface assignment 5442 - tests: reprioritise a few tests that are known to be slow 5443 - cmd/snap: small help tweaks and fixes 5444 - tests: add test to ensure /dev/input/event* for non-joysticks is 5445 denied 5446 - spread-shellcheck: silly fix & pep8 5447 - spread: switch fedora 28 to manual 5448 - client,cmd/snap,daemon,tests: expose base of a snap over API, show 5449 it in snap info --verbose 5450 - tests: fix lxd test - --auto now sets up networking 5451 - tests: adding fedora-28 to spread.yaml 5452 - interfaces: add juju-client-observe interface 5453 - client, daemon: add a "mounted-from" entry to local snaps' JSON 5454 - image: set model.DisplayName() in bootenv as "snap_menuentry" 5455 - packaging/opensuse: Refactor packaging to support all openSUSE 5456 targets 5457 - interfaces/joystick: force use of the device cgroup with joystick 5458 interface 5459 - interfaces/hardware-observe: allow access to /etc/sensors* for 5460 libsensors 5461 - interfaces: remove Plug/Slot types 5462 - interface hooks: update old AutoConnect methods 5463 - snapcraft: run with DEB_BUILD_OPTIONS=nocheck 5464 - overlord/{config,snap}state: the number of inactive revisions is 5465 config 5466 - cmd/snap: check with snapd for unknown sections 5467 - tests: moving test helpers from sh to bash 5468 - data/systemd: add snapd.apparmor.service 5469 - many: expose AppStream IDs (AKA common ID) 5470 - many: hold refresh when on metered connections 5471 - interfaces/joystick: also support modern evdev joysticks and 5472 gamepads 5473 - xdgopenproxy: skip TestOpenUnreadableFile when run as root 5474 - snapcraft: use dpkg-buildpackage options that work in xenial 5475 - spread: openSUSE LEAP 42.2 was EOLd in January, remove it 5476 - get-deps: work with an unset GOPATH too 5477 - interfaces/apparmor: use strict template on openSUSE tumbleweed 5478 - packaging: filter out verbose flags from "dh-golang" 5479 - packaging: fix description 5480 - snapcraft.yaml: add minimal snapcraft.yaml with custom build 5481 5482 * Fri Jun 22 2018 Neal Gompa <ngompa13@gmail.com> - 2.33.1-1 5483 - Release 2.33.1 to Fedora (RH#1567916) 5484 5485 * Thu Jun 21 2018 Michael Vogt <mvo@ubuntu.com> 5486 - New upstream release 2.33.1 5487 - many: improve udev trigger on refresh experience 5488 - systemd: require snapd.socket in snapd.seeded.service 5489 - snap: don't include newline in hook environment 5490 - interfaces/apparmor: allow killing snap-update-ns 5491 - tests: skip "try" test on s390x 5492 - tests: skip security-dev-input-event-denied when /dev/input/by- 5493 path/ is missing 5494 - tests: skip security-dev-input-event-denied on s390x/arm64 5495 5496 * Fri Jun 08 2018 Michael Vogt <mvo@ubuntu.com> 5497 - New upstream release 2.33 5498 - packaging: use official bolt in the errtracker on fedora 5499 - many: add `snap debug connectivity` command 5500 - interfaces/raw-usb: also allow usb serial devices 5501 - errtracker: do not send duplicated reports 5502 - selftest: add new selftest package that tests squashfs mounting 5503 - tests: backport lxd force stop and econnreset fixes 5504 - tests: add test to ensure /dev/input/event* for non-joysticks is 5505 denied 5506 - interfaces/joystick: support modern evdev joysticks 5507 - interfaces: add juju-client-observe 5508 - interfaces/hardware-observe: allow access to /etc/sensors* for 5509 libsensors 5510 - many: holding refresh on metered connections 5511 - many: expose AppStream IDs (AKA common ID) 5512 - tests: speed up save/restore snapd state for all-snap systems 5513 during tests execution 5514 - interfaces/apparmor: use helper to load stray profile 5515 - tests: ubuntu core abstraction 5516 - overlord/snapstate: don't panic in a corner case interaction of 5517 cleanup tasks and pruning 5518 - interfaces/apparmor: add 'mediate_deleted' profile flag for all 5519 snaps 5520 - tests: new parameter for the journalctl rate limit 5521 - spread-shellcheck: port to python 5522 - interfaces/home: add 'read' attribute to allow non-owner read to 5523 @{HOME} 5524 - testutil: import check.v1 differently to workaround gccgo error 5525 - interfaces/many: miscellaneous updates for default, desktop, 5526 desktop-legacy, system-observe, hardware-observe, opengl and gpg- 5527 keys 5528 - snapstate/hooks: reorder autoconnect and reconnect hooks 5529 - daemon: update unit tests to match current master 5530 - overlord/snapshotstate/backend: introducing the snapshot backend 5531 - many: support 'system' nickname in interfaces 5532 - userd: add the "snap" scheme to the whitelist 5533 - many: make rebooting of core on refresh immediate, refactor logic 5534 around it 5535 - tests/main/snap-service-timer: account for service timer being in 5536 the 'running' state 5537 - interfaces/builtin: allow access to libGLESv* too for opengl 5538 interface 5539 - daemon: fix unit tests on arch 5540 - interfaces/default,process-control: miscellaneous signal policy 5541 fixes 5542 - interfaces/bulitin: add write permission to optical-drive 5543 - configstate: validate known core.* options 5544 - snap, wrappers: systemd WatchdogSec support 5545 - ifacestate: do not auto-connect manually disconnected interfaces 5546 - systemd: mock useFuse() so testsuite passes in container via lxd 5547 snap 5548 - snap/env: fix env duplication logic 5549 - snap: some doc comments fixes and additions 5550 - cmd/snap-confine, interfaces/opengl: allow access to glvnd EGL 5551 vendor files 5552 - ifacestate: unify reconnect and autoconnect methods 5553 - tests: fix user mounts test for external systems 5554 - overlord/snapstate,overlord/auth,store: coalesce no auth user 5555 refresh requests 5556 - boot,partition: improve tests/docs around SetNextBoot() 5557 - many: improve `snap wait` command 5558 - snap: fix `snap interface --attrs` output when numbers are used 5559 - cmd/snap-update-ns: poke holes when creating source paths for 5560 layouts 5561 - snapstate: support getting new bases/default-providers on refresh 5562 - ifacemgr: remove stale connections on startup 5563 - asserts: use Attrer in policy checks 5564 - testutil: record system call errors / return values 5565 - tests: increase timeouts to make tests reliable on slow boards 5566 - repo: pass and return ConnRef via pointers 5567 - interfaces: add xdg-document-portal support to desktop interface 5568 - debian: add a zenity|kdialog suggests 5569 - snapstate: make TestDoPrereqRetryWhenBaseInFlight less brittle 5570 - tests: go must be installed as a classic snap 5571 - tests: use journalctl cursors instead rotating logs 5572 - daemon: add confinement-options to /v2/system-info 5573 daemon: refactor classic support flag to be more structured 5574 - tests: build spread in the autopkgtests with a more recent go 5575 - cmd/snap: fix the message when snap.channel != snap.tracking 5576 - overlord/snapstate: allow core defaults configuration via 'system' 5577 key 5578 - many: add "snap debug sandbox-features" and needed bits 5579 - interfaces: interface hooks for refresh 5580 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 5581 - boot: clear "snap_mode" when needed 5582 - many: add wait command and `snapd.seeded` service 5583 - interfaces: move host font update-ns AppArmor rules to desktop 5584 interface 5585 - jsonutil/safejson: introducing safejson.String & 5586 safejson.Paragraph 5587 - cmd/snap-update-ns: use Secure.BindMount to bind mount files 5588 - cmd/snap-update-ns,tests: mimic the mode and ownership of 5589 directories 5590 - cmd/snap-update-ns: add support for ignoring mounts with missing 5591 source/target 5592 - interfaces: interface hooks implementation 5593 - cmd/libsnap: fix compile error on more restrictive gcc 5594 cmd/libsnap: fix compilation errors on gcc 8 5595 - interfaces/apparmor: allow bash and dash to be in /usr/bin/ 5596 - cmd/snap-confine: allow any base snap to provide /etc/alternatives 5597 - tests: fix interfaces-network test for systems with partial 5598 confinement 5599 - spread.yaml: add cosmic (18.10) to autopkgtest/qemu 5600 - tests: ubuntu 18.04 or higher does not need linux-image-extra- 5601 - configcore: validate experimental.layouts option 5602 - interfaces:minor autoconnect cleanup 5603 - HACKING: fix typos 5604 - spread: add adt for ubuntu 18.10 5605 - tests: skip test lp-1721518 for arch, snapd is failing to start 5606 after reboot 5607 - interfaces/x11: allow X11 slot implementations 5608 - tests: checking interfaces declaring the specific interface 5609 - snap: improve error for snaps not available in the given context 5610 - cmdstate: add missing test for default timeout handling 5611 - tests: shellcheck spread tasks 5612 - cmd/snap: update install/refresh help vs --revision 5613 - cmd/snap-confine: add support for per-user mounts 5614 - snap: do not use overly short timeout in `snap 5615 {start,stop,restart}` 5616 - tests: adding google-sru backend replacing linode-sur 5617 - interfaces/apparmor: fix incorrect apparmor profile glob 5618 - systemd: replace ancient paths with 16.04+ standards 5619 - overlord,systemd: store snap revision in mount units 5620 - testutil: add test helper for SysLstat 5621 - testutil,cmd: rename test helper of Lstat to OsLstat 5622 - testutil: document all fake syscall/os functions 5623 - osutil,interfaces,cmd: use less hardcoded strings 5624 - testutil: rename UNMOUNT_NOFOLLOW to umountNoFollow 5625 - testutil: don't dot-import check.v1 5626 - store: getStructFields takes pointers now 5627 - tests: drop `linux-image-extra-$(uname -r)` install in 18.04 5628 - many: fix false negatives reported by vet 5629 - osutil,interfaces: use uint32 for uid, gid 5630 - many: fix various issues reported by shellcheck 5631 - tests: add pending shutdown detection 5632 - image: support refreshing soft-expired user macaroons in tooling 5633 - interfaces/builtin, daemon: cleanup mocked builtin interfaces in 5634 daemon tests 5635 - interfaces/builtin: add support for software-watchdog interface 5636 - spread: auto accept key changes when calling dnf 5637 - snap,overlord/snapstate: introduce and use BrokenSnapError 5638 - tests: detect kernel oops during tests and abort tests in this 5639 case 5640 - tests: bring back one missing test in snap-service-stop-mode 5641 - debian: update LP bug for the 2.32.5 SRU 5642 - userd: set up journal logging streams for autostarted apps 5643 - snap,tests : don't fail if we cannot stat MountFile 5644 - tests: smaller fixes for Arch tests 5645 - tests: run interfaces-broadcom-asic-control early 5646 - client: support for snapshot sets, snapshots, and snapshot actions 5647 - tests: skip interfaces-content test on core devices 5648 - cmd: generalize locking to global, snap and per-user locks 5649 - release-tools: handle the snapd-x.y.z version 5650 - packaging: fix incorrectly auto-generated changelog entry for 5651 2.32.5 5652 - tests: add arch to CI 5653 - systemd: add helper for opening stream file descriptors to the 5654 journal 5655 - cmd/snap: handle distros with no version ID 5656 - many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of 5657 conflating that with refresh-mode 5658 - tests: removing linode-sru backend 5659 - tests: updating bionic version for spread tests on google 5660 - overlord/snapstate: poll for up to 10s if a snap is unexpectedly 5661 not mounted in doMountSnap 5662 - overlord/snapstate: allow to get an error from readInfo instead of 5663 a broken stub, use it in doMountSnap 5664 - snap: snap.AppInfo is now a fmt.Stringer 5665 - tests: move fedora 27 to google backend 5666 - many: add `core.problem-reports.disabled` option 5667 - cmd/snap-update-ns: remove the need for stash directory in secure 5668 bind mount implementation 5669 - errtracker: check for whoopsie.service instead of reading 5670 /etc/whoopsie 5671 - cmd/snap: user session application autostart v3 5672 - tests: add test to ensure `snap refresh --amend` works with 5673 different channels 5674 - tests: add check for OOM error after each test 5675 - cmd/snap-seccomp: graceful handling of non-multilib host 5676 - interfaces/shutdown: allow calling SetWallMessage 5677 - cmd/snap-update-ns: add secure bind mount implementation for use 5678 with user mounts 5679 - snap: fix `snap advise-snap --command` output to match spec 5680 - overlord/snapstate: on multi-snap refresh make sure bases and core 5681 are finished before dependent snaps 5682 - overlord/snapstate: introduce envvars to control the channels for 5683 based and prereqs 5684 - cmd/snap-confine: ignore missing cgroups in snap-device-helper 5685 - debian: add gbp.conf script to build snapd via `gbp buildpackage` 5686 - daemon,overlord/hookstate: stop/wait for running hooks before 5687 closing the snapctl socket 5688 - advisor: use json for package database 5689 - interfaces/hostname-control: allow setting the hostname via 5690 syscall and systemd 5691 - tests/main/interfaces-opengl-nvidia: verify access to 32bit 5692 libraries 5693 - interfaces: misc updates for default, firewall-control, fuse- 5694 support and process-control 5695 - data/selinux: Give snapd access to more aspects of the system 5696 - many: use the new install/refresh API by switching snapstate to 5697 use store.SnapAction 5698 - errtracker: make TestJournalErrorSilentError work on gccgo 5699 - ifacestate: add to the repo also snaps that are pending being 5700 activated but have a done setup-profiles 5701 - snapstate, ifacestate: inject auto-connect tasks try 2 5702 - cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs 5703 - errtracker: add more fields to aid debugging 5704 - interfaces: make system-key more robust against invalid fstab 5705 entries 5706 - overlord,interfaces: be more vocal about broken snaps and read 5707 errors 5708 - ifacestate: injectTasks helper 5709 - osutil: fix fstab parser to allow for # in field values 5710 - cmd/snap-mgmt: remove timers, udev rules, dbus policy files 5711 - release-tools: add repack-debian-tarball.sh 5712 - daemon,client: add build-id to /v2/system-info 5713 - cmd: make fmt (indent 2.2.11) 5714 - interfaces/content: add rule so slot can access writable files at 5715 plug's mountpoint 5716 - interfaces: add /var/lib/snapd/snap to @{INSTALL_DIR} 5717 - ifacestate: don't surface errors from stale connections 5718 - cmd/snap-update-ns: convert Secure* family of functions into 5719 methods 5720 - tests: adjust canonical-livepatch test on GCE 5721 - tests: fix quoting issues in econnreset test 5722 - cmd/snap-confine: make /run/media an alias of /media 5723 - cmd/snap-update-ns: rename i to segNum 5724 - interfaces/serial: change pattern not to exclude /dev/ttymxc* 5725 - spread: disable StartLimitInterval option on opensuse-42.3 5726 - configstate: give a chance to immediately recompute the next 5727 refresh time when schedules are set 5728 - cmd/snap-confine: attempt to detect if multiarch host uses 5729 arch triplets 5730 - store: add Store.SnapAction to support the new install/refresh API 5731 endpoint 5732 - tests: adding test for removable-media interface 5733 - tests: update interface tests to remove extra checks and normalize 5734 tests 5735 - timeutil: in Human, count days with fingers 5736 - vendor: update gopkg.in/yaml.v2 to the latest version 5737 - cmd/snap-confine: fix Archlinux compatibility 5738 - cmd/snapd: make sure signal handlers are established during early 5739 daemon startup 5740 - cmd/snap-confine: apparmor: allow creating prefix path for 5741 gl/vulkan 5742 - osutil: use tilde suffix for temporary files used for atomic 5743 replacement 5744 - tests: copy or sanity check core users using usernames 5745 - tests: disentangle etc vs extrausers in core tests 5746 - tests: fix snap-run tests when snapd is not running 5747 - overlord/configstate: change how ssh is stopped/started 5748 - snap: make `snap run` look at the system-key for security profiles 5749 - strutil, cmd/snap: drop strutil.WordWrap, first pass at 5750 replacement 5751 - tests: adding opensuse-42.3 to google 5752 - cmd/snap: fix one issue with noWait error handling logic, add 5753 tests plus other cleanups 5754 - cmd/snap-confine: nvidia: preserve globbed file prefix 5755 - advisor: add comment why osutil.FileExists(dirs.SnapCommandsDB) is 5756 needed 5757 - interfaces,release: probe seccomp features lazily 5758 - tests: change debug for layout test 5759 - advisor: deal with missing commands.db file 5760 - interfaces/apparmor: simplify UpdateNS internals 5761 - polkit: Pass caller uid to PolicyKit authority 5762 - tests: moving debian 9 from linode to google backend 5763 - cmd/snap-confine: nvidia: add tls/libnvidia-tls.so* glob 5764 - po: specify charset in po/snappy.pot 5765 - interfaces: harden snap-update-ns profile 5766 - snap: Call SanitizePlugsSlots from InfoFromSnapYaml 5767 - tests: update tests to deal with s390x quirks 5768 - debian: run snap.mount upgrade fixup *before* debhelper 5769 - tests: move xenial i386 to google backend 5770 - snapstate: add compat mode for default-provider 5771 - tests: a bunch of test fixes for s390x from looking at the 5772 autopkgtest logs 5773 - packaging: recommend "gnupg" instead of "gnupg1 | gnupg" 5774 - interfaces/builtin: let MM change qmi device attributes 5775 - tests: add workaround for s390x failure 5776 - snap/pack, cmd/snap: add `snap pack --check-skeleton` 5777 - daemon: support 'system' as nickname of the core snap 5778 - cmd/snap-update-ns: use x-snapd.{synthetic,needed-by} in practice 5779 - devicestate: add DeviceManager.Registered returning a channel 5780 closed when the device is known to be registered 5781 - store: Sections and WriteCatalogs need to strictly send device 5782 auth only if the device has a custom store 5783 - tests: add bionic system to google backend 5784 - many: fix shellcheck warnings in bionic 5785 - cmd/snap-update-ns: don't fail on existing symlinks 5786 - tests: make autopkgtest tests more targeted 5787 - cmd/snap-update-ns: fix creation of layout symlinks 5788 - spread,tests: move suite-level prepare/restore to central script 5789 - many: propagate contexts enough to be able to mark store 5790 operations done from the Ensure loop 5791 - snap: don't create empty Change with "Hold" state on disconnect 5792 - snap: unify snap name validation w/python; enforce length limit. 5793 - cmd/snap: use shlex when parsing `snap run --strace` arguments 5794 - osutil,testutil: add symlinkat(2) and readlinkat(2) 5795 - tests: autopkgtest may have non edge core too 5796 - tests: adding checks before stopping snapd service to avoid job 5797 canceled on ubuntu 14.04 5798 - errtracker: respect the /etc/whoopsie configuration 5799 - overlord/snapstate: hold refreshes for 2h after seeding on 5800 classic 5801 - cmd/snap: tweak and polish help strings 5802 - snapstate: put layout feature behind feature flag 5803 - tests: force profile re-generation via system-key 5804 - snap/squashfs: when installing from seed, try symlink before cp 5805 - wrappers: services which are socket or timer activated should not 5806 be started during boot 5807 - many: go vet cleanups 5808 - tests: define MATCH from spread 5809 - packaging/fedora: Merge changes from Fedora Dist-Git plus trivial 5810 fix 5811 - cmd/snap: use timeutil.Human to show times in `snap refresh 5812 --time` 5813 - cmd/snap: in changes and tasks, default to human-friendly times 5814 - many: support holding refreshes by setting refresh.hold 5815 - Revert "cmd/snap: use timeutil.Human to show times in `snap 5816 refresh -…-time`" 5817 - cmd/snap: use timeutil.Human to show times in `snap refresh 5818 --time` 5819 - tests/main/snap-service-refresh-mode: refactor the test to rely on 5820 comparing PIDs 5821 - tests/main/media-sharing: improve the test to cover /media and 5822 /run/media 5823 - store: enable deltas for core devices too 5824 - cmd/snap: unhide --no-wait; make wait use go via waitMixin 5825 - strutil/shlex: import github.com/google/shlex into the tree 5826 - vendor: update github.com/mvo5/libseccomp-golang 5827 - overlord/snapstate: block install of "system" 5828 - cmd/snap: "current"→"installed"; "refreshed"→"refresh-date" 5829 - many: add the snapd-generator 5830 - cmd/snap-seccomp: Cancel the atomic file on error, not just Close 5831 - polkit: ensure error is properly set if dialog is dismissed 5832 - snap-confine, snap-seccomp: utilize new seccomp logging features 5833 - progress: tweak ansimeter cvvis use to no longer confuse minicom 5834 - xdgopenproxy: integrate xdg-open implementation into snapctl 5835 - tests: avoid removing preinstalled snaps on core 5836 - tests: chroot into core to run xdg-open there 5837 - userd: add an OpenFile method for launching local files with xdg- 5838 open 5839 - tests: moving ubuntu core from linode to google backend 5840 - run-checks: remove accidental bashism 5841 - i18n: simplify NG usage by doing the modulo math in-package. 5842 - snap/squashfs: set timezone when calling unsquashfs to get the 5843 build date 5844 - timeutil: timeutil.Human(t) gives a human-friendly string for t 5845 - snap: add autostart app property 5846 - tests: add support for external backend executions on listing test 5847 - tests: make interface-broadcom-asic-control test work on rpi 5848 - configstate: when disable "ssh" we must disable the "sshd" service 5849 - interfaces/apparmor,system-key: add upperdir snippets for strict 5850 snaps on livecd 5851 - snap/squashfs: add BuildDate 5852 - store: parse the JSON format used by the coming new store API to 5853 convey snap information 5854 - many: remove snapd.refresh.{timer,service} 5855 - tests: adding ubuntu-14.04-64 to the google backend 5856 - interfaces: add xdg-desktop-portal support to desktop interface 5857 - packaging/arch: sync with snapd/snapd-git from AUR 5858 - wrappers, tests/main/snap-service-timer: restore missing commit, 5859 add spread test for timer services 5860 - store: don't ask for snap_yaml_raw except on the details endpoint 5861 - many: generate and use per-snap snap-update-ns profile 5862 - tests: add debug for layout test 5863 - wrappers: detect whether systemd-analyze can be used in unit tests 5864 - osutil: allow creating strings out of MountInfoEntry 5865 - servicestate: use systemctl enable+start and disable+stop instead 5866 of --now flag 5867 - osutil: handle file being matched by multiple patterns 5868 - daemon, snap: fix InstallDate, make a method of *snap.Info 5869 - wrappers: timer services 5870 - wrappers: generator for systemd OnCalendar schedules 5871 - asserts: fix flaky storeSuite.TestCheckAuthority 5872 - tests: fix dependency for ubuntu artful 5873 - spread: start moving towards google backend 5874 - tests: add a spread test for layouts 5875 - ifacestate: be consistent passing Retry.After as named field 5876 - cmd/snap-update-ns: use recursive bind mounts for writable mimic 5877 - testutil: allow mocking syscall.Fstat 5878 - overlord/snapstate: verify that default schedule is randomized and 5879 is not a single time 5880 - many: simplify mocking of home-on-NFS 5881 - cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink 5882 - store: move infoFromRemote into details.go close to snapDetails 5883 - userd/tests: Test kdialog calls and mock kdialog too to make tests 5884 work in KDE 5885 - cmd/snap: tweaks to 'snap info' (feat. installed->current rename) 5886 - cmd/snap: add self-strace to `snap run` 5887 - interfaces/screen-inhibit-control,network-status: fix dbus path 5888 and interface typos 5889 - update-pot: Force xgettext() to return true 5890 - store: cleanup test naming, dropping remoteRepo and 5891 UbuntuStore(Repository)? references 5892 - store: reorg auth refresh 5893 5894 * Wed May 16 2018 Michael Vogt <mvo@ubuntu.com> 5895 - New upstream release 2.32.9 5896 - tests: run all spread tests inside GCE 5897 - tests: build spread in the autopkgtests with a more recent go 5898 5899 * Fri May 11 2018 Michael Vogt <mvo@ubuntu.com> 5900 - New upstream release 2.32.8 5901 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 5902 5903 * Fri May 11 2018 Michael Vogt <mvo@ubuntu.com> 5904 - New upstream release 2.32.7 5905 - many: add wait command and seeded target (2 5906 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 5907 - boot: clear "snap_mode" when needed 5908 - cmd/libsnap: fix compile error on more restrictive gcc 5909 - tests: cherry-pick commits to move spread to google backend 5910 - spread.yaml: add cosmic (18.10) to autopkgtest/qemu 5911 - userd: set up journal logging streams for autostarted apps 5912 5913 * Sun Apr 29 2018 Michael Vogt <mvo@ubuntu.com> 5914 - New upstream release 2.32.6 5915 - snap: do not use overly short timeout in `snap 5916 {start,stop,restart}` 5917 - interfaces/apparmor: fix incorrect apparmor profile glob 5918 - tests: detect kernel oops during tests and abort tests in this 5919 case 5920 - tests: run interfaces-boradcom-asic-control early 5921 - tests: skip interfaces-content test on core devices 5922 5923 * Mon Apr 16 2018 Michael Vogt <mvo@ubuntu.com> 5924 - New upstream release 2.32.5 5925 - many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of 5926 conflating that with refresh-mode 5927 - overlord/snapstate: poll for up to 10s if a snap is unexpectedly 5928 not mounted in doMountSnap 5929 - daemon: support 'system' as nickname of the core snap 5930 5931 * Thu Apr 12 2018 Neal Gompa <ngompa13@gmail.com> - 2.32.4-1 5932 - Release 2.32.4 to Fedora (RH#1553734) 5933 5934 * Wed Apr 11 2018 Michael Vogt <mvo@ubuntu.com> 5935 - New upstream release 2.32.4 5936 - cmd/snap: user session application autostart 5937 - overlord/snapstate: introduce envvars to control the channels for 5938 bases and prereqs 5939 - overlord/snapstate: on multi-snap refresh make sure bases and core 5940 are finished before dependent snaps 5941 - many: use the new install/refresh /v2/snaps/refresh store API 5942 5943 * Wed Apr 11 2018 Michael Vogt <mvo@ubuntu.com> 5944 - New upstream release 2.32.3.2 5945 - errtracker: make TestJournalErrorSilentError work on 5946 gccgo 5947 - errtracker: check for whoopsie.service instead of reading 5948 /etc/whoopsie 5949 5950 * Wed Apr 11 2018 Michael Vogt <mvo@ubuntu.com> 5951 - New upstream release 2.32.3.1 5952 - debian: add gbp.conf script to build snapd via `gbp 5953 buildpackage` 5954 - tests: add check for OOM error after each test 5955 - cmd/snap-seccomp: graceful handling of non-multilib host 5956 - interfaces/shutdown: allow calling SetWallMessage 5957 - data/selinux: Give snapd access to more aspects of the system 5958 - daemon,overlord/hookstate: stop/wait for running hooks before 5959 closing the snapctl socket 5960 - cmd/snap-confine: ignore missing cgroups in snap-device-helper 5961 - interfaces: misc updates for default, firewall-control, fuse- 5962 support and process-control 5963 - overlord: test fix, address corner case 5964 5965 * Thu Apr 05 2018 Michael Vogt <mvo@ubuntu.com> 5966 - New upstream release 2.32.3 5967 - ifacestate: add to the repo also snaps that are pending being 5968 activated but have a done setup-profiles 5969 - snapstate: inject autoconnect tasks in doLinkSnap for regular 5970 snaps 5971 - cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs 5972 - errtracker: add more fields to aid debugging 5973 - interfaces: make system-key more robust against invalid fstab 5974 entries 5975 - cmd/snap-mgmt: remove timers, udev rules, dbus policy files 5976 - overlord,interfaces: be more vocal about broken snaps and read 5977 errors 5978 - osutil: fix fstab parser to allow for # in field values 5979 5980 * Sat Mar 31 2018 Michael Vogt <mvo@ubuntu.com> 5981 - New upstream release 2.32.2 5982 - interfaces/content: add rule so slot can access writable files at 5983 plug's mountpoint 5984 - tests: adjust canonical-livepatch test on GCE 5985 - interfaces/serial: change pattern not to exclude /dev/ttymxc 5986 - spread.yaml: switch Fedora 27 tests to manual 5987 - store: Sections and WriteCatalogs need to strictly send device 5988 auth only if the device has a custom store 5989 - configstate: give a chance to immediately recompute the next 5990 refresh time when schedules are set 5991 - cmd/snap-confine: attempt to detect if multiarch host uses arch 5992 triplets 5993 - vendor: update gopkg.in/yaml.v2 to the latest version (#4945) 5994 5995 * Mon Mar 26 2018 Michael Vogt <mvo@ubuntu.com> 5996 - New upstream release 2.32.1 5997 - cmd/snapd: make sure signal handlers are established during early 5998 daemon startup 5999 - osutil: use tilde suffix for temporary files used for atomic 6000 replacement 6001 - cmd/snap-confine: apparmor: allow creating prefix path for 6002 gl/vulkan 6003 - tests: disentangle etc vs extrausers in core tests 6004 - packaging: fix changelogs' typo 6005 6006 * Sat Mar 24 2018 Michael Vogt <mvo@ubuntu.com> 6007 - New upstream release 2.32 6008 - snap: make `snap run` look at the system-key for security profiles 6009 - overlord/configstate: change how ssh is stopped/started 6010 - cmd/snap-confine: nvidia: preserve globbed file prefix 6011 - advisor: deal with missing commands.db file 6012 - interfaces,release: probe seccomp features lazily 6013 - interfaces: harden snap-update-ns profile 6014 - polkit: Pass caller uid to PolicyKit authority 6015 - tests: change debug for layout test 6016 - cmd/snap-confine: don't use per-snap s-u-n profile 6017 - many: backported fixes for layouts and symlinks 6018 - cmd/snap-confine: nvidia: add tls/libnvidia-tls.so* glob 6019 - cmd/snap-update-ns: use x-snapd.{synthetic,needed-by} in practice 6020 - snap: Call SanitizePlugsSlots from InfoFromSnapYaml 6021 - cmd/snap-confine: fix ptrace rule with snap-confine peer 6022 - tests: update tests to deal with s390x quirks 6023 - snapstate: add compat mode for default-provider"snapname:ifname" 6024 - snap-confine: fallback to /lib/udev/snappy-app-dev if the core is 6025 older 6026 - tests: a bunch of test fixes for s390x from looking at the 6027 autopkgtest logs 6028 - packaging: recommend "gnupg" instead of "gnupg1 | gnupg" 6029 - interfaces/builtin: let MM change qmi device attributes 6030 - debian: undo snap.mount system unit removal 6031 - snap: don't create empty Change with "Hold" state on disconnect 6032 - tests: add workaround for s390x failure 6033 - tests: make autopkgtest tests more targeted 6034 - many: propagate contexts enough to be able to mark store 6035 operations done from the Ensure loop 6036 - store: cleanup test naming, dropping remoteRepo and 6037 UbuntuStore(Repository)? references 6038 - store: reorg auth refresh 6039 - tests: autopkgtest may have non edge core too 6040 - data: translate polkit strings 6041 - snapstate: put layout feature behind feature flag 6042 - errtracker: respect the /etc/whoopsie configuration 6043 - overlord/snapstate: hold refreshes for 2h after seeding on classic 6044 - many: cherry-pick relevant `go vet` 1.10 fixes to 2.32 6045 - snap/squashfs: when installing from seed, try symlink before cp 6046 - wrappers: services which are socket or timer activated should not 6047 be started during boot 6048 - many: generate and use per-snap snap-update-ns profile 6049 - many: support holding refreshes by setting refresh.hold 6050 - snap-confine, snap-seccomp: utilize new seccomp logging features 6051 - many: remove snapd.refresh.{timer,service} 6052 - many: add the snapd-generator 6053 - polkit: do not shadow dbus errors, avoid panic in case of errors 6054 - polkit: ensure error is properly set if dialog is dismissed 6055 - xdgopenproxy: integrate xdg-open implementation into snapctl 6056 - userd: add an OpenFile method for launching local files with xdg- 6057 open 6058 - asserts: use a timestamp for the assertion after the signing key 6059 has been created 6060 - ifacestate: be consistent passing Retry.After as named field 6061 - interfaces/apparmor,system-key: add upperdir snippets for strict 6062 snaps on livecd 6063 interfaces/apparmor,system-key: add upperdir snippets for strict 6064 snaps 6065 - configstate: when disable "ssh" we must disable the "sshd" 6066 service 6067 - store: don't ask for snap_yaml_raw except on the details endpoint 6068 - osutil: handle file being matched by multiple patterns 6069 - cmd/snap-update-ns: use recursive bind mounts for writable mimic 6070 - cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink 6071 - interfaces/screen-inhibit-control,network-status: fix dbus path 6072 and interface typos 6073 - interfaces/network-status: fix use of '/' in interface in DBus 6074 rule 6075 - interfaces/screen-inhibit-control: fix use of '.' in path in DBus 6076 rule 6077 - overlord/snapstate: fix task iteration order in 6078 TestDoPrereqRetryWhenBaseInFlight 6079 - interfaces: add an interface for gnome-online-accounts D-Bus 6080 service 6081 - snap: pass full timer spec in `snap run --timer` 6082 - cmd/snap: introduce `snap run --timer` 6083 - snapstate: auto install default-providers for content snaps 6084 - hooks/strutil: limit the number of data read from the hooks to 6085 avoid oom 6086 - osutil: aggregate mockable symbols 6087 - tests: make sure snapd is running before attempting to remove 6088 leftover snaps 6089 - timeutil: account for 24h wrap when flattening clock spans 6090 - many: send new Snap-CDN header with none or with cloud instance 6091 placement info as needed 6092 - cmd/snap-update-ns,testutil: move syscall testing helpers 6093 - tests: disable interfaces-location-control on s390x 6094 - tests: new spread test for gpio-memory-control interface 6095 - tests: spread test for broadcom-asic-control interface 6096 - tests: make restore of interfaces-password-manager-service more 6097 robust 6098 - tests/lib/prepare-restore: sync journal before rotating and 6099 vacuuming 6100 - overlord/snapstate: use spread in the default refresh schedule 6101 - tests: fixes for autopkgtest in bionic 6102 - timeutil: introduce helpers for checking it time falls inside the 6103 schedule 6104 - cmd/snap-repair,httputil: set snap-repair User-Agent on requests 6105 - vendor: resync formatting of vendor.json 6106 - snapstate/ifacestate: auto-connect tasks 6107 - cmd/snap: also include tracking channel in list output. 6108 - interfaces/apparmor: use snap revision with surrounding '.' when 6109 replacing in glob 6110 - debian,vendor: import github.com/snapcore/squashfs and use 6111 - many: implement "refresh-mode: {restart,endure,...}" for services 6112 - daemon: make the ast-inspecting test smarter; drop 'exceptions' 6113 - tests: new spread test for kvm interface 6114 - cmd/snap: tweaks to 'snap info' output 6115 - snap: remove underscore from version validator regexp 6116 - testutil: add File{Matches,Equals,Contains} checkers. 6117 - snap: improve the version validator's error messages. 6118 - osutil: refactor EnsureFileState to separate out the comparator 6119 - timeutil: fix scheduling on nth weekday of the month 6120 - cmd/snap-update-ns: small refactor for upcoming per-user mounts 6121 - many: rename snappy-app-dev to snap-device-helper 6122 - systemd: add default target for timers 6123 - interfaces: miscellaneous policy updates for home, opengl, time- 6124 control, network, et al 6125 - cmd/snap: linter cleanups 6126 - interfaces/mount: generate per-user mount profiles 6127 - cmd/snap: use proper help strings for `snap userd --help` 6128 - packaging: provide a compat symlink for snappy-app-dev 6129 - interfaces/time-control,netlink-audit: adjust for util-linux 6130 compiled with libaudit 6131 - tests: adding new test to validate the raw-usb interface 6132 - snap: add support for `snap run --gdb` 6133 - interfaces/builtin: allow MM to access login1 6134 - packaging: fix build on sbuild 6135 - store: revert PR#4532 and do not display displayname 6136 - interfaces/mount: add support for per-user mount entries 6137 - cmd/system-shutdown: move sync to be even more pessimistic 6138 - osutil: reimplement IsMounted with LoadMountInfo 6139 - tests/main/ubuntu-core-services: enable snapd.refresh.timer for 6140 the test 6141 - many: don't allow layout construction to silently fail 6142 - interfaces/apparmor: ensure snap-confine profile for reexec is 6143 current 6144 - interfaces/apparmor: generalize apparmor load and unload helpers 6145 - tests: removing packages which are not needed anymore to generate 6146 random data 6147 - snap: improve `snap run` comments/naming 6148 - snap: allow options for --strace, e.g. `snap run --strace="-tt"` 6149 - tests: fix spread test failures on 18.04 6150 - systemd: update comment on SocketsTarget 6151 - osutil: add and update docstrings 6152 - osutil: parse mount entries without options field 6153 - interfaces: mock away real mountinfo/fstab 6154 - many: move /lib/udev/snappy-app-dev to /usr/lib/snapd/snappy-app- 6155 dev 6156 - overlord/snapstate/backend: perform cleanup if snap setup fails 6157 - tests/lib/prepare: disable snapd.refresh.timer 6158 - daemon: remove redundant UserOK markings from api commands 6159 - snap: introduce timer service data types and validation 6160 - cmd/snap: fix UX of snap services 6161 - daemon: allow `snapctl get` from any uid 6162 - debian, snap: only static link libseccomp in snap-seccomp on 6163 ubuntu 6164 - all: snap versions are now validated 6165 - many: add nfs-home flag to system-key 6166 - snap: disallow layouts in various special directories 6167 - cmd/snap: add help for service commands. 6168 - devicestate: fix autopkgtest failure in 6169 TestDoRequestSerialErrorsOnNoHost 6170 - snap,interfaces: allow using bind-file layouts 6171 - many: move mount code to osutil 6172 - snap: understand directories in layout blacklist 6173 - snap: use custom unsquashfsStderrWriter for unsquashfs error 6174 detection 6175 - tests/main/user-data-handling: get rid of ordering bug 6176 - snap: exclude `gettimeofday` from `snap run --strace` 6177 - tests: check if snapd.socket is active before stoping it 6178 - snap: sort layout elements before validating 6179 - strutil: introducing MatchCounter 6180 - snap: detect unsquashfs write failures 6181 - spread: add missing ubuntu-18.04-arm64 to available autopkgtest 6182 machines 6183 - cmd/snap-confine: allow mounting anywhere, effectively 6184 - daemon: improve ucrednet code for the snap.socket 6185 - release, interfaces: add new release.AppArmorFeatures helper 6186 - snap: apply some golint suggestions 6187 - many: add interfaces.SystemKey() helper 6188 - tests: new snaps to test installs nightly 6189 - tests: skip alsa interface test when the system does not have any 6190 audio devices 6191 - debian/rules: workaround for 6192 https://github.com/golang/go/issues/23721 6193 - interfaces/apparmor: early support for snap-update-ns snippets 6194 - wrappers: cleanup enabled service sockets 6195 - cmd/snap-update-ns: large refactor / update of unit tests 6196 - interfaces/apparmor: remove leaked future layout code 6197 - many: allow constructing layouts (phase 1) 6198 - data/systemd: for debugging/testing use /etc/environment also for 6199 snap-repair runs 6200 - cmd/snap-confine: create lib/{gl,gl32,vulkan} under /var/lib/snapd 6201 and chown as root:root 6202 - overlord/configstate/config: make [GS]etSnapConfig use *RawMessage 6203 - daemon: refactor snapFooMany helpers a little 6204 - cmd/snap-confine: allow snap-update-ns to chown things 6205 - interfaces/apparmor: use a helper to set the scope 6206 - overlord/configstate/config: make SetSnapConfig delete on empty 6207 - osutil: make MkdirAllChown clean the path passed in 6208 - many: at seeding try to capture cloud information into core config 6209 under "cloud" 6210 - cmd/snap: add completion conversion helper to increase DRY 6211 - many: remove "content" argument from snaptest.MockSnap() 6212 - osutil: allow using many globs in EnsureDirState 6213 - cmd/snap-confine: fix read-only filesystem when mounting nvidia 6214 files in biarch 6215 - tests: use root path to /home/test/tmp to avoid lack of space 6216 issue 6217 - packaging: create /var/lib/snapd/lib/{gl,gl32,vulkan} as part of 6218 packaging 6219 - tests: update kill-timeout focused on making tests pass on boards 6220 - advisor: ensure commands.db has mode 0644 and add test 6221 - snap: improve validation of snap layouts 6222 - tests: ensure disabled services are masked 6223 - interfaces/desktop-legacy,unity7: support gtk2/gvfs gtk_show_uri() 6224 - systemd, wrappers: start all snap services in one systemctl call 6225 - mir: software clients need access to shared memory /dev/shm/#* 6226 - snap: add support for `snap advise-snap pkgName` 6227 - snap: fix command-not-found on core devices 6228 - tests: new spead test for openvswitch-support interface 6229 - tests: add integration for local snap licenses 6230 - config: add (Get|Set)SnapConfig to do bulk config e.g. from 6231 snapshots 6232 - cmd/snap: display snap license information 6233 - tests: enable content sharing test for $SNAP 6234 - osutil: add ContextWriter and RunWithContext helpers. 6235 - osutil: add DirExists and IsDirNotExist 6236 6237 * Fri Mar 09 2018 Michael Vogt <mvo@ubuntu.com> 6238 - New upstream release 2.31.2 6239 - many: add the snapd-generator 6240 - polkit: ensure error is properly set if dialog is dismissed 6241 - xdgopenproxy: integrate xdg-open implementation into snapctl 6242 - userd: add an OpenFile method for launching local files with xdg- 6243 open 6244 - configstate: when disable "ssh" we must disable the "sshd" 6245 service 6246 - many: remove snapd.refresh.{timer,service} 6247 - interfaces/builtin: allow MM to access login1 6248 - timeutil: account for 24h wrap when flattening clock spans 6249 - interfaces/screen-inhibit-control,network-status: fix dbus path 6250 and interface typos 6251 - systemd, wrappers: start all snap services in one systemctl 6252 call 6253 - tests: disable interfaces-location-control on s390x 6254 6255 * Mon Mar 05 2018 Neal Gompa <ngompa13@gmail.com> - 2.31.1-2 6256 - Fix dependencies for devel subpackage 6257 6258 * Sun Mar 04 2018 Neal Gompa <ngompa13@gmail.com> - 2.31.1-1 6259 - Release 2.31.1 to Fedora (RH#1542483) 6260 - Drop all backported patches as they're part of this release 6261 6262 * Tue Feb 20 2018 Michael Vogt <mvo@ubuntu.com> 6263 - New upstream release 2.31.1 6264 - tests: multiple autopkgtest related fixes for 18.04 6265 - overlord/snapstate: use spread in the default refresh schedule 6266 - timeutil: fix scheduling on nth weekday of the month 6267 - interfaces: miscellaneous policy updates for home, opengl, time- 6268 control, network, et al 6269 - cmd/snap: use proper help strings for `snap userd --help` 6270 - interfaces/time-control,netlink-audit: adjust for util-linux 6271 compiled with libaudit 6272 - rules: do not static link on powerpc 6273 - packaging: revert LDFLAGS rewrite again after building snap- 6274 seccomp 6275 - store: revert PR#4532 and do not display displayname 6276 - daemon: allow `snapctl get` from any uid 6277 - debian, snap: only static link libseccomp in snap-seccomp on 6278 ubuntu 6279 - daemon: improve ucrednet code for the snap.socket 6280 6281 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.30-2 6282 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild 6283 6284 * Tue Feb 06 2018 Michael Vogt <mvo@ubuntu.com> 6285 - New upstream release 2.31 6286 - cmd/snap-confine: allow snap-update-ns to chown things 6287 - cmd/snap-confine: fix read-only filesystem when mounting nvidia 6288 files in biarch 6289 - packaging: create /var/lib/snapd/lib/{gl,gl32,vulkan} as part of 6290 packaging 6291 - advisor: ensure commands.db has mode 0644 and add test 6292 - interfaces/desktop-legacy,unity7: support gtk2/gvfs gtk_show_uri() 6293 - snap: improve validation of snap layoutsRules for validating 6294 layouts: 6295 - snap: fix command-not-found on core devices 6296 - cmd/snap: display snap license information 6297 - tests: enable content sharing test for $SNAP 6298 - userd: add support for a simple UI that can be used from userd 6299 - snap-confine/nvidia: Support legacy biarch trees for GLVND systems 6300 - tests: generic detection of gadget and kernel snaps 6301 - cmd/snap-update-ns: refactor and improve Change.Perform to handle 6302 EROFS 6303 - cmd/snap: improve output when snaps were found in a section or the 6304 section is invalid 6305 - cmd/snap-confine,tests: hide message about stale base snap 6306 - cmd/snap-mgmt: fix out of source tree build 6307 - strutil/quantity: new package that exports formatFoo (from 6308 progress) 6309 - cmd/snap: snap refresh --time with new and legacy schedules 6310 - state: unknown tasks handler 6311 - cmd/snap-confine,data/systemd: fix removal of snaps inside LXD 6312 - snap: add io.snapcraft.Settings to `snap userd` 6313 - spread: remove more EOLed releases 6314 - snap: tidy up top-level help output 6315 - snap: fix race in `snap run --strace` 6316 - tests: update "searching" test to match store changes 6317 - store: use the "publisher" when populating the "publisher" field 6318 - snap: make `snap find --section` show all sections 6319 - tests: new test to validate location control interface 6320 - many: add new `snap refresh --amend <snap>` command 6321 - tests/main/kernel-snap-refresh-on-core: skip the whole test if 6322 edge and stable are the same version 6323 - tests: set test kernel-snap-refresh-on-core to manual 6324 - tests: new spread test for interface gpg-keys 6325 - packaging/fedora: Merge changes from Fedora Dist-Git plus trivial 6326 fix 6327 - interfaces: miscellaneous policy updates 6328 - interfaces/builtin: Replace Solus support with GLVND support 6329 - tests/main/kernel-snap-refresh-on-core: do not fail if edge and 6330 stable kernels are the same version 6331 - snap: add `snap run --strace` to be able to strace snap apps 6332 - tests: new spread test for ssh-keys interface 6333 - errtracker: include detected virtualisation 6334 - tests: add new kernel refresh/revert test for spread-cron 6335 - interfaces/builtin: blacklist zigbee dongle 6336 - cmd/snap-confine: discard stale mount namespaces 6337 - cmd: remove unused execArg0/execEnv 6338 - snap,interfaces/mount: disallow nobody/nogroup 6339 - cmd/snap: improve `snap aliases` output when no aliases are 6340 defined 6341 - tests/lib/snaps/test-snapd-service: refactor service reload 6342 - tests: new spread test for gpg-public-keys interface 6343 - tests: new spread test for ssh-public-keys interface 6344 - spread: setup machine creation on Linode 6345 - interfaces/builtin: allow introspecting UDisks2 6346 - interfaces/builtin: add support for content "source" section 6347 - tests: new spread test for netlink-audit interface 6348 - daemon: avoid panic'ing building an error response w/no snaps 6349 given 6350 - interfaces/mount,snap: early support for snap layouts 6351 - daemon: unlock state even if RefreshSchedule() fails 6352 - arch: add "armv8l" to ubuntuArchFromKernelArch table 6353 - tests: fix for test interface-netlink-connector 6354 - data/dbus: add AssumedAppArmorLabel=unconfined 6355 - advisor: use forked bolt to make it work on ppc 6356 - overlord/snapstate: record the 'kind' of conflicting change 6357 - dirs: fix snap mount dir on Manjaro 6358 - overlord/{snapstate,configstate}, daemon: introduce refresh.timer, 6359 fallback to refresh.schedule 6360 - config: add support for `snap set core proxy.no_proxy=...` 6361 - snap-mgmt: extend spread tests, stop, disable and cleanup snap 6362 services 6363 - spread.yaml: add fedora 27 6364 - cmd/snap-confine: allow snap-update-ns to poke writable holes in 6365 $SNAP 6366 - packaging/14.04: move linux-generic-lts-xenial to recommends 6367 - osutil/sys: ppc has 32-bit getuid already 6368 - snapstate: make no autorefresh message clearer 6369 - spread: try to enable Fedora once more 6370 - overlord/snapstate: do a minimal sanity check on containers 6371 - configcore: ensure config.txt has a final newline 6372 - cmd/libsnap-confine-private: print failed mount/umount regardless 6373 of SNAP_CONFINE_DEBUG 6374 - debian/tests: add missing autopkgtest test dependencies for debian 6375 - image: port ini handling to goconfigparser 6376 - tests/main/snap-service-after-before: add test for after/before 6377 service ordering 6378 - tests: enabling opensuse for tests 6379 - tests: update auto-refresh-private to match messages from current 6380 master 6381 - dirs: check if distro 'is like' fedora when picking path to 6382 libexecdir 6383 - tests: fix "job canceled" issue and improve cleanup for snaps 6384 - cmd/libsnap-confine-private: add debug build of libsnap-confine- 6385 private.a, link it into snap-confine-debug 6386 - vendor: remove x/sys/unix to fix builds on arm64 and powerpc 6387 - image: let consume snapcraft export-login files from tooling 6388 - interfaces/mir: allow Wayland socket and non-root sockets 6389 - interfaces/builtin: use snap.{Plug,Slot}Info over 6390 interfaces.{Plug,Slot} 6391 - tests: add simple snap-mgmt test 6392 - wrappers: autogenerate After/Before in systemd's service files for 6393 apps 6394 - snap: add usage hints in `snap download` 6395 - snap: provide more meaningful errors for installMany and friends 6396 - cmd/snap: show header/footer when `snap find` is used without 6397 arguments 6398 - overlord/snapstate: for Enable's tasks refer to the first task 6399 with snap-setup, do not duplicate 6400 - tests: add hard-coded fully expired macaroons to run related tests 6401 - cmd/snap-update-ns: new test features 6402 - cmd/snap-update-ns: we don't want to bind mount symlinks 6403 - interfaces/mount: test OptsToCommonFlags, filter out x-snapd. 6404 options 6405 - cmd/snap-update-ns: untangle upcoming cyclic initialization 6406 - client, daemon: update user's email when logging in with new 6407 account 6408 - tests: ensure snap-confine apparmor profile is parsable 6409 - snap: do not leak internal errors on install/refresh etc 6410 - snap: fix missing error check when multiple snaps are refreshed 6411 - spread: trying to re-enable tests on Fedora 6412 - snap: fix gadget.yaml parsing for multi volume gadgets 6413 - snap: give the snap.Container interface a Walk method 6414 - snap: rename `snap advise-command` to `snap advise-snap --command` 6415 - overlord/snapstate: no refresh just for hints if there was a 6416 recent regular full refresh 6417 - progress: switch ansimeter's Spin() to use a spinner 6418 - snap: support `command-not-found` symlink for `snap advise- 6419 command` 6420 - daemon: store email, ID and macaroon when creating a new user 6421 - snap: app startup after/before validation 6422 - timeutil: refresh timer take 2 6423 - store, daemon/api: Rename MyAppsServer, point to 6424 dashboard.snapcraft.io instead 6425 - tests: use "quiet" helper instead of "dnf -q" to get errors on 6426 failures 6427 - cmd/snap-update-ns: improve mocking for tests 6428 - many: implement the advisor backend, populate it from the store 6429 - tests: make less calls to the package manager 6430 - tests/main/confinement-classic: enable the test on Fedora 6431 - snap: do not leak internal network errors to the user 6432 - snap: use stdout instead of stderr for "fetching" message 6433 - tests: fix test whoami, share successful_login.exp 6434 - many: refresh with appropriate creds 6435 - snap: add new `snap advice-command` skeleton 6436 - tests: add test that ensures we never parse versions as numbers 6437 - overlord/snapstate: override Snapstate.UserID in refresh if the 6438 installing user is gone 6439 - interfaces: allow socket "shutdown" syscall in default profile 6440 - snap: print friendly message if `snap keys` is empty 6441 - cmd/snap-update-ns: add execWritableMimic 6442 - snap: make `snap info invalid-snap` output more user friendly 6443 - cmd/snap, tests/main/classic-confinement: fix snap-exec path when 6444 running under classic confinement 6445 - overlord/ifacestate: fix disable/enable cycle to setup security 6446 - snap: fix snap find " " output 6447 - daemon: add new polkit action to manage interfaces 6448 - packaging/arch: disable services when removing 6449 - asserts/signtool: support for building tools on top that fill- 6450 in/compute some headers 6451 - cmd: clarify "This leaves %s tracking %s." message 6452 - daemon: return "bad-query" error kind for store.ErrBadQuery 6453 - taskrunner/many: KnownTaskKinds helper 6454 - tests/main/interfaces-fuse_support: fix confinement, allow 6455 unmount, fix spread tests 6456 - snap: use the -no-fragments mksquashfs option 6457 - data/selinux: allow messages from policykit 6458 - tests: fix catalog-update wait loop 6459 - tests/lib/prepare-restore: disable rate limiting in journald 6460 - tests: change interfaces-fuse_support to be debug friendly 6461 - tests/main/postrm-purge: stop snapd before purge 6462 - This is an example of test log:https://paste.ubuntu.com/26215170/ 6463 - tests/main/interfaces-fuse_support: dump more debugging 6464 information 6465 - interfaces/dbus: adjust slot policy for listen, accept and accept4 6466 syscalls 6467 - tests: save the snapd-state without compression 6468 - tests/main/searching: handle changes in featured snaps list 6469 - overlord/snapstate: fix auto-refresh summary for 2 snaps 6470 - overlord/auth,daemon: introduce an explicit auth.ErrInvalidUser 6471 - interfaces: add /proc/partitions to system-observe (This addresses 6472 LP#1708527.) 6473 - tests/lib: introduce helpers for setting up /dev/random using 6474 /dev/urandom in project prepare 6475 - tests: new test for interface network status 6476 - interfaces: interfaces: also add an app/hook-specific udev RUN 6477 rule for hotplugging 6478 - tests: fix external backend for tests that need DEBUG output 6479 - tests: do not disable refresh timer on external backend 6480 - client: send all snap related bool json fields 6481 - interfaces/desktop,unity7: allow status/activate/lock of 6482 screensavers 6483 - tests/main: source mkpinentry.sh 6484 - tests: fix security-device-cgroups-serial-port test for rpi and db 6485 - cmd/snap-mgmt: add more directories for cleanup and refactor 6486 purge() code 6487 - snap: YAML and data structures for app before/after ordering 6488 - tests: set TRUST_TEST_KEYS=false for all the external backends 6489 - packaging/arch: install snap-mgmt tool 6490 - tests: add support on tests for cm3 gadget 6491 - interfaces/removable-media: also allow 'k' (lock) 6492 - interfaces: use ConnectedPlug/ConnectedSlot types (step 2) 6493 - interfaces: rename sanitize methods 6494 - devicestate: fix misbehaving test when using systemd-resolved 6495 - interfaces: added Ref() helpers, restored more detailed error 6496 message on spi iface 6497 - debian: make "gnupg" a recommends 6498 - interfaces/many: misc updates for default, browser-support, 6499 opengl, desktop, unity7, x11 6500 - interfaces: PlugInfo/SlotInfo/ConnectedPlug/ConnectedSlot 6501 attribute helpers 6502 - interfaces: update fixme comments 6503 - tests: make interfaces-snapd-control-with-manage more robust 6504 - userd: generalize dbusInterface 6505 - interfaces: use ConnectedPlug/ConnectedSlot types (step 1) 6506 - hookstate: add compat "configure-snapd" task. 6507 - config, overlord/snapstate, timeutil: rename ParseSchedule to 6508 ParseLegacySchedule 6509 - tests: adding tests for time*-control interfaces 6510 - tests: new test to check interfaces after reboot the system 6511 - cmd/snap-mgmt: fixes 6512 - packaging/opensuse-42.2: package and use snap-mgmt 6513 - corecfg: also "mask" services when disabling them 6514 - cmd/snap-mgmt: introduce snap-mgmt tool 6515 - configstate: simplify ConfigManager 6516 - interfaces: add gpio-memory-control interface 6517 - cmd: disable check-syntax-c 6518 - packaging/arch: add bash-completion as optional dependency 6519 - corecfg: rename package to overlord/configstate/configcore 6520 - wrappers: fix unit tests to use dirs.SnapMountDir 6521 - osutil/sys: reimplement getuid and chown with the right int type 6522 - interfaces-netlink-connector: fix sourcing snaps.sh 6523 6524 * Thu Jan 25 2018 Neal Gompa <ngompa13@gmail.com> - 2.30-1 6525 - Release 2.30 to Fedora (RH#1527519) 6526 - Backport fix to correctly locate snapd libexecdir on Fedora derivatives (RH#1536895) 6527 - Refresh SELinux policy fix patches with upstream backport version 6528 6529 * Mon Dec 18 2017 Michael Vogt <mvo@ubuntu.com> 6530 - New upstream release 2.30 6531 - tests: set TRUST_TEST_KEYS=false for all the external backends 6532 - tests: fix external backend for tests that need DEBUG output 6533 - tests: do not disable refresh timer on external backend 6534 - client: send all snap related bool json fields 6535 - interfaces: interfaces: also add an app/hook-specific udev RUN 6536 rule for hotplugging 6537 - interfaces/desktop,unity7: allow status/activate/lock of 6538 screensavers 6539 - tests/main: source mkpinentry.sh 6540 - devicestate: use a different nowhere domain 6541 - interfaces: add ssh-keys, ssh-public-keys, gpg-keys and gpg-public 6542 keys interfaces 6543 - interfaces/many: misc updates for default, browser-support, opengl, 6544 desktop, unity7, x11 6545 - devicestate: fix misbehaving test when using systemd-resolved 6546 - interfaces/removable-media: also allow 'k' (lock) 6547 - interfaces/many: misc updates for default, browser-support, 6548 opengl, desktop, unity7, x11 6549 - corecfg: also "mask" services when disabling them 6550 - tests: add support for autopkgtests on s390x 6551 - snapstate: support for pre-refresh hook 6552 - many: allow to configure core before it is installed 6553 - devicestate: fix unkeyed fields error 6554 - snap-confine: create mount target for lib32,vulkan on demand 6555 - snapstate: add support for refresh.schedule=managed 6556 - cmd/snap-update-ns: teach update logic to handle synthetic changes 6557 - many: remove configure-snapd task again and handle internally 6558 - snap: fix TestDirAndFileMethods() test to work with gccgo 6559 - debian: ensure /var/lib/snapd/lib/vulkan is available 6560 - cmd/snap-confine: use #include instead of bare include 6561 - snapstate: store userID in snapstate 6562 - snapd.dirs: add var/lib/snapd/lib/gl32 6563 - timeutil, overlod/snapstate: cleanup remaining pieces of timeutil 6564 weekday support 6565 - packaging/arch: install missing directories, manpages and version 6566 info 6567 - snapstate,store: store if a snap is a paid snap in the sideinfo 6568 - packaging/arch: pre-create snapd directories when packaging 6569 - tests/main/manpages: set LC_ALL=C as man may complain if the 6570 locale is unset or unsupported 6571 - repo: ConnectedPlug and ConnectedSlot types 6572 - snapd: fix handling of undo in the taskrunner 6573 - store: fix download caching and add integration test 6574 - snapstate: move autorefresh code into autoRefresh helper 6575 - snapctl: don't error out on start/stop/restart from configure hook 6576 during install or refresh 6577 - cmd/snap-update-ns: add planWritableMimic 6578 - deamon: don't omit responses, even if null 6579 - tests: add test for frame buffer interface 6580 - tests/lib: fix shellcheck errors 6581 - apparmor: generate the snap-confine re-exec profile for 6582 AppArmor{Partial,Full} 6583 - tests: remove obsolete workaround 6584 - snap: use existing files in `snap download` if digest/size matches 6585 - tests: merge pepare-project.sh into prepare-restore.sh 6586 - tests: cache snaps to $TESTSLIB/cache 6587 - tests: set -e, -o pipefail in prepare-restore.sh 6588 - apparmor: generate the snap-confine re-exec profile for 6589 AppArmor{Partial,Full} 6590 - cmd/snap-seccomp: fix uid/gid restrictions tests on Arch 6591 - tests: document and slightly refactor prepare/restore code 6592 - snapstate: ensure RefreshSchedule() gives accurate results 6593 - snapstate: add new refresh-hints helper and use it 6594 - spread.yaml,tests: move most of project-wide prepare/restore to 6595 separate file 6596 - timeutil: introduce helpers for weekdays and TimeOfDay 6597 - tests: adding new test for uhid interface 6598 - cmd/libsnap: fix parsing of empty mountinfo fields 6599 - overlord/devicestate: best effort to go to early full retries for 6600 registration on the like of DNS no host 6601 - spread.yaml: bump delta ref to 2.29 6602 - tests: adding test to test physical memory observe interface 6603 - cmd, errtracker: get rid of SNAP_DID_REEXEC environment 6604 - timeutil: remove support to parse weekday schedules 6605 - snap-confine: add workaround for snap-confine on 4.13/upstream 6606 - store: do not log the http body for catalog updates 6607 - snapstate: move catalogRefresh into its own helper 6608 - spread.yaml: fix shellcheck issues and trivial refactor 6609 - spread.yaml: move prepare-each closer to restore-each 6610 - spread.yaml: increase workers for opensuse to 3 6611 - tests: force delete when tests are restore to avoid suite failure 6612 - test: ignore /snap/README 6613 - interfaces/opengl: also allow read on 'revision' in 6614 /sys/devices/pci... 6615 - interfaces/screen-inhibit-control: fix case in screen inhibit 6616 control 6617 - asserts/sysdb: panic early if pointed to staging but staging keys 6618 are not compiled-in 6619 - interfaces: allow /bin/chown and fchownat to root:root 6620 - timeutil: include test input in error message in 6621 TestParseSchedule() 6622 - interfaces/browser-support: adjust base declaration for auto- 6623 connection 6624 - snap-confine: fix snap-confine under lxd 6625 - store: bit less aggressive retry strategy 6626 - tests: add new `fakestore new-snap-{declaration,revision}` helpers 6627 - cmd/snap-update-ns: add secureMkfileAll 6628 - snap: use field names when initializing composite literals 6629 - HACKING: fix path in snap install 6630 - store: add support for flags in ListRefresh() 6631 - interfaces: remove invalid plugs/slots from SnapInfo on 6632 sanitization. 6633 - debian: add missing udev dependency 6634 - snap/validate: extend socket validation tests 6635 - interfaces: add "refresh-schedule" attribute to snapd-control 6636 - interfaces/builtin/account_control: use gid owning /etc/shadow to 6637 setup seccomp rules 6638 - cmd/snap-update-ns: tweak changePerform 6639 - interfaces,tests: skip unknown plug/slot interfaces 6640 - tests: disable interfaces-network-control-tuntap 6641 - cmd: use a preinit_array function rather than parsing 6642 /proc/self/cmdline 6643 - interfaces/time*_control: explicitly deny noisy read on 6644 /proc/1/environ 6645 - cmd/snap-update-ns: misc cleanups 6646 - snapd: allow hooks to have slots 6647 - fakestore: add go-flags to prepare for `new-snap-declaration` cmd 6648 - interfaces/browser-support: add shm path for nwjs 6649 - many: add magic /snap/README file 6650 - overlord/snapstate: support completion for command aliases 6651 - tests: re-enable tun/tap test on Debian 6652 - snap,wrappers: add support for socket activation 6653 - repo: use PlugInfo and SlotInfo for permanent plugs/slots 6654 - tests/interfaces-network-control-tuntap: disable on debian- 6655 unstable for now 6656 - cmd/snap-confine: Loosen the NVIDIA Vulkan ICD glob 6657 - cmd/snap-update-ns: detect and report read-only filesystems 6658 - cmd/snap-update-ns: re-factor secureMkdirAll into 6659 secureMk{Prefix,Dir} 6660 - run-checks, tests/lib/snaps/: shellcheck fixes 6661 - corecfg: validate refresh.schedule when it is applied 6662 - tests: adjust test to match stderr 6663 - snapd: fix snap cookie bugs 6664 - packaging/arch: do not quote MAKEFLAGS 6665 - state: add change.LaneTasks helper 6666 - cmd/snap-update-ns: do not assume 'nogroup' exists 6667 - tests/lib: handle distro specific grub-editenv naming 6668 - cmd/snap-confine: Add missing bi-arch NVIDIA filesthe 6669 `/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl/vdpau` paths within 6670 - cmd: Support exposing NVIDIA Vulkan ICD files to the snaps 6671 - cmd/snap-confine: Implement full 32-bit NVIDIA driver support 6672 - packaging/arch: packaging update 6673 - cmd/snap-confine: Support bash as base runtime entry 6674 - wrappers: do not error on incorrect Exec= lines 6675 - interfaces: fix udev tagging for hooks 6676 - tests/set-proxy-store: exclude ubuntu-core-16 via systems: key 6677 - tests: new tests for network setup control and observe interfaces 6678 - osutil: add helper for obtaining group ID of given file path 6679 - daemon,overlord/snapstate: return snap-not-installed error in more 6680 cases 6681 - interfaces/builtin/lxd_support: allow discovering of host's os- 6682 release 6683 - configstate: add support for configure-snapd for 6684 snapstate.IgnoreHookError 6685 - tests: add a spread test for proxy.store setting together with 6686 store assertion 6687 - cmd/snap-seccomp: do not use group 'shadow' in tests 6688 - asserts/assertstest: fix use of hardcoded value when the passed 6689 or default keys should be used 6690 - interfaces/many: misc policy updates for browser-support, cups- 6691 control and network-status 6692 - tests: fix xdg-open-compat 6693 - daemon: for /v2/logs, 404 when no services are found 6694 - packaging/fedora: Merge changes from Fedora Dist-Git 6695 - cmd/snap-update-ns: add new helpers for mount entries 6696 - cmd/snap-confine: Respect biarch nature of libdirs 6697 - cmd/snap-confine: Ensure snap-confine is allowed to access os- 6698 release 6699 - cmd: fix re-exec bug with classic confinement for host snapd < 6700 2.28 6701 - interfaces/kmod: simplify loadModules now that errors are ignored 6702 - tests: disable xdg-open-compat test 6703 - tests: add test that checks core reverts on core devices 6704 - dirs: use alt root when checking classic confinement support 6705 without … 6706 - interfaces/kmod: treat failure to load module as non-fatal 6707 - cmd/snap-update-ns: fix golint and some stale comments 6708 - corecfg: support setting proxy.store if there's a matching store 6709 assertion 6710 - overlord/snapstate: toggle ignore-validation as needed as we do 6711 for channel 6712 - tests: fix security-device-cgroup* tests on devices with 6713 framebuffer 6714 - interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS 6715 - interfaces: add USB interface number attribute in udev rule for 6716 serial-port interface 6717 - overlord/devicestate: switch to the new endpoints for registration 6718 - snap-update-ns: add missing unit test for desired/current profile 6719 handling 6720 - cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup 6721 low-level C bits 6722 - ifacestate: make interfaces.Repository available via state cache 6723 - overlord/snapstate: cleanups around switch-snap* 6724 - cmd/snapd,client,daemon: display ignore-validation flag through 6725 the notes mechanism 6726 - cmd/snap-update-ns: add logging to snap-update-ns 6727 - many: have a timestamp on store assertions 6728 - many: lookup and use the URL from a store assertion if one is set 6729 for use 6730 - tests/test-snapd-service: fix shellcheck issues 6731 - tests: new test for hardware-random-control interface 6732 - tests: use `snap change --last=install` in snapd-reexec test 6733 - repo, daemon: use PlugInfo, SlotInfo 6734 - many: handle core configuration internally instead of using the 6735 core configure hook 6736 - tests: refactor and expand content interface test 6737 - snap-seccomp: skip in-kernel bpf tests for socket() in trusty/i386 6738 - cmd/snap-update-ns: allow Change.Perform to return changes 6739 - snap-confine: Support biarch Linux distribution confinement 6740 - partition/ubootenv: don't panic when uboot.env is missing the eof 6741 marker 6742 - cmd/snap-update-ns: allow fault injection to provide dynamic 6743 result 6744 - interfaces/mount: exspose mount.{Escape,Unescape} 6745 - snapctl: added long help to stop/start/restart command 6746 - cmd/snap-update-ns: create missing mount points automatically. 6747 - cmd: downgrade log message in InternalToolPath to Debugf() 6748 - tests: wait for service status change & file update in the test to 6749 avoid races 6750 - daemon, store: forward SSO invalid credentials errors as 401 6751 Unauthorized responses 6752 - spdx: fix for WITH syntax, require a license name before the 6753 operator 6754 - many: reorg things in preparation to make handling of the base url 6755 in store dynamic 6756 - hooks/configure: queue service restarts 6757 - cmd/snap: warn when a snap is not from the tracking channel 6758 - interfaces/mount: add support for parsing x-snapd.{mode,uid,gid}= 6759 - cmd/snap-confine: add detection of stale mount namespace 6760 - interfaces: add plugRef/slotRef helpers for PlugInfo/SlotInfo 6761 - tests: check for invalid udev files during all tests 6762 - daemon: use newChange() in changeAliases for consistency 6763 - servicestate: use taskset 6764 - many: add support for /home on NFS 6765 - packaging,spread: fix and re-enable opensuse builds 6766 6767 * Sun Dec 17 2017 Neal Gompa <ngompa13@gmail.com> - 2.29.4-3 6768 - Add patch to SELinux policy to allow snapd to receive replies from polkit 6769 6770 * Sun Nov 19 2017 Neal Gompa <ngompa13@gmail.com> - 2.29.4-2 6771 - Add missing bash completion files and cache directory 6772 6773 * Sun Nov 19 2017 Neal Gompa <ngompa13@gmail.com> - 2.29.4-1 6774 - Release 2.29.4 to Fedora (RH#1508433) 6775 - Install Polkit configuration (RH#1509586) 6776 - Drop changes to revert cheggaaa/pb import path used 6777 6778 * Fri Nov 17 2017 Michael Vogt <mvo@ubuntu.com> 6779 - New upstream release 2.29.4 6780 - snap-confine: fix snap-confine under lxd 6781 - tests: disable classic-ubuntu-core-transition on i386 temporarily 6782 - many: reject bad plugs/slots 6783 - interfaces,tests: skip unknown plug/slot interfaces 6784 - store: enable "base" field from the store 6785 - packaging/fedora: Merge changes from Fedora Dist-Git 6786 6787 * Thu Nov 09 2017 Michael Vogt <mvo@ubuntu.com> 6788 - New upstream release 2.29.3 6789 - daemon: cherry-picked /v2/logs fixes 6790 - cmd/snap-confine: Respect biarch nature of libdirs 6791 - cmd/snap-confine: Ensure snap-confine is allowed to access os- 6792 release 6793 - interfaces: fix udev tagging for hooks 6794 - cmd: fix re-exec bug with classic confinement for host snapd 6795 - tests: disable xdg-open-compat test 6796 - cmd/snap-confine: add slave PTYs and let devpts newinstance 6797 perform mediation 6798 - interfaces/many: misc policy updates for browser-support, cups- 6799 control and network-status 6800 - interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS 6801 - tests: fix security-device-cgroup* tests on devices with 6802 framebuffer 6803 6804 * Fri Nov 03 2017 Michael Vogt <mvo@ubuntu.com> 6805 - New upstream release 2.29.2 6806 - snapctl: disable stop/start/restart (2.29) 6807 - cmd/snap-update-ns: fix collection of changes made 6808 6809 * Fri Nov 03 2017 Michael Vogt <mvo@ubuntu.com> 6810 - New upstream release 2.29.1 6811 - interfaces: fix incorrect signature of ofono DBusPermanentSlot 6812 - interfaces/serial-port: udev tag plugged slots that have just 6813 'path' via KERNEL 6814 - interfaces/hidraw: udev tag plugged slots that have just 'path' 6815 via KERNEL 6816 - interfaces/uhid: unconditionally add existing uhid device to the 6817 device cgroup 6818 - cmd/snap-update-ns: fix mount rules for font sharing 6819 - tests: disable refresh-undo test on trusty for now 6820 - tests: use `snap change --last=install` in snapd-reexec test 6821 - Revert " wrappers: fail install if exec-line cannot be re-written 6822 - interfaces: don't udev tag devmode or classic snaps 6823 - many: make ignore-validation sticky and send the flag with refresh 6824 requests 6825 6826 * Mon Oct 30 2017 Michael Vogt <mvo@ubuntu.com> 6827 - New upstream release 2.29 6828 - interfaces/many: miscellaneous updates based on feedback from the 6829 field 6830 - snap-confine: allow reading uevents from any where in /sys 6831 - spread: add bionic beaver 6832 - debian: make packaging/ubuntu-14.04/copyright a real file again 6833 - tests: cherry pick the fix for services test into 2.29 6834 - cmd/snap-update-ns: initialize logger 6835 - hooks/configure: queue service restarts 6836 - snap-{confine,seccomp}: make @unrestricted fully unrestricted 6837 - interfaces: clean system apparmor cache on core device 6838 - debian: do not build static snap-exec on powerpc 6839 - snap-confine: increase sanity_timeout to 6s 6840 - snapctl: cherry pick service commands changes 6841 - cmd/snap: tell translators about arg names and descs req's 6842 - systemd: run all mount units before snapd.service to avoid race 6843 - store: add a test to show auth failures are forwarded by doRequest 6844 - daemon: convert ErrInvalidCredentials to a 401 Unauthorized error. 6845 - store: forward on INVALID_CREDENTIALS error as 6846 ErrInvalidCredentials 6847 - daemon: generate a forbidden response message if polkit dialog is 6848 dismissed 6849 - daemon: Allow Polkit authorization to cancel changes. 6850 - travis: switch to container based test runs 6851 - interfaces: reduce duplicated code in interface tests mocks 6852 - tests: improve revert related testing 6853 - interfaces: sanitize plugs and slots early in ReadInfo 6854 - store: add download caching 6855 - preserve TMPDIR and HOSTALIASES across snap-confine invocation 6856 - snap-confine: init all arrays with `= {0,}` 6857 - tests: adding test for network-manager interface 6858 - interfaces/mount: don't generate legacy per-hook/per-app mount 6859 profiles 6860 - snap: introduce structured epochs 6861 - tests: fix interfaces-cups-control test for cups-2.2.5 6862 - snap-confine: cleanup incorrectly created nvidia udev tags 6863 - cmd/snap-confine: update valid security tag regexp 6864 - cmd/libsnap: enable two stranded tests 6865 - cmd,packaging: enable apparmor on openSUSE 6866 - overlord/ifacestate: refresh all security backends on startup 6867 - interfaces/dbus: drop unneeded check for 6868 release.ReleaseInfo.ForceDevMode 6869 - dbus: ensure io.snapcraft.Launcher.service is created on re- 6870 exec 6871 - overlord/auth: continue for now supporting UBUNTU_STORE_ID if the 6872 model is generic-classic 6873 - snap-confine: add support for handling /dev/nvidia-modeset 6874 - interfaces/network-control: remove incorrect rules for tun 6875 - spread: allow setting SPREAD_DEBUG_EACH=0 to disable debug-each 6876 section 6877 - packaging: remove .mnt files on removal 6878 - tests: fix econnreset scenario when the iptables rule was not 6879 created 6880 - tests: add test for lxd interface 6881 - run-checks: use nakedret static checker to check for naked 6882 returns on long functions 6883 - progress: be more flexible in testing ansimeter 6884 - interfaces: fix udev rules for tun 6885 - many: implement our own ANSI-escape-using progress indicator 6886 - snap-exec: update tests to follow main_test pattern 6887 - snap: support "command: foo $ENV_STRING" 6888 - packaging: update nvidia configure options 6889 - snap: add new `snap pack` and use in tests 6890 - cmd: correctly name the "Ubuntu" and "Arch" NVIDIA methods 6891 - cmd: add autogen case for solus 6892 - tests: do not use http://canihazip.com/ which appears to be down 6893 - hooks: commands for controlling own services from snapctl 6894 - snap: refactor cmdGet.Execute() 6895 - interfaces/mount: make Change.Perform testable and test it 6896 - interfaces/mount,cmd/snap-update-ns: move change code 6897 - snap-confine: is_running_on_classic_distribution() looks into os- 6898 release 6899 - interfaces: misc updates for default, browser-support, home and 6900 system-observe 6901 - interfaces: deny lttng by default 6902 - interfaces/lxd: lxd slot implementation can also be an app snap 6903 - release,cmd,dirs: Redo the distro checks to take into account 6904 distribution families 6905 - cmd/snap: completion for alias and unalias 6906 - snap-confine: add new SC_CLEANUP and use it 6907 - snap: refrain from running filepath.Base on random strings 6908 - cmd/snap-confine: put processes into freezer hierarchy 6909 - wrappers: fail install if exec-line cannot be re-written 6910 - cmd/snap-seccomp,osutil: make user/group lookup functions public 6911 - snapstate: deal with snap user data in the /root/ directory 6912 - interfaces: Enhance full-confinement support for biarch 6913 distributions 6914 - snap-confine: Only attempt to copy/mount NVIDIA libs when NVIDIA 6915 is used 6916 - packaging/fedora: Add Fedora 26, 27, and Rawhide symlinks 6917 - overlord/snapstate: prefer a smaller corner case for doing the 6918 wrong thing 6919 - cmd/snap-repair: set user agent for snap-repair http requests 6920 - packaging: bring down the delta between 14.04 and 16.04 6921 - snap-confine: Ensure lib64 biarch directory is respected 6922 - snap-confine: update apparmor rules for fedora based base snaps 6923 - tests: Increase SNAPD_CONFIGURE_HOOK_TIMEOUT to 3 minutes to 6924 install real snaps 6925 - daemon: use client.Snap instead of map[string]interface{} for 6926 snaps. 6927 - hooks: rename refresh hook to post-refresh 6928 - git: make the .gitingore file a bit more targeted 6929 - interfaces/opengl: don't udev tag nvidia devices and use snap- 6930 confine instead 6931 - cmd/snap-{confine,update-ns}: apply mount profiles using snap- 6932 update-ns 6933 - cmd: update "make hack" 6934 - interfaces/system-observe: allow clients to enumerate DBus 6935 connection names 6936 - snap-repair: implement `snap-repair {list,show}` 6937 - dirs,interfaces: create snap-confine.d on demand when re-executing 6938 - snap-confine: fix base snaps on core 6939 - cmd/snap-repair: fix tests when running as root 6940 - interfaces: add Connection type 6941 - cmd/snap-repair: skip disabled repairs 6942 - cmd/snap-repair: prefer leaking unmanaged fds on test failure over 6943 closing random ones 6944 - snap-repair: make `repair` binary available for repair scripts 6945 - snap-repair: fix missing Close() in TestStatusHappy 6946 - cmd/snap-confine,packaging: import snapd-generated policy 6947 - cmd/snap: return empty document if snap has no configuration 6948 - snap-seccomp: run secondary-arch tests via gcc-multilib 6949 - snap: implement `snap {repair,repairs}` and pass-through to snap- 6950 repair 6951 - interfaces/builtin: allow receiving dbus messages 6952 - snap-repair: implement `snap-repair {done,skip,retry}` 6953 - data/completion: small tweak to snap completion snippet 6954 - dirs: fix classic support detection 6955 - cmd/snap-repair: integrate root public keys for repairs 6956 - tests: fix ubuntu core services 6957 - tests: add new test that checks that the compat snapd-xdg-open 6958 works 6959 - snap-confine: improve error message if core/u-core cannot be found 6960 - tests: only run tests/regression/nmcli on amd64 6961 - interfaces: mount host system fonts in desktop interface 6962 - interfaces: enable partial apparmor support 6963 - snapstate: auto-install missing base snaps 6964 - spread: work around temporary packaging issue in debian sid 6965 - asserts,cmd/snap-repair: introduce a mandatory summary for repairs 6966 - asserts,cmd/snap-repair: represent RepairID internally as an int 6967 - tests: test the real "xdg-open" from the core snap 6968 - many: implement fetching sections and package names periodically. 6969 - interfaces/network: allow using netcat as client 6970 - snap-seccomp, osutil: use osutil.AtomicFile in snap-seccomp 6971 - snap-seccomp: skip mknod syscall on arm64 6972 - tests: add trivial canonical-livepatch test 6973 - tests: add test that ensures that all core services are working 6974 - many: add logger.MockLogger() and use it in the tests 6975 - snap-repair: fix test failure in TestRepairHitsTimeout 6976 - asserts: add empty values check in HeadersFromPrimaryKey 6977 - daemon: remove unused installSnap var in test 6978 - daemon: reach for Overlord.Loop less thanks to overlord.Mock 6979 - snap-seccomp: manually resolve socket() call in tests 6980 - tests: change regex used to validate installed ubuntu core snap 6981 - cmd/snapctl: allow snapctl -h without a context (regression fix). 6982 - many: use snapcore/snapd/i18n instead of i18n/dumb 6983 - many: introduce asserts.NotFoundError replacing both ErrNotFound 6984 and store.AssertionNotFoundError 6985 - packaging: don't include any marcos in comments 6986 - overlord: use overlord.Mock in more tests, make sure we check the 6987 outcome of Settle 6988 - tests: try to fix staging tests 6989 - store: simplify api base url config 6990 - systemd: add systemd.MockJournalctl() 6991 - many: provide systemd.MockSystemctl() helper 6992 - tests: improve the listing test to not fail for e.g. 2.28~rc2 6993 - snapstate: give snapmgrTestSuite.settle() more time to settle 6994 - tests: fix regex to check core version on snap list 6995 - debian: update trusted account-keys check on 14.04 packaging 6996 - interfaces: add udev netlink support to hardware-observe 6997 - overlord: introduce Mock which enables to use Overlord.Settle for 6998 settle in many more places 6999 - snap-repair: execute the repair and capture logs/status 7000 - tests: run the tests/unit/go everywhere 7001 - daemon, snapstate: move ensureCore from daemon/api.go into 7002 snapstate.go 7003 - cmd/snap: get keys or root document 7004 - spread.yaml: turn suse to manual given that it's breaking master 7005 - many: configure store from state, reconfigure store at runtime 7006 - osutil: AtomicWriter (an io.Writer), and io.Reader versions of 7007 AtomicWrite* 7008 - tests: check for negative syscalls in runBpf() and skip those 7009 tests 7010 - docs: use abolute path in PULL_REQUEST_TEMPLATE.md 7011 - store: move device auth endpoint uris to config (#3831) 7012 7013 * Sat Oct 14 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.5-2 7014 - Properly fix the build for Fedora 25 7015 - Incorporate misc build fixes 7016 7017 * Sat Oct 14 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.5-1 7018 - Release 2.28.5 to Fedora (RH#1502186) 7019 - Build snap-exec and snap-update-ns statically to support base snaps 7020 7021 * Fri Oct 13 2017 Michael Vogt <mvo@ubuntu.com> 7022 - New upstream release 2.28.5 7023 - snap-confine: cleanup broken nvidia udev tags 7024 - cmd/snap-confine: update valid security tag regexp 7025 - overlord/ifacestate: refresh udev backend on startup 7026 - dbus: ensure io.snapcraft.Launcher.service is created on re- 7027 exec 7028 - snap-confine: add support for handling /dev/nvidia-modeset 7029 - interfaces/network-control: remove incorrect rules for tun 7030 7031 * Thu Oct 12 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.4-1 7032 - Release 2.28.4 to Fedora (RH#1501141) 7033 - Drop distro check backport patches (released with 2.28.2) 7034 7035 * Wed Oct 11 2017 Michael Vogt <mvo@ubuntu.com> 7036 - New upstream release 2.28.4 7037 - interfaces/opengl: don't udev tag nvidia devices and use snap- 7038 confine instead 7039 - debian: fix replaces/breaks for snap-xdg-open (thanks to apw!) 7040 7041 * Wed Oct 11 2017 Michael Vogt <mvo@ubuntu.com> 7042 - New upstream release 2.28.3 7043 - interfaces/lxd: lxd slot implementation can also be an app 7044 snap 7045 7046 * Tue Oct 10 2017 Michael Vogt <mvo@ubuntu.com> 7047 - New upstream release 2.28.2 7048 - interfaces: fix udev rules for tun 7049 - release,cmd,dirs: Redo the distro checks to take into account 7050 distribution families 7051 7052 * Sun Oct 08 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.1-1 7053 - Release 2.28.1 to Fedora (RH#1495852) 7054 - Drop userd backport patches, they are part of 2.28 release 7055 - Backport changes to rework distro checks to fix derivative distro usage of snapd 7056 - Revert import path change for cheggaaa/pb as it breaks build on Fedora 7057 - Add a posttrans relabel to snapd-selinux to ensure everything is labeled correctly 7058 7059 * Wed Sep 27 2017 Michael Vogt <mvo@ubuntu.com> 7060 - New upstream release 2.28.1 7061 - snap-confine: update apparmor rules for fedora based basesnaps 7062 - snapstate: rename refresh hook to post-refresh for consistency 7063 7064 * Mon Sep 25 2017 Michael Vogt <mvo@ubuntu.com> 7065 - New upstream release 2.28 7066 - hooks: rename refresh to after-refresh 7067 - snap-confine: bind mount /usr/lib/snapd relative to snap-confine 7068 - cmd,dirs: treat "liri" the same way as "arch" 7069 - snap-confine: fix base snaps on core 7070 - hooks: substitute env vars when executing hooks 7071 - interfaces: updates for default, browser-support, desktop, opengl, 7072 upower and stub-resolv.conf 7073 - cmd,dirs: treat manjaro the same as arch 7074 - systemd: do not run auto-import and repair services on classic 7075 - packaging/fedora: Ensure vendor/ is empty for builds and fix spec 7076 to build current master 7077 - many: fix TestSetConfNumber missing an Unlock and other fragility 7078 improvements 7079 - osutil: adjust StreamCommand tests for golang 1.9 7080 - daemon: allow polkit authorisation to install/remove snaps 7081 - tests: make TestCmdWatch more robust 7082 - debian: improve package description 7083 - interfaces: add netlink kobject uevent to hardware observe 7084 - debian: update trusted account-keys check on 14.04 packaging 7085 - interfaces/network-{control,observe}: allow receiving 7086 kobject_uevent() messages 7087 - tests: fix lxd test for external backend 7088 - snap-confine,snap-update-ns: add -no-pie to fix FTBFS on 7089 go1.7,ppc64 7090 - corecfg: mock "systemctl" in all corecfg tests 7091 - tests: fix unit tests on Ubuntu 14.04 7092 - debian: add missing flags when building static snap-exec 7093 - many: end-to-end support for the bare base snap 7094 - overlord/snapstate: SetRootDir from SetUpTest, not in just some 7095 tests 7096 - store: have an ad-hoc method on cfg to get its list of uris for 7097 tests 7098 - daemon: let client decide whether to allow interactive auth via 7099 polkit 7100 - client,daemon,snap,store: add license field 7101 - overlord/snapstate: rename HasCurrent to IsInstalled, remove 7102 superfluous/misleading check from All 7103 - cmd/snap: SetRootDir from SetUpTest, not in just some individual 7104 tests. 7105 - systemd: rename snap-repair.{service,timer} to snapd.snap- 7106 repair.{service,timer} 7107 - snap-seccomp: remove use of x/net/bpf from tests 7108 - httputil: more naive per go version way to recreate a default 7109 transport for tls reconfig 7110 - cmd/snap-seccomp/main_test.go: add one more syscall for arm64 7111 - interfaces/opengl: use == to compare, not = 7112 - cmd/snap-seccomp/main_test.go: add syscalls for armhf and arm64 7113 - cmd/snap-repair: track and use a lower bound for the time for 7114 TLS checks 7115 - interfaces: expose bluez interface on classic OS 7116 - snap-seccomp: add in-kernel bpf tests 7117 - overlord: always try to get a serial, lazily on classic 7118 - tests: add nmcli regression test 7119 - tests: deal with __PNR_chown on aarch64 to fix FTBFS on arm64 7120 - tests: add autopilot-introspection interface test 7121 - vendor: fix artifact from manually editing vendor/vendor.json 7122 - tests: rename complexion to test-snapd-complexion 7123 - interfaces: add desktop and desktop-legacy 7124 interfaces/desktop: add new 'desktop' interface for modern DEs* 7125 interfaces/builtin/desktop_test.go: use modern testing techniques* 7126 interfaces/wayland: allow read on /etc/drirc for Plasma desktop* 7127 interfaces/desktop-legacy: add new 'legacy' interface (currently 7128 for a11y and input) 7129 - tests: fix race in snap userd test 7130 - devices/iio: add read/write for missing sysfs entries 7131 - spread: don't set HTTPS?_PROXY for linode 7132 - cmd/snap-repair: check signatures of repairs from Next 7133 - env: set XDG_DATA_DIRS for wayland et.al. 7134 - interfaces/{default,account-control}: Use username/group instead 7135 of uid/gid 7136 - interfaces/builtin: use udev tagging more broadly 7137 - tests: add basic lxd test 7138 - wrappers: ensure bash completion snaps install on core 7139 - vendor: use old golang.org/x/crypto/ssh/terminal to build on 7140 powerpc again 7141 - docs: add PULL_REQUEST_TEMPLATE.md 7142 - interfaces: fix network-manager plug 7143 - hooks: do not error out when hook is optional and no hook handler 7144 is registered 7145 - cmd/snap: add userd command to replace snapd-xdg-open 7146 - tests: new regex used to validate the core version on extra snaps 7147 ass... 7148 - snap: add new `snap switch` command 7149 - tests: wait more and more debug info about fakestore start issues 7150 - apparmor,release: add better apparmor detection/mocking code 7151 - interfaces/i2c: adjust sysfs rule for alternate paths 7152 - interfaces/apparmor: add missing call to dirs.SetRootDir 7153 - cmd: "make hack" now also installs snap-update-ns 7154 - tests: copy files with less verbosity 7155 - cmd/snap-confine: allow using additional libraries required by 7156 openSUSE 7157 - packaging/fedora: Merge changes from Fedora Dist-Git 7158 - snapstate: improve the error message when classic confinement is 7159 not supported 7160 - tests: add test to ensure amd64 can run i386 syscall binaries 7161 - tests: adding extra info for fakestore when fails to start 7162 - tests: install most important snaps 7163 - cmd/snap-repair: more test coverage of filtering 7164 - squashfs: remove runCommand/runCommandWithOutput as we do not need 7165 it 7166 - cmd/snap-repair: ignore superseded revisions, filter on arch and 7167 models 7168 - hooks: support for refresh hook 7169 - Partial revert "overlord/devicestate, store: update device auth 7170 endpoints URLs" 7171 - cmd/snap-confine: allow reading /proc/filesystems 7172 - cmd/snap-confine: genearlize apparmor profile for various lib 7173 layout 7174 - corecfg: fix proxy.* writing and add integration test 7175 - corecfg: deal with system.power-key-action="" correctly 7176 - vendor: update vendor.json after (presumed) manual edits 7177 - cmd/snap: in `snap info`, don't print a newline between tracks 7178 - daemon: add polkit support to /v2/login 7179 - snapd,snapctl: decode json using Number 7180 - client: fix go vet 1.7 errors 7181 - tests: make 17.04 shellcheck clean 7182 - tests: remove TestInterfacesHelp as it breaks when go-flags 7183 changes 7184 - snapstate: undo a daemon restart on classic if needed 7185 - cmd/snap-repair: recover brand/model from 7186 /var/lib/snapd/seed/assertions checking signatures and brand 7187 account 7188 - spread: opt into unsafe IO during spread tests 7189 - snap-repair: update snap-repair/runner_test.go for API change in 7190 makeMockServer 7191 - cmd/snap-repair: skeleton code around actually running a repair 7192 - tests: wait until the port is listening after start the fake store 7193 - corecfg: fix typo in tests 7194 - cmd/snap-repair: test that redirects works during fetching 7195 - osutil: honor SNAPD_UNSAFE_IO for testing 7196 - vendor: explode and make more precise our golang.go/x/crypto deps, 7197 use same version as Debian unstable 7198 - many: sanitize NewStoreStack signature, have shared default store 7199 test private keys 7200 - systemd: disable `Nice=-5` to fix error when running inside lxd 7201 - spread.yaml: update delta ref to 2.27 7202 - cmd/snap-repair: use E-Tags when refetching a repair to retry 7203 - interfaces/many: updates based on chromium and mrrescue denials 7204 - cmd/snap-repair: implement most logic to get the next repair to 7205 run/retry in a brand sequence 7206 - asserts/assertstest: copy headers in SigningDB.Sign 7207 - interfaces: convert uhid to common interface and test cases 7208 improvement for time_control and opengl 7209 - many tests: move all panicing fake store methods to a common place 7210 - asserts: add store assertion type 7211 - interfaces: don't crash if content slot has no attributes 7212 - debian: do not build with -buildmode=pie on i386 7213 - wrappers: symlink completion snippets when symlinking binaries 7214 - tests: adding more debug information for the interfaces-cups- 7215 control … 7216 - apparmor: pass --quiet to parser on load unless SNAPD_DEBUG is set 7217 - many: allow and support serials signed by the 'generic' authority 7218 instead of the brand 7219 - corecfg: add proxy configuration via `snap set core 7220 proxy.{http,https,ftp}=...` 7221 - interfaces: a bunch of interfaces test improvement 7222 - tests: enable regression and completion suites for opensuse 7223 - tests: installing snapd for nested test suite 7224 - interfaces: convert lxd_support to common iface 7225 - interfaces: add missing test for camera interface. 7226 - snap: add support for parsing snap layout section 7227 - cmd/snap-repair: like for downloads we cannot have a timeout (at 7228 least for now), less aggressive retry strategies 7229 - overlord: rely on more conservative ensure interval 7230 - overlord,store: no piles of return args for methods gathering 7231 device session request params 7232 - overlord,store: send model assertion when setting up device 7233 sessions 7234 - interfaces/misc: updates for unity7/x11, browser- 7235 support, network-control and mount-observe 7236 interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 7237 interfaces/browser-support: update sysfs reads for 7238 newer browser versions, interfaces/network-control: rw for 7239 ieee80211 advanced wireless interfaces/mount-observe: allow read 7240 on sysfs entries for block devices 7241 - tests: use dnf --refresh install to avert stale cache 7242 - osutil: ensure TestLockUnlockWorks uses supported flock 7243 - interfaces: convert lxd to common iface 7244 - tests: restart snapd to ensure re-exec settings are applied 7245 - tests: fix interfaces-cups-control test 7246 - interfaces: improve and tweak bunch of interfaces test cases. 7247 - tests: adding extra worker for fedora 7248 - asserts,overlord/devicestate: support predefined assertions that 7249 don't establish foundational trust 7250 - interfaces: convert two hardware_random interfaces to common iface 7251 - interfaces: convert io_ports_control to common iface 7252 - tests: fix for upgrade test on fedora 7253 - daemon, client, cmd/snap: implement snap start/stop/restart 7254 - cmd/snap-confine: set _FILE_OFFSET_BITS to 64 7255 - interfaces: covert framebuffer to commonInterface 7256 - interfaces: convert joystick to common iface 7257 - interfaces/builtin: add the spi interface 7258 - wrappers, overlord/snapstate/backend: make link-snap clean up on 7259 failure. 7260 - interfaces/wayland: add wayland interface 7261 - interfaces: convert kvm to common iface 7262 - tests: extend upower-observe test to cover snaps providing slots 7263 - tests: enable main suite for opensuse 7264 - interfaces: convert physical_memory_observe to common iface 7265 - interfaces: add missing test for optical_drive interface. 7266 - interfaces: convert physical_memory_control to common iface 7267 - interfaces: convert ppp to common iface 7268 - interfaces: convert time-control to common iface 7269 - tests: fix failover test 7270 - interfaces/builtin: rework for avahi interface 7271 - interfaces: convert broadcom-asic-control to common iface 7272 - snap/snapenv: document the use of CoreSnapMountDir for SNAP 7273 - packaging/arch: drop patches merged into master 7274 - cmd: fix mustUnsetenv docstring (thanks to Chipaca) 7275 - release: remove default from VERSION_ID 7276 - tests: enable regression, upgrade and completion test suites for 7277 fedora 7278 - tests: restore interfaces-account-control properly 7279 - overlord/devicestate, store: update device auth endpoints URLs 7280 - tests: fix install-hook test failure 7281 - tests: download core and ubuntu-core at most once 7282 - interfaces: add common support for udev 7283 - overlord/devicestate: fix, don't assume that the serial is backed 7284 by a 1-key chain 7285 - cmd/snap-confine: don't share /etc/nsswitch from host 7286 - store: do not resume a download when we already have the whole 7287 thing 7288 - many: implement "snap logs" 7289 - store: don't call useDeltas() twice in quick succession 7290 - interfaces/builtin: add kvm interface 7291 - snap/snapenv: always expect /snap for $SNAP 7292 - cmd: mark arch as non-reexecing distro 7293 - cmd: fix tests that assume /snap mount 7294 - gitignore: ignore more build artefacts 7295 - packaging: add current arch packaging 7296 - interfaces/unity7: allow receiving media key events in (at least) 7297 gnome-shell 7298 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 7299 - interfaces/builtin: implement broadcom-asic-control interface 7300 - interfaces/builtin: reduce duplication and remove cruft in 7301 Sanitize{Plug,Slot} 7302 - tests: apply underscore convention for SNAPMOUNTDIR variable 7303 - interfaces/greengrass-support: adjust accesses now that have 7304 working snap 7305 - daemon, client, cmd/snap: implement "snap services" 7306 - tests: fix refresh tests not stopping fake store for fedora 7307 - many: add the interface command 7308 - overlord/snapstate/backend: some copydata improvements 7309 - many: support querying and completing assertion type names 7310 - interfaces/builtin: discard empty Validate{Plug,Slot} 7311 - cmd/snap-repair: start of Runner, implement first pass of Peek 7312 and Fetch 7313 - tests: enable main suite on fedora 7314 - snap: do not always quote the snap info summary 7315 - vendor: update go-flags to address crash in "snap debug" 7316 - interfaces: opengl support pci device and vendor 7317 - many: start implenting "base" snap type on the snapd side 7318 - arch,release: map armv6 correctly 7319 - many: expose service status in 'snap info' 7320 - tests: add browser-support interface test 7321 - tests: disable snapd-notify for the external backend 7322 - interfaces: Add /run/uuid/request to openvswitch 7323 - interfaces: add password-manager-service implicit classic 7324 interface 7325 - cmd: rework reexec detection 7326 - cmd: fix re-exec bug when starting from snapd 2.21 7327 - tests: dependency packages installed during prepare-project 7328 - tests: remove unneeded check for re-exec in InternalToolPath() 7329 - cmd,tests: fix classic confinement confusing re-execution code 7330 - store: configurable base api 7331 - tests: fix how package lists are updated for opensuse and fedora 7332 7333 * Sun Sep 10 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.6-1 7334 - Release 2.27.6 to Fedora (RH#1489437) 7335 7336 * Thu Sep 07 2017 Michael Vogt <mvo@ubuntu.com> 7337 - New upstream release 2.27.6 7338 - interfaces: add udev netlink support to hardware-observe 7339 - interfaces/network-{control,observe}: allow receiving 7340 kobject_uevent() messages 7341 7342 * Mon Sep 04 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.5-1 7343 - Release 2.27.5 to Fedora (RH#1483177) 7344 - Backport userd from upstream to support xdg-open 7345 7346 * Wed Aug 30 2017 Michael Vogt <mvo@ubuntu.com> 7347 - New upstream release 2.27.5 7348 - interfaces: fix network-manager plug regression 7349 - hooks: do not error when hook handler is not registered 7350 - interfaces/alsa,pulseaudio: allow read on udev data for sound 7351 - interfaces/optical-drive: read access to udev data for /dev/scd* 7352 - interfaces/browser-support: read on /proc/vmstat and misc udev 7353 data 7354 7355 * Thu Aug 24 2017 Michael Vogt <mvo@ubuntu.com> 7356 - New upstream release 2.27.4 7357 - snap-seccomp: add secondary arch for unrestricted snaps as well 7358 7359 * Fri Aug 18 2017 Michael Vogt <mvo@ubuntu.com> 7360 - New upstream release 2.27.3 7361 - systemd: disable `Nice=-5` to fix error when running inside lxdSee 7362 https://bugs.launchpad.net/snapd/+bug/1709536 7363 7364 * Wed Aug 16 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.2-2 7365 - Bump to rebuild for F27 and Rawhide 7366 7367 * Wed Aug 16 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.2-1 7368 - Release 2.27.2 to Fedora (RH#1482173) 7369 7370 * Wed Aug 16 2017 Michael Vogt <mvo@ubuntu.com> 7371 - New upstream release 2.27.2 7372 - tests: remove TestInterfacesHelp as it breaks when go-flags 7373 changes 7374 - interfaces: don't crash if content slot has no attributes 7375 - debian: do not build with -buildmode=pie on i386 7376 - interfaces: backport broadcom-asic-control interface 7377 - interfaces: allow /usr/bin/xdg-open in unity7 7378 - store: do not resume a download when we already have the whole 7379 thing 7380 7381 * Mon Aug 14 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.1-1 7382 - Release 2.27.1 to Fedora (RH#1481247) 7383 7384 * Mon Aug 14 2017 Michael Vogt <mvo@ubuntu.com> 7385 - New upstream release 2.27.1 7386 - tests: use dnf --refresh install to avert stale cache 7387 - tests: fix test failure on 14.04 due to old version of 7388 flock 7389 - updates for unity7/x11, browser-support, network-control, 7390 mount-observe 7391 - interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 7392 - interfaces/browser-support: update sysfs reads for 7393 newer browser versions 7394 - interfaces/network-control: rw for ieee80211 advanced wireless 7395 - interfaces/mount-observe: allow read on sysfs entries for block 7396 devices 7397 7398 * Thu Aug 10 2017 Neal Gompa <ngompa13@gmail.com> - 2.27-1 7399 - Release 2.27 to Fedora (RH#1458086) 7400 7401 * Thu Aug 10 2017 Michael Vogt <mvo@ubuntu.com> 7402 - New upstream release 2.27 7403 - fix build failure on 32bit fedora 7404 - interfaces: add password-manager-service implicit classic interface 7405 - interfaces/greengrass-support: adjust accesses now that have working 7406 snap 7407 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 7408 - interfaces/unity7: allow receiving media key events in (at least) 7409 gnome-shell 7410 - cmd: fix re-exec bug when starting from snapd 2.21 7411 - tests: restore interfaces-account-control properly 7412 - cmd: fix tests that assume /snap mount 7413 - cmd: mark arch as non-reexecing distro 7414 - snap-confine: don't share /etc/nsswitch from host 7415 - store: talk to api.snapcraft.io for purchases 7416 - hooks: support for install and remove hooks 7417 - packaging: fix Fedora support 7418 - tests: add bluetooth-control interface test 7419 - store: talk to api.snapcraft.io for assertions 7420 - tests: remove snapd before building from branch 7421 - tests: add avahi-observe interface test 7422 - store: orders API now checks if customer is ready 7423 - cmd/snap: snap find only searches stable 7424 - interfaces: updates default, mir, optical-observe, system-observe, 7425 screen-inhibit-control and unity7 7426 - tests: speedup prepare statement part 1 7427 - store: do not send empty refresh requests 7428 - asserts: fix error handling in snap-developer consistency check 7429 - systemd: add explicit sync to snapd.core-fixup.sh 7430 - snapd: generate snap cookies on startup 7431 - cmd,client,daemon: expose "force devmode" in sysinfo 7432 - many: introduce and use strutil.ListContains and also 7433 strutil.SortedListContains 7434 - assserts,overlord/assertstate: test we don't accept chains of 7435 assertions founded on a self-signed key coming externally 7436 - interfaces: enable access to bridge settings 7437 - interfaces: fix copy-pasted iio vs io in io-ports-control 7438 - cmd/snap-confine: various small fixes and tweaks to seccomp 7439 support code 7440 - interfaces: bring back seccomp argument filtering 7441 - systemd, osutil: rework systemd logs in preparation for services 7442 commands 7443 - tests: store /etc/systemd/system/snap-*core*.mount in snapd- 7444 state.tar.gz 7445 - tests: shellcheck improvements for tests/main tasks - first set of 7446 tests 7447 - cmd/snap: `--last` for abort and watch, and aliases 7448 (search→find, change→tasks) 7449 - tests: shellcheck improvements for tests/lib scripts 7450 - tests: create ramdisk if it's not present 7451 - tests: shellcheck improvements for nightly upgrade and regressions 7452 tests 7453 - snapd: fix for snapctl get panic on null config values. 7454 - tests: fix for rng-tools service not restarting 7455 - systemd: add snapd.core-fixup.service unit 7456 - cmd: avoid using current symlink in InternalToolPath 7457 - tests: fix timeout issue for test refresh core with hanging … 7458 - intefaces: control bridged vlan/ppoe-tagged traffic 7459 - cmd/snap: include snap type in notes 7460 - overlord/state: Abort() only visits each task once 7461 - tests: extend find-private test to cover more cases 7462 - snap-seccomp: skip socket() tests on systems that use socketcall() 7463 instead of socket() 7464 - many: support snap title as localized/title-cased name 7465 - snap-seccomp: deal with mknod on aarch64 in the seccomp tests 7466 - interfaces: put base policy fragments inside each interface 7467 - asserts: introduce NewDecoderWithTypeMaxBodySize 7468 - tests: fix snapd-notify when it takes more time to restart 7469 - snap-seccomp: fix snap-seccomp tests in artful 7470 - tests: fix for create-key task to avoid rng-tools service ramains 7471 alive 7472 - snap-seccomp: make sure snap-seccomp writes the bpf file 7473 atomically 7474 - tests: do not disable ipv6 on core systems 7475 - arch: the kernel architecture name is armv7l instead of armv7 7476 - snap-confine: ensure snap-confine waits some seconds for seccomp 7477 security profiles 7478 - tests: shellcheck improvements for tests/nested tasks 7479 - wrappers: add SyslogIdentifier to the service unit files. 7480 - tests: shellcheck improvements for unit tasks 7481 - asserts: implement FindManyTrusted as well 7482 - asserts: open up and optimize Encoder to help avoiding unnecessary 7483 copying 7484 - interfaces: simplify snap-confine by just loading pre-generated 7485 bpf code 7486 - tests: restart rng-tools services after few seconds 7487 - interfaces, tests: add mising dbus abstraction to system-observe 7488 and extend spread test 7489 - store: change main store host to api.snapcraft.io 7490 - overlord/cmdstate: new package for running commands as tasks. 7491 - spread: help libapt resolve installing libudev-dev 7492 - tests: show the IP from .travis.yaml 7493 - tests/main: use pkgdb function in more test cases 7494 - cmd,daemon: add debug command for displaying the base policy 7495 - tests: prevent quoting error on opensuse 7496 - tests: fix nightly suite 7497 - tests: add linode-sru backend 7498 - snap-confine: validate SNAP_NAME against security tag 7499 - tests: fix ipv6 disable for ubuntu-core 7500 - tests: extend core-revert test to cover bluez issues 7501 - interfaces/greengrass-support: add support for Amazon Greengrass 7502 as a snap 7503 - asserts: support timestamp and optional disabled header on repair 7504 - tests: reboot after upgrading to snapd on the -proposed pocket 7505 - many: fix test cases to work with different DistroLibExecDir 7506 - tests: reenable help test on ubuntu and debian systems 7507 - packaging/{opensuse,fedora}: allow package build with testkeys 7508 included 7509 - tests/lib: generalize RPM build support 7510 - interfaces/builtin: sync connected slot and permanent slot snippet 7511 - tests: fix snap create-key by restarting automatically rng-tools 7512 - many: switch to use http numeric statuses as agreed 7513 - debian: add missing Type=notify in 14.04 packaging 7514 - tests: mark interfaces-openvswitch as manual due to prepare errors 7515 - debian: unify built_using between the 14.04 and 16.04 packaging 7516 branch 7517 - tests: pull from urandom when real entropy is not enough 7518 - tests/main/manpages: install missing man package 7519 - tests: add refresh --time output check 7520 - debian: add missing "make -C data/systemd clean" 7521 - tests: fix for upgrade test when it is repeated 7522 - tests/main: use dir abstraction in a few more test cases 7523 - tests/main: check for confinement in a few more interface tests 7524 - spread: add fedora snap bin dir to global PATH 7525 - tests: check that locale-control is not present on core 7526 - many: snapctl outside hooks 7527 - tests: add whoami check 7528 - interfaces: compose the base declaration from interfaces 7529 - tests: fix spread flaky tests linode 7530 - tests,packaging: add package build support for openSUSE 7531 - many: slight improvement of some snap error messaging 7532 - errtracker: Include /etc/apparmor.d/usr.lib.snap-confine md5sum in 7533 err reports 7534 - tests: fix for the test postrm-purge 7535 - tests: restoring the /etc/environment and service units config for 7536 each test 7537 - daemon: make snapd a "Type=notify" daemon and notify when startup 7538 is done 7539 - cmd/snap-confine: add support for --base snap 7540 - many: derive implicit slots from interface meta-data 7541 - tests: add core revert test 7542 - tests,packaging: add package build support for Fedora for our 7543 spread setup 7544 - interfaces: move base declaration to the policy sub-package 7545 - tests: fix for snapd-reexec test cheking for restart info on debug 7546 log 7547 - tests: show available entropy on error 7548 - tests: clean journalctl logs on trusty 7549 - tests: fix econnreset on staging 7550 - tests: modify core before calling set 7551 - tests: add snap-confine privilege test 7552 - tests: add staging snap-id 7553 - interfaces/builtin: silence ptrace denial for network-manager 7554 - tests: add alsa interface spread test 7555 - tests: prefer ipv4 over ipv6 7556 - tests: fix for econnreset test checking that the download already 7557 started 7558 - httputil,store: extract retry code to httputil, reorg usages 7559 - errtracker: report if snapd did re-execute itself 7560 - errtracker: include bits of snap-confine apparmor profile 7561 - tests: take into account staging snap-ids for snap-info 7562 - cmd: add stub new snap-repair command and add timer 7563 - many: stop "snap refresh $x --channel invalid" from working 7564 - interfaces: revert "interfaces: re-add reverted ioctl and quotactl 7565 - snapstate: consider connect/disconnect tasks in 7566 CheckChangeConflict. 7567 - interfaces: disable "mknod |N" in the default seccomp template 7568 again 7569 - interfaces,overlord/ifacestate: make sure installing slots after 7570 plugs works similarly to plugs after slots 7571 - interfaces/seccomp: add bind() syscall for forced-devmode systems 7572 - packaging/fedora: Sync packaging from Fedora Dist-Git 7573 - tests: move static and unit tests to spread task 7574 - many: error types should be called FooError, not ErrFoo. 7575 - partition: add directory sync to the save uboot.env file code 7576 - cmd: test everything (100% coverage \o/) 7577 - many: make shell scripts shellcheck-clean 7578 - tests: remove additional setup for docker on core 7579 - interfaces: add summary to each interface 7580 - many: remove interface meta-data from list of connections 7581 - logger (& many more, to accommodate): drop explicit syslog. 7582 - packaging: import packaging bits for opensuse 7583 - snapstate,many: implement snap install --unaliased 7584 - tests/lib: abstract build dependency installation a bit more 7585 - interfaces, osutil: move flock code from interfaces/mount to 7586 osutil 7587 - cmd: auto import assertions only from ext4,vfat file systems 7588 - many: refactor in preparation for 'snap start' 7589 - overlord/snapstate: have an explicit code path last-refresh 7590 unset/zero => immediately refresh try 7591 - tests: fixes for executions using the staging store 7592 - tests: use pollinate to seed the rng 7593 - cmd/snap,tests: show the sha3-384 of the snap for snap info 7594 --verbose SNAP-FILE 7595 - asserts: simplify and adjust repair assertion definition 7596 - cmd/snap,tests: show the snap id if available in snap info 7597 - daemon,overlord/auth: store from model assertion wins 7598 - cmd/snap,tests/main: add confinement switch instead of spread 7599 system blacklisting 7600 - many: cleanup MockCommands and don't leave a process around after 7601 hookstate tests 7602 - tests: update listing test to the core version number schema 7603 - interfaces: allow snaps to use the timedatectl utility 7604 - packaging: Add Fedora packaging files 7605 - tests/libs: add distro_auto_remove_packages function 7606 - cmd/snap: correct devmode note for anomalous state 7607 - tests/main/snap-info: use proper pkgdb functions to install distro 7608 packages 7609 - tests/lib: use mktemp instead of tempfile to work cross-distro 7610 - tests: abstract common dirs which differ on distributions 7611 - many: model and expose interface meta-data. 7612 - overlord: make config defaults from gadget work also at first boot 7613 - interfaces/log-observe: allow using journalctl from hostfs for 7614 classic distro 7615 - partition,snap: add support for android boot 7616 - errtracker: small simplification around readMachineID 7617 - snap-confine: move rm_rf_tmp to test-utils. 7618 - tests/lib: introduce pkgdb helper library 7619 - errtracker: try multiple paths to read machine-id 7620 - overlord/hooks: make sure only one hook for given snap is executed 7621 at a time. 7622 - cmd/snap-confine: use SNAP_MOUNT_DIR to setup /snap inside the 7623 confinement env 7624 - tests: bump kill-timeout and remove quiet call on build 7625 - tests/lib/snaps: add a test store snap with a passthrough 7626 configure hook 7627 - daemon: teach the daemon to wait on active connections when 7628 shutting down 7629 - tests: remove unit tests task 7630 - tests/main/completion: source from /usr/share/bash-completion 7631 - assertions: add "repair" assertion 7632 - interfaces/seccomp: document Backend.NewSpecification 7633 - wrappers: make StartSnapServices cleanup any services that were 7634 added if a later one fails 7635 - overlord/snapstate: avoid creating command aliases for daemons 7636 - vendor: remove unused packages 7637 - vendor,partition: fix panics from uenv 7638 - cmd,interfaces/mount: run snap-update-ns and snap-discard-ns from 7639 core if possible 7640 - daemon: do not allow to install ubuntu-core anymore 7641 - wrappers: service start/stop were inconsistent 7642 - tests: fix failing tests (snap core version, syslog changes) 7643 - cmd/snap-update-ns: add actual implementation 7644 - tests: improve entropy also for ubuntu 7645 - cmd/snap-confine: use /etc/ssl from the core snap 7646 - wrappers: don't convert between []byte and string needlessly. 7647 - hooks: default timeout 7648 - overlord/snapstate: Enable() was ignoring the flags from the 7649 snap's state, resulting in losing "devmode" on disable/enable. 7650 - difs,interfaces/mount: add support for locking namespaces 7651 - interfaces/mount: keep track of kept mount entries 7652 - tests/main: move a bunch of greps over to MATCH 7653 - interfaces/builtin: make all interfaces private 7654 - interfaces/mount: spell unmount correctly 7655 - tests: allow 16-X.Y.Z version of core snap 7656 - the timezone_control interface only allows changing /etc/timezone 7657 and /etc/writable/timezone. systemd-timedated also updated the 7658 link of /etc/localtime and /etc/writable/localtime ... allow 7659 access to this file too 7660 - cmd/snap-confine: aggregate operations holding global lock 7661 - api, ifacestate: resolve disconnect early 7662 - interfaces/builtin: ensure we don't register interfaces twice 7663 7664 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26.3-5 7665 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 7666 7667 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26.3-4 7668 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 7669 7670 * Thu May 25 2017 Neal Gompa <ngompa13@gmail.com> - 2.26.3-3 7671 - Cover even more stuff for proper erasure on final uninstall (RH#1444422) 7672 7673 * Sun May 21 2017 Neal Gompa <ngompa13@gmail.com> - 2.26.3-2 7674 - Fix error in script for removing Snappy content (RH#1444422) 7675 - Adjust changelog bug references to be specific on origin 7676 7677 * Wed May 17 2017 Neal Gompa <ngompa13@gmail.com> - 2.26.3-1 7678 - Update to snapd 2.26.3 7679 - Drop merged and unused patches 7680 - Cover more Snappy content for proper erasure on final uninstall (RH#1444422) 7681 - Add temporary fix to ensure generated seccomp profiles don't break snapctl 7682 7683 * Mon May 01 2017 Neal Gompa <ngompa13@gmail.com> - 2.25-1 7684 - Update to snapd 2.25 7685 - Ensure all Snappy content is gone on final uninstall (RH#1444422) 7686 7687 * Tue Apr 11 2017 Neal Gompa <ngompa13@gmail.com> - 2.24-1 7688 - Update to snapd 2.24 7689 - Drop merged patches 7690 - Install snap bash completion and snapd info file 7691 7692 * Wed Apr 05 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-4 7693 - Test if snapd socket and timer enabled and start them if enabled on install 7694 7695 * Sat Apr 01 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-3 7696 - Fix profile.d generation so that vars aren't expanded in package build 7697 7698 * Fri Mar 31 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-2 7699 - Fix the overlapping file conflicts between snapd and snap-confine 7700 - Rework package descriptions slightly 7701 7702 * Thu Mar 30 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-1 7703 - Rebase to snapd 2.23.6 7704 - Rediff patches 7705 - Re-enable seccomp 7706 - Fix building snap-confine on 32-bit arches 7707 - Set ExclusiveArch based on upstream supported arch list 7708 7709 * Wed Mar 29 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.5-1 7710 - Rebase to snapd 2.23.5 7711 - Disable seccomp temporarily avoid snap-confine bugs (LP#1674193) 7712 - Use vendorized build for non-Fedora 7713 7714 * Mon Mar 13 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.1-1 7715 - Rebase to snapd 2.23.1 7716 - Add support for vendored tarball for non-Fedora targets 7717 - Use merged in SELinux policy module 7718 7719 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-2 7720 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 7721 7722 * Wed Oct 19 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.16-1 7723 - New upstream release 7724 7725 * Tue Oct 18 2016 Neal Gompa <ngompa13@gmail.com> - 2.14-2 7726 - Add SELinux policy module subpackage 7727 7728 * Tue Aug 30 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.14-1 7729 - New upstream release 7730 7731 * Tue Aug 23 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.13-1 7732 - New upstream release 7733 7734 * Thu Aug 18 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.12-2 7735 - Correct license identifier 7736 7737 * Thu Aug 18 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.12-1 7738 - New upstream release 7739 7740 * Thu Aug 18 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-8 7741 - Add %%dir entries for various snapd directories 7742 - Tweak Source0 URL 7743 7744 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-7 7745 - Disable snapd re-exec feature by default 7746 7747 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-6 7748 - Don't auto-start snapd.socket and snapd.refresh.timer 7749 7750 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-5 7751 - Don't touch snapd state on removal 7752 7753 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-4 7754 - Use ExecStartPre to load squashfs.ko before snapd starts 7755 - Use dedicated systemd units for Fedora 7756 7757 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-3 7758 - Remove systemd preset (will be requested separately according to distribution 7759 standards). 7760 7761 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-2 7762 - Use Requires: kmod(squashfs.ko) instead of Requires: kernel-modules 7763 7764 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-1 7765 - New upstream release 7766 - Move private executables to /usr/libexec/snapd/ 7767 7768 * Fri Jun 24 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.9-2 7769 - Depend on kernel-modules to ensure that squashfs can be loaded. Load it afer 7770 installing the package. This hopefully fixes 7771 https://github.com/zyga/snapcore-fedora/issues/2 7772 7773 * Fri Jun 17 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.9 7774 - New upstream release 7775 https://github.com/snapcore/snapd/releases/tag/2.0.9 7776 7777 * Tue Jun 14 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.8.1 7778 - New upstream release 7779 7780 * Fri Jun 10 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.8 7781 - First package for Fedora