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