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