github.com/Lephar/snapd@v0.0.0-20210825215435-c7fba9cef4d2/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 # Always use external linking when building static binaries. 67 %if 0%{?fedora} || 0%{?rhel} >= 8 68 %define gobuild_static(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags -static'" -a -v -x %{?**}; 69 %endif 70 %if 0%{?rhel} == 7 71 # no pass PIE flags due to https://bugzilla.redhat.com/show_bug.cgi?id=1634486 72 %define gobuild_static(o:) go build -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags -static'" -a -v -x %{?**}; 73 %endif 74 75 # These macros are missing BUILDTAGS in RHEL 8, see RHBZ#1825138 76 %if 0%{?rhel} == 8 77 %define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags'" -a -v -x %{?**}; 78 %endif 79 80 # These macros are not defined in RHEL 7 81 %if 0%{?rhel} == 7 82 %define gobuild(o:) go build -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags'" -a -v -x %{?**}; 83 %define gotest() go test -compiler gc -ldflags "${LDFLAGS:-}" %{?**}; 84 %endif 85 86 # Compat path macros 87 %{!?_environmentdir: %global _environmentdir %{_prefix}/lib/environment.d} 88 %{!?_systemdgeneratordir: %global _systemdgeneratordir %{_prefix}/lib/systemd/system-generators} 89 %{!?_systemd_system_env_generator_dir: %global _systemd_system_env_generator_dir %{_prefix}/lib/systemd/system-environment-generators} 90 91 # Fedora selinux-policy includes 'map' permission on a 'file' class. However, 92 # Amazon Linux 2 does not have the updated policy containing the fix for 93 # https://bugzilla.redhat.com/show_bug.cgi?id=1574383. 94 # For now disable SELinux on Amazon Linux 2 until it's fixed. 95 %if 0%{?amzn2} == 1 96 %global with_selinux 0 97 %endif 98 99 Name: snapd 100 Version: 2.51.6 101 Release: 0%{?dist} 102 Summary: A transactional software package manager 103 License: GPLv3 104 URL: https://%{provider_prefix} 105 Source0: https://%{provider_prefix}/releases/download/%{version}/%{name}_%{version}.no-vendor.tar.xz 106 Source1: https://%{provider_prefix}/releases/download/%{version}/%{name}_%{version}.only-vendor.tar.xz 107 108 %if 0%{?with_goarches} 109 # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required 110 ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} 111 %else 112 # Verified arches from snapd upstream 113 ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le s390x 114 %endif 115 116 # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. 117 BuildRequires: make 118 BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang >= 1.9} 119 BuildRequires: systemd 120 %{?systemd_requires} 121 122 Requires: snap-confine%{?_isa} = %{version}-%{release} 123 Requires: squashfs-tools 124 125 %if 0%{?rhel} && 0%{?rhel} < 8 126 # Rich dependencies not available, always pull in squashfuse 127 # snapd will use squashfs.ko instead of squashfuse if it's on the system 128 # NOTE: Amazon Linux 2 does not have squashfuse, squashfs.ko is part of the kernel package 129 %if ! 0%{?amzn2} 130 Requires: squashfuse 131 Requires: fuse 132 %endif 133 %else 134 # snapd will use squashfuse in the event that squashfs.ko isn't available (cloud instances, containers, etc.) 135 Requires: ((squashfuse and fuse) or kmod(squashfs.ko)) 136 %endif 137 138 # bash-completion owns /usr/share/bash-completion/completions 139 Requires: bash-completion 140 141 %if 0%{?with_selinux} 142 # Force the SELinux module to be installed 143 Requires: %{name}-selinux = %{version}-%{release} 144 %endif 145 146 %if 0%{?fedora} && 0%{?fedora} < 30 147 # snapd-login-service is no more 148 # Note: Remove when F29 is EOL 149 Obsoletes: %{name}-login-service < 1.33 150 Provides: %{name}-login-service = 1.33 151 Provides: %{name}-login-service%{?_isa} = 1.33 152 %endif 153 154 %if ! 0%{?with_bundled} 155 BuildRequires: golang(github.com/boltdb/bolt) 156 BuildRequires: golang(github.com/coreos/go-systemd/activation) 157 BuildRequires: golang(github.com/godbus/dbus) 158 BuildRequires: golang(github.com/godbus/dbus/introspect) 159 BuildRequires: golang(github.com/gorilla/mux) 160 BuildRequires: golang(github.com/jessevdk/go-flags) 161 BuildRequires: golang(github.com/juju/ratelimit) 162 BuildRequires: golang(github.com/kr/pretty) 163 BuildRequires: golang(github.com/kr/text) 164 BuildRequires: golang(github.com/mvo5/goconfigparser) 165 BuildRequires: golang(github.com/seccomp/libseccomp-golang) 166 BuildRequires: golang(github.com/snapcore/go-gettext) 167 BuildRequires: golang(golang.org/x/crypto/openpgp/armor) 168 BuildRequires: golang(golang.org/x/crypto/openpgp/packet) 169 BuildRequires: golang(golang.org/x/crypto/sha3) 170 BuildRequires: golang(golang.org/x/crypto/ssh/terminal) 171 BuildRequires: golang(golang.org/x/xerrors) 172 BuildRequires: golang(golang.org/x/xerrors/internal) 173 BuildRequires: golang(gopkg.in/check.v1) 174 BuildRequires: golang(gopkg.in/macaroon.v1) 175 BuildRequires: golang(gopkg.in/mgo.v2/bson) 176 BuildRequires: golang(gopkg.in/retry.v1) 177 BuildRequires: golang(gopkg.in/tomb.v2) 178 BuildRequires: golang(gopkg.in/yaml.v2) 179 %endif 180 181 %description 182 Snappy is a modern, cross-distribution, transactional package manager 183 designed for working with self-contained, immutable packages. 184 185 %package -n snap-confine 186 Summary: Confinement system for snap applications 187 License: GPLv3 188 BuildRequires: autoconf 189 BuildRequires: automake 190 BuildRequires: libtool 191 BuildRequires: gcc 192 BuildRequires: gettext 193 BuildRequires: gnupg 194 BuildRequires: pkgconfig(glib-2.0) 195 BuildRequires: pkgconfig(libcap) 196 BuildRequires: pkgconfig(libseccomp) 197 %if 0%{?with_selinux} 198 BuildRequires: pkgconfig(libselinux) 199 %endif 200 BuildRequires: pkgconfig(libudev) 201 BuildRequires: pkgconfig(systemd) 202 BuildRequires: pkgconfig(udev) 203 BuildRequires: xfsprogs-devel 204 BuildRequires: glibc-static 205 %if ! 0%{?rhel} 206 BuildRequires: libseccomp-static 207 %endif 208 BuildRequires: valgrind 209 BuildRequires: %{_bindir}/rst2man 210 %if 0%{?fedora} 211 # ShellCheck in EPEL is too old... 212 BuildRequires: %{_bindir}/shellcheck 213 %endif 214 215 # Ensures older version from split packaging is replaced 216 Obsoletes: snap-confine < 2.19 217 218 %description -n snap-confine 219 This package is used internally by snapd to apply confinement to 220 the started snap applications. 221 222 %if 0%{?with_selinux} 223 %package selinux 224 Summary: SELinux module for snapd 225 License: GPLv2+ 226 BuildArch: noarch 227 BuildRequires: selinux-policy, selinux-policy-devel 228 Requires(post): selinux-policy-base >= %{_selinux_policy_version} 229 Requires(post): policycoreutils 230 %if 0%{?rhel} == 7 231 Requires(post): policycoreutils-python 232 %else 233 Requires(post): policycoreutils-python-utils 234 %endif 235 Requires(pre): libselinux-utils 236 Requires(post): libselinux-utils 237 238 %description selinux 239 This package provides the SELinux policy module to ensure snapd 240 runs properly under an environment with SELinux enabled. 241 %endif 242 243 %if 0%{?with_devel} 244 %package devel 245 Summary: Development files for %{name} 246 BuildArch: noarch 247 248 %if 0%{?with_check} && ! 0%{?with_bundled} 249 %endif 250 251 %if ! 0%{?with_bundled} 252 Requires: golang(github.com/boltdb/bolt) 253 Requires: golang(github.com/coreos/go-systemd/activation) 254 Requires: golang(github.com/godbus/dbus) 255 Requires: golang(github.com/godbus/dbus/introspect) 256 Requires: golang(github.com/gorilla/mux) 257 Requires: golang(github.com/jessevdk/go-flags) 258 Requires: golang(github.com/juju/ratelimit) 259 Requires: golang(github.com/kr/pretty) 260 Requires: golang(github.com/kr/text) 261 Requires: golang(github.com/mvo5/goconfigparser) 262 Requires: golang(github.com/seccomp/libseccomp-golang) 263 Requires: golang(github.com/snapcore/go-gettext) 264 Requires: golang(golang.org/x/crypto/openpgp/armor) 265 Requires: golang(golang.org/x/crypto/openpgp/packet) 266 Requires: golang(golang.org/x/crypto/sha3) 267 Requires: golang(golang.org/x/crypto/ssh/terminal) 268 Requires: golang(golang.org/x/xerrors) 269 Requires: golang(golang.org/x/xerrors/internal) 270 Requires: golang(gopkg.in/check.v1) 271 Requires: golang(gopkg.in/macaroon.v1) 272 Requires: golang(gopkg.in/mgo.v2/bson) 273 Requires: golang(gopkg.in/retry.v1) 274 Requires: golang(gopkg.in/tomb.v2) 275 Requires: golang(gopkg.in/yaml.v2) 276 %else 277 # These Provides are unversioned because the sources in 278 # the bundled tarball are unversioned (they go by git commit) 279 # *sigh*... I hate golang... 280 Provides: bundled(golang(github.com/snapcore/bolt)) 281 Provides: bundled(golang(github.com/coreos/go-systemd/activation)) 282 Provides: bundled(golang(github.com/godbus/dbus)) 283 Provides: bundled(golang(github.com/godbus/dbus/introspect)) 284 Provides: bundled(golang(github.com/gorilla/mux)) 285 Provides: bundled(golang(github.com/jessevdk/go-flags)) 286 Provides: bundled(golang(github.com/juju/ratelimit)) 287 Provides: bundled(golang(github.com/kr/pretty)) 288 Provides: bundled(golang(github.com/kr/text)) 289 Provides: bundled(golang(github.com/mvo5/goconfigparser)) 290 Provides: bundled(golang(github.com/mvo5/libseccomp-golang)) 291 Provides: bundled(golang(github.com/snapcore/go-gettext)) 292 Provides: bundled(golang(golang.org/x/crypto/openpgp/armor)) 293 Provides: bundled(golang(golang.org/x/crypto/openpgp/packet)) 294 Provides: bundled(golang(golang.org/x/crypto/sha3)) 295 Provides: bundled(golang(golang.org/x/crypto/ssh/terminal)) 296 Provides: bundled(golang(golang.org/x/xerrors)) 297 Provides: bundled(golang(golang.org/x/xerrors/internal)) 298 Provides: bundled(golang(gopkg.in/check.v1)) 299 Provides: bundled(golang(gopkg.in/macaroon.v1)) 300 Provides: bundled(golang(gopkg.in/mgo.v2/bson)) 301 Provides: bundled(golang(gopkg.in/retry.v1)) 302 Provides: bundled(golang(gopkg.in/tomb.v2)) 303 Provides: bundled(golang(gopkg.in/yaml.v2)) 304 %endif 305 306 # Generated by gofed 307 Provides: golang(%{import_path}/advisor) = %{version}-%{release} 308 Provides: golang(%{import_path}/arch) = %{version}-%{release} 309 Provides: golang(%{import_path}/asserts) = %{version}-%{release} 310 Provides: golang(%{import_path}/asserts/assertstest) = %{version}-%{release} 311 Provides: golang(%{import_path}/asserts/internal) = %{version}-%{release} 312 Provides: golang(%{import_path}/asserts/signtool) = %{version}-%{release} 313 Provides: golang(%{import_path}/asserts/snapasserts) = %{version}-%{release} 314 Provides: golang(%{import_path}/asserts/sysdb) = %{version}-%{release} 315 Provides: golang(%{import_path}/asserts/systestkeys) = %{version}-%{release} 316 Provides: golang(%{import_path}/boot) = %{version}-%{release} 317 Provides: golang(%{import_path}/boot/boottest) = %{version}-%{release} 318 Provides: golang(%{import_path}/bootloader) = %{version}-%{release} 319 Provides: golang(%{import_path}/bootloader/androidbootenv) = %{version}-%{release} 320 Provides: golang(%{import_path}/bootloader/assets) = %{version}-%{release} 321 Provides: golang(%{import_path}/bootloader/assets/genasset) = %{version}-%{release} 322 Provides: golang(%{import_path}/bootloader/bootloadertest) = %{version}-%{release} 323 Provides: golang(%{import_path}/bootloader/efi) = %{version}-%{release} 324 Provides: golang(%{import_path}/bootloader/grubenv) = %{version}-%{release} 325 Provides: golang(%{import_path}/bootloader/lkenv) = %{version}-%{release} 326 Provides: golang(%{import_path}/bootloader/ubootenv) = %{version}-%{release} 327 Provides: golang(%{import_path}/client) = %{version}-%{release} 328 Provides: golang(%{import_path}/client/clientutil) = %{version}-%{release} 329 Provides: golang(%{import_path}/cmd/snap) = %{version}-%{release} 330 Provides: golang(%{import_path}/cmd/snap-bootstrap) = %{version}-%{release} 331 Provides: golang(%{import_path}/cmd/snap-bootstrap/triggerwatch) = %{version}-%{release} 332 Provides: golang(%{import_path}/cmd/snap-exec) = %{version}-%{release} 333 Provides: golang(%{import_path}/cmd/snap-failure) = %{version}-%{release} 334 Provides: golang(%{import_path}/cmd/snap-preseed) = %{version}-%{release} 335 Provides: golang(%{import_path}/cmd/snap-recovery-chooser) = %{version}-%{release} 336 Provides: golang(%{import_path}/cmd/snap-repair) = %{version}-%{release} 337 Provides: golang(%{import_path}/cmd/snap-seccomp) = %{version}-%{release} 338 Provides: golang(%{import_path}/cmd/snap-seccomp/syscalls) = %{version}-%{release} 339 Provides: golang(%{import_path}/cmd/snap-update-ns) = %{version}-%{release} 340 Provides: golang(%{import_path}/cmd/snapctl) = %{version}-%{release} 341 Provides: golang(%{import_path}/cmd/snapd) = %{version}-%{release} 342 Provides: golang(%{import_path}/cmd/snaplock) = %{version}-%{release} 343 Provides: golang(%{import_path}/cmd/snaplock/runinhibit) = %{version}-%{release} 344 Provides: golang(%{import_path}/daemon) = %{version}-%{release} 345 Provides: golang(%{import_path}/dbusutil) = %{version}-%{release} 346 Provides: golang(%{import_path}/dbusutil/dbustest) = %{version}-%{release} 347 Provides: golang(%{import_path}/desktop/notification) = %{version}-%{release} 348 Provides: golang(%{import_path}/desktop/notification/notificationtest) = %{version}-%{release} 349 Provides: golang(%{import_path}/dirs) = %{version}-%{release} 350 Provides: golang(%{import_path}/docs) = %{version}-%{release} 351 Provides: golang(%{import_path}/errtracker) = %{version}-%{release} 352 Provides: golang(%{import_path}/features) = %{version}-%{release} 353 Provides: golang(%{import_path}/gadget) = %{version}-%{release} 354 Provides: golang(%{import_path}/gadget/edition) = %{version}-%{release} 355 Provides: golang(%{import_path}/gadget/install) = %{version}-%{release} 356 Provides: golang(%{import_path}/gadget/internal) = %{version}-%{release} 357 Provides: golang(%{import_path}/gadget/quantity) = %{version}-%{release} 358 Provides: golang(%{import_path}/httputil) = %{version}-%{release} 359 Provides: golang(%{import_path}/i18n) = %{version}-%{release} 360 Provides: golang(%{import_path}/i18n/xgettext-go) = %{version}-%{release} 361 Provides: golang(%{import_path}/image) = %{version}-%{release} 362 Provides: golang(%{import_path}/interfaces) = %{version}-%{release} 363 Provides: golang(%{import_path}/interfaces/apparmor) = %{version}-%{release} 364 Provides: golang(%{import_path}/interfaces/backends) = %{version}-%{release} 365 Provides: golang(%{import_path}/interfaces/builtin) = %{version}-%{release} 366 Provides: golang(%{import_path}/interfaces/dbus) = %{version}-%{release} 367 Provides: golang(%{import_path}/interfaces/hotplug) = %{version}-%{release} 368 Provides: golang(%{import_path}/interfaces/ifacetest) = %{version}-%{release} 369 Provides: golang(%{import_path}/interfaces/kmod) = %{version}-%{release} 370 Provides: golang(%{import_path}/interfaces/mount) = %{version}-%{release} 371 Provides: golang(%{import_path}/interfaces/policy) = %{version}-%{release} 372 Provides: golang(%{import_path}/interfaces/seccomp) = %{version}-%{release} 373 Provides: golang(%{import_path}/interfaces/systemd) = %{version}-%{release} 374 Provides: golang(%{import_path}/interfaces/udev) = %{version}-%{release} 375 Provides: golang(%{import_path}/interfaces/utils) = %{version}-%{release} 376 Provides: golang(%{import_path}/jsonutil) = %{version}-%{release} 377 Provides: golang(%{import_path}/jsonutil/safejson) = %{version}-%{release} 378 Provides: golang(%{import_path}/kernel) = %{version}-%{release} 379 Provides: golang(%{import_path}/logger) = %{version}-%{release} 380 Provides: golang(%{import_path}/metautil) = %{version}-%{release} 381 Provides: golang(%{import_path}/netutil) = %{version}-%{release} 382 Provides: golang(%{import_path}/osutil) = %{version}-%{release} 383 Provides: golang(%{import_path}/osutil/disks) = %{version}-%{release} 384 Provides: golang(%{import_path}/osutil/mount) = %{version}-%{release} 385 Provides: golang(%{import_path}/osutil/squashfs) = %{version}-%{release} 386 Provides: golang(%{import_path}/osutil/strace) = %{version}-%{release} 387 Provides: golang(%{import_path}/osutil/sys) = %{version}-%{release} 388 Provides: golang(%{import_path}/osutil/udev/crawler) = %{version}-%{release} 389 Provides: golang(%{import_path}/osutil/udev/netlink) = %{version}-%{release} 390 Provides: golang(%{import_path}/overlord) = %{version}-%{release} 391 Provides: golang(%{import_path}/overlord/assertstate) = %{version}-%{release} 392 Provides: golang(%{import_path}/overlord/assertstate/assertstatetest) = %{version}-%{release} 393 Provides: golang(%{import_path}/overlord/auth) = %{version}-%{release} 394 Provides: golang(%{import_path}/overlord/cmdstate) = %{version}-%{release} 395 Provides: golang(%{import_path}/overlord/configstate) = %{version}-%{release} 396 Provides: golang(%{import_path}/overlord/configstate/config) = %{version}-%{release} 397 Provides: golang(%{import_path}/overlord/configstate/configcore) = %{version}-%{release} 398 Provides: golang(%{import_path}/overlord/configstate/proxyconf) = %{version}-%{release} 399 Provides: golang(%{import_path}/overlord/configstate/settings) = %{version}-%{release} 400 Provides: golang(%{import_path}/overlord/devicestate) = %{version}-%{release} 401 Provides: golang(%{import_path}/overlord/devicestate/devicestatetest) = %{version}-%{release} 402 Provides: golang(%{import_path}/overlord/devicestate/fde) = %{version}-%{release} 403 Provides: golang(%{import_path}/overlord/devicestate/internal) = %{version}-%{release} 404 Provides: golang(%{import_path}/overlord/healthstate) = %{version}-%{release} 405 Provides: golang(%{import_path}/overlord/hookstate) = %{version}-%{release} 406 Provides: golang(%{import_path}/overlord/hookstate/ctlcmd) = %{version}-%{release} 407 Provides: golang(%{import_path}/overlord/hookstate/hooktest) = %{version}-%{release} 408 Provides: golang(%{import_path}/overlord/ifacestate) = %{version}-%{release} 409 Provides: golang(%{import_path}/overlord/ifacestate/ifacerepo) = %{version}-%{release} 410 Provides: golang(%{import_path}/overlord/ifacestate/udevmonitor) = %{version}-%{release} 411 Provides: golang(%{import_path}/overlord/patch) = %{version}-%{release} 412 Provides: golang(%{import_path}/overlord/servicestate) = %{version}-%{release} 413 Provides: golang(%{import_path}/overlord/snapshotstate) = %{version}-%{release} 414 Provides: golang(%{import_path}/overlord/snapshotstate/backend) = %{version}-%{release} 415 Provides: golang(%{import_path}/overlord/snapstate) = %{version}-%{release} 416 Provides: golang(%{import_path}/overlord/snapstate/backend) = %{version}-%{release} 417 Provides: golang(%{import_path}/overlord/snapstate/policy) = %{version}-%{release} 418 Provides: golang(%{import_path}/overlord/snapstate/snapstatetest) = %{version}-%{release} 419 Provides: golang(%{import_path}/overlord/standby) = %{version}-%{release} 420 Provides: golang(%{import_path}/overlord/state) = %{version}-%{release} 421 Provides: golang(%{import_path}/overlord/storecontext) = %{version}-%{release} 422 Provides: golang(%{import_path}/polkit) = %{version}-%{release} 423 Provides: golang(%{import_path}/progress) = %{version}-%{release} 424 Provides: golang(%{import_path}/progress/progresstest) = %{version}-%{release} 425 Provides: golang(%{import_path}/randutil) = %{version}-%{release} 426 Provides: golang(%{import_path}/release) = %{version}-%{release} 427 Provides: golang(%{import_path}/sandbox) = %{version}-%{release} 428 Provides: golang(%{import_path}/sandbox/apparmor) = %{version}-%{release} 429 Provides: golang(%{import_path}/sandbox/cgroup) = %{version}-%{release} 430 Provides: golang(%{import_path}/sandbox/seccomp) = %{version}-%{release} 431 Provides: golang(%{import_path}/sandbox/selinux) = %{version}-%{release} 432 Provides: golang(%{import_path}/sanity) = %{version}-%{release} 433 Provides: golang(%{import_path}/secboot) = %{version}-%{release} 434 Provides: golang(%{import_path}/seed) = %{version}-%{release} 435 Provides: golang(%{import_path}/seed/internal) = %{version}-%{release} 436 Provides: golang(%{import_path}/seed/seedtest) = %{version}-%{release} 437 Provides: golang(%{import_path}/seed/seedwriter) = %{version}-%{release} 438 Provides: golang(%{import_path}/snap) = %{version}-%{release} 439 Provides: golang(%{import_path}/snap/channel) = %{version}-%{release} 440 Provides: golang(%{import_path}/snap/internal) = %{version}-%{release} 441 Provides: golang(%{import_path}/snap/naming) = %{version}-%{release} 442 Provides: golang(%{import_path}/snap/pack) = %{version}-%{release} 443 Provides: golang(%{import_path}/snap/snapdir) = %{version}-%{release} 444 Provides: golang(%{import_path}/snap/snapenv) = %{version}-%{release} 445 Provides: golang(%{import_path}/snap/snapfile) = %{version}-%{release} 446 Provides: golang(%{import_path}/snap/snaptest) = %{version}-%{release} 447 Provides: golang(%{import_path}/snap/squashfs) = %{version}-%{release} 448 Provides: golang(%{import_path}/snapdenv) = %{version}-%{release} 449 Provides: golang(%{import_path}/snapdtool) = %{version}-%{release} 450 Provides: golang(%{import_path}/spdx) = %{version}-%{release} 451 Provides: golang(%{import_path}/store) = %{version}-%{release} 452 Provides: golang(%{import_path}/store/storetest) = %{version}-%{release} 453 Provides: golang(%{import_path}/strutil) = %{version}-%{release} 454 Provides: golang(%{import_path}/strutil/chrorder) = %{version}-%{release} 455 Provides: golang(%{import_path}/strutil/quantity) = %{version}-%{release} 456 Provides: golang(%{import_path}/strutil/shlex) = %{version}-%{release} 457 Provides: golang(%{import_path}/sysconfig) = %{version}-%{release} 458 Provides: golang(%{import_path}/systemd) = %{version}-%{release} 459 Provides: golang(%{import_path}/testutil) = %{version}-%{release} 460 Provides: golang(%{import_path}/timeout) = %{version}-%{release} 461 Provides: golang(%{import_path}/timeutil) = %{version}-%{release} 462 Provides: golang(%{import_path}/timings) = %{version}-%{release} 463 Provides: golang(%{import_path}/usersession/agent) = %{version}-%{release} 464 Provides: golang(%{import_path}/usersession/autostart) = %{version}-%{release} 465 Provides: golang(%{import_path}/usersession/client) = %{version}-%{release} 466 Provides: golang(%{import_path}/usersession/userd) = %{version}-%{release} 467 Provides: golang(%{import_path}/usersession/userd/ui) = %{version}-%{release} 468 Provides: golang(%{import_path}/usersession/xdgopenproxy) = %{version}-%{release} 469 Provides: golang(%{import_path}/wrappers) = %{version}-%{release} 470 Provides: golang(%{import_path}/x11) = %{version}-%{release} 471 472 %description devel 473 This package contains library source intended for 474 building other packages which use import path with 475 %{import_path} prefix. 476 %endif 477 478 %if 0%{?with_unit_test} && 0%{?with_devel} 479 %package unit-test-devel 480 Summary: Unit tests for %{name} package 481 482 %if 0%{?with_check} 483 #Here comes all BuildRequires: PACKAGE the unit tests 484 #in %%check section need for running 485 %endif 486 487 # test subpackage tests code from devel subpackage 488 Requires: %{name}-devel = %{version}-%{release} 489 490 %description unit-test-devel 491 This package contains unit tests for project 492 providing packages with %{import_path} prefix. 493 %endif 494 495 %prep 496 %if ! 0%{?with_bundled} 497 %setup -q 498 # Ensure there's no bundled stuff accidentally leaking in... 499 rm -rf vendor/* 500 %else 501 # Extract each tarball properly 502 %setup -q -D -b 1 503 %endif 504 # Apply patches 505 %autopatch -p1 506 507 508 %build 509 # Generate version files 510 ./mkversion.sh "%{version}-%{release}" 511 512 # Build snapd 513 mkdir -p src/github.com/snapcore 514 ln -s ../../../ src/github.com/snapcore/snapd 515 516 %if ! 0%{?with_bundled} 517 export GOPATH=$(pwd):%{gopath} 518 %else 519 export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath} 520 %endif 521 export GO111MODULE=off 522 523 # see https://github.com/gofed/go-macros/blob/master/rpm/macros.d/macros.go-compilers-golang 524 BUILDTAGS= 525 %if 0%{?with_test_keys} 526 BUILDTAGS="withtestkeys nosecboot" 527 %else 528 BUILDTAGS="nosecboot" 529 %endif 530 531 %if ! 0%{?with_bundled} 532 # We don't need mvo5 fork for seccomp, as we have seccomp 2.3.x 533 sed -e "s:github.com/mvo5/libseccomp-golang:github.com/seccomp/libseccomp-golang:g" -i cmd/snap-seccomp/*.go 534 # We don't need the snapcore fork for bolt - it is just a fix on ppc 535 sed -e "s:github.com/snapcore/bolt:github.com/boltdb/bolt:g" -i advisor/*.go errtracker/*.go 536 %endif 537 538 # We have to build snapd first to prevent the build from 539 # building various things from the tree without additional 540 # set tags. 541 %gobuild -o bin/snapd $GOFLAGS %{import_path}/cmd/snapd 542 BUILDTAGS="${BUILDTAGS} nomanagers" 543 %gobuild -o bin/snap $GOFLAGS %{import_path}/cmd/snap 544 %gobuild -o bin/snap-failure $GOFLAGS %{import_path}/cmd/snap-failure 545 546 # To ensure things work correctly with base snaps, 547 # snap-exec, snap-update-ns, and snapctl need to be built statically 548 ( 549 %if 0%{?rhel} >= 8 550 # since 1.12.1, the go-toolset module is built with FIPS compliance that 551 # defaults to using libcrypto.so which gets loaded at runtime via dlopen(), 552 # disable that functionality for statically built binaries 553 BUILDTAGS="${BUILDTAGS} no_openssl" 554 %endif 555 %gobuild_static -o bin/snap-exec $GOFLAGS %{import_path}/cmd/snap-exec 556 %gobuild_static -o bin/snap-update-ns $GOFLAGS %{import_path}/cmd/snap-update-ns 557 %gobuild_static -o bin/snapctl $GOFLAGS %{import_path}/cmd/snapctl 558 ) 559 560 %if 0%{?rhel} 561 # There's no static link library for libseccomp in RHEL/CentOS... 562 sed -e "s/-Bstatic -lseccomp/-Bstatic/g" -i cmd/snap-seccomp/*.go 563 %endif 564 %gobuild -o bin/snap-seccomp $GOFLAGS %{import_path}/cmd/snap-seccomp 565 566 %if 0%{?with_selinux} 567 ( 568 %if 0%{?rhel} == 7 569 M4PARAM='-D distro_rhel7' 570 %endif 571 # Build SELinux module 572 cd ./data/selinux 573 # pass M4PARAM in env instead of as an override, so that make can still 574 # manipulate it freely, for more details see: 575 # https://www.gnu.org/software/make/manual/html_node/Override-Directive.html 576 M4PARAM="$M4PARAM" make SHARE="%{_datadir}" TARGETS="snappy" 577 ) 578 %endif 579 580 # Build snap-confine 581 pushd ./cmd 582 autoreconf --force --install --verbose 583 # FIXME: add --enable-caps-over-setuid as soon as possible (setuid discouraged!) 584 %configure \ 585 --disable-apparmor \ 586 %if 0%{?with_selinux} 587 --enable-selinux \ 588 %endif 589 --libexecdir=%{_libexecdir}/snapd/ \ 590 --enable-nvidia-biarch \ 591 %{?with_multilib:--with-32bit-libdir=%{_prefix}/lib} \ 592 --with-snap-mount-dir=%{_sharedstatedir}/snapd/snap \ 593 --enable-merged-usr 594 595 %make_build 596 popd 597 598 # Build systemd units, dbus services, and env files 599 pushd ./data 600 make BINDIR="%{_bindir}" LIBEXECDIR="%{_libexecdir}" \ 601 SYSTEMDSYSTEMUNITDIR="%{_unitdir}" \ 602 SNAP_MOUNT_DIR="%{_sharedstatedir}/snapd/snap" \ 603 SNAPD_ENVIRONMENT_FILE="%{_sysconfdir}/sysconfig/snapd" 604 popd 605 606 %install 607 install -d -p %{buildroot}%{_bindir} 608 install -d -p %{buildroot}%{_libexecdir}/snapd 609 install -d -p %{buildroot}%{_mandir}/man8 610 install -d -p %{buildroot}%{_environmentdir} 611 install -d -p %{buildroot}%{_systemdgeneratordir} 612 install -d -p %{buildroot}%{_systemd_system_env_generator_dir} 613 install -d -p %{buildroot}%{_unitdir} 614 install -d -p %{buildroot}%{_userunitdir} 615 install -d -p %{buildroot}%{_sysconfdir}/profile.d 616 install -d -p %{buildroot}%{_sysconfdir}/sysconfig 617 install -d -p %{buildroot}%{_sharedstatedir}/snapd/assertions 618 install -d -p %{buildroot}%{_sharedstatedir}/snapd/cookie 619 install -d -p %{buildroot}%{_sharedstatedir}/snapd/dbus-1/services 620 install -d -p %{buildroot}%{_sharedstatedir}/snapd/dbus-1/system-services 621 install -d -p %{buildroot}%{_sharedstatedir}/snapd/desktop/applications 622 install -d -p %{buildroot}%{_sharedstatedir}/snapd/device 623 install -d -p %{buildroot}%{_sharedstatedir}/snapd/hostfs 624 install -d -p %{buildroot}%{_sharedstatedir}/snapd/inhibit 625 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/gl 626 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/gl32 627 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/glvnd 628 install -d -p %{buildroot}%{_sharedstatedir}/snapd/lib/vulkan 629 install -d -p %{buildroot}%{_sharedstatedir}/snapd/mount 630 install -d -p %{buildroot}%{_sharedstatedir}/snapd/seccomp/bpf 631 install -d -p %{buildroot}%{_sharedstatedir}/snapd/snaps 632 install -d -p %{buildroot}%{_sharedstatedir}/snapd/snap/bin 633 install -d -p %{buildroot}%{_localstatedir}/snap 634 install -d -p %{buildroot}%{_localstatedir}/cache/snapd 635 install -d -p %{buildroot}%{_datadir}/polkit-1/actions 636 %if 0%{?with_selinux} 637 install -d -p %{buildroot}%{_datadir}/selinux/devel/include/contrib 638 install -d -p %{buildroot}%{_datadir}/selinux/packages 639 %endif 640 641 # Install snap and snapd 642 install -p -m 0755 bin/snap %{buildroot}%{_bindir} 643 install -p -m 0755 bin/snap-exec %{buildroot}%{_libexecdir}/snapd 644 install -p -m 0755 bin/snap-failure %{buildroot}%{_libexecdir}/snapd 645 install -p -m 0755 bin/snapd %{buildroot}%{_libexecdir}/snapd 646 install -p -m 0755 bin/snap-update-ns %{buildroot}%{_libexecdir}/snapd 647 install -p -m 0755 bin/snap-seccomp %{buildroot}%{_libexecdir}/snapd 648 # Ensure /usr/bin/snapctl is a symlink to /usr/libexec/snapd/snapctl 649 install -p -m 0755 bin/snapctl %{buildroot}%{_libexecdir}/snapd/snapctl 650 ln -sf %{_libexecdir}/snapd/snapctl %{buildroot}%{_bindir}/snapctl 651 652 %if 0%{?with_selinux} 653 # Install SELinux module 654 install -p -m 0644 data/selinux/snappy.if %{buildroot}%{_datadir}/selinux/devel/include/contrib 655 install -p -m 0644 data/selinux/snappy.pp.bz2 %{buildroot}%{_datadir}/selinux/packages 656 %endif 657 658 # Install snap(8) man page 659 bin/snap help --man > %{buildroot}%{_mandir}/man8/snap.8 660 661 # Install the "info" data file with snapd version 662 install -m 644 -D data/info %{buildroot}%{_libexecdir}/snapd/info 663 664 # Install bash completion for "snap" 665 install -m 644 -D data/completion/bash/snap %{buildroot}%{_datadir}/bash-completion/completions/snap 666 install -m 644 -D data/completion/bash/complete.sh %{buildroot}%{_libexecdir}/snapd 667 install -m 644 -D data/completion/bash/etelpmoc.sh %{buildroot}%{_libexecdir}/snapd 668 # Install zsh completion for "snap" 669 install -d -p %{buildroot}%{_datadir}/zsh/site-functions 670 install -m 644 -D data/completion/zsh/_snap %{buildroot}%{_datadir}/zsh/site-functions/_snap 671 672 # Install snap-confine 673 pushd ./cmd 674 %make_install 675 # Undo the 0111 permissions, they are restored in the files section 676 chmod 0755 %{buildroot}%{_sharedstatedir}/snapd/void 677 # We don't use AppArmor 678 rm -rfv %{buildroot}%{_sysconfdir}/apparmor.d 679 # ubuntu-core-launcher is dead 680 rm -fv %{buildroot}%{_bindir}/ubuntu-core-launcher 681 popd 682 683 # Install all systemd and dbus units, and env files 684 pushd ./data 685 %make_install BINDIR="%{_bindir}" LIBEXECDIR="%{_libexecdir}" \ 686 SYSTEMDSYSTEMUNITDIR="%{_unitdir}" SYSTEMDUSERUNITDIR="%{_userunitdir}" \ 687 SNAP_MOUNT_DIR="%{_sharedstatedir}/snapd/snap" \ 688 SNAPD_ENVIRONMENT_FILE="%{_sysconfdir}/sysconfig/snapd" 689 popd 690 691 %if 0%{?rhel} == 7 692 # Install kernel tweaks 693 # See: https://access.redhat.com/articles/3128691 694 install -m 644 -D data/sysctl/rhel7-snap.conf %{buildroot}%{_sysctldir}/99-snap.conf 695 %endif 696 697 # Remove snappy core specific units 698 rm -fv %{buildroot}%{_unitdir}/snapd.system-shutdown.service 699 rm -fv %{buildroot}%{_unitdir}/snapd.snap-repair.* 700 rm -fv %{buildroot}%{_unitdir}/snapd.core-fixup.* 701 rm -fv %{buildroot}%{_unitdir}/snapd.recovery-chooser-trigger.service 702 703 # Remove snappy core specific scripts and binaries 704 rm %{buildroot}%{_libexecdir}/snapd/snapd.core-fixup.sh 705 rm %{buildroot}%{_libexecdir}/snapd/system-shutdown 706 707 # Remove snapd apparmor service 708 rm -f %{buildroot}%{_unitdir}/snapd.apparmor.service 709 rm -f %{buildroot}%{_libexecdir}/snapd/snapd-apparmor 710 711 # Install Polkit configuration 712 install -m 644 -D data/polkit/io.snapcraft.snapd.policy %{buildroot}%{_datadir}/polkit-1/actions 713 714 # Disable re-exec by default 715 echo 'SNAP_REEXEC=0' > %{buildroot}%{_sysconfdir}/sysconfig/snapd 716 717 # Create state.json and the README file to be ghosted 718 touch %{buildroot}%{_sharedstatedir}/snapd/state.json 719 touch %{buildroot}%{_sharedstatedir}/snapd/snap/README 720 721 # When enabled, create a symlink for /snap to point to /var/lib/snapd/snap 722 %if %{with snap_symlink} 723 ln -sr %{buildroot}%{_sharedstatedir}/snapd/snap %{buildroot}/snap 724 %endif 725 726 # source codes for building projects 727 %if 0%{?with_devel} 728 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ 729 echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list 730 # find all *.go but no *_test.go files and generate devel.file-list 731 for file in $(find . -iname "*.go" -o -iname "*.s" \! -iname "*_test.go") ; do 732 echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list 733 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) 734 cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file 735 echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list 736 done 737 %endif 738 739 # testing files for this project 740 %if 0%{?with_unit_test} && 0%{?with_devel} 741 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ 742 # find all *_test.go files and generate unit-test.file-list 743 for file in $(find . -iname "*_test.go"); do 744 echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list 745 install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) 746 cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file 747 echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list 748 done 749 750 # Install additional testdata 751 install -d %{buildroot}/%{gopath}/src/%{import_path}/cmd/snap/test-data/ 752 cp -pav cmd/snap/test-data/* %{buildroot}/%{gopath}/src/%{import_path}/cmd/snap/test-data/ 753 echo "%%{gopath}/src/%%{import_path}/cmd/snap/test-data" >> unit-test-devel.file-list 754 %endif 755 756 %if 0%{?with_devel} 757 sort -u -o devel.file-list devel.file-list 758 %endif 759 760 %check 761 for binary in snap-exec snap-update-ns snapctl; do 762 ldd bin/$binary 2>&1 | grep 'not a dynamic executable' 763 done 764 765 # snapd tests 766 %if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} 767 %if ! 0%{?with_bundled} 768 export GOPATH=%{buildroot}/%{gopath}:%{gopath} 769 %else 770 export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} 771 %endif 772 export GO111MODULE=off 773 %gotest %{import_path}/... 774 %endif 775 776 # snap-confine tests (these always run!) 777 pushd ./cmd 778 make check 779 popd 780 781 %files 782 #define license tag if not already defined 783 %{!?_licensedir:%global license %doc} 784 %license COPYING 785 %doc README.md docs/* 786 %{_bindir}/snap 787 %{_bindir}/snapctl 788 %{_environmentdir}/990-snapd.conf 789 %if 0%{?rhel} == 7 790 %{_sysctldir}/99-snap.conf 791 %endif 792 %dir %{_libexecdir}/snapd 793 %{_libexecdir}/snapd/snapctl 794 %{_libexecdir}/snapd/snapd 795 %{_libexecdir}/snapd/snap-exec 796 %{_libexecdir}/snapd/snap-failure 797 %{_libexecdir}/snapd/info 798 %{_libexecdir}/snapd/snap-mgmt 799 %if 0%{?with_selinux} 800 %{_libexecdir}/snapd/snap-mgmt-selinux 801 %endif 802 %{_mandir}/man8/snap.8* 803 %{_datadir}/applications/snap-handle-link.desktop 804 %{_datadir}/bash-completion/completions/snap 805 %{_libexecdir}/snapd/complete.sh 806 %{_libexecdir}/snapd/etelpmoc.sh 807 %{_datadir}/zsh/site-functions/_snap 808 %{_libexecdir}/snapd/snapd.run-from-snap 809 %{_sysconfdir}/profile.d/snapd.sh 810 %{_mandir}/man8/snapd-env-generator.8* 811 %{_systemd_system_env_generator_dir}/snapd-env-generator 812 %{_unitdir}/snapd.socket 813 %{_unitdir}/snapd.service 814 %{_unitdir}/snapd.autoimport.service 815 %{_unitdir}/snapd.failure.service 816 %{_unitdir}/snapd.seeded.service 817 %{_userunitdir}/snapd.session-agent.service 818 %{_userunitdir}/snapd.session-agent.socket 819 %{_datadir}/dbus-1/services/io.snapcraft.Launcher.service 820 %{_datadir}/dbus-1/services/io.snapcraft.SessionAgent.service 821 %{_datadir}/dbus-1/services/io.snapcraft.Settings.service 822 %{_datadir}/dbus-1/session.d/snapd.session-services.conf 823 %{_datadir}/dbus-1/system.d/snapd.system-services.conf 824 %{_datadir}/polkit-1/actions/io.snapcraft.snapd.policy 825 %{_datadir}/applications/io.snapcraft.SessionAgent.desktop 826 %{_sysconfdir}/xdg/autostart/snap-userd-autostart.desktop 827 %config(noreplace) %{_sysconfdir}/sysconfig/snapd 828 %dir %{_sharedstatedir}/snapd 829 %dir %{_sharedstatedir}/snapd/assertions 830 %dir %{_sharedstatedir}/snapd/cookie 831 %dir %{_sharedstatedir}/snapd/dbus-1 832 %dir %{_sharedstatedir}/snapd/dbus-1/services 833 %dir %{_sharedstatedir}/snapd/dbus-1/system-services 834 %dir %{_sharedstatedir}/snapd/desktop 835 %dir %{_sharedstatedir}/snapd/desktop/applications 836 %dir %{_sharedstatedir}/snapd/device 837 %dir %{_sharedstatedir}/snapd/hostfs 838 %dir %{_sharedstatedir}/snapd/inhibit 839 %dir %{_sharedstatedir}/snapd/lib 840 %dir %{_sharedstatedir}/snapd/lib/gl 841 %dir %{_sharedstatedir}/snapd/lib/gl32 842 %dir %{_sharedstatedir}/snapd/lib/glvnd 843 %dir %{_sharedstatedir}/snapd/lib/vulkan 844 %dir %{_sharedstatedir}/snapd/mount 845 %dir %{_sharedstatedir}/snapd/seccomp 846 %dir %{_sharedstatedir}/snapd/seccomp/bpf 847 %dir %{_sharedstatedir}/snapd/snaps 848 %dir %{_sharedstatedir}/snapd/snap 849 %ghost %dir %{_sharedstatedir}/snapd/snap/bin 850 %dir %{_localstatedir}/cache/snapd 851 %dir %{_localstatedir}/snap 852 %ghost %{_sharedstatedir}/snapd/state.json 853 %ghost %{_sharedstatedir}/snapd/snap/README 854 %if %{with snap_symlink} 855 /snap 856 %endif 857 # this is typically owned by zsh, but we do not want to explicitly require zsh 858 %dir %{_datadir}/zsh 859 %dir %{_datadir}/zsh/site-functions 860 861 %files -n snap-confine 862 %doc cmd/snap-confine/PORTING 863 %license COPYING 864 %dir %{_libexecdir}/snapd 865 # For now, we can't use caps 866 # FIXME: Switch to "%%attr(0755,root,root) %%caps(cap_sys_admin=pe)" asap! 867 %attr(4755,root,root) %{_libexecdir}/snapd/snap-confine 868 %{_libexecdir}/snapd/snap-device-helper 869 %{_libexecdir}/snapd/snap-discard-ns 870 %{_libexecdir}/snapd/snap-gdb-shim 871 %{_libexecdir}/snapd/snap-gdbserver-shim 872 %{_libexecdir}/snapd/snap-seccomp 873 %{_libexecdir}/snapd/snap-update-ns 874 %{_mandir}/man8/snap-confine.8* 875 %{_mandir}/man8/snap-discard-ns.8* 876 %{_systemdgeneratordir}/snapd-generator 877 %attr(0111,root,root) %{_sharedstatedir}/snapd/void 878 879 %if 0%{?with_selinux} 880 %files selinux 881 %license data/selinux/COPYING 882 %doc data/selinux/README.md 883 %{_datadir}/selinux/packages/snappy.pp.bz2 884 %{_datadir}/selinux/devel/include/contrib/snappy.if 885 %endif 886 887 %if 0%{?with_devel} 888 %files devel -f devel.file-list 889 %license COPYING 890 %doc README.md 891 %dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} 892 %endif 893 894 %if 0%{?with_unit_test} && 0%{?with_devel} 895 %files unit-test-devel -f unit-test-devel.file-list 896 %license COPYING 897 %doc README.md 898 %endif 899 900 %post 901 %if 0%{?rhel} == 7 902 %sysctl_apply 99-snap.conf 903 %endif 904 %systemd_post %{snappy_svcs} 905 %systemd_user_post %{snappy_user_svcs} 906 # If install, test if snapd socket and timer are enabled. 907 # If enabled, then attempt to start them. This will silently fail 908 # in chroots or other environments where services aren't expected 909 # to be started. 910 if [ $1 -eq 1 ] ; then 911 if systemctl -q is-enabled snapd.socket > /dev/null 2>&1 ; then 912 systemctl start snapd.socket > /dev/null 2>&1 || : 913 fi 914 fi 915 916 %preun 917 %systemd_preun %{snappy_svcs} 918 %systemd_user_preun %{snappy_user_svcs} 919 920 # Remove all Snappy content if snapd is being fully uninstalled 921 if [ $1 -eq 0 ]; then 922 %{_libexecdir}/snapd/snap-mgmt --purge || : 923 fi 924 925 %postun 926 %systemd_postun_with_restart %{snappy_svcs} 927 %systemd_user_postun_with_restart %{snappy_user_svcs} 928 929 %if 0%{?with_selinux} 930 %triggerun -- snapd < 2.39 931 # TODO: the trigger relies on a very specific snapd version that introduced SELinux 932 # mount context, figure out how to update the trigger condition to run when needed 933 934 # Trigger on uninstall, with one version of the package being pre 2.38 see 935 # https://rpm-packaging-guide.github.io/#triggers-and-scriptlets for details 936 # when triggers are run 937 if [ "$1" -eq 2 -a "$2" -eq 1 ]; then 938 # Upgrade from pre 2.38 version 939 %{_libexecdir}/snapd/snap-mgmt-selinux --patch-selinux-mount-context=system_u:object_r:snappy_snap_t:s0 || : 940 941 # snapd might have created fontconfig cache directory earlier, but with 942 # incorrect context due to bugs in the policy, make sure it gets the right one 943 # on upgrade when the new policy was introduced 944 if [ -d "%{_localstatedir}/cache/fontconfig" ]; then 945 restorecon -R %{_localstatedir}/cache/fontconfig || : 946 fi 947 elif [ "$1" -eq 1 -a "$2" -eq 2 ]; then 948 # Downgrade to a pre 2.38 version 949 %{_libexecdir}/snapd/snap-mgmt-selinux --remove-selinux-mount-context=system_u:object_r:snappy_snap_t:s0 || : 950 fi 951 952 %pre selinux 953 %selinux_relabel_pre 954 955 %post selinux 956 %selinux_modules_install %{_datadir}/selinux/packages/snappy.pp.bz2 957 %selinux_relabel_post 958 959 %posttrans selinux 960 %selinux_relabel_post 961 962 %postun selinux 963 %selinux_modules_uninstall snappy 964 if [ $1 -eq 0 ]; then 965 %selinux_relabel_post 966 fi 967 %endif 968 969 970 %changelog 971 * Thu Aug 19 2021 Ian Johnson <ian.johnson@canonical.com> 972 - New upstream release 2.51.6 973 - secboot: use half the mem for KDF in AddRecoveryKey 974 - secboot: switch main key KDF memory cost to 32KB 975 976 * Mon Aug 16 2021 Ian Johnson <ian.johnson@canonical.com> 977 - New upstream release 2.51.5 978 - snap/squashfs: handle squashfs-tools 4.5+ 979 - tests/core20-install-device-file-install-via-hook-hack: adjust 980 test for 2.51 981 - o/devicestate/handlers_install.go: add workaround to create dirs 982 for install 983 - tests: fix linter warning 984 - tests: update other spread tests for new behaviour 985 - tests: ack assertions by default, add --noack option 986 - release-tools/changelog.py: also fix opensuse changelog date 987 format 988 - release-tools/changelog.py: fix typo in function name 989 - release-tools/changelog.py: fix fedora date format 990 - release-tools/changelog.py: handle case where we don't have a TZ 991 - release-tools/changelog.py: fix line length check 992 - release-tools/changelog.py: specify the LP bug for the release as 993 an arg too 994 - interface/modem-manager: add support for MBIM/QMI proxy 995 clients 996 - .github/workflows/test.yaml: use snapcraft 4.x to build the snapd 997 snap 998 999 * Mon Aug 09 2021 Ian Johnson <ian.johnson@canonical.com> 1000 - New upstream release 2.51.4 1001 - {device,snap}state: skip kernel extraction in seeding 1002 - vendor: move to snapshot-4c814e1 branch and set fixed KDF options 1003 - tests/interfaces/tee: fix HasLen check for udev snippets 1004 - interfaces/tee: add support for Qualcomm qseecom device node 1005 - gadget: check for system-save with multi volumes if encrypting 1006 correctly 1007 - gadget: drive-by: drop unnecessary/supported passthrough in test 1008 gadget.yaml 1009 1010 * Wed Jul 14 2021 Ian Johnson <ian.johnson@canonical.com> 1011 - New upstream release 2.51.3 1012 - interfaces/builtin: add sd-control interface 1013 - store: set ResponseHeaderTimeout on the default transport 1014 1015 * Wed Jul 07 2021 Michael Vogt <michael.vogt@ubuntu.com> 1016 - New upstream release 2.51.2 1017 - snapstate: remove temporary snap file for local revisions early 1018 - interface: allows reading sd cards internal info from block- 1019 devices interface 1020 - o/ifacestate: do not visit same halt tasks in waitChainSearch to 1021 avoid slow convergence (or unlikely cycles) 1022 - corecfg: allow using `# snapd-edit: no` header to disable pi- 1023 config 1024 - configcore: ignore system.pi-config.* setting on measured kernels 1025 - many: pass device/model info to configcore via sysconfig.Device 1026 interface 1027 - o/configstate/configcore: support snap set system swap.size=... 1028 - store: make the log with download size a debug one 1029 - interfaces/opengl: add support for Imagination PowerVR 1030 1031 * Tue Jun 15 2021 Michael Vogt <michael.vogt@ubuntu.com> 1032 - New upstream release 2.51.1 1033 - interfaces: add netlink-driver interface 1034 - interfaces: builtin: add dm-crypt interface to support external 1035 storage encryption 1036 - interfaces/dsp: fix typo in udev rule 1037 - overlord/snapstate: lock the mutex before returning from stop 1038 snap services undo 1039 - interfaces: opengl: change path for Xilinx zocl driver 1040 - interfaces/dsp: add /dev/cavalry into dsp interface 1041 - packaging/fedora/snapd.spec: correct date format in changelog 1042 1043 * Thu May 27 2021 Ian Johnson <ian.johnson@canonical.com> 1044 - New upstream release 2.51 1045 - cmd/snap: stacktraces debug endpoint 1046 - secboot: deactivate volume again when model checker fails 1047 - store: extra log message, a few minor cleanups 1048 - packaging/debian-sid: update systemd patch 1049 - snapstate: adjust update-gadget-assets user visible message 1050 - tests/nested/core/core20-create-recovery: verify that recovery 1051 system can be created at runtime 1052 - gadget: support creating vfat partitions during bootstrap 1053 - daemon/api_quotas.go: support updating quotas with ensure action 1054 - daemon: tighten access to a couple of POST endpoints that should 1055 be really be root-only 1056 - seed/seedtest, overlord/devicestate: move seed validation helper 1057 to seedtest 1058 - overlord/hookstate/ctlcmd: remove unneeded parameter 1059 - snap/quota: add CurrentMemoryUsage for current memory usage of a 1060 quota group 1061 - systemd: add CurrentMemoryUsage to get current memory usage for a 1062 unit 1063 - o/snapstate: introduce minimalInstallInfo interface 1064 - o/hookstate: print pending info (ready, inhibited or none) 1065 - osutil: a helper to find out the total amount of memory in the 1066 system 1067 - overlord, overlord/devicestate: allow for reloading modeenv in 1068 devicemgr when testing 1069 - daemon: refine access testing 1070 - spread: disable unattended-upgrades on debian 1071 - tests/lib/reset: make nc exit after a while when connection is 1072 idle 1073 - daemon: replace access control flags on commands with access 1074 checkers 1075 - release-tools/changelog.py: refactor regexp + file reading/writing 1076 - packaging/debian-sid: update locale patch for the latest master 1077 - overlord/devicestate: tasks for creating recovery systems at 1078 runtime 1079 - release-tools/changelog.py: implement script to update all the 1080 changelog files 1081 - tests: change machine type used for nested testsPrices: 1082 - cmd/snap: include locale when linting description being lower case 1083 - o/servicestate: add RemoveSnapFromQuota 1084 - interfaces/serial-port: add Qualcomm serial port devices to 1085 allowed list 1086 - packaging: merge 2.50.1 changelog back 1087 - interfaces/builtin: introduce raw-input interface 1088 - tests: remove tests.cleanup prepare from nested test 1089 - cmd/snap-update-ns: fix linter errors 1090 - asserts: fix errors reported by linter 1091 - o/hookstate/ctlcmd: allow system-mode for non-root 1092 - overlord/devicestate: comment why explicit system mode check is 1093 needed in ensuring tried recovery systems (#10275) 1094 - overlord/devicesate: observe snap writes when creating recovery 1095 systems 1096 - packaging/ubuntu-16.04/changelog: add placeholder for 2.50.1 1097 - tests: moving to tests directories snaps built locally - part 1 1098 - seed/seedwriter: fail early when system seed directory exists 1099 - o/snapstate: autorefresh phase1 for refresh-control 1100 - c/snap: more precise message for ErrorKindSystemRestart op != 1101 reboot 1102 - tests: simplify the tests.cleanup tool 1103 - boot: helpers for manipulating current and good recovery systems 1104 list 1105 - o/hookstate, o/snapstate: print revision, version, channel with 1106 snapctl --pending 1107 - overlord: unit test tweaks, use well known snap IDs, setup snap 1108 declarations for most common snaps 1109 - tests/nested/manual: add test for install-device + snapctl reboot 1110 - o/servicestate: restart slices + services on modifications 1111 - tests: update mount-ns test to support changes in the distro 1112 - interfaces: fix linter issues 1113 - overlord: mock logger in managers unit tests 1114 - tests: adding support for fedora-34 1115 - tests: adding support for debian 10 on gce 1116 - boot: reseal given keys when the respective boot chain has changed 1117 - secboot: switch encryption key size to 32 byte (thanks to Chris) 1118 - interfaces/dbus: allow claiming 'well-known' D-Bus names with a 1119 wildcard suffix 1120 - spread: bump delta reference version 1121 - interfaces: builtin: update permitted paths to be compatible with 1122 UC20 1123 - overlord: fix errors reported by linter 1124 - tests: remove old fedora systems from tests 1125 - tests: update spread url 1126 - interfaces/camera: allow devices in /sys/devices/platform/**/usb* 1127 - interfaces/udisks2: Allow access to the login manager via dbus 1128 - cmd/snap: exit normally if "snap changes" has no changes 1129 (LP #1823974) 1130 - tests: more fixes for spread suite on openSUSE 1131 - tests: fix tests expecting cgroup v1/hybrid on openSUSE Tumbleweed 1132 - daemon: fix linter errors 1133 - spread: add Fedora 34, leave a TODO about dropping Fedora 32 1134 - interfaces: fix linter errors 1135 - tests: use op.paths tools instead of dirs.sh helper - part 2 1136 - client: Fix linter errors 1137 - cmd/snap: Fix errors reported by linter 1138 - cmd/snap-repair: fix linter issues 1139 - cmd/snap-bootstrap: Fix linter errors 1140 - tests: update permission denied message for test-snapd-event on 1141 ubuntu 2104 1142 - cmd/snap: small tweaks based on previous reviews 1143 - snap/snaptest: helper that mocks both the squashfs file and a snap 1144 directory 1145 - overlord/devicestate: tweak comment about creating recovery 1146 systems, formatting tweaks 1147 - overlord/devicestate: move devicemgr base suite helpers closer to 1148 test suite struct 1149 - overlord/devicestate: keep track of tried recovery system 1150 - seed/seedwriter: clarify in the diagram when SetInfo is called 1151 - overlord/devicestate: add helper for creating recovery systems at 1152 runtime 1153 - snap-seccomp: update syscalls.go list 1154 - boot,image: support image.Customizations.BootFlags 1155 - overlord: support snapctl --halt|--poweroff in gadget install- 1156 device 1157 - features,servicestate: add experimental.quota-groups flag 1158 - o/servicestate: address comments from previous PR 1159 - tests: basic spread test for snap quota commands 1160 - tests: moving the snaps which are not locally built to the store 1161 directory 1162 - image,c/snap: implement prepare-image --customize 1163 - daemon: implement REST API for quota groups (create / list / get) 1164 - cmd/snap, client: snap quotas command 1165 - o/devicestate,o/hookstate/ctlcmd: introduce SystemModeInfo methods 1166 and snapctl system-mode 1167 - o/servicestate/quota_control.go: introduce (very) basic group 1168 manipulation methods 1169 - cmd/snap, client: snap remove-quota command 1170 - wrappers, quota: implement quota groups slice generation 1171 - snap/quotas: followups from previous PR 1172 - cmd/snap: introduce 'snap quota' command 1173 - o/configstate/configcore/picfg.go: use ubuntu-seed config.txt in 1174 uc20 run mode 1175 - o/servicestate: test has internal ordering issues, consider both 1176 cases 1177 - o/servicestate/quotas: add functions for getting and setting 1178 quotas in state 1179 - tests: new buckets for snapd-spread project on gce 1180 - spread.yaml: update the gce project to start using snapd-spread 1181 - quota: new package for managing resource groups 1182 - many: bind and check keys against models when using FDE hooks v2 1183 - many: move responsibilities down seboot -> kernel/fde and boot -> 1184 secboot 1185 - packaging: add placeholder changelog 1186 - o/configstate/configcore/vitality: fix RequireMountedSnapdSnap 1187 bug 1188 - overlord: properly mock usr-lib-snapd tests to mimic an Ubuntu 1189 Core system 1190 - many: hide EncryptionKey size and refactors for fde hook v2 next 1191 steps 1192 - tests: adding debug info for create user tests 1193 - o/hookstate: add "refresh" command to snapctl (hidden, not 1194 complete yet) 1195 - systemd: wait for zfs mounts (LP #1922293) 1196 - testutil: support referencing files in FileEquals checker 1197 - many: refactor to kernel/fde and allow `fde-setup initial-setup` 1198 to return json 1199 - o/snapstate: store refresh-candidates in the state 1200 - o/snapstate: helper for creating gate-auto-refresh hooks 1201 - bootloader/bootloadertest: provide interface implementation as 1202 mixins, provide a mock for recovery-aware-trusted-asses bootloader 1203 - tests/lib/nested: do not compress images, return early when 1204 restored from pristine image 1205 - boot: split out a helper for making recovery system bootable 1206 - tests: update os.query check to match new bullseye codename used 1207 on sid images 1208 - o/snapstate: helper for getting snaps affected by refresh, define 1209 new hook 1210 - wrappers: support in EnsureSnapServices a callback to observe 1211 changes (#10176) 1212 - gadget: multi line support in gadget's cmdline file 1213 - daemon: test that requesting restart from (early) Ensure works 1214 - tests: use op.paths tools instead of dirs.sh helper - part 1 1215 - tests: add new command to snaps-state to get current core, kernel 1216 and gadget 1217 - boot, gadget: move opening the snap container into the gadget 1218 helper 1219 - tests, overlord: extend unit tests, extend spread tests to cover 1220 full command line support 1221 - interfaces/builtin: introduce dsp interface 1222 - boot, bootloader, bootloader/assets: support for full command line 1223 override from gadget 1224 - overlord/devicestate, overlord/snapstate: add task for updating 1225 kernel command lines from gadget 1226 - o/snapstate: remove unused DeviceCtx argument of 1227 ensureInstallPreconditions 1228 - tests/lib/nested: proper status return for tpm/secure boot checks 1229 - cmd/snap, boot: add snapd_full_cmdline_args to dumped boot vars 1230 - wrappers/services.go: refactor helper lambda function to separate 1231 function 1232 - boot/flags.go: add HostUbuntuDataForMode 1233 - boot: handle updating of components that contribute to kernel 1234 command line 1235 - tests: add 20.04 to systems for nested/core 1236 - daemon: add new accessChecker implementations 1237 - boot, overlord/devicestate: consider gadget command lines when 1238 updating boot config 1239 - tests: fix prepare-image-grub-core18 for arm devices 1240 - tests: fix gadget-kernel-refs-update-pc test on arm and when 1241 $TRUST_TEST_KEY is false 1242 - tests: enable help test for all the systems 1243 - boot: set extra command line arguments when preparing run mode 1244 - boot: load bits of kernel command line from gadget snaps 1245 - tests: update layout for tests - part 2 1246 - tests: update layout for tests - part 1 1247 - tests: remove the snap profiler from the test suite 1248 - boot: drop gadget snap yaml which is already defined elsewhere in 1249 the tests 1250 - boot: set extra kernel command line arguments when making a 1251 recovery system bootable 1252 - boot: pass gadget path to command line helpers, load gadget from 1253 seed 1254 - tests: new os.paths tool 1255 - daemon: make ucrednetGet() return a *ucrednet structure 1256 - boot: derive boot variables for kernel command lines 1257 - cmd/snap-bootstrap/initramfs-mounts: fix boot-flags location from 1258 initramfs 1259 1260 * Wed May 19 2021 Ian Johnson <ian.johnson@canonical.com> 1261 - New upstream release 2.50.1 1262 - interfaces: update permitted /lib/.. paths to be compatible with 1263 UC20 1264 - interfaces: builtin: update permitted paths to be compatible with 1265 UC20 1266 - interfaces/greengrass-support: delete white spaces at the end of 1267 lines 1268 - snap-seccomp: update syscalls.go list 1269 - many: backport kernel command line for 2.50 1270 - interfaces/dbus: allow claiming 'well-known' D-Bus names with a 1271 wildcard suffix 1272 - interfaces/camera: allow devices in /sys/devices/platform/**/usb* 1273 - interfaces/builtin: introduce dsp interface 1274 1275 * Sat Apr 24 2021 Michael Vogt <mvo@ubuntu.com> 1276 - New upstream release 2.50 1277 - overlord: properly mock usr-lib-snapd tests to mimic an Ubuntu 1278 Core system 1279 - o/configstate/configcore/vitality: fix RequireMountedSnapdSnap bug 1280 - o/servicestate/servicemgr.go: add ensure loop for snap service 1281 units 1282 - wrappers/services.go: introduce EnsureSnapServices() 1283 - snapstate: add "kernel-assets" to featureSet 1284 - systemd: wait for zfs mounts 1285 - overlord: make servicestate responsible to compute 1286 SnapServiceOptions 1287 - boot,tests: move where we write boot-flags one level up 1288 - o/configstate: don't pass --root=/ when 1289 masking/unmasking/enabling/disabling services 1290 - cmd/snap-bootstrap/initramfs-mounts: write active boot-flags to 1291 /run 1292 - gadget: be more flexible with kernel content resolving 1293 - boot, cmd/snap: include extra cmdline args in debug boot-vars 1294 output 1295 - boot: support read/writing boot-flags from userspace/initramfs 1296 - interfaces/pwm: add PWM interface 1297 - tests/lib/prepare-restore.sh: clean out snapd changes and snaps 1298 before purging 1299 - systemd: enrich UnitStatus returned by systemd.Status() with 1300 Installed flag 1301 - tests: updated restore phase of spread tests - part 1 1302 - gadget: add support for kernel command line provided by the gadget 1303 - tests: Using GO111MODULE: "off" in spread.yaml 1304 - features: add gate-auto-refresh-hook feature flag 1305 - spread: ignore linux kernel upgrade in early stages for arch 1306 preparation 1307 - tests: use snaps-state commands and remove them from the snaps 1308 helper 1309 - o/configstate: fix panic with a sequence of config unset ops over 1310 same path 1311 - api: provide meaningful error message on connect/disconnect for 1312 non-installed snap 1313 - interfaces/u2f-devices: add HyperFIDO Pro 1314 - tests: add simple sanity check for systemctl show 1315 --property=UnitFileState for unknown service 1316 - tests: use tests.session tool on interfaces-desktop-document- 1317 portal test 1318 - wrappers: install D-Bus service activation files for snapd session 1319 tools on core 1320 - many: add x-gvfs-hide option to mount units 1321 - interfaces/builtin/gpio_test.go: actually test the generated gpio 1322 apparmor 1323 - spread: tentative workaround for arch failure caused by libc 1324 upgrade and cgroups v2 1325 - tests: add spread test for snap validate against store assertions 1326 - tests: remove snaps which are not used in any test 1327 - ci: set the accept-existing-contributors parameter for the cla- 1328 check action 1329 - daemon: introduce apiBaseSuite.(json|sync|async|error)Req (and 1330 some apiBaseSuite cosmetics) 1331 - o/devicestate/devicemgr: register install-device hook, run if 1332 present in install 1333 - o/configstate/configcore: simple refactors in preparation for new 1334 function 1335 - tests: unifying the core20 nested suite with the core nested suite 1336 - tests: uboot-unpacked-assets updated to reflect the real path used 1337 to find the kernel 1338 - daemon: switch api_test.go to daemon_test and various other 1339 cleanups 1340 - o/configstate/configcore/picfg.go: add hdmi_cvt support 1341 - interfaces/apparmor: followup cleanups, comments and tweaks 1342 - boot: cmd/snap-bootstrap: handle a candidate recovery system v2 1343 - overlord/snapstate: skip catalog refresh when snappy testing is 1344 enabled 1345 - overlord/snapstate, overlord/ifacestate: move late security 1346 profile removal to ifacestate 1347 - snap-seccomp: fix seccomp test on ppc64el 1348 - interfaces, interfaces/apparmor, overlord/snapstate: late removal 1349 of snap-confine apparmor profiles 1350 - cmd/snap-bootstrap/initramfs-mounts: move time forward using 1351 assertion times 1352 - tests: reset the system while preparing the test suite 1353 - tests: fix snap-advise-command check for 429 1354 - gadget: policy for gadget/kernel refreshes 1355 - o/configstate: deal with no longer valid refresh.timer=managed 1356 - interfaces/udisks2: allow locking /run/mount/utab for udisks 2.8.4 1357 - cla-check: Use has-signed-canonical-cla GitHub Action 1358 - tests: validation sets spread test 1359 - tests: simplify the reset.sh logic by removing not needed command 1360 - overlord/snapstate: make sure that snapd current symlink is not 1361 removed during refresh 1362 - tests/core/fsck-on-boot: unmount /run/mnt/snapd directly on uc20 1363 - tests/lib/fde-setup-hook: also verify that fde-reveal-key key data 1364 is base64 1365 - o/devicestate: split off ensuring next boot goes to run mode into 1366 new task 1367 - tests: fix cgroup-tracking test 1368 - boot: export helper for clearing tried system state, add tests 1369 - cmd/snap: use less aggressive client timeouts in unit tests 1370 - daemon: fix signing key validity timestamp in unit tests 1371 - o/{device,hook}state: encode fde-setup-request key as base64 1372 string 1373 - packaging: drop dh-systemd from build-depends on ubuntu-16.04+ 1374 - cmd/snap/pack: unhide the compression option 1375 - boot: extend set try recovery system unit tests 1376 - cmd/snap-bootstrap: refactor handling of ubuntu-save, do not use 1377 secboot's implicit fallback 1378 - o/configstate/configcore: add hdmi_timings to pi-config 1379 - snapstate: reduce reRefreshRetryTimeout to 1/2 second 1380 - interfaces/tee: add TEE/OPTEE interface 1381 - o/snapstate: update validation sets assertions with auto-refresh 1382 - vendor: update go-tpm2/secboot to latest version 1383 - seed: ReadSystemEssentialAndBetterEarliestTime 1384 - tests: replace while commands with the retry tool 1385 - interfaces/builtin: update unit tests to use proper distro's 1386 libexecdir 1387 - tests: run the reset.sh helper and check test invariants while the 1388 test is restored 1389 - daemon: switch preexisting daemon_test tests to apiBaseSuite and 1390 .req 1391 - boot, o/devicestate: split makeBootable20 into two parts 1392 - interfaces/docker-support: add autobind unix rules to docker- 1393 support 1394 - interfaces/apparmor: allow reading 1395 /proc/sys/kernel/random/entropy_avail 1396 - tests: use retry tool instead a loops 1397 - tests/main/uc20-create-partitions: fix tests cleanup 1398 - asserts: mode where Database only assumes cur time >= earliest 1399 time 1400 - daemon: validation sets/api tests cleanup 1401 - tests: improve tests self documentation for nested test suite 1402 - api: local assertion fallback when it's not in the store 1403 - api: validation sets monitor mode 1404 - tests: use fs-state tool in interfaces tests 1405 - daemon: move out /v2/login|logout and errToResponse tests from 1406 api_test.go 1407 - boot: helper for inspecting the outcome of a recovery system try 1408 - o/configstate, o/snapshotstate: fix handling of nil snap config on 1409 snapshot restore 1410 - tests: update documentation and checks for interfaces tests 1411 - snap-seccomp: add new `close_range` syscall 1412 - boot: revert #10009 1413 - gadget: remove `device-tree{,-origin}` from gadget tests 1414 - boot: simplify systems test setup 1415 - image: write resolved-content from snap prepare-image 1416 - boot: reseal the run key for all recovery systems, but recovery 1417 keys only for the good ones 1418 - interfaces/builtin/network-setup-{control,observe}: allow using 1419 netplan directly 1420 - tests: improve sections prepare and restore - part 1 1421 - tests: update details on task.yaml files 1422 - tests: revert os.query usage in spread.yaml 1423 - boot: export bootAssetsMap as AssetsMap 1424 - tests/lib/prepare: fix repacking of the UC20 kernel snap for with 1425 ubuntu-core-initramfs 40 1426 - client: protect against reading too much data from stdin 1427 - tests: improve tests documentation - part 2 1428 - boot: helper for setting up a try recover system 1429 - tests: improve tests documentation - part 1 1430 - tests/unit/go: use tests.session wrapper for running tests as a 1431 user 1432 - tests: improvements for snap-seccomp-syscalls 1433 - gadget: simplify filterUpdate (thanks to Maciej) 1434 - tests/lib/prepare.sh: use /etc/group and friends from the core20 1435 snap 1436 - tests: fix tumbleweed spread tests part 2 1437 - tests: use new commands of os.query tool on tests 1438 - o/snapshotstate: create snapshots directory on import 1439 - tests/main/lxd/prep-snapd-in-lxd.sh: dump contents of sources.list 1440 - packaging: drop 99-snapd.conf via dpkg-maintscript-helper 1441 - osutil: add SetTime() w/ 32-bit and 64-bit implementations 1442 - interfaces/wayland: rm Xwayland Xauth file access from wayland 1443 slot 1444 - packaging/ubuntu-16.04/rules: turn modules off explicitly 1445 - gadget,devicestate: perform kernel asset update for $kernel: style 1446 refs 1447 - cmd/recovery: small fix for `snap recovery` tab output 1448 - bootloader/lkenv: add recovery systems related variables 1449 - tests: fix new tumbleweed image 1450 - boot: fix typo, should be systems 1451 - o/devicestate: test that users.create.automatic is configured 1452 early 1453 - asserts: use Fetcher in AddSequenceToUpdate 1454 - daemon,o/c/configcore: introduce users.create.automatic 1455 - client, o/servicestate: expose enabled state of user daemons 1456 - boot: helper for checking and marking tried recovery system status 1457 from initramfs 1458 - asserts: pool changes for validation-sets (#9930) 1459 - daemon: move the last api_foo_test.go to daemon_test 1460 - asserts: include the assertion timestamp in error message when 1461 outside of signing key validity range 1462 - ovelord/snapshotstate: keep a few of the last line tar prints 1463 before failing 1464 - gadget/many: rm, delay sector size + structure size checks to 1465 runtime 1466 - cmd/snap-bootstrap/triggerwatch: fix returning wrong errors 1467 - interfaces: add allegro-vcu and media-control interfaces 1468 - interfaces: opengl: add Xilinx zocl bits 1469 - mkversion: check that version from changelog is set before 1470 overriding the output version 1471 - many: fix new ineffassign warnings 1472 - .github/workflows/labeler.yaml: try work-around to not sync 1473 labels 1474 - cmd/snap, boot: add debug set-boot-vars 1475 - interfaces: allow reading the Xauthority file KDE Plasma writes 1476 for Wayland sessions 1477 - tests/main/snap-repair: test running repair assertion w/ fakestore 1478 - tests: disable lxd tests for 21.04 until the lxd images are 1479 published for the system 1480 - tests/regression/lp-1910456: cleanup the /snap symlink when done 1481 - daemon: move single snap querying and ops to api_snaps.go 1482 - tests: fix for preseed and dbus tests on 21.04 1483 - overlord/snapshotstate: include the last message printed by tar in 1484 the error 1485 - interfaces/system-observe: Allow reading /proc/zoneinfo 1486 - interfaces: remove apparmor downgrade feature 1487 - snap: fix unit tests on Go 1.16 1488 - spread: disable Go modules support in environment 1489 - tests: use new path to find kernel.img in uc20 for arm devices 1490 - tests: find files before using cat command when checking broadcom- 1491 asic-control interface 1492 - boot: introduce good recovery systems, provide compatibility 1493 handling 1494 - overlord: add manager gadget refresh test 1495 - tests/lib/fakestore: support repair assertions too 1496 - github: temporarily disable action labeler due to issues with 1497 labels being removed 1498 - o/devicestate,many: introduce DeviceManager.preloadGadget for 1499 EarlyConfig 1500 - tests: enable ubuntu 21.04 for spread tests 1501 - snap: provide a useful error message if gdbserver is not installed 1502 - data/selinux: allow system dbus to watch /var/lib/snapd/dbus-1 1503 - tests/lib/prepare.sh: split reflash.sh into two parts 1504 - packaging/opensuse: sync with openSUSE packaging 1505 - packaging: disable Go modules in snapd.mk 1506 - snap: add deprecation noticed to "snap run --gdb" 1507 - daemon: add API for checking and installing available theme snaps 1508 - tests: using labeler action to add automatically a label to run 1509 nested tests 1510 - gadget: improve error handling around resolving content sources 1511 - asserts: repeat the authority cross-check in CheckSignature as 1512 well 1513 - interfaces/seccomp/template.go: allow copy_file_range 1514 - o/snapstate/check_snap.go: add support for many subversions in 1515 assumes snapdX.. 1516 - daemon: move postSnap and inst.dispatch tests to api_snaps_test.go 1517 - wrappers: use proper paths for mocked mount units in tests 1518 - snap: rename gdbserver option to `snap run --gdbserver` 1519 - store: support validation sets with fetch-assertions action 1520 - snap-confine.apparmor.in: support tmp and log dirs on Yocto/Poky 1521 - packaging/fedora: sync with downstream packaging in Fedora 1522 - many: add Delegate=true to generated systemd units for special 1523 interfaces (master) 1524 - boot: use a common helper for mocking boot assets in cache 1525 - api: validate snaps against validation set assert from the store 1526 - wrappers: don't generate an [Install] section for timer or dbus 1527 activated services 1528 - tests/nested/core20/boot-config-update: skip when snapd was not 1529 built with test features 1530 - o/configstate,o/devicestate: introduce devicestate.EarlyConfig 1531 implemented by configstate.EarlyConfig 1532 - cmd/snap-bootstrap/initramfs-mounts: fix typo in func name 1533 - interfaces/builtin: mock distribution in fontconfig cache unit 1534 tests 1535 - tests/lib/prepare.sh: add another console= to the reflash magic 1536 grub entry 1537 - overlord/servicestate: expose dbus activators of a service 1538 - desktop/notification: test against a real session bus and 1539 notification server implementation 1540 - cmd/snap-bootstrap/initramfs-mounts: write realistic modeenv for 1541 recover+install 1542 - HACKING.md: explain how to run UC20 spread tests with QEMU 1543 - asserts: introduce AtSequence 1544 - overlord/devicestate: task for updating boot configs, spread test 1545 - gadget: fix documentation/typos 1546 - gadget: cleanup MountedFilesystem{Writer,Updater} 1547 - gadget: use ResolvedSource in MountedFilesystemWriter 1548 - snap/info.go: add doc-comment for SortServices 1549 - interfaces: add an optional mount-host-font-cache plug attribute 1550 to the desktop interface 1551 - osutil: skip TestReadBuildGo inside sbuild 1552 - o/hookstate/ctlcmd: add optional --pid and --apparmor-label 1553 arguments to "snapctl is-connected" 1554 - data/env/snapd: use quoting in case PATH contains spaces 1555 - boot: do not observe successful boot assets if not in run mode 1556 - tests: fix umount for snapd snap on fsck-on-boot testumount: 1557 /run/mnt/ubuntu-seed/systems/*/snaps/snapd_*.snap: no mount 1558 - misc: little tweaks 1559 - snap/info.go: ignore unknown daemons in SortSnapServices 1560 - devicestate: keep log from install-mode on installed system 1561 - seed: add LoadEssentialMeta to seed16 and allow all of its 1562 implementations to be called multiple times 1563 - cmd/snap-preseed: initialize snap.SanitizePlugsSlots for gadget in 1564 seeds 1565 - tests/core/uc20-recovery: move recover mode helpers to generic 1566 testslib script 1567 - interfaces/fwupd: allow any distros to access fw files via fwupd 1568 - store: method for fetching validation set assertion 1569 - store: switch to v2/assertions api 1570 - gadget: add new ResolvedContent and populate from LayoutVolume() 1571 - spread: use full format when listing processes 1572 - osutil/many: make all test pkgs osutil_test instead of "osutil" 1573 - tests/unit/go: drop unused environment variables, skip coverage 1574 - OpenGL interface: Support more Tegra libs 1575 - gadget,overlord: pass kernelRoot to install.Run() 1576 - tests: run unit tests in Focal instead of Xenial 1577 - interfaces/browser-support: allow sched_setaffinity with browser- 1578 sandbox: true 1579 - daemon: move query /snaps/<name> tests to api_snaps_test.go 1580 - cmd/snap-repair/runner.go: add SNAP_SYSTEM_MODE to env of repair 1581 runner 1582 - systemd/systemd.go: support journald JSON messages with arrays for 1583 values 1584 - cmd: make string/error code more robust against errno leaking 1585 - github, run-checks: do not collect coverage data on subsequent 1586 test runs 1587 - boot: boot config update & reseal 1588 - o/snapshotstate: handle conflicts between snapshot forget, export 1589 and import 1590 - osutil/stat.go: add RegularFileExists 1591 - cmd/snapd-generator: don't create mount overrides for snap-try 1592 snaps inside lxc 1593 - gadget/gadget.go: rename ubuntu-* to system-* in doc-comment 1594 - tests: use 6 spread workers for centos8 1595 - bootloader/assets: support injecting bootloader assets in testing 1596 builds of snapd 1597 - gadget: enable multi-volume uc20 gadgets in 1598 LaidOutSystemVolumeFromGadget; rename too 1599 - overlord/devicestate, sysconfig: do nothing when cloud-init is not 1600 present 1601 - cmd/snap-repair: filter repair assertions based on bases + modes 1602 - snap-confine: make host /etc/ssl available for snaps on classic 1603 1604 * Fri Mar 26 2021 Michael Vogt <mvo@ubuntu.com> 1605 - New upstream release 2.49.2 1606 - interfaces/tee: add TEE/OPTEE interface 1607 - o/configstate/configcore: add hdmi_timings to pi-config 1608 - interfaces/udisks2: allow locking /run/mount/utab for udisks 2.8.4 1609 - snap-seccomp: fix seccomp test on ppc64el 1610 - interfaces{,/apparmor}, overlord/snapstate: 1611 late removal of snap-confine apparmor profiles 1612 - overlord/snapstate, wrappers: add dependency on usr-lib- 1613 snapd.mount for services on core with snapd snap 1614 - o/configstate: deal with no longer valid refresh.timer=managed 1615 - overlord/snapstate: make sure that snapd current symlink is not 1616 removed during refresh 1617 - packaging: drop dh-systemd from build-depends on ubuntu-16.04+ 1618 - o/{device,hook}state: encode fde-setup-request key as base64 1619 - snapstate: reduce reRefreshRetryTimeout to 1/2 second 1620 - tests/main/uc20-create-partitions: fix tests cleanup 1621 - o/configstate, o/snapshotstate: fix handling of nil snap config on 1622 snapshot restore 1623 - snap-seccomp: add new `close_range` syscall 1624 1625 * Mon Mar 08 2021 Michael Vogt <mvo@ubuntu.com> 1626 - New upstream release 2.49.1 1627 - tests: turn modules off explicitly in spread go unti test 1628 - o/snapshotstate: create snapshots directory on import 1629 - cmd/snap-bootstrap/triggerwatch: fix returning wrong errors 1630 - interfaces: add allegro-vcu and media-control interfaces 1631 - interfaces: opengl: add Xilinx zocl bits 1632 - many: fix new ineffassign warnings 1633 - interfaces/seccomp/template.go: allow copy_file_range 1634 - interfaces: allow reading the Xauthority file KDE Plasma writes 1635 for Wayland sessions 1636 - data/selinux: allow system dbus to watch 1637 /var/lib/snapd/dbus-1 1638 - Remove apparmor downgrade feature 1639 - Support tmp and log dirs on Yocto/Poky 1640 1641 * Wed Feb 10 2021 Michael Vogt <mvo@ubuntu.com> 1642 - New upstream release 2.49 1643 - many: add Delegate=true to generated systemd units for special 1644 interfaces 1645 - cmd/snap-bootstrap: rename ModeenvFromModel to 1646 EphemeralModeenvForModel 1647 - cmd/snap-bootstrap/initramfs-mounts: write realistic modeenv for 1648 recover+install 1649 - osutil: skip TestReadBuildGo inside sbuild 1650 - tests: fix umount for snapd snap on fsck-on-boot test 1651 - snap/info_test.go: add unit test cases for bug 1652 - tests/main/services-after-before: add regression spread test 1653 - snap/info.go: ignore unknown daemons in SortSnapServices 1654 - cmd/snap-preseed: initialize snap.SanitizePlugsSlots for gadget in 1655 seeds 1656 - OpenGL interface: Support more Tegra libs 1657 - interfaces/browser-support: allow sched_setaffinity with browser- 1658 sandbox: true 1659 - cmd: make string/error code more robust against errno leaking 1660 - o/snapshotstate: handle conflicts between snapshot forget, export 1661 and import 1662 - cmd/snapd-generator: don't create mount overrides for snap-try 1663 snaps inside lxc 1664 - tests: update test pkg for fedora and centos 1665 - gadget: pass sector size in to mkfs family of functions, use to 1666 select block sz 1667 - o/snapshotstate: fix returning of snap names when duplicated 1668 snapshot is detected 1669 - tests/main/snap-network-errors: skip flushing dns cache on 1670 centos-7 1671 - interfaces/builtin: Allow DBus property access on 1672 org.freedesktop.Notifications 1673 - cgroup-support.c: fix link to CGROUP DELEGATION 1674 - osutil: update go-udev package 1675 - packaging: fix arch-indep build on debian-sid 1676 - {,sec}boot: pass "key-name" to the FDE hooks 1677 - asserts: sort by revision with Sort interface 1678 - gadget: add gadget.ResolveContentPaths() 1679 - cmd/snap-repair: save base snap and mode in device info; other 1680 misc cleanups 1681 - tests: cleanup the run-checks script 1682 - asserts: snapasserts method to validate installed snaps against 1683 validation sets 1684 - tests: normalize test tools - part 1 1685 - snapshotstate: detect duplicated snapshot imports 1686 - interfaces/builtin: fix unit test expecting snap-device-helper at 1687 /usr/lib/snapd 1688 - tests: apply workaround done for snap-advise-command to apt-hooks 1689 test 1690 - tests: skip main part of snap-advise test if 429 error is 1691 encountered 1692 - many: clarify gadget role-usage consistency checks for UC16/18 vs 1693 UC20 1694 - sandbox/cgroup, tess/main: fix unit tests on v2 system, disable 1695 broken tests on sid 1696 - interfaces/builtin: more drive by fixes, import ordering, removing 1697 dead code 1698 - tests: skip interfaces-openvswitch spread test on debian sid 1699 - interfaces/apparmor: drive by comment fix 1700 - cmd/libsnap-confine-private/cleanup-funcs-test.c: rm g_autofree 1701 usage 1702 - cmd/libsnap-confine-private: make unit tests execute happily in a 1703 container 1704 - interfaces, wrappers: misc comment fixes, etc. 1705 - asserts/repair.go: add "bases" and "modes" support to the repair 1706 assertion 1707 - interfaces/opengl: allow RPi MMAL video decoding 1708 - snap: skip help output tests for go-flags v1.4.0 1709 - gadget: add validation for "$kernel:ref" style content 1710 - packaging/deb, tests/main/lxd-postrm-purge: fix purge inside 1711 containers 1712 - spdx: update to SPDX license list version: 3.11 2020-11-25 1713 - tests: improve hotplug test setup on classic 1714 - tests: update check to verify is the current system is arm 1715 - tests: use os-query tool to check debian, trusty and tumbleweed 1716 - daemon: start moving implementation to api_snaps.go 1717 - tests/main/snap-validate-basic: disable test on Fedora due to go- 1718 flags panics 1719 - tests: fix library path used for tests.pkgs 1720 - tests/main/cohorts: replace yq with a Python snippet 1721 - run-checks: update to match new argument syntax of ineffassign 1722 - tests: use apiBaseSuite for snapshots tests, fix import endpoint 1723 path 1724 - many: separate consistency/content validation into 1725 gadget.Validate|Content 1726 - o/{device,snap}state: enable devmode snaps with dangerous model 1727 assertions 1728 secboot: add test for when systemd-run does not honor 1729 RuntimeMaxSec 1730 - secboot: add workaround for snapcore/core-initrd issue #13 1731 - devicestate: log checkEncryption errors via logger.Noticef 1732 - o/daemon: validation sets api and basic spread test 1733 - gadget: move BuildPartitionList to install and make it unexported 1734 - tests: add nested spread end-to-end test for fde-hooks 1735 - devicestate: implement checkFDEFeatures() 1736 - boot: tweak resealing with fde-setup hooks 1737 - tests: add os query commands for subsystems and architectures 1738 - o/snapshotstate: don't set auto flag in the snapshot file 1739 - tests: use os.query tool instead of comparing the system var 1740 - testutil: use the original environment when calling shellcheck 1741 - sysconfig/cloudinit.go: add "manual_cache_clean: true" to cloud- 1742 init restrict file 1743 - gadget,o/devicestate,tests: drop EffectiveFilesystemLabel and 1744 instead set the implicit labels when loading the yaml 1745 - secboot: add new LockSealedKeys() that uses either TPM/fde-reveal- 1746 key 1747 - gadget/quantity: introduce Offset, start using it for offset 1748 related fields in the gadget 1749 - gadget: use "sealed-keys" to determine what method to use for 1750 reseal 1751 - tests/main/fake-netplan-apply: disable test on xenial for now 1752 - daemon: start splitting snaps op tests out of api_test.go 1753 - testutil: make DBusTest use a custom bus configuration file 1754 - tests: replace pkgdb.sh (library) with tests.pkgs (program) 1755 - gadget: prepare gadget kernel refs (0/N) 1756 - interfaces/builtin/docker-support: allow /run/containerd/s/... 1757 - cmd/snap-preseed: reset run inhibit locks on --reset. 1758 - boot: add sealKeyToModeenvUsingFdeSetupHook() 1759 - daemon: reorg snap.go and split out sections and icons support 1760 from api.go 1761 - sandbox/seccomp: use snap-seccomp's stdout for getting version 1762 info 1763 - daemon: split find support to its own api_*.go files and move some 1764 helpers 1765 - tests: move snapstate config defaults tests to a separate file. 1766 - bootloader/{lk,lkenv}: followups from #9695 1767 - daemon: actually move APIBaseSuite to daemon_test.apiBaseSuite 1768 - gadget,o/devicestate: set implicit values for schema and role 1769 directly instead of relying on Effective* accessors 1770 - daemon: split aliases support to its own api_*.go files 1771 - gadget: start separating rule/convention validation from basic 1772 soundness 1773 - cmd/snap-update-ns: add better unit test for overname sorting 1774 - secboot: use `fde-reveal-key` if available to unseal key 1775 - tests: fix lp-1899664 test when snapd_x1 is not installed in the 1776 system 1777 - tests: fix the scenario when the "$SRC".orig file does not exist 1778 - cmd/snap-update-ns: fix sorting of overname mount entries wrt 1779 other entries 1780 - devicestate: add runFDESetupHook() helper 1781 - bootloader/lk: add support for UC20 lk bootloader with V2 lkenv 1782 structs 1783 - daemon: split unsupported buy implementation to its own api_*.go 1784 files 1785 - tests: download timeout spread test 1786 - gadget,o/devicestate: hybrid 18->20 ready volume setups should be 1787 valid 1788 - o/devicestate: save model with serial in the device save db 1789 - bootloader: add check for prepare-image time and more tests 1790 validating options 1791 - interfaces/builtin/log_observe.go: allow controlling apparmor 1792 audit levels 1793 - hookstate: refactor around EphemeralRunHook 1794 - cmd/snap: implement 'snap validate' command 1795 - secboot,devicestate: add scaffoling for "fde-reveal-key" support 1796 - boot: observe successful command line update, provide a default 1797 - tests: New queries for the os tools 1798 - bootloader/lkenv: specify backup file as arg to NewEnv(), use "" 1799 as path+"bak" 1800 - osutil/disks: add FindMatchingPartitionUUIDWithPartLabel to Disk 1801 iface 1802 - daemon: split out snapctl support and snap configuration support 1803 to their own api_*.go files 1804 - snapshotstate: improve handling of multiple errors 1805 - tests: sign new nested-18|20* models to allow for generic serials 1806 - bootloader: remove installableBootloader interface and methods 1807 - seed: cleanup/drop some no longer valid TODOS, clarify some other 1808 points 1809 - boot: set kernel command line in modeenv during install 1810 - many: rename disks.FindMatching... to FindMatching...WithFsLabel 1811 and err type 1812 - cmd/snap: suppress a case of spurious stdout logging from tests 1813 - hookstate: add new HookManager.EphemeralRunHook() 1814 - daemon: move some more api tests from daemon to daemon_test 1815 - daemon: split apps and logs endpoints to api_apps.go and tests 1816 - interfaces/utf: Add Ledger to U2F devices 1817 - seed/seedwriter: consider modes when checking for deps 1818 availability 1819 - o/devicestate,daemon: fix reboot system action to not require a 1820 system label 1821 - cmd/snap-repair,store: increase initial retry time intervals, 1822 stalling TODOs 1823 - daemon: split interfacesCmd to api_interfaces.go 1824 - github: run nested suite when commit is pushed to release branch 1825 - client: reduce again the /v2/system-info timeout 1826 - tests: reset fakestore unit status 1827 - update-pot: fix typo in plural keyword spec 1828 - tests: remove workarounds that add "ubuntu-save" if missing 1829 - tests: add unit test for auto-refresh with validate-snap failure 1830 - osutil: add helper for getting the kernel command line 1831 - tests/main/uc20-create-partitions: verify ubuntu-save encryption 1832 keys, tweak not MATCH 1833 - boot: add kernel command lines to the modeenv file 1834 - spread: bump delta ref, tweak repacking to make smaller delta 1835 archives 1836 - bootloader/lkenv: add v2 struct + support using it 1837 - snapshotstate: add cleanup of abandonded snapshot imports 1838 - tests: fix uc20-create-parition-* tests for updated gadget 1839 - daemon: split out /v2/interfaces tests to api_interfaces_test.go 1840 - hookstate: implement snapctl fde-setup-{request,result} 1841 - wrappers, o/devicestate: remove EnableSnapServices 1842 - tests: enable nested on 20.10 1843 - daemon: simplify test helpers Get|PostReq into Req 1844 - daemon: move general api to api_general*.go 1845 - devicestate: make checkEncryption fde-setup hook aware 1846 - client/snapctl, store: fix typos 1847 - tests/main/lxd/prep-snapd-in-lxd.sh: wait for valid apt files 1848 before doing apt ops 1849 - cmd/snap-bootstrap: update model cross-check considerations 1850 - client,snapctl: add naive support for "stdin" 1851 - many: add new "install-mode: disable" option 1852 - osutil/disks: allow building on mac os 1853 - data/selinux: update the policy to allow operations on non-tmpfs 1854 /tmp 1855 - boot: add helper for generating candidate kernel lines for 1856 recovery system 1857 - wrappers: generate D-Bus service activation files 1858 - bootloader/many: rm ConfigFile, add Present for indicating 1859 presence of bloader 1860 - osutil/disks: allow mocking DiskFromDeviceName 1861 - daemon: start cleaning up api tests 1862 - packaging/arch: sync with AUR packaging 1863 - bootloader: indicate when boot config was updated 1864 - tests: Fix snap-debug-bootvars test to make it work on arm devices 1865 and core18 1866 - tests/nested/manual/core20-save: verify handling of ubuntu-save 1867 with different system variants 1868 - snap: use the boot-base for kernel hooks 1869 - devicestate: support "storage-safety" defaults during install 1870 - bootloader/lkenv: mv v1 to separate file, 1871 include/lk/snappy_boot_v1.h: little fixups 1872 - interfaces/fpga: add fpga interface 1873 - store: download timeout 1874 - vendor: update secboot repo to avoid including secboot.test binary 1875 - osutil: add KernelCommandLineKeyValue 1876 - gadget/gadget.go: allow system-recovery-{image,select} as roles in 1877 gadget.yaml 1878 - devicestate: implement boot.HasFDESetupHook 1879 - osutil/disks: add DiskFromName to get a disk using a udev name 1880 - usersession/agent: have session agent connect to the D-Bus session 1881 bus 1882 - o/servicestate: preserve order of services on snap restart 1883 - o/servicestate: unlock state before calling wrappers in 1884 doServiceControl 1885 - spread: disable unattended-upgrades on ubuntu 1886 - tests: testing new fedora 33 image 1887 - tests: fix fsck on boot on arm devices 1888 - tests: skip boot state test on arm devices 1889 - tests: updated the systems to run prepare-image-grub test 1890 - interfaces/raw_usb: allow read access to /proc/tty/drivers 1891 - tests: unmount /boot/efi in fsck-on-boot test 1892 - strutil/shlex,osutil/udev/netlink: minimally import go-check 1893 - tests: fix basic20 test on arm devices 1894 - seed: make a shared seed system label validation helper 1895 - tests/many: enable some uc20 tests, delete old unneeded tests or 1896 TODOs 1897 - boot/makebootable.go: set snapd_recovery_mode=install at image- 1898 build time 1899 - tests: migrate test from boot.sh helper to boot-state tool 1900 - asserts: implement "storage-safety" in uc20 model assertion 1901 - bootloader: use ForGadget when installing boot config 1902 - spread: UC20 no longer needs 2GB of mem 1903 - cmd/snap-confine: implement snap-device-helper internally 1904 - bootloader/grub: replace old reference to Managed...Blr... with 1905 Trusted...Blr... 1906 - cmd/snap-bootstrap: add readme for snap-bootstrap + real state 1907 diagram 1908 - interfaces: fix greengrass attr namingThe flavor attribute names 1909 are now as follows: 1910 - tests/lib/nested: poke the API to get the snap revisions 1911 - tests: compare options of mount units created by snapd and snapd- 1912 generator 1913 - o/snapstate,servicestate: use service-control task for service 1914 actions 1915 - sandbox: track applications unconditionally 1916 - interfaces/greengrass-support: add additional "process" flavor for 1917 1.11 update 1918 - cmd/snap-bootstrap, secboot, tests: misc cleanups, add spread test 1919 1920 * Thu Dec 15 2020 Michael Vogt <mvo@ubuntu.com> 1921 - New upstream release 2.48.2 1922 - tests: sign new nested-18|20* models to allow for generic serials 1923 - secboot: add extra paranoia when waiting for that fde-reveal-key 1924 - tests: backport netplan workarounds from #9785 1925 - secboot: add workaround for snapcore/core-initrd issue #13 1926 - devicestate: log checkEncryption errors via logger.Noticef 1927 - tests: add nested spread end-to-end test for fde-hooks 1928 - devicestate: implement checkFDEFeatures() 1929 - boot: tweak resealing with fde-setup hooks 1930 - sysconfig/cloudinit.go: add "manual_cache_clean: true" to cloud- 1931 init restrict file 1932 - secboot: add new LockSealedKeys() that uses either TPM or 1933 fde-reveal-key 1934 - gadget: use "sealed-keys" to determine what method to use for 1935 reseal 1936 - boot: add sealKeyToModeenvUsingFdeSetupHook() 1937 - secboot: use `fde-reveal-key` if available to unseal key 1938 - cmd/snap-update-ns: fix sorting of overname mount entries wrt 1939 other entries 1940 - o/devicestate: save model with serial in the device save db 1941 - devicestate: add runFDESetupHook() helper 1942 - secboot,devicestate: add scaffoling for "fde-reveal-key" support 1943 - hookstate: add new HookManager.EphemeralRunHook() 1944 - update-pot: fix typo in plural keyword spec 1945 - store,cmd/snap-repair: increase initial expontential time 1946 intervals 1947 - o/devicestate,daemon: fix reboot system action to not require a 1948 system label 1949 - github: run nested suite when commit is pushed to release branch 1950 - tests: reset fakestore unit status 1951 - tests: fix uc20-create-parition-* tests for updated gadget 1952 - hookstate: implement snapctl fde-setup-{request,result} 1953 - devicestate: make checkEncryption fde-setup hook aware 1954 - client,snapctl: add naive support for "stdin" 1955 - devicestate: support "storage-safety" defaults during install 1956 - snap: use the boot-base for kernel hooks 1957 - vendor: update secboot repo to avoid including secboot.test binary 1958 1959 * Thu Dec 03 2020 Michael Vogt <mvo@ubuntu.com> 1960 - New upstream release 2.48.1 1961 - gadget: disable ubuntu-boot role validation check 1962 1963 * Thu Nov 19 2020 Michael Vogt <mvo@ubuntu.com> 1964 - New upstream release 2.48 1965 - osutil: add KernelCommandLineKeyValue 1966 - devicestate: implement boot.HasFDESetupHook 1967 - boot/makebootable.go: set snapd_recovery_mode=install at image- 1968 build time 1969 - bootloader: use ForGadget when installing boot config 1970 - interfaces/raw_usb: allow read access to /proc/tty/drivers 1971 - boot: add scaffolding for "fde-setup" hook support for sealing 1972 - tests: fix basic20 test on arm devices 1973 - seed: make a shared seed system label validation helper 1974 - snap: add new "fde-setup" hooktype 1975 - cmd/snap-bootstrap, secboot, tests: misc cleanups, add spread test 1976 - secboot,cmd/snap-bootstrap: fix degraded mode cases with better 1977 device handling 1978 - boot,dirs,c/snap-bootstrap: avoid InstallHost* at the cost of some 1979 messiness 1980 - tests/nested/manual/refresh-revert-fundamentals: temporarily 1981 disable secure boot 1982 - snap-bootstrap,secboot: call BlockPCRProtectionPolicies in all 1983 boot modes 1984 - many: address degraded recover mode feedback, cleanups 1985 - tests: Use systemd-run on tests part2 1986 - tests: set the opensuse tumbleweed system as manual in spread.yaml 1987 - secboot: call BlockPCRProtectionPolicies even if the TPM is 1988 disabled 1989 - vendor: update to current secboot 1990 - cmd/snap-bootstrap,o/devicestate: use a secret to pair data and 1991 save 1992 - spread.yaml: increase number of workers on 20.10 1993 - snap: add new `snap recovery --show-keys` option 1994 - tests: minor test tweaks suggested in the review of 9607 1995 - snapd-generator: set standard snapfuse options when generating 1996 units for containers 1997 - tests: enable lxd test on ubuntu-core-20 and 16.04-32 1998 - interfaces: share /tmp/.X11-unix/ from host or provider 1999 - tests: enable main lxd test on 20.10 2000 - cmd/s-b/initramfs-mounts: refactor recover mode to implement 2001 degraded mode 2002 - gadget/install: add progress logging 2003 - packaging: keep secboot/encrypt_dummy.go in debian 2004 - interfaces/udev: use distro specific path to snap-device-helper 2005 - o/devistate: fix chaining of tasks related to regular snaps when 2006 preseeding 2007 - gadget, overlord/devicestate: validate that system supports 2008 encrypted data before install 2009 - interfaces/fwupd: enforce the confined fwupd to align Ubuntu Core 2010 ESP layout 2011 - many: add /v2/system-recovery-keys API and client 2012 - secboot, many: return UnlockMethod from Unlock* methods for future 2013 usage 2014 - many: mv keys to ubuntu-boot, move model file, rename keyring 2015 prefix for secboot 2016 - tests: using systemd-run instead of manually create a systemd unit 2017 - part 1 2018 - secboot, cmd/snap-bootstrap: enable or disable activation with 2019 recovery key 2020 - secboot: refactor Unlock...IfEncrypted to take keyfile + check 2021 disks first 2022 - secboot: add LockTPMSealedKeys() to lock access to keys 2023 independently 2024 - gadget: correct sfdisk arguments 2025 - bootloader/assets/grub: adjust fwsetup menuentry label 2026 - tests: new boot state tool 2027 - spread: use the official image for Ubuntu 20.10, no longer an 2028 unstable system 2029 - tests/lib/nested: enable snapd logging to console for core18 2030 - osutil/disks: re-implement partition searching for disk w/ non- 2031 adjacent parts 2032 - tests: using the nested-state tool in nested tests 2033 - many: seal a fallback object to the recovery boot chain 2034 - gadget, gadget/install: move helpers to install package, refactor 2035 unit tests 2036 - dirs: add "gentoo" to altDirDistros 2037 - update-pot: include file locations in translation template, and 2038 extract strings from desktop files 2039 - gadget/many: drop usage of gpt attr 59 for indicating creation of 2040 partitions 2041 - gadget/quantity: tweak test name 2042 - snap: fix failing unittest for quantity.FormatDuration() 2043 - gadget/quantity: introduce a new package that captures quantities 2044 - o/devicestate,a/sysdb: make a backup of the device serial to save 2045 - tests: fix rare interaction of tests.session and specific tests 2046 - features: enable classic-preserves-xdg-runtime-dir 2047 - tests/nested/core20/save: check the bind mount and size bump 2048 - o/devicetate,dirs: keep device keys in ubuntu-save/save for UC20 2049 - tests: rename hasHooks to hasInterfaceHooks in the ifacestate 2050 tests 2051 - o/devicestate: unit test tweaks 2052 - boot: store the TPM{PolicyAuthKey,LockoutAuth}File in ubuntu-save 2053 - testutil, cmd/snap/version: fix misc little errors 2054 - overlord/devicestate: bind mount ubuntu-save under 2055 /var/lib/snapd/save on startup 2056 - gadget/internal: tune ext4 setting for smaller filesystems 2057 - tests/nested/core20/save: a test that verifies ubuntu-save is 2058 present and set up 2059 - tests: update google sru backend to support groovy 2060 - o/ifacestate: handle interface hooks when preseeding 2061 - tests: re-enable the apt hooks test 2062 - interfaces,snap: use correct type: {os,snapd} for test data 2063 - secboot: set metadata and keyslots sizes when formatting LUKS2 2064 volumes 2065 - tests: improve uc20-create-partitions-reinstall test 2066 - client, daemon, cmd/snap: cleanups from #9489 + more unit tests 2067 - cmd/snap-bootstrap: mount ubuntu-save during boot if present 2068 - secboot: fix doc comment on helper for unlocking volume with key 2069 - tests: add spread test for refreshing from an old snapd and core18 2070 - o/snapstate: generate snapd snap wrappers again after restart on 2071 refresh 2072 - secboot: version bump, unlock volume with key 2073 - tests/snap-advise-command: re-enable test 2074 - cmd/snap, snapmgr, tests: cleanups after #9418 2075 - interfaces: deny connected x11 plugs access to ICE 2076 - daemon,client: write and read a maintenance.json file for when 2077 snapd is shut down 2078 - many: update to secboot v1 (part 1) 2079 - osutil/disks/mockdisk: panic if same mountpoint shows up again 2080 with diff opts 2081 - tests/nested/core20/gadget,kernel-reseal: add sanity checks to the 2082 reseal tests 2083 - many: implement snap routine console-conf-start for synchronizing 2084 auto-refreshes 2085 - dirs, boot: add ubuntu-save directories and related locations 2086 - usersession: fix typo in test name 2087 - overlord/snapstate: refactor ihibitRefresh 2088 - overlord/snapstate: stop warning about inhibited refreshes 2089 - cmd/snap: do not hardcode snapshot age value 2090 - overlord,usersession: initial notifications of pending refreshes 2091 - tests: add a unit test for UpdateMany where a single snap fails 2092 - o/snapstate/catalogrefresh.go: don't refresh catalog in install 2093 mode uc20 2094 - tests: also check snapst.Current in undo-unlink tests 2095 - tests: new nested tool 2096 - o/snapstate: implement undo handler for unlink-snap 2097 - tests: clean systems.sh helper and migrate last set of tests 2098 - tests: moving the lib section from systems.sh helper to os.query 2099 tool 2100 - tests/uc20-create-partitions: don't check for grub.cfg 2101 - packaging: make sure that static binaries are indeed static, fix 2102 openSUSE 2103 - many: have install return encryption keys for data and save, 2104 improve tests 2105 - overlord: add link participant for linkage transitions 2106 - tests: lxd smoke test 2107 - tests: add tests for fsck; cmd/s-b/initramfs-mounts: fsck ubuntu- 2108 seed too 2109 - tests: moving main suite from systems.sh to os.query tool 2110 - tests: moving the core test suite from systems.sh to os.query tool 2111 - cmd/snap-confine: mask host's apparmor config 2112 - o/snapstate: move setting updated SnapState after error paths 2113 - tests: add value to INSTANCE_KEY/regular 2114 - spread, tests: tweaks for openSUSE 2115 - cmd/snap-confine: update path to snap-device-helper in AppArmor 2116 profile 2117 - tests: new os.query tool 2118 - overlord/snapshotstate/backend: specify tar format for snapshots 2119 - tests/nested/manual/minimal-smoke: use 384MB of RAM for nested 2120 UC20 2121 - client,daemon,snap: auto-import does not error on managed devices 2122 - interfaces: PTP hardware clock interface 2123 - tests: use tests.backup tool 2124 - many: verify that unit tests work with nosecboot tag and without 2125 secboot package 2126 - wrappers: do not error out on read-only /etc/dbus-1/session.d 2127 filesystem on core18 2128 - snapshots: import of a snapshot set 2129 - tests: more output for sbuild test 2130 - o/snapstate: re-order remove tasks for individual snap revisions 2131 to remove current last 2132 - boot: skip some unit tests when running as root 2133 - o/assertstate: introduce 2134 ValidationTrackingKey/ValidationSetTracking and basic methods 2135 - many: allow ignoring running apps for specific request 2136 - tests: allow the searching test to fail under load 2137 - overlord/snapstate: inhibit startup while unlinked 2138 - seed/seedwriter/writer.go: check DevModeConfinement for dangerous 2139 features 2140 - tests/main/sudo-env: snap bin is available on Fedora 2141 - boot, overlord/devicestate: list trusted and managed assets 2142 upfront 2143 - gadget, gadget/install: support for ubuntu-save, create one during 2144 install if needed 2145 - spread-shellcheck: temporary workaround for deadlock, drop 2146 unnecessary test 2147 - snap: support different exit-code in the snap command 2148 - logger: use strutil.KernelCommandLineSplit in 2149 debugEnabledOnKernelCmdline 2150 - logger: fix snapd.debug=1 parsing 2151 - overlord: increase refresh postpone limit to 14 days 2152 - spread-shellcheck: use single thread pool executor 2153 - gadget/install,secboot: add debug messages 2154 - spread-shellcheck: speed up spread-shellcheck even more 2155 - spread-shellcheck: process paths from arguments in parallel 2156 - tests: tweak error from tests.cleanup 2157 - spread: remove workaround for openSUSE go issue 2158 - o/configstate: create /etc/sysctl.d when applying early config 2159 defaults 2160 - tests: new tests.backup tool 2161 - tests: add tests.cleanup pop sub-command 2162 - tests: migration of the main suite to snaps-state tool part 6 2163 - tests: fix journal-state test 2164 - cmd/snap-bootstrap/initramfs-mounts: split off new helper for misc 2165 recover files 2166 - cmd/snap-bootstrap/initramfs-mounts: also copy /etc/machine-id for 2167 same IP addr 2168 - packaging/{ubuntu,debian}: add liblzo2-dev as a dependency for 2169 building snapd 2170 - boot, gadget, bootloader: observer preserves managed bootloader 2171 configs 2172 - tests/nested/manual: add uc20 grade signed cloud-init test 2173 - o/snapstate/autorefresh.go: eliminate race when launching 2174 autorefresh 2175 - daemon,snapshotstate: do not return "size" from Import() 2176 - daemon: limit reading from snapshot import to Content-Length 2177 - many: set/expect Content-Length header when importing snapshots 2178 - github: switch from ::set-env command to environment file 2179 - tests: migration of the main suite to snaps-state tool part 5 2180 - client: cleanup the Client.raw* and Client.do* method families 2181 - tests: moving main suite to snaps-state tool part 4 2182 - client,daemon,snap: use constant for snapshot content-type 2183 - many: fix typos and repeated "the" 2184 - secboot: fix tpm connection leak when it's not enabled 2185 - many: scaffolding for snapshots import API 2186 - run-checks: run spread-shellcheck too 2187 - interfaces: update network-manager interface to allow 2188 ObjectManager access from unconfined clients 2189 - tests: move core and regression suites to snaps-state tool 2190 - tests: moving interfaces tests to snaps-state tool 2191 - gadget: preserve files when indicated by content change observer 2192 - tests: moving smoke test suite and some tests from main suite to 2193 snaps-state tool 2194 - o/snapshotstate: pass set id to backend.Open, update tests 2195 - asserts/snapasserts: introduce ValidationSets 2196 - o/snapshotstate: improve allocation of new set IDs 2197 - boot: look at the gadget for run mode bootloader when making the 2198 system bootable 2199 - cmd/snap: allow snap help vs --all to diverge purposefully 2200 - usersession/userd: separate bus name ownership from defining 2201 interfaces 2202 - o/snapshotstate: set snapshot set id from its filename 2203 - o/snapstate: move remove-related tests to snapstate_remove_test.go 2204 - desktop/notification: switch ExpireTimeout to time.Duration 2205 - desktop/notification: add unit tests 2206 - snap: snap help output refresh 2207 - tests/nested/manual/preseed: include a system-usernames snap when 2208 preseeding 2209 - tests: fix sudo-env test 2210 - tests: fix nested core20 shellcheck bug 2211 - tests/lib: move to new directory when restoring PWD, cleanup 2212 unpacked unpacked snap directories 2213 - desktop/notification: add bindings for FDO notifications 2214 - dbustest: fix stale comment references 2215 - many: move ManagedAssetsBootloader into TrustedAssetsBootloader, 2216 drop former 2217 - snap-repair: add uc20 support 2218 - tests: print all the serial logs for the nested test 2219 - o/snapstate/check_snap_test.go: mock osutil.Find{U,G}id to avoid 2220 bug in test 2221 - cmd/snap/auto-import: stop importing system user assertions from 2222 initramfs mnts 2223 - osutil/group.go: treat all non-nil errs from user.Lookup{Group,} 2224 as Unknown* 2225 - asserts: deserialize grouping only once in Pool.AddBatch if needed 2226 - gadget: allow content observer to have opinions about a change 2227 - tests: new snaps-state command - part1 2228 - o/assertstate: support refreshing any number of snap-declarations 2229 - boot: use test helpers 2230 - tests/core/snap-debug-bootvars: also check snap_mode 2231 - many/apparmor: adjust rules for reading profile/ execing new 2232 profiles for new kernel 2233 - tests/core/snap-debug-bootvars: spread test for snap debug boot- 2234 vars 2235 - tests/lib/nested.sh: more little tweaks 2236 - tests/nested/manual/grade-signed-above-testkeys-boot: enable kvm 2237 - cmd/s-b/initramfs-mounts: use ConfigureTargetSystem for install, 2238 recover modes 2239 - overlord: explicitly set refresh-app-awareness in tests 2240 - kernel: remove "edition" from kernel.yaml and add "update" 2241 - spread: drop vendor from the packed project archive 2242 - boot: fix debug bootloader variables dump on UC20 systems 2243 - wrappers, systemd: allow empty root dir and conditionally do not 2244 pass --root to systemctl 2245 - tests/nested/manual: add test for grades above signed booting with 2246 testkeys 2247 - tests/nested: misc robustness fixes 2248 - o/assertstate,asserts: use bulk refresh to refresh snap- 2249 declarations 2250 - tests/lib/prepare.sh: stop patching the uc20 initrd since it has 2251 been updated now 2252 - tests/nested/manual/refresh-revert-fundamentals: re-enable test 2253 - update-pot: ignore .go files inside .git when running xgettext-go 2254 - tests: disable part of the lxd test completely on 16.04. 2255 - o/snapshotstate: tweak comment regarding snapshot filename 2256 - o/snapstate: improve snapshot iteration 2257 - bootloader: lk cleanups 2258 - tests: update to support nested kvm without reboots on UC20 2259 - tests/nested/manual/preseed: disable system-key check for 20.04 2260 image 2261 - spread.yaml: add ubuntu-20.10-64 to qemu 2262 - store: handle v2 error when fetching assertions 2263 - gadget: resolve device mapper devices for fallback device lookup 2264 - tests/nested/cloud-init-many: simplify tests and unify 2265 helpers/seed inputs 2266 - tests: copy /usr/lib/snapd/info to correct directory 2267 - check-pr-title.py * : allow "*" in the first part of the title 2268 - many: typos and small test tweak 2269 - tests/main/lxd: disable cgroup combination for 16.04 that is 2270 failing a lot 2271 - tests: make nested signing helpers less confusing 2272 - tests: misc nested changes 2273 - tests/nested/manual/refresh-revert-fundamentals: disable 2274 temporarily 2275 - tests/lib/cla_check: default to Python 3, tweaks, formatting 2276 - tests/lib/cl_check.py: use python3 compatible code 2277 2278 * Thu Oct 08 2020 Michael Vogt <mvo@ubuntu.com> 2279 - New upstream release 2.47.1 2280 - o/configstate: create /etc/sysctl.d when applying early config 2281 defaults 2282 - cmd/snap-bootstrap/initramfs-mounts: also copy /etc/machine-id for 2283 same IP addr 2284 - packaging/{ubuntu,debian}: add liblzo2-dev as a dependency for 2285 building snapd 2286 - cmd/snap: allow snap help vs --all to diverge purposefully 2287 - snap: snap help output refresh 2288 2289 * Tue Sep 29 2020 Michael Vogt <mvo@ubuntu.com> 2290 - New upstream release 2.47 2291 - tests: fix nested core20 shellcheck bug 2292 - many/apparmor: adjust rule for reading apparmor profile for new 2293 kernel 2294 - snap-repair: add uc20 support 2295 - cmd/snap/auto-import: stop importing system user assertions from 2296 initramfs mnts 2297 - cmd/s-b/initramfs-mounts: use ConfigureTargetSystem for install, 2298 recover modes 2299 - gadget: resolve device mapper devices for fallback device lookup 2300 - secboot: add boot manager profile to pcr protection profile 2301 - sysconfig,o/devicestate: mv DisableNoCloud to 2302 DisableAfterLocalDatasourcesRun 2303 - tests: make gadget-reseal more robust 2304 - tests: skip nested images pre-configuration by default 2305 - tests: fix for basic20 test running on external backend and rpi 2306 - tests: improve kernel reseal test 2307 - boot: adjust comments, naming, log success around reseal 2308 - tests/nested, fakestore: changes necessary to run nested uc20 2309 signed/secured tests 2310 - tests: add nested core20 gadget reseal test 2311 - boot/modeenv: track unknown keys in Read and put back into modeenv 2312 during Write 2313 - interfaces/process-control: add sched_setattr to seccomp 2314 - boot: with unasserted kernels reseal if there's a hint modeenv 2315 changed 2316 - client: bump the default request timeout to 120s 2317 - configcore: do not error in console-conf.disable for install mode 2318 - boot: streamline bootstate20.go reseal and tests changes 2319 - boot: reseal when changing kernel 2320 - cmd/snap/model: specify grade in the model command output 2321 - tests: simplify 2322 repack_snapd_snap_with_deb_content_and_run_mode_first_boot_tweaks 2323 - test: improve logging in nested tests 2324 - nested: add support to telnet to serial port in nested VM 2325 - secboot: use the snapcore/secboot native recovery key type 2326 - tests/lib/nested.sh: use more focused cloud-init config for uc20 2327 - tests/lib/nested.sh: wait for the tpm socket to exist 2328 - spread.yaml, tests/nested: misc changes 2329 - tests: add more checks to disk space awareness spread test 2330 - tests: disk space awareness spread test 2331 - boot: make MockUC20Device use a model and MockDevice more 2332 realistic 2333 - boot,many: reseal only when meaningful and necessary 2334 - tests/nested/core20/kernel-failover: add test for failed refresh 2335 of uc20 kernel 2336 - tests: fix nested to work with qemu and kvm 2337 - boot: reseal when updating boot assets 2338 - tests: fix snap-routime-portal-info test 2339 - boot: verify boot chain file in seal and reseal tests 2340 - tests: use full path to test-snapd-refresh.version binary 2341 - boot: store boot chains during install, helper for checking 2342 whether reseal is needed 2343 - boot: add call to reseal an existing key 2344 - boot: consider boot chains with unrevisioned kernels incomparable 2345 - overlord: assorted typos and miscellaneous changes 2346 - boot: group SealKeyModelParams by model, improve testing 2347 - secboot: adjust parameters to buildPCRProtectionProfile 2348 - strutil: add SortedListsUniqueMergefrom the doc comment: 2349 - snap/naming: upgrade TODO to TODO:UC20 2350 - secboot: add call to reseal an existing key 2351 - boot: in seal.go adjust error message and function names 2352 - o/snapstate: check available disk space in RemoveMany 2353 - boot: build bootchains data for sealing 2354 - tests: remove "set -e" from function only shell libs 2355 - o/snapstate: disk space check on UpdateMany 2356 - o/snapstate: disk space check with snap update 2357 - snap: implement new `snap reboot` command 2358 - boot: do not reorder boot assets when generating predictable boot 2359 chains and other small tweaks 2360 - tests: some fixes and improvements for nested execution 2361 - tests/core/uc20-recovery: fix check for at least specific calls to 2362 mock-shutdown 2363 - boot: be consistent using bootloader.Role* consts instead of 2364 strings 2365 - boot: helper for generating secboot load chains from a given boot 2366 asset sequence 2367 - boot: tweak boot chains to support a list of kernel command lines, 2368 keep track of model and kernel boot file 2369 - boot,secboot: switch to expose and use snapcore/secboot load event 2370 trees 2371 - tests: use `nested_exec` in core{20,}-early-config test 2372 - devicestate: enable cloud-init on uc20 for grade signed and 2373 secured 2374 - boot: add "rootdir" to baseBootenvSuite and use in tests 2375 - tests/lib/cla_check.py: don't allow users.noreply.github.com 2376 commits to pass CLA 2377 - boot: represent boot chains, helpers for marshalling and 2378 equivalence checks 2379 - boot: mark successful with boot assets 2380 - client, api: handle insufficient space error 2381 - o/snapstate: disk space check with single snap install 2382 - configcore: "service.console-conf.disable" is gadget defaults only 2383 - packaging/opensuse: fix for /usr/libexec on TW, do not hardcode 2384 AppArmor profile path 2385 - tests: skip udp protocol in nfs-support test on ubuntu-20.10 2386 - packaging/debian-sid: tweak code preparing _build tree 2387 - many: move seal code from gadget/install to boot 2388 - tests: remove workaround for cups on ubuntu-20.10 2389 - client: implement RebootToSystem 2390 - many: seed.Model panics now if called before LoadAssertions 2391 - daemon: add /v2/systems "reboot" action API 2392 - github: run tests also on push to release branches 2393 - interfaces/bluez: let slot access audio streams 2394 - seed,c/snap-bootstrap: simplify snap-bootstrap seed reading with 2395 new seed.ReadSystemEssential 2396 - interfaces: allow snap-update-ns to read /proc/cmdline 2397 - tests: new organization for nested tests 2398 - o/snapstate, features: add feature flags for disk space awareness 2399 - tests: workaround for cups issue on 20.10 where default printer is 2400 not configured. 2401 - interfaces: update cups-control and add cups for providing snaps 2402 - boot: keep track of the original asset when observing updates 2403 - tests: simplify and fix tests for disk space checks on snap remove 2404 - sysconfig/cloudinit.go: add AllowCloudInit and use GadgetDir for 2405 cloud.conf 2406 - tests/main: mv core specific tests to core suite 2407 - tests/lib/nested.sh: reset the TPM when we create the uc20 vm 2408 - devicestate: rename "mockLogger" to "logbuf" 2409 - many: introduce ContentChange for tracking gadget content in 2410 observers 2411 - many: fix partion vs partition typo 2412 - bootloader: retrieve boot chains from bootloader 2413 - devicestate: add tests around logging in RequestSystemAction 2414 - boot: handle canceled update 2415 - bootloader: tweak doc comments (thanks Samuele) 2416 - seed/seedwriter: test local asserted snaps with UC20 grade signed 2417 - sysconfig/cloudinit.go: add DisableNoCloud to 2418 CloudInitRestrictOptions 2419 - many: use BootFile type in load sequences 2420 - boot,bootloader: clarifications after the changes to introduce 2421 bootloader.Options.Role 2422 - boot,bootloader,gadget: apply new bootloader.Options.Role 2423 - o/snapstate, features: add feature flag for disk space check on 2424 remove 2425 - testutil: add checkers for symbolic link target 2426 - many: refactor tpm seal parameter setting 2427 - boot/bootstate20: reboot to rollback to previous kernel 2428 - boot: add unit test helpers 2429 - boot: observe update & rollback of trusted assets 2430 - interfaces/utf: Add MIRKey to u2f devices 2431 - o/devicestate/devicestate_cloudinit_test.go: test cleanup for uc20 2432 cloud-init tests 2433 - many: check that users of BaseTest don't forget to consume 2434 cleanups 2435 - tests/nested/core20/tpm: verify trusted boot assets tracking 2436 - github: run macOS job with Go 1.14 2437 - many: misc doc-comment changes and typo fixes 2438 - o/snapstate: disk space check with InstallMany 2439 - many: cloud-init cleanups from previous PR's 2440 - tests: running tests on opensuse leap 15.2 2441 - run-checks: check for dirty build tree too 2442 - vendor: run ./get-deps.sh to update the secboot hash 2443 - tests: update listing test for "-dirty" versions 2444 - overlord/devicestate: do not release the state lock when updating 2445 gadget assets 2446 - secboot: read kernel efi image from snap file 2447 - snap: add size to the random access file return interface 2448 - daemon: correctly parse Content-Type HTTP header. 2449 - tests: account for apt-get on core18 2450 - cmd/snap-bootstrap/initramfs-mounts: compute string outside of 2451 loop 2452 - mkversion.sh: simple hack to include dirty in version if the tree 2453 is dirty 2454 - cgroup,snap: track hooks on system bus only 2455 - interfaces/systemd: compare dereferenced Service 2456 - run-checks: only check files in git for misspelling 2457 - osutil: add a package doc comment (via doc.go) 2458 - boot: complain about reused asset name during initial install 2459 - snapstate: installSize helper that calculates total size of snaps 2460 and their prerequisites 2461 - snapshots: export of snapshots 2462 - boot/initramfs_test.go: reset boot vars on the bootloader for each 2463 iteration 2464 2465 * Fri Sep 04 2020 Michael Vogt <mvo@ubuntu.com> 2466 - New upstream release 2.46.1 2467 - interfaces: allow snap-update-ns to read 2468 /proc/cmdline 2469 - github: run macOS job with Go 1.14 2470 - o/snapstate, features: add feature flag for disk space check on 2471 remove 2472 - tests: account for apt-get on core18 2473 - mkversion.sh: include dirty in version if the tree 2474 is dirty 2475 - interfaces/systemd: compare dereferenced Service 2476 - vendor.json: update mysterious secboot SHA again 2477 2478 * Tue Aug 25 2020 Michael Vogt <mvo@ubuntu.com> 2479 - New upstream release 2.46 2480 - logger: add support for setting snapd.debug=1 on kernel cmdline 2481 - o/snapstate: check disk space before creating automatic snapshot 2482 on remove 2483 - boot, o/devicestate: observe existing recovery bootloader trusted 2484 boot assets 2485 - many: use transient scope for tracking apps and hooks 2486 - features: add HiddenSnapFolder feature flag 2487 - tests/lib/nested.sh: fix partition typo, unmount the image on uc20 2488 too 2489 - runinhibit: open the lock file in read-only mode in IsLocked 2490 - cmd/s-b/initramfs-mounts: make recover -> run mode transition 2491 automatic 2492 - tests: update spread test for unknown plug/slot with snapctl is- 2493 connected 2494 - osutil: add OpenExistingLockForReading 2495 - kernel: add kernel.Validate() 2496 - interfaces: add vcio interface 2497 - interfaces/{docker,kubernetes}-support: load overlay and support 2498 systemd cgroup driver 2499 - tests/lib/nested.sh: use more robust code for finding what loop 2500 dev we mounted 2501 - cmd/snap-update-ns: detach all bind-mounted file 2502 - snap/snapenv: set SNAP_REAL_HOME 2503 - packaging: umount /snap on purge in containers 2504 - interfaces: misc policy updates xlvi 2505 - secboot,cmd/snap-bootstrap: cross-check partitions before 2506 unlocking, mounting 2507 - boot: copy boot assets cache to new root 2508 - gadget,kernel: add new kernel.{Info,Asset} struct and helpers 2509 - o/hookstate/ctlcmd: make is-connected check whether the plug or 2510 slot exists 2511 - tests: find -ignore_readdir_race when scanning cgroups 2512 - interfaces/many: deny arbitrary desktop files and misc from 2513 /usr/share 2514 - tests: use "set -ex" in prep-snapd-in-lxd.sh 2515 - tests: re-enable udisks test on debian-sid 2516 - cmd/snapd-generator: use PATH fallback if PATH is not set 2517 - tests: disable udisks2 test on arch linux 2518 - github: use latest/stable go, not latest/edge 2519 - tests: remove support for ubuntu 19.10 from spread tests 2520 - tests: fix lxd test wrongly tracking 'latest' 2521 - secboot: document exported functions 2522 - cmd: compile snap gdbserver shim correctly 2523 - many: correctly calculate the desktop file prefix everywhere 2524 - interfaces: add kernel-crypto-api interface 2525 - corecfg: add "system.timezone" setting to the system settings 2526 - cmd/snapd-generator: generate drop-in to use fuse in container 2527 - cmd/snap-bootstrap/initramfs-mounts: tweak names, add comments 2528 from previous PR 2529 - interfaces/many: miscellaneous updates for strict microk8s 2530 - secboot,cmd/snap-bootstrap: don't import boot package from secboot 2531 - cmd/snap-bootstrap/initramfs-mounts: call systemd-mount instead of 2532 the-tool 2533 - tests: work around broken update of systemd-networkd 2534 - tests/main/install-fontconfig-cache-gen: enhance test by 2535 verifying, add fonts to test 2536 - o/devicestate: wrap asset update observer error 2537 - boot: refactor such that bootStateUpdate20 mainly carries Modeenv 2538 - mkversion.sh: disallow changelog versions that have git in it, if 2539 we also have git version 2540 - interfaces/many: miscellaneous updates for strict microk8s 2541 - snap: fix repeated "cannot list recovery system" and add test 2542 - boot: track trusted assets during initial install, assets cache 2543 - vendor: update secboot to fix key data validation 2544 - tests: unmount FUSE file-systems from XDG runtime dir 2545 - overlord/devicestate: workaround non-nil interface with nil struct 2546 - sandbox/cgroup: remove temporary workaround for multiple cgroup 2547 writers 2548 - sandbox/cgroup: detect dangling v2 cgroup 2549 - bootloader: add helper for creating a bootloader based on gadget 2550 - tests: support different images on nested execution 2551 - many: reorg cmd/snapinfo.go into snap and new client/clientutil 2552 - packaging/arch: use external linker when building statically 2553 - tests: cope with ghost cgroupv2 2554 - tests: fix issues related to restarting systemd-logind.service 2555 - boot, o/devicestate: TrustedAssetUpdateObserver stubs, hook up to 2556 gadget updates 2557 - vendor: update github.com/kr/pretty to fix diffs of values with 2558 pointer cycles 2559 - boot: move bootloaderKernelState20 impls to separate file 2560 - .github/workflows: move snap building to test.yaml as separate 2561 cached job 2562 - tests/nested/manual/minimal-smoke: run core smoke tests in a VM 2563 meeting minimal requirements 2564 - osutil: add CommitAs to atomic file 2565 - gadget: introduce content update observer 2566 - bootloader: introduce TrustedAssetsBootloader, implement for grub 2567 - o/snapshotstate: helpers for calculating disk space needed for an 2568 automatic snapshot 2569 - gadget/install: retrieve command lines from bootloader 2570 - boot/bootstate20: unify commit method impls, rm 2571 bootState20MarkSuccessful 2572 - tests: add system information and image information when debug 2573 info is displayed 2574 - tests/main/cgroup-tracking: try to collect some information about 2575 cgroups 2576 - boot: introduce current_boot_assets and 2577 current_recovery_boot_assets to modeenv 2578 - tests: fix for timing issues on journal-state test 2579 - many: remove usage and creation of hijacked pid cgroup 2580 - tests: port regression-home-snap-root-owned to tests.session 2581 - tests: run as hightest via tests.session 2582 - github: run CLA checks on self-hosted workers 2583 - github: remove Ubuntu 19.10 from actions workflow 2584 - tests: remove End-Of-Life opensuse/fedora releases 2585 - tests: remove End-Of-Life releases from spread.yaml 2586 - tests: fix debug section of appstream-id test 2587 - interfaces: check !b.preseed earlier 2588 - tests: work around bug in systemd/debian 2589 - boot: add deepEqual, Copy helpers for Modeenv to simplify 2590 bootstate20 refactor 2591 - cmd: add new "snap recovery" command 2592 - interfaces/systemd: use emulation mode when preseeding 2593 - interfaces/kmod: don't load kernel modules in kmod backend when 2594 preseeding 2595 - interfaces/udev: do not reload udevadm rules when preseeding 2596 - cmd/snap-preseed: use snapd from the deb if newer than from seeds 2597 - boot: fancy marshaller for modeenv values 2598 - gadget, osutil: use atomic file copy, adjust tests 2599 - overlord: use new tracking cgroup for refresh app awareness 2600 - github: do not skip gofmt with Go 1.9/1.10 2601 - many: introduce content write observer, install mode glue, initial 2602 seal stubs 2603 - daemon,many: switch to use client.ErrorKind and drop the local 2604 errorKind... 2605 - tests: new parameters for nested execution 2606 - client: move all error kinds into errors.go and add doc strings 2607 - cmd/snap: display the error in snap debug seeding if seeding is in 2608 error 2609 - cmd/snap/debug/seeding: use unicode for proper yaml 2610 - tests/cmd/snap-bootstrap/initramfs-mounts: add test case for empty 2611 recovery_mode 2612 - osutil/disks: add mock disk and tests for happy path of mock disks 2613 - tests: refresh/revert snapd in uc20 2614 - osutil/disks: use a dedicated error to indicate a fs label wasn't 2615 found 2616 - interfaces/system-key: in WriteSystemKey during tests, don't call 2617 ParserFeatures 2618 - boot: add current recovery systems to modeenv 2619 - bootloader: extend managed assets bootloader interface to compose 2620 a candidate command line 2621 - interfaces: make the unmarshal test match more the comment 2622 - daemon/api: use pointers to time.Time for debug seeding aspect 2623 - o/ifacestate: update security profiles in connect undo handler 2624 - interfaces: add uinput interface 2625 - cmd/snap-bootstrap/initramfs-mounts: add doSystemdMount + unit 2626 tests 2627 - o/devicestate: save seeding/preseeding times for use with debug 2628 seeding api 2629 - cmd/snap/debug: add "snap debug seeding" command for preseeding 2630 debugging 2631 - tests/main/selinux-clean: workaround SELinux denials triggered by 2632 linger setup on Centos8 2633 - bootloader: compose command line with mode and extra arguments 2634 - cmd/snap, daemon: detect and bail purge on multi-snap 2635 - o/ifacestate: fix bug in snapsWithSecurityProfiles 2636 - interfaces/builtin/multipass: replace U+00A0 no-break space with 2637 simple space 2638 - bootloader/assets: generate bootloader assets from files 2639 - many/tests/preseed: reset the preseeded images before preseeding 2640 them 2641 - tests: drop accidental accents from e 2642 - secboot: improve key sealing tests 2643 - tests: replace _wait_for_file_change with retry 2644 - tests: new fs-state which replaces the files.sh helper 2645 - sysconfig/cloudinit_test.go: add test for initramfs case, rm "/" 2646 from path 2647 - cmd/snap: track started apps and hooks 2648 - tests/main/interfaces-pulseaudio: disable start limit checking for 2649 pulseaudio service 2650 - api: seeding debug api 2651 - .github/workflows/snap-build.yaml: build the snapd snap via GH 2652 Actions too 2653 - tests: moving journalctl.sh to a new journal-state tool 2654 - tests/nested/manual: add spread tests for cloud-init vuln 2655 - bootloader/assets: helpers for registering per-edition snippets, 2656 register snippets for grub 2657 - data,packaging,wrappers: extend D-Bus service activation search 2658 path 2659 - spread: add opensuse 15.2 and tumbleweed for qemu 2660 - overlord,o/devicestate: restrict cloud-init on Ubuntu Core 2661 - sysconfig/cloudinit: add RestrictCloudInit 2662 - cmd/snap-preseed: check that target path exists and is a directory 2663 on --reset 2664 - tests: check for pids correctly 2665 - gadget,gadget/install: refactor partition table update 2666 - sysconfig/cloudinit: add CloudInitStatus func + CloudInitState 2667 type 2668 - interface/fwupd: add more policies for making fwupd upstream 2669 strict 2670 - tests: new to-one-line tool which replaces the strings.sh helper 2671 - interfaces: new helpers to get and compare system key, for use 2672 with seeding debug api 2673 - osutil, many: add helper for checking whether the process is a go 2674 test binary 2675 - cmd/snap-seccomp/syscalls: add faccessat2 2676 - tests: adjust xdg-open after launcher changes 2677 - tests: new core config helper 2678 - usersession/userd: do not modify XDG_DATA_DIRS when calling xdg- 2679 open 2680 - cmd/snap-preseed: handle relative chroot path 2681 - snapshotstate: move sizer to osutil.Sizer() 2682 - tests/cmd/snap-bootstrap/initramfs-mounts: rm duplicated env ref 2683 kernel tests 2684 - gadget/install,secboot: use snapcore/secboot luks2 api 2685 - boot/initramfs_test.go: add Commentf to more Assert()'s 2686 - tests/lib: account for changes in arch package file name extension 2687 - bootloader/bootloadertest: fix comment typo 2688 - bootloader: add helper for getting recovery system environment 2689 variables 2690 - tests: preinstall shellcheck and run tests on focal 2691 - strutil: add a helper for parsing kernel command line 2692 - osutil: add CheckFreeSpace helper 2693 - secboot: update tpm connection error handling 2694 - packaging, cmd/snap-mgmt, tests: remove modules files on purge 2695 - tests: add tests.cleanup helper 2696 - packaging: add "ca-certificates" to build-depends 2697 - tests: more checks in core20 early config spread test 2698 - tests: fix some snapstate tests to use pointers for 2699 snapmgrTestSuite 2700 - boot: better naming of helpers for obtaining kernel command line 2701 - many: use more specific check for unit test mocking 2702 - systemd/escape: fix issues with "" and "\t" handling 2703 - asserts: small improvements and corrections for sequence-forming 2704 assertions' support 2705 - boot, bootloader: query kernel command line of run mod and 2706 recovery mode systems 2707 - snap/validate.go: disallow snap layouts with new top-level 2708 directories 2709 - tests: allow to add a new label to run nested tests as part of PR 2710 validation 2711 - tests/core/gadget-update-pc: port to UC20 2712 - tests: improve nested tests flexibility 2713 - asserts: integer headers: disallow prefix zeros and make parsing 2714 more uniform 2715 - asserts: implement Database.FindSequence 2716 - asserts: introduce SequenceMemberAfter in the asserts backstores 2717 - spread.yaml: remove tests/lib/tools from PATH 2718 - overlord: refuse to install snaps whose activatable D-Bus services 2719 conflict with installed snaps 2720 - tests: shorten lxd-state undo-mount-changes 2721 - snap-confine: don't die if a device from sysfs path cannot be 2722 found by udev 2723 - tests: fix argument handling of apt-state 2724 - tests: rename lxd-tool to lxd-state 2725 - tests: rename user-tool to user-state, fix --help 2726 - interfaces: add gconf interface 2727 - sandbox/cgroup: avoid parsing security tags twice 2728 - tests: rename version-tool to version-compare 2729 - cmd/snap-update-ns: handle anomalies better 2730 - tests: fix call to apt.Package.mark_install(auto_inst=True) 2731 - tests: rename mountinfo-tool to mountinfo.query 2732 - tests: rename memory-tool to memory-observe-do 2733 - tests: rename invariant-tool to tests.invariant 2734 - tests: rename apt-tool to apt-state 2735 - many: managed boot config during run mode setup 2736 - asserts: introduce the concept of sequence-forming assertion types 2737 - tests: tweak comments/output in uc20-recovery test 2738 - tests/lib/pkgdb: do not use quiet when purging debs 2739 - interfaces/apparmor: allow snap-specific /run/lock 2740 - interfaces: add system-source-code for access to /usr/src 2741 - sandbox/cgroup: extend SnapNameFromPid with tracking cgroup data 2742 - gadget/install: move udev trigger to gadget/install 2743 - many: make nested spread tests more reliable 2744 - tests/core/uc20-recovery: apply hack to get gopath in recover mode 2745 w/ external backend 2746 - tests: enable tests on uc20 which now work with the real model 2747 assertion 2748 - tests: enable system-snap-refresh test on uc20 2749 - gadget, bootloader: preserve managed boot assets during gadget 2750 updates 2751 - tests: fix leaked dbus-daemon in selinux-clean 2752 - tests: add servicestate.Control tests 2753 - tests: fix "restart.service" 2754 - wrappers: helper for enabling services - extract and move enabling 2755 of services into a helper 2756 - tests: new test to validate refresh and revert of kernel and 2757 gadget on uc20 2758 - tests/lib/prepare-restore: collect debug info when prepare purge 2759 fails 2760 - bootloader: allow managed bootloader to update its boot config 2761 - tests: Remove unity test from nightly test suite 2762 - o/devicestate: set mark-seeded to done in the task itself 2763 - tests: add spread test for disconnect undo caused by failing 2764 disconnect hook 2765 - sandbox/cgroup: allow discovering PIDs of given snap 2766 - osutil/disks: support IsDecryptedDevice for mountpoints which are 2767 dm devices 2768 - osutil: detect autofs mounted in /home 2769 - spread.yaml: allow amazon-linux-2-64 qemu with 2770 ec2-user/ec2-user 2771 - usersession: support additional zoom URL schemes 2772 - overlord: mock timings.DurationThreshold in TestNewWithGoodState 2773 - sandbox/cgroup: add tracking helpers 2774 - tests: detect stray dbus-daemon 2775 - overlord: refuse to install snaps providing user daemons on Ubuntu 2776 14.04 2777 - many: move encryption and installer from snap-boostrap to gadget 2778 - o/ifacestate: fix connect undo handler 2779 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 2780 - bootloader: introduce managed bootloader, implement for grub 2781 - tests: fix incorrect check in smoke/remove test 2782 - asserts,seed: split handling of essential/not essential model 2783 snaps 2784 - gadget: fix typo in mounted filesystem updater 2785 - gadget: do only one mount point lookup in mounted fs updater 2786 - tests/core/snap-auto-mount: try to make the test more robust 2787 - tests: adding ubuntu-20.04 to google-sru backend 2788 - o/servicestate: add updateSnapstateServices helper 2789 - bootloader: pull recovery grub config from internal assets 2790 - tests/lib/tools: apply linger workaround when needed 2791 - overlord/snapstate: graceful handling of denied "managed" refresh 2792 schedule 2793 - snapstate: fix autorefresh from classic->strict 2794 - overlord/configstate: add system.kernel.printk.console-loglevel 2795 option 2796 - tests: fix assertion disk handling for nested UC systems 2797 - snapstate: use testutil.HostScaledTimeout() in snapstate tests 2798 - tests: extra worker for google-nested backend to avoid timeout 2799 error on uc20 2800 - snapdtool: helper to check whether the current binary is reexeced 2801 from a snap 2802 - tests: mock servicestate in api tests to avoid systemctl checks 2803 - many: rename back snap.Info.GetType to Type 2804 - tests/lib/cla_check: expect explicit commit range 2805 - osutil/disks: refactor diskFromMountPointImpl a bit 2806 - o/snapstate: service-control task handler 2807 - osutil: add disks pkg for associating mountpoints with 2808 disks/partitions 2809 - gadget,cmd/snap-bootstrap: move partitioning to gadget 2810 - seed: fix LoadEssentialMeta when gadget is not loaded 2811 - cmd/snap: Debian does not allow $SNAP_MOUNT_DIR/bin in sudo 2812 secure_path 2813 - asserts: introduce new assertion validation-set 2814 - asserts,daemon: add support for "serials" field in system-user 2815 assertion 2816 - data/sudo: drop a failed sudo secure_path workaround 2817 - gadget: mv encodeLabel to osutil/disks.EncodeHexBlkIDFormat 2818 - boot, snap-bootstrap: move initramfs-mounts logic to boot pkg 2819 - spread.yaml: update secure boot attribute name 2820 - interfaces/block_devices: add NVMe subsystem devices, support 2821 multipath paths 2822 - tests: use the "jq" snap from the edge channel 2823 - tests: simplify the tpm test by removing the test-snapd-mokutil 2824 snap 2825 - boot/bootstate16.go: clean snap_try_* vars when not in Trying 2826 status too 2827 - tests/main/sudo-env: check snap path under sudo 2828 - tests/main/lxd: add test for snaps inside nested lxd containers 2829 not working 2830 - asserts/internal: expand errors about invalid serialized grouping 2831 labels 2832 - usersession/userd: add msteams url support 2833 - tests/lib/prepare.sh: adjust comment about sgdisk 2834 - tests: fix how gadget pc is detected when the snap does not exist 2835 and ls fails 2836 - tests: move a few more tests to snapstate_update_test.go 2837 - tests/main: add spread test for running svc from install hook 2838 - tests/lib/prepare: increase the size of the uc16/uc18 partitions 2839 - tests/special-home-can-run-classic-snaps: re-enable 2840 - workflow: test PR title as part of the static checks again 2841 - tests/main/xdg-open-compat: backup and restore original xdg-open 2842 - tests: move update-related tests to snapstate_update_test.go 2843 - cmd,many: move Version and bits related to snapd tools to 2844 snapdtool, merge cmdutil 2845 - tests/prepare-restore.sh: reset-failed systemd-journald before 2846 restarting 2847 - interfaces: misc small interface updates 2848 - spread: use find rather than recursive ls, skip mounted snaps 2849 - tests/lib/prepare-restore.sh: if we failed to purge snapd deb, ls 2850 /var/lib/snapd 2851 - tests: enable snap-auto-mount test on core20 2852 - cmd/snap: do not show $PATH warning when executing under sudo on a 2853 known distro 2854 - asserts/internal: add some iteration benchmarks 2855 - sandbox/cgroup: improve pid parsing code 2856 - snap: add new `snap run --experimental-gdbserver` option 2857 - asserts/internal: limit Grouping size switching to a bitset 2858 representationWe don't always use the bit-set representation 2859 because: 2860 - snap: add an activates-on property to apps for D-Bus activation 2861 - dirs: delete unused Cloud var, fix typo 2862 - sysconfig/cloudinit: make callers of DisableCloudInit use 2863 WritableDefaultsDir 2864 - tests: fix classic ubuntu core transition auth 2865 - tests: fail in setup_reflash_magic() if there is snapd state left 2866 - tests: port interfaces-many-core-provided to tests.session 2867 - tests: wait after creating partitions with sfdisk 2868 - bootloader: introduce bootloarder assets, import grub.cfg with an 2869 edition marker 2870 - riscv64: bump timeouts 2871 - gadget: drop dead code, hide exports that are not used externally 2872 - tests: port 2 uc20 part1 2873 - tests: fix bug waiting for snap command to be ready 2874 - tests: move try-related tests to snapstate_try_test.go 2875 - tests: add debug for 20.04 prepare failure 2876 - travis.yml: removed, all our checks run in GH actions now 2877 - tests: clean up up the use of configcoreSuite in the configcore 2878 tests 2879 - sandbox/cgroup: remove redundant pathOfProcPidCgroup 2880 - sandbox/cgroup: add tests for ParsePids 2881 - tests: fix the basic20 test for uc20 on external backend 2882 - tests: use configcoreSuite in journalSuite and remove some 2883 duplicated code 2884 - tests: move a few more tests to snapstate_install_test 2885 - tests: assorted small patches 2886 - dbusutil/dbustest: separate license from package 2887 - interfaces/builtin/time-control: allow POSIX clock API 2888 - usersession/userd: add "slack" to the white list of URL schemes 2889 handled by xdg-open 2890 - tests: check that host settings like hostname are settable on core 2891 - tests: port xdg-settings test to tests.session 2892 - tests: port snap-handle-link test to tests.session 2893 - arch: add riscv64 2894 - tests: core20 early defaults spread test 2895 - tests: move install tests from snapstate_test.go to 2896 snapstate_install_test.go 2897 - github: port macOS sanity checks from travis 2898 - data/selinux: allow checking /var/cache/app-info 2899 - o/devicestate: core20 early config from gadget defaults 2900 - tests: autoremove after removing lxd in preseed-lxd test 2901 - secboot,cmd/snap-bootstrap: add tpm sealing support to secboot 2902 - sandbox/cgroup: move FreezerCgroupDir from dirs.go 2903 - tests: update the file used to detect the boot path on uc20 2904 - spread.yaml: show /var/lib/snapd in debug 2905 - cmd/snap-bootstrap/initramfs-mounts: also copy systemd clock + 2906 netplan files 2907 - snap/naming: add helpers to parse app and hook security tags 2908 - tests: modernize retry tool 2909 - tests: fix and trim debug section in xdg-open-portal 2910 - tests: modernize and use snapd.tool 2911 - vendor: update to latest github.com/snapcore/bolt for riscv64 2912 - cmd/snap-confine: add support for libc6-lse 2913 - interfaces: miscellaneous policy updates xlv 2914 - interfaces/system-packages-doc: fix typo in variable names 2915 - tests: port interfaces-calendar-service to tests.session 2916 - tests: install/run the lzo test snap too 2917 - snap: (small) refactor of `snap download` code for 2918 testing/extending 2919 - data: fix shellcheck warnings in snapd.sh.in 2920 - packaging: disable buildmode=pie for riscv64 2921 - tests: install test-snapd-rsync snap from edge channel 2922 - tests: modernize tests.session and port everything using it 2923 - tests: add ubuntu 20.10 to spread tests 2924 - cmd/snap/remove: mention snap restore/automatic snapshots 2925 - dbusutil: move all D-Bus helpers and D-Bus test helpers 2926 - wrappers: pass 'disable' flag to StopServices wrapper 2927 - osutil: enable riscv64 build 2928 - snap/naming: add ParseSecurityTag and friends 2929 - tests: port document-portal-activation to session-tool 2930 - bootloader: rename test helpers to reflect we are mocking EFI boot 2931 locations 2932 - tests: disable test of nfs v3 with udp proto on debian-sid 2933 - tests: plan to improve the naming and uniformity of utilities 2934 - tests: move *-tool tests to their own suite 2935 - snap-bootstrap: remove sealed key file on reinstall 2936 - bootloader/ubootenv: don't panic with an empty uboot env 2937 - systemd: rename actualFsTypeAndMountOptions to 2938 hostFsTypeAndMountOptions 2939 - daemon: fix filtering of service-control changes for snap.app 2940 - tests: spread test for preseeding in lxd container 2941 - tests: fix broken snapd.session agent.socket 2942 - wrappers: add RestartServices function and ReloadOrRestart to 2943 systemd 2944 - o/cmdstate: handle ignore flag on exec-command tasks 2945 - gadget: make ext4 filesystems with or without metadata checksum 2946 - tests: update statx test to run on all LTS releases 2947 - configcore: show better error when disabling services 2948 - interfaces: add hugepages-control 2949 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 2950 - tests: run ubuntu-20.04-* tests on all ubuntu-2* releases 2951 - tests: skip interfaces-openvswitch for centos 8 in nightly suite 2952 - tests: reload systemd --user for root, if present 2953 - tests: reload systemd after editing /etc/fstab 2954 - tests: add missing dependencies needed for sbuild test on debian 2955 - tests: reload systemd after removing pulseaudio 2956 - image, tests: core18 early config. 2957 - interfaces: add system-packages-doc interface 2958 - cmd/snap-preseed, systemd: fix handling of fuse.squashfuse when 2959 preseeding 2960 - interfaces/fwupd: allow bind mount to /boot on core 2961 - tests: improve oom-vitality tests 2962 - tests: add fedora 32 to spread.yaml 2963 - config: apply vitality-hint immediately when the config changes 2964 - tests: port snap-routine-portal-info to session-tool 2965 - configcore: add "service.console-conf.disable" config option 2966 - tests: port xdg-open to session-tool 2967 - tests: port xdg-open-compat to session-tool 2968 - tests: port interfaces-desktop-* to session-tool 2969 - spread.yaml: apply yaml formatter/linter 2970 - tests: port interfaces-wayland to session-tool 2971 - o/devicestate: refactor current system handling 2972 - snap-mgmt: perform cleanup of user services 2973 - snap/snapfile,squashfs: followups from 8729 2974 - boot, many: require mode in modeenv 2975 - data/selinux: update policy to allow forked processes to call 2976 getpw*() 2977 - tests: log stderr from dbus-monitor 2978 - packaging: build cmd/snap and cmd/snap-bootstrap with nomanagers 2979 tag 2980 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 2981 layout 2982 - interfaces/builtin/desktop: do not mount fonts cache on distros 2983 with quirks 2984 - data/selinux: allow snapd to remove/create the its socket 2985 - testutil/exec.go: set PATH after running shellcheck 2986 - tests: silence stderr from dbus-monitor 2987 - snap,many: mv Open to snapfile pkg to support add'l options to 2988 Container methods 2989 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 2990 gadget 2991 - github: remove workaround for bug 133 in actions/cache 2992 - tests: remove dbus.sh 2993 - cmd/snap-preseed: improve mountpoint checks of the preseeded 2994 chroot 2995 - spread.yaml: add ps aux to debug section 2996 - github: run all spread systems in a single go with cached results 2997 - test: session-tool cli tweaks 2998 - asserts: rest of the Pool API 2999 - tests: port interfaces-network-status-classic to session-tool 3000 - packaging: remove obsolete 16.10,17.04 symlinks 3001 - tests: setup portals before starting user session 3002 - o/devicestate: typo fix 3003 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 3004 devices 3005 - cmd/snap/model: support store, system-user-authority keys in 3006 --verbose 3007 - o/devicestate: raise conflict when requesting system action while 3008 seeding 3009 - tests: detect signs of crashed snap-confine 3010 - tests: sign kernel and gadget to run nested tests using current 3011 snapd code 3012 - tests: remove gnome-online-accounts we install 3013 - tests: fix the issue where all the tests were executed on secboot 3014 system 3015 - tests: port interfaces-accounts-service to session-tool 3016 - interfaces/network-control: bring /var/lib/dhcp from host 3017 - image,cmd/snap,tests: add support for store-wide cohort keys 3018 - configcore: add nomanagers buildtag for conditional build 3019 - tests: port interfaces-password-manager-service to session-tool 3020 - o/devicestate: cleanup system actions supported by recover mode 3021 - snap-bootstrap: remove create-partitions and update tests 3022 - tests: fix nested tests 3023 - packaging/arch: update PKGBUILD to match one in AUR 3024 - tests: port interfaces-location-control to session-tool 3025 - tests: port interfaces-contacts-service to session-tool 3026 - state: log task errors in the journal too 3027 - o/devicestate: change how current system is reported for different 3028 modes 3029 - devicestate: do not report "ErrNoState" for seeded up 3030 - tests: add a note about broken test sequence 3031 - tests: port interfaces-autopilot-introspection to session-tool 3032 - tests: port interfaces-dbus to session-tool 3033 - packaging: update sid packaging to match 16.04+ 3034 - tests: enable degraded test on uc20 3035 - c/snaplock/runinhibit: add run inhibition operations 3036 - tests: detect and report root-owned files in /home 3037 - tests: reload root's systemd --user after snapd tests 3038 - tests: test registration with serial-authority: [generic] 3039 - cmd/snap-bootstrap/initramfs-mounts: copy auth.json and macaroon- 3040 key in recover 3041 - tests/mount-ns: stop binfmt_misc mount unit 3042 - cmd/snap-bootstrap/initramfs-mounts: use booted kernel partition 3043 uuid if available 3044 - daemon, tests: indicate system mode, test switching to recovery 3045 and back to run 3046 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 3047 denials 3048 - tests/mount-ns: update to reflect new UEFI boot mode 3049 - usersession,tests: clean ups for userd/settings.go and move 3050 xdgopenproxy under usersession 3051 - tests: disable mount-ns test 3052 - tests: test user belongs to systemd-journald, on core20 3053 - tests: run core/snap-set-core-config on uc20 too 3054 - tests: remove generated session-agent units 3055 - sysconfig: use new _writable_defaults dir to create cloud config 3056 - cmd/snap-bootstrap/initramfs-mounts: cosmetic changes in prep for 3057 future work 3058 - asserts: make clearer that with label we mean a serialized label 3059 - cmd/snap-bootstrap: tweak recovery trigger log messages 3060 - asserts: introduce PoolTo 3061 - userd: allow setting default-url-scheme-handler 3062 - secboot: append uuid to ubuntu-data when decrypting 3063 - o/configcore: pass extra options to FileSystemOnlyApply 3064 - tests: add dbus-user-session to bionic and reorder package names 3065 - boot, bootloader: adjust comments, expand tests 3066 - tests: improve debugging of user session agent tests 3067 - packaging: add the inhibit directory 3068 - many: add core.resiliance.vitality-hint config setting 3069 - tests: test adjustments and fixes for recently published images 3070 - cmd/snap: coldplug auto-import assertions from all removable 3071 devices 3072 - secboot,cmd/snap-bootstrap: move initramfs-mounts tpm access to 3073 secboot 3074 - tests: not fail when boot dir cannot be determined 3075 - tests: new directory used to store the cloud images on gce 3076 - tests: inject snapd from edge into seeds of the image in manual 3077 preseed test 3078 - usersession/agent,wrappers: fix races between Shutdown and Serve 3079 - tests: add dependency needed for next upgrade of bionic 3080 - tests: new test user is used for external backend 3081 - cmd/snap: fix the order of positional parameters in help output 3082 - tests: don't create root-owned things in ~test 3083 - tests/lib/prepare.sh: delete patching of the initrd 3084 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 3085 as well 3086 - progress: tweak multibyte label unit test data 3087 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline 3088 - gadget: fix fallback device lookup for 'mbr' type structures 3089 - configcore: only reload journald if systemd is new enough 3090 - cmd/snap-boostrap, boot: use /run/mnt/data instead of ubuntu-data 3091 - wrappers: allow user mode systemd daemons 3092 - progress: fix progress bar with multibyte duration units 3093 - tests: fix raciness in pulseaudio test 3094 - asserts/internal: introduce Grouping and Groupings 3095 - tests: remove user.sh 3096 - tests: pair of follow-ups from earlier reviews 3097 - overlord/snapstate: warn of refresh/postpone events 3098 - configcore,tests: use daemon-reexec to apply watchdog config 3099 - c/snap-bootstrap: check mount states via initramfsMountStates 3100 - store: implement DownloadAssertions 3101 - tests: run smoke test with different bases 3102 - tests: port user-mounts test to session-tool 3103 - store: handle error-list in fetch-assertions results 3104 - tests: port interfaces-audio-playback-record to session-tool 3105 - data/completion: add `snap` command completion for zsh 3106 - tests/degraded: ignore failure in systemd-vconsole-setup.service 3107 - image: stub implementation of image.Prepare for darwin 3108 - tests: session-tool --restore -u stops user-$UID.slice 3109 - o/ifacestate/handlers.go: fix typo 3110 - tests: port pulseaudio test to session-tool 3111 - tests: port user-session-env to session-tool 3112 - tests: work around journald bug in core16 3113 - tests: add debug to core-persistent-journal test 3114 - tests: port selinux-clean to session-tool 3115 - tests: port portals test to session-tool, fix portal tests on sid 3116 - tests: adding option --no-install-recommends option also when 3117 install all the deps 3118 - tests: add session-tool --has-systemd-and-dbus 3119 - packaging/debian-sid: add gcc-multilib to build deps 3120 - osutil: expand FileLock to support shared locks and more 3121 - packaging: stop depending on python-docutils 3122 - store,asserts,many: support the new action fetch-assertions 3123 - tests: port snap-session-agent-* to session-tool 3124 - packaging/fedora: disable FIPS compliant crypto for static 3125 binaries 3126 - tests: fix for preseeding failures 3127 3128 * Tue Jul 28 2020 Samuele Pedroni <pedronis@lucediurna.net> 3129 - New upstream release, LP: #1875071 3130 - o/ifacestate: fix bug in snapsWithSecurityProfiles 3131 - tests/main/selinux-clean: workaround SELinux denials triggered by 3132 linger setup on Centos8 3133 3134 * Mon Jul 27 2020 Zygmunt Krynicki <me@zygoon.pl> 3135 - New upstream release, LP: #1875071 3136 - many: backport _writable_defaults dir changes 3137 - tests: fix incorrect check in smoke/remove test 3138 - cmd/snap-bootstrap,seed: backport of uc20 PRs 3139 - tests: avoid exit when nested type var is not defined 3140 - cmd/snap-preseed: backport fixes 3141 - interfaces: optimize rules of multiple connected iio/i2c/spi plugs 3142 - many: cherry-picks for 2.45, gh-action, test fixes 3143 - tests/lib: account for changes in arch package file name extension 3144 - postrm, snap-mgmt: cleanup modules and other cherry-picks 3145 - snap-confine: don't die if a device from sysfs path cannot be 3146 found by udev 3147 - data/selinux: update policy to allow forked processes to call 3148 getpw*() 3149 - tests/main/interfaces-time-control: exercise setting time via date 3150 - interfaces/builtin/time-control: allow POSIX clock API 3151 - usersession/userd: add "slack" to the white list of URL schemes 3152 handled by xdg-open 3153 3154 * Fri Jul 10 2020 Michael Vogt <mvo@ubuntu.com> 3155 - New upstream release 2.45.2 3156 - SECURITY UPDATE: sandbox escape vulnerability on snapctl xdg-open 3157 implementation 3158 - usersession/userd/launcher.go: remove XDG_DATA_DIRS environment 3159 variable modification when calling the system xdg-open. Patch 3160 thanks to James Henstridge 3161 - packaging/ubuntu-16.04/snapd.postinst: ensure "snap userd" is 3162 restarted. Patch thanks to Michael Vogt 3163 - CVE-2020-11934 3164 - SECURITY UPDATE: arbitrary code execution vulnerability on core 3165 devices with access to physical removable media 3166 - devicestate: Disable/restrict cloud-init after seeding. 3167 - CVE-2020-11933 3168 3169 * Fri Jun 05 2020 Michael Vogt <mvo@ubuntu.com> 3170 - New upstream release 2.45.1 3171 - data/selinux: allow checking /var/cache/app-info 3172 - cmd/snap-confine: add support for libc6-lse 3173 - interfaces: miscellaneous policy updates xlv 3174 - snap-bootstrap: remove sealed key file on reinstall 3175 - interfaces-ssh-keys: Support reading /etc/ssh/ssh_config.d/ 3176 - gadget: make ext4 filesystems with or without metadata checksum 3177 - interfaces/fwupd: allow bind mount to /boot on core 3178 - tests: cherry-pick test fixes from master 3179 - snap/squashfs: also symlink snap Install with uc20 seed snap dir 3180 layout 3181 - interfaces/serial-port: add NXP SC16IS7xx (ttySCX) to allowed 3182 devices 3183 - snap,many: mv Open to snapfile pkg to support add'l options to 3184 Container methods 3185 - interfaces/builtin/desktop: do not mount fonts cache on distros 3186 with quirks 3187 - devicestate, sysconfig: revert support for cloud.cfg.d/ in the 3188 gadget 3189 - data/completion, packaging: cherry-pick zsh completion 3190 - state: log task errors in the journal too 3191 - devicestate: do not report "ErrNoState" for seeded up 3192 - interfaces/desktop: silence more /var/lib/snapd/desktop/icons 3193 denials 3194 - packaging/fedora: disable FIPS compliant crypto for static 3195 binaries 3196 - packaging: stop depending on python-docutils 3197 3198 * Tue May 12 2020 Michael Vogt <mvo@ubuntu.com> 3199 - New upstream release 2.45 3200 - o/devicestate: support doing system action reboots from recover 3201 mode 3202 - vendor: update to latest secboot 3203 - tests: not fail when boot dir cannot be determined 3204 - configcore: only reload journald if systemd is new enough 3205 - cmd/snap-bootstrap/initramfs-mounts: append uuid to ubuntu-data 3206 when decrypting 3207 - tests/lib/prepare.sh: delete patching of the initrd 3208 - cmd/snap: coldplug auto-import assertions from all removable 3209 devices 3210 - cmd/snap: fix the order of positional parameters in help output 3211 - c/snap-bootstrap: port mount state mocking to the new style on 3212 master 3213 - cmd/snap-bootstrap/initramfs-mounts: add sudoers to dirs to copy 3214 as well 3215 - o/devicestate,cmd/snap-bootstrap: seal to recover mode cmdline, 3216 unlock in recover mode initramfs 3217 - progress: tweak multibyte label unit test data 3218 - gadget: fix fallback device lookup for 'mbr' type structures 3219 - progress: fix progress bar with multibyte duration units 3220 - many: use /run/mnt/data over /run/mnt/ubuntu-data for uc20 3221 - many: put the sealed keys in a directory on seed for tidiness 3222 - cmd/snap-bootstrap: measure epoch and model before unlocking 3223 encrypted data 3224 - o/configstate: core config handler for persistent journal 3225 - bootloader/uboot: use secondary ubootenv file boot.sel for uc20 3226 - packaging: add "$TAGS" to dh_auto_test for debian packaging 3227 - tests: ensure $cache_dir is actually available 3228 - secboot,cmd/snap-bootstrap: add model to pcr protection profile 3229 - devicestate: do not use snap-boostrap in devicestate to install 3230 - tests: fix a typo in nested.sh helper 3231 - devicestate: add support for cloud.cfg.d config from the gadget 3232 - cmd/snap-bootstrap: cleanups, naming tweaks 3233 - testutil: add NewDBusTestConn 3234 - snap-bootstrap: lock access to sealed keys 3235 - overlord/devicestate: preserve the current model inside ubuntu- 3236 boot 3237 - interfaces/apparmor: use differently templated policy for non-core 3238 bases 3239 - seccomp: add get_tls, io_pg* and *time64/*64 variants for existing 3240 syscalls 3241 - cmd/snap-bootstrap/initramfs-mounts: mount ubuntu-seed first, 3242 other misc changes 3243 - o/snapstate: tweak "waiting for restart" message 3244 - boot: store model model and grade information in modeenv 3245 - interfaces/firewall-control: allow -legacy and -nft for core20 3246 - boot: enable makeBootable20RunMode for EnvRefExtractedKernel 3247 bootloaders 3248 - boot/bootstate20: add EnvRefExtractedKernelBootloader bootstate20 3249 implementation 3250 - daemon: fix error message from `snap remove-user foo` on classic 3251 - overlord: have a variant of Mock that can take a state.State 3252 - tests: 16.04 and 18.04 now have mediating pulseaudio (again) 3253 - seed: clearer errors for missing essential snapd or core snap 3254 - cmd/snap-bootstrap/initramfs-mounts: support 3255 EnvRefExtractedKernelBootloader's 3256 - gadget, cmd/snap-bootstrap: MBR schema support 3257 - image: improve/adjust DownloadSnap doc comment 3258 - asserts: introduce ModelGrade.Code 3259 - tests: ignore user-12345 slice and service 3260 - image,seed/seedwriter: support redirect channel aka default 3261 tracks 3262 - bootloader: use binary.Read/Write 3263 - tests: uc20 nested suite part II 3264 - tests/boot: refactor to make it easier for new 3265 bootloaderKernelState20 impl 3266 - interfaces/openvswitch: support use of ovs-appctl 3267 - snap-bootstrap: copy auth data from real ubuntu-data in recovery 3268 mode 3269 - snap-bootstrap: seal and unseal encryption key using tpm 3270 - tests: disable special-home-can-run-classic-snaps due to jenkins 3271 repo issue 3272 - packaging: fix build on Centos8 to support BUILDTAGS 3273 - boot/bootstate20: small changes to bootloaderKernelState20 3274 - cmd/snap: Implement a "snap routine file-access" command 3275 - spread.yaml: switch back to latest/candidate for lxd snap 3276 - boot/bootstate20: re-factor kernel methods to use new interface 3277 for state 3278 - spread.yaml,tests/many: use global env var for lxd channel 3279 - boot/bootstate20: fix bug in try-kernel cleanup 3280 - config: add system.store-certs.[a-zA-Z0-9] support 3281 - secboot: key sealing also depends on secure boot enabled 3282 - httputil: fix client timeout retry tests 3283 - cmd/snap-update-ns: handle EBUSY when unlinking files 3284 - cmd/snap/debug/boot-vars: add opts for setting dir and/or uc20 3285 vars 3286 - secboot: add tpm support helpers 3287 - tests/lib/assertions/developer1-pi-uc20.model: use 20/edge for 3288 kernel and gadget 3289 - cmd/snap-bootstrap: switch to a 64-byte key for unlocking 3290 - tests: preserve size for centos images on spread.yaml 3291 - github: partition the github action workflows 3292 - run-checks: use consistent "Checking ..." style messages 3293 - bootloader: add efi pkg for reading efi variables 3294 - data/systemd: do not run snapd.system-shutdown if finalrd is 3295 available 3296 - overlord: update tests to work with latest go 3297 - cmd/snap: do not hide debug boot-vars on core 3298 - cmd/snap-bootstrap: no error when not input devices are found 3299 - snap-bootstrap: fix partition numbering in create-partitions 3300 - httputil/client_test.go: add two TLS version tests 3301 - tests: ignore user@12345.service hierarchy 3302 - bootloader, gadget, cmd/snap-bootstrap: misc cosmetic things 3303 - tests: rewrite timeserver-control test 3304 - tests: fix racy pulseaudio tests 3305 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 3306 - tests: update snap-preseed --reset logic to accommodate for 2.44 3307 change 3308 - cmd/snap: don't wait for system key when stopping 3309 - sandbox/cgroup: avoid making arrays we don't use 3310 - osutil: mock proc/self/mountinfo properly everywhere 3311 - selinux: export MockIsEnforcing; systemd: use in tests 3312 - tests: add 32 bit machine to GH actions 3313 - tests/session-tool: kill cron session, if any 3314 - asserts: it should be possible to omit many snap-ids if allowed, 3315 fix 3316 - boot: cleanup more things, simplify code 3317 - github: skip spread jobs when corresponding label is set 3318 - dirs: don't depend on osutil anymore, mv apparmor vars to apparmor 3319 pkg 3320 - tests/session-tool: add session-tool --dump 3321 - github: allow cached debian downloads to restore 3322 - tests/session-tool: session ordering is non-deterministic 3323 - tests: enable unit tests on debian-sid again 3324 - github: move spread to self-hosted workers 3325 - secboot: import secboot on ubuntu, provide dummy on !ubuntu 3326 - overlord/devicestate: support for recover and run modes 3327 - snap/naming: add validator for snap security tag 3328 - interfaces: add case for rootWritableOverlay + NFS 3329 - tests/main/uc20-create-partitions: tweaks, renames, switch to 3330 20.04 3331 - github: port CLA check to Github Actions 3332 - interfaces/many: miscellaneous policy updates xliv 3333 - configcore,tests: fix setting watchdog options on UC18/20 3334 - tests/session-tool: collect information about services on startup 3335 - tests/main/uc20-snap-recovery: unbreak, rename to uc20-create- 3336 partitions 3337 - state: add state.CopyState() helper 3338 - tests/session-tool: stop anacron.service in prepare 3339 - interfaces: don't use the owner modifier for files shared via 3340 document portal 3341 - systemd: move the doc comments to the interface so they are 3342 visible 3343 - cmd/snap-recovery-chooser: tweaks 3344 - interfaces/docker-support: add overlayfs file access 3345 - packaging: use debian/not-installed to ignore snap-preseed 3346 - travis.yml: disable unit tests on travis 3347 - store: start splitting store.go and store_test.go into subtopic 3348 files 3349 - tests/session-tool: stop cron/anacron from meddling 3350 - github: disable fail-fast as spread cannot be interrupted 3351 - github: move static checks and spread over 3352 - tests: skip "/etc/machine-id" in "writablepaths" test 3353 - snap-bootstrap: store encrypted partition recovery key 3354 - httputil: increase testRetryStrategy max timelimit to 5s 3355 - tests/session-tool: kill leaking closing session 3356 - interfaces: allow raw access to USB printers 3357 - tests/session-tool: reset failed session-tool units 3358 - httputil: increase httpclient timeout in 3359 TestRetryRequestTimeoutHandling 3360 - usersession: extend timerange in TestExitOnIdle 3361 - client: increase timeout in client tests to 100ms 3362 - many: disentagle release and snapdenv from sandbox/* 3363 - boot: simplify modeenv mocking to always write a modeenv 3364 - snap-bootstrap: expand data partition on install 3365 - o/configstate: add backlight option for core config 3366 - cmd/snap-recovery-chooser: add recovery chooser 3367 - features: enable robust mount ns updates 3368 - snap: improve TestWaitRecovers test 3369 - sandbox/cgroup: add ProcessPathInTrackingCgroup 3370 - interfaces/policy: fix comment in recent new test 3371 - tests: make session tool way more robust 3372 - interfaces/seccomp: allow passing an address to setgroups 3373 - o/configcore: introduce core config handlers (3/N) 3374 - interfaces: updates to login-session-observe, network-manager and 3375 modem-manager interfaces 3376 - interfaces/policy/policy_test.go: add more tests'allow- 3377 installation: false' and we grant based on interface attributes 3378 - packaging: detect/disable broken seed in the postinst 3379 - cmd/snap-confine/mount-support-nvidia.c: add libnvoptix as nvidia 3380 library 3381 - tests: remove google-tpm backend from spread.yaml 3382 - tests: install dependencies with apt using --no-install-recommends 3383 - usersession/userd: add zoommtg url support 3384 - snap-bootstrap: fix disk layout sanity check 3385 - snap: add `snap debug state --is-seeded` helper 3386 - devicestate: generate warning if seeding fails 3387 - config, features: move and rename config.GetFeatureFlag helper to 3388 features.Flag 3389 - boot, overlord/devicestate, daemon: implement requesting boot 3390 into a given recovery system 3391 - xdgopenproxy: forward requests to the desktop portal 3392 - many: support immediate reboot 3393 - store: search v2 tweaks 3394 - tests: fix cross build tests when installing dependencies 3395 - daemon: make POST /v2/systems/<label> root only 3396 - tests/lib/prepare.sh: use only initrd from the kernel snap 3397 - cmd/snap,seed: validate full seeds (UC 16/18) 3398 - tests/main/user-session-env: stop the user session before deleting 3399 the test-zsh user 3400 - overlord/devicestate, daemon: record the seed current system was 3401 installed from 3402 - gadget: SystemDefaults helper function to convert system defaults 3403 config into a flattened map suitable for FilesystemOnlyApply. 3404 - many: comment or avoid cryptic snap-ids in tests 3405 - tests: add LXD_CHANNEL environment 3406 - store: support for search API v2 3407 - .github: register a problem matcher to detect spread failures 3408 - seed: add Info() method for seed.Snap 3409 - github: always run the "Discard spread workers" step, even if the 3410 job fails 3411 - github: offload self-hosted workers 3412 - cmd/snap: the model command needs just a client, no waitMixin 3413 - github: combine tests into one workflow 3414 - github: fix order of go get caches 3415 - tests: adding more workers for ubuntu 20.04 3416 - boot,overlord: rename operating mode to system mode 3417 - config: add new Transaction.GetPristine{,Maybe}() function 3418 - o/devicestate: rename readMaybe* to maybeRead* 3419 - github: cache Debian dependencies for unit tests 3420 - wrappers: respect pre-seeding in error path 3421 - seed: validate UC20 seed system label 3422 - client, daemon, overlord/devicestate: request system action API 3423 and stubs 3424 - asserts,o/devicestate: support model specified alternative serial- 3425 authority 3426 - many: introduce naming.WellKnownSnapID 3427 - o/configcore: FilesystemOnlyApply method for early configuration 3428 of core (1/N) 3429 - github: run C unit tests 3430 - github: run spread tests on PRs only 3431 - interfaces/docker-support: make containerd abstract socket more 3432 generic 3433 - tests: cleanup security-private-tmp properly 3434 - overlord/devicestate,boot: do not hold to the originally read 3435 modeenv 3436 - dirs: rm RunMnt; boot: add vars for early boot env layout; 3437 sysconfig: take targetdir arg 3438 - cmd/snap-bootstrap/initramfs-mounts/tests: use dirs.RunMnt over 3439 s.runMnt 3440 - tests: add regression test for MAAS refresh bug 3441 - errtracker: add missing mocks 3442 - github: apt-get update before installing build-deps 3443 - github: don't fail-fast 3444 - github: run spread via github actions 3445 - boot,many: add modeenv.WriteTo, make Write take no args 3446 - wrappers: fix timer schedules that are days only 3447 - tests/main/snap-seccomp-syscalls: install gperf 3448 - github: always checkout to snapcore/snapd 3449 - github: add prototype workflow running unit tests 3450 - many: improve comments, naming, a possible TODO 3451 - client: use Assert when checking for error 3452 - tests: ensure sockets target is ready in session agent spread 3453 tests 3454 - osutil: do not leave processes behind after the test run 3455 - tests: update proxy-no-core to match latest CDN changes 3456 - devicestate,sysconfig: support "cloud.cfg.d" in uc20 for grade: 3457 dangerous 3458 - cmd/snap-failure,tests: try to make snap-failure more robust 3459 - many: fix packages having mistakenly their copyright as doc 3460 - many: enumerate system seeds, return them on the /v2/systems API 3461 endpoint 3462 - randutil: don't consume kernel entropy at init, just mix more info 3463 to try to avoid fleet collisions 3464 - snap-bootstrap: add creationSupported predicate for partition 3465 types 3466 - tests: umount partitions which are not umounted after remount 3467 gadget 3468 - snap: run gofmt -s 3469 - many: improve environment handling, fixing duplicate entries 3470 - boot_test: add many boot robustness tests for UC20 kernel 3471 MarkBootSuccessul and SetNextBoot 3472 - overlord: remove unneeded overlord.MockPruneInterval() mocks 3473 - interfaces/greengrass-support: fix typo 3474 - overlord,timings,daemon: separate timings from overlord/state 3475 - tests: enable nested on core20 and test current branch 3476 - snap-bootstrap: remove created partitions on reinstall 3477 - boot: apply Go 1.10 formatting 3478 - apparmor: use rw for uuidd request to default and remove from 3479 elsewhere 3480 - packaging: add README.source for debian 3481 - tests: cleanup various uc20 boot tests from previous PR 3482 - devicestate: disable cloud-init by default on uc20 3483 - run-checks: tweak formatting checks 3484 - packaging,tests: ensure debian-sid builds without vendor/ 3485 - travis.yml: run unit tests with go/master as well* travis.yml: run 3486 unit tests with go/master as well 3487 - seed: make Brand() part of the Seed interface 3488 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 3489 - daemon: do a forceful server shutdown if we hit a deadline 3490 - tests/many: don't use StartLimitInterval anymore, unify snapd- 3491 failover variants, build snapd snap for UC16 tests 3492 - snap-seccomp: robustness improvements 3493 - run-tests: disable -v for go test to avoid spaming the logs 3494 - snap: whitelist lzo as support compression for snap pack 3495 - snap: tweak comment in Install() for overlayfs detection 3496 - many: introduce snapdenv.Preseeding instead of release.PreseedMode 3497 - client, daemon, overlord/devicestate: structures and stubs for 3498 systems API 3499 - o/devicestate: delay the creation of mark-seeded task until 3500 asserts are loaded 3501 - data/selinux, tests/main/selinux: cleanup tmpfs operations in the 3502 policy, updates 3503 - interfaces/greengrass-support: add new 1.9 access 3504 - snap: do not hardlink on overlayfs 3505 - boot,image: ARM kernel extract prepare image 3506 - interfaces: make gpio robust against not-existing gpios in /sys 3507 - cmd/snap-preseed: handle --reset flag 3508 - many: introduce snapdenv to present common snapd env options 3509 - interfaces/kubernetes-support: allow autobind to journald socket 3510 - snap-seccomp: allow mprotect() to unblock the tests 3511 - tests/lib/reset: workaround unicode dot in systemctl output 3512 - interfaces/udisks2: also allow Introspection on 3513 /org/freedesktop/UDisks/** 3514 - snap: introduce Container.RandomAccessFile 3515 - o/ifacestate, api: implementation of snap disconnect --forget 3516 - cmd/snap: make the portal-info command search for the network- 3517 status interface 3518 - interfaces: work around apparmor_parser slowness affecting uio 3519 - tests: fix/improve failing spread tests 3520 - many: clean separation of bootenv mocking vs mock bootloader kinds 3521 - tests: mock prune ticker in overlord tests to reduce wait times 3522 - travis: disable arm64 again 3523 - httputil: add support for extra snapd certs 3524 - travis.yml: run unit tests on arm64 as well 3525 - many: fix a pair of ineffectual assignments 3526 - tests: add uc20 kernel snap upgrade managers test, fix 3527 bootloadertest bugs 3528 - o/snapstate: set base in SnapSetup on snap revert 3529 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 3530 - cmd/snap-exec: add test case for LP bug 1860369 3531 - interfaces: make the network-status interface implicit on 3532 classic 3533 - interfaces: power control interfaceIt is documented in the 3534 kernel 3535 - interfaces: miscellaneous policy updates 3536 - cmd/snap: add a "snap routine portal-info" command 3537 - usersession/userd: add "apt" to the white list of URL schemes 3538 handled by xdg-open 3539 - interfaces/desktop: allow access to system prompter interface 3540 - devicestate: allow encryption regardless of grade 3541 - tests: run ipv6 network-retry test too 3542 - tests: test that after "remove-user" the system is unmanaged 3543 - snap-confine: unconditionally add /dev/net/tun to the device 3544 cgroup 3545 - snapcraft.yaml: use sudo -E and remove workaround 3546 - interfaces/audio_playback: Fix pulseaudio config access 3547 - ovelord/snapstate: update only system wide fonts cache 3548 - wrappers: import /etc/environment in all services 3549 - interfaces/u2f: Add Titan USB-C key 3550 - overlord, taskrunner: exit on task/ensure error when preseeding 3551 - tests: add session-tool, a su / sudo replacement 3552 - wrappers: add mount unit dependency for snapd services on core 3553 devices 3554 - tests: just remove user when the system is not managed on create- 3555 user-2 test 3556 - snap-preseed: support for preseeding of snapd and core18 3557 - boot: misc UC20 changes 3558 - tests: adding arch-linux execution 3559 - packaging: revert "work around review-tools and snap-confine" 3560 - netlink: fix panic on arm64 with the new rawsockstop codewith a 3561 nil Timeval panics 3562 - spread, data/selinux: add CentOS 8, update policy 3563 - tests: updating checks to new test account for snapd-test snaps 3564 - spread.yaml: mv opensuse 15.1 to unstable 3565 - cmd/snap-bootstrap,seed: verify only in-play snaps 3566 - tests: use ipv4 in retry-network to unblock failing master 3567 - data/systemd: improve the description 3568 - client: add "Resume" to DownloadOptions and new test 3569 - tests: enable snapd-failover on uc20 3570 - tests: add more debug output to the snapd-failure handling 3571 - o/devicestate: unset recovery_system when done seeding 3572 3573 * Fri Apr 10 2020 Michael Vogt <mvo@ubuntu.com> 3574 - New upstream release 2.44.3 3575 - tests: fix racy pulseaudio tests 3576 - many: fix loading apparmor profiles on Ubuntu 20.04 with ZFS 3577 - tests: update snap-preseed --reset logic 3578 - tests: backport partition fixes 3579 - cmd/snap: don't wait for system key when stopping 3580 - interfaces/many: miscellaneous policy updates xliv 3581 - tests/main/uc20-snap-recovery: use 20.04 system 3582 - tests: skip "/etc/machine-id" in "writablepaths 3583 - interfaces/docker-support: add overlays file access 3584 3585 * Thu Apr 2 2020 Michael Vogt <mvo@ubuntu.com> 3586 - New upstream release 2.44.2 3587 - packaging: detect/disable broken seeds in the postinst 3588 - cmd/snap,seed: validate full seeds (UC 16/18) 3589 - snap: add `snap debug state --is-seeded` helper 3590 - devicestate: generate warning if seeding fails 3591 - store: support for search API v2 3592 - cmd/snap-seccomp/syscalls: update the list of known syscalls 3593 - snap/cmd: the model command needs just a client, no waitMixin 3594 - tests: cleanup security-private-tmp properly 3595 - wrappers: fix timer schedules that are days only 3596 - tests: update proxy-no-core to match latest CDN changes 3597 - cmd/snap-failure,tests: make snap-failure more robust 3598 - tests, many: don't use StartLimitInterval anymore, unify snapd- 3599 failover variants, build snapd snap for UC16 tests 3600 3601 * Sat Mar 21 2020 Michael Vogt <mvo@ubuntu.com> 3602 - New upstream release 2.44.1 3603 - randutil: switch back to setting up seed with lower entropy data 3604 - interfaces/greengrass-support: fix typo 3605 - packaging,tests: ensure debian-sid builds without vendor/ 3606 - travis.yml: run unit tests with go/master as well 3607 - cmd/snap-update-ns: ignore EROFS from rmdir/unlink 3608 3609 * Tue Mar 17 2020 Michael Vogt <mvo@ubuntu.com> 3610 - New upstream release 2.44 3611 - daemon: do a forceful serer shutdown if we hit a deadline 3612 - snap: whitelist lzo as support compression for snap pack 3613 - data/selinux: update policy to allow more ops 3614 - interfaces/greengrass-support: add new 1.9 access 3615 - snap: do not hardlink on overlayfs 3616 - cmd/snap-preseed: handle --reset flag 3617 - interfaces/kubernetes-support: allow autobind to journald socket 3618 - snap-seccomp: allow mprotect() to unblock the tests 3619 - tests/lib/reset: workaround unicode dot in systemctl output 3620 - interfaces: work around apparmor_parser slowness affecting uio 3621 - interfaces/udisks2: also allow Introspection on 3622 /org/freedesktop/UDisks2/** 3623 - tests: mock prune ticker in overlord tests to reduce wait times 3624 - interfaces/{docker,kubernetes}-support: updates for lastest k8s 3625 - interfaces: miscellaneous policy updates 3626 - interfaces/audio_playback: Fix pulseaudio config access 3627 - overlord: disable Test..AbortShortlyAfterStartOfOperation for 2.44 3628 - ovelord/snapstate: update only system wide fonts cache 3629 - wrappers: import /etc/environment in all services 3630 - interfaces/u2f: Add Titan USB-C key 3631 - overlord, taskrunner: exit on task/ensure error when preseeding 3632 - overlord/snapstate/backend: update snapd services contents in unit 3633 tests 3634 - wrappers: add mount unit dependency for snapd services on core 3635 devices 3636 - Revert "tests: remove /tmp/snap.* left over by other tests" 3637 - Revert "packaging: work around review-tools and snap-confine" 3638 - netlink: fix panic on arm64 with the new rawsockstop code 3639 - spread, data/selinux: add CentOS 8, update policy 3640 - spread.yaml: mv opensuse tumbleweed to unstable too 3641 - spread.yaml: mv opensuse 15.1 to unstable 3642 - tests: use ipv4 in retry-network to unblock failing master 3643 - data/systemd: improve the description 3644 - tests/lib/prepare.sh: simplify, combine code paths 3645 - tests/main/user-session-env: add test verifying environment 3646 variables inside the user session 3647 - spread.yaml: make qemu ubuntu-core-20-64 use ubuntu-20.04-64 3648 - run-checks: SKIP_GMFMT really skips formatting checks 3649 - tests: enable more tests for UC20/UC18 3650 - tests: remove tmp dir for snap not-test-snapd-sh on security- 3651 private-tmp test 3652 - seed,cmd/snap-bootstrap: introduce seed.Snap.EssentialType, 3653 simplify bootstrap code 3654 - snapstate: do not restart in undoLinkSnap unless on first install 3655 - cmd/snap-bootstrap: subcommand to detect UC chooser trigger 3656 - cmd/snap-bootstrap/initramfs-mounts: mount the snapd snap in run- 3657 mode too 3658 - cmd/libsnap, tests: fix C unit tests failing as non-root 3659 - cmd/snap-bootstrap: verify kernel snap is in modeenv before 3660 mounting it 3661 - tests: adding amazon linux to google backend 3662 - cmd/snap-failure/snapd: rm snapd.socket, reset snapd.socket failed 3663 status 3664 - client: add support for "ResumeToken", "HeaderPeek" to download 3665 - build: enable type: snapd 3666 - tests: rm -rf /tmp/snap.* in restore 3667 - cmd/snap-confine: deny snap-confine to load nss libs 3668 - snapcraft.yaml: add comments, rename snapd part to snapd-deb 3669 - boot: write current_kernels in bootstate20, makebootable 3670 - packaging: work around review-tools and snap-confine 3671 - tests: skipping interfaces-openvswitch on centos due to package is 3672 not available 3673 - packaging,snap-confine: stop being setgid root 3674 - cmd/snap-confine: bring /var/lib/dhcp from host, if present 3675 - store: rely on CommandFromSystemSnap to find xdelta3 3676 - tests: bump sleep time of the new overlord tests 3677 - cmd/snap-preseed: snapd version check for the target 3678 - netlink: fix/support stopping goroutines reading netlink raw 3679 sockets 3680 - tests: reset PS1 before possibly interactive dash 3681 - overlord, state: don't abort changes if spawn time before 3682 StartOfOperationTime (2/2) 3683 - snapcraft.yaml: add python3-apt, tzdata as build-deps for the 3684 snapd snap 3685 - tests: ask tar to speak English 3686 - tests: using google storage when downloading ubuntu cloud images 3687 from gce 3688 - Coverity produces false positives for code like this: 3689 - many: maybe restart & security backend options 3690 - o/standby: add SNAPD_STANDBY_WAIT to control standby in 3691 development 3692 - snap: use the actual staging snap-id for snapd 3693 - cmd/snap-bootstrap: create a new parser instance 3694 - snapcraft.yaml: use build-base and adopt-info, rm builddeb 3695 plugin 3696 - tests: set StartLimitInterval in snapd failover test 3697 - tests: disable archlinux system 3698 - tests: add preseed test for classic 3699 - many, tests: integrate all preseed bits and add spread tests 3700 - daemon: support resuming downloads 3701 - tests: use Filename() instead of filepath.Base(sn.MountFile()) 3702 - tests/core: add swapfiles test 3703 - interfaces/cpu-control: allow to control cpufreq tunables 3704 - interfaces: use commonInteface for desktopInterface 3705 - interfaces/{desktop-legacy,unity7}: adjust for new ibus socket 3706 location 3707 - snap/info: add Filename 3708 - bootloader: make uboot a RecoveryAwareBootloader 3709 - gadget: skip update when mounted filesystem content is identical 3710 - systemd: improve is-active check for 'failed' services 3711 - boot: add current_kernels to modeenv 3712 - o/devicestate: StartOfOperationTime helper for Prune (1/2) 3713 - tests: detect LXD launching i386 containers 3714 - tests: move main/ubuntu-core-* tests to core/ suite 3715 - tests: remove snapd in ubuntu-core-snapd 3716 - boot: enable base snap updates in bootstate20 3717 - tests: Fix core revert channel after 2.43 has been released to 3718 stable 3719 - data/selinux: unify tabs/spaces 3720 - o/ifacestate: move ResolveDisconnect to ifacestate 3721 - spread: move centos to stable systems 3722 - interfaces/opengl: allow datagrams to nvidia-driver 3723 - httputil: add NoNetwork(err) helper, spread test and use in serial 3724 acquire 3725 - store: detect if server does not support http range headers 3726 - test/lib/user: add helper lib for doing things for and as a user 3727 - overlord/snapstate, wrappers: undo of snapd on core 3728 - tests/main/interfaces-pulseaudio: use custom pulseaudio script, 3729 set kill timeout 3730 - store: add support for resume in DownloadStream 3731 - cmd/snap: implement 'snap remove-user' 3732 - overlord/devicestate: fix preseed unit tests on systems not using 3733 /snap 3734 - tests/main/static: ldd in glibc 2.31 logs to stderr now 3735 - run-checks, travis: allow skipping spread jobs by adding a label 3736 - tests: add new backend which includes images with tpm support 3737 - boot: use constants for boot status values 3738 - tests: add "core" suite for UC specific tests 3739 - tests/lib/prepare: use a local copy of uc20 initramfs skeleton 3740 - tests: retry mounting the udisk2 device due to timing issue 3741 - usersession/client: add a client library for the user session 3742 agent 3743 - o/devicestate: Handle preseed mode in the firstboot mode (core16 3744 only for now). 3745 - boot: add TryBase and BaseStatus to modeenv; use in snap-bootstrap 3746 - cmd/snap-confine: detect base transitions on core16 3747 - boot: don't use "kernel" from the modeenv anymore 3748 - interfaces: add uio interface 3749 - tests: repack the initramfs + kernel snap for UC20 spread tests 3750 - interfaces/greengrass-support: add /dev/null -> 3751 /proc/latency_stats mount 3752 - httputil: remove workaround for redirect handling in go1.7 3753 - httputil: remove go1.6 transport workaround 3754 - snap: add `snap pack --compression=<comp>` options 3755 - tests/lib/prepare: fix hardcoded loopback device names for UC 3756 images 3757 - timeutil: add a unit test case for trivial schedule 3758 - randutil,o/snapstate,-mkauthors.sh: follow ups to randutil 3759 introduction 3760 - dirs: variable with distros using alternate snap mount 3761 - many,randutil: centralize and streamline our random value 3762 generation 3763 - tests/lib/prepare-restore: Revert "Continue on errors updating or 3764 installing dependencies" 3765 - daemon: Allow clients to call /v2/logout via Polkit 3766 - dirs: manjaro-arm is like manjaro 3767 - data, packaging: Add sudoers snippet to allow snaps to be run with 3768 sudo 3769 - daemon, store: better expose single action errors 3770 - tests: switch mount-ns test to differential data set 3771 - snapstate: refactor things to add the re-refresh task last 3772 - daemon: drop support for the DELETE method 3773 - client: move to /v2/users; implement RemoveUser 3774 - boot: enable UC20 kernel extraction and bootState20 handling 3775 - interfaces/policy: enforce plug-names/slot-names constraints 3776 - asserts: parse plug-names/slot-names constraints 3777 - daemon: make users result more consistent 3778 - cmd/snap-confine,tests: support x.y.z nvidia version 3779 - dirs: fixlet for XdgRuntimeDirGlob 3780 - boot: add bootloader options to coreKernel 3781 - o/auth,daemon: do not remove unknown user 3782 - tests: tweak and enable tests on ubuntu 20.04 3783 - daemon: implement user removal 3784 - cmd/snap-confine: allow snap-confine to link to libpcre2 3785 - interfaces/builtin: Allow NotificationReplied signal on 3786 org.freedesktop.Notifications 3787 - overlord/auth: add RemoveUserByName 3788 - client: move user-related things to their own files 3789 - boot: tweak kernel cmdline helper docstring 3790 - osutil: implement deluser 3791 - gadget: skip update when raw structure content is unchanged 3792 - boot, cmd/snap, cmd/snap-bootstrap: move run mode and system label 3793 detection to boot 3794 - tests: fix revisions leaking from snapd-refresh test 3795 - daemon: refactor create-user to a user action & hide behind a flag 3796 - osutil/tests: check there are no leftover symlinks with 3797 AtomicSymlink 3798 - grub: support atomically renaming kernel symlinks 3799 - osutil: add helpers for creating symlinks and renaming in an 3800 atomic manner 3801 - tests: add marker tag for core 20 test failure 3802 - tests: fix gadget-update-pc test leaking snaps 3803 - tests: remove revision leaking from ubuntu-core-refresh 3804 - tests: remove revision leaking from remodel-kernel 3805 - tests: disable system-usernames test on core20 3806 - travis, tests, run-checks: skip nakedret 3807 - tests: run `uc20-snap-recovery-encrypt` test on 20.04-64 as well 3808 - tests: update mount-ns test tables 3809 - snap: disable auto-import in uc20 install-mode 3810 - tests: add a command-chain service test 3811 - tests: use test-snapd-upower instead of upower 3812 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 3813 - spread.yaml: fix ubuntu 19.10 and 20.04 names 3814 - debian: check embedded keys for snap-{bootstrap,preseed} too 3815 - interfaces/apparmor: fix doc-comments, unnecessary code 3816 - o/ifacestate,o/devicestatate: merge gadget-connect logic into 3817 auto-connect 3818 - bootloader: add ExtractedRunKernelImageBootloader interface, 3819 implement in grub 3820 - tests: add spread test for hook permissions 3821 - cmd/snap-bootstrap: check device size before boostrapping and 3822 produce a meaningful error 3823 - cmd/snap: add ability to register "snap routine" commands 3824 - tests: add a test demonstrating that snaps can't access the 3825 session agent socket 3826 - api: don't return connections referring to non-existing 3827 plugs/slots 3828 - interfaces: refactor path() from raw-volume into utils with 3829 comments for old 3830 - gitignore: ignore snap files 3831 - tests: skip interfaces-network-manager on arm devices 3832 - o/devicestate: do not create perfTimings if not needed inside 3833 ensureSeed/Operational 3834 - tests: add ubuntu 20.04 to the tests execution and remove 3835 tumbleweed from unstable 3836 - usersession: add systemd user instance service control to user 3837 session agent 3838 - cmd/snap: print full channel in 'snap list', 'snap info' 3839 - tests: remove execution of ubuntu 19.04 from google backend 3840 - cmd/snap-boostrap: add mocking for fakeroot 3841 - tests/core18/snapd-failover: collect more debug info 3842 - many: run black formatter on all python files 3843 - overlord: increase settle timeout for slow machines 3844 - httputil: use shorter timeout in TestRetryRequestTimeoutHandling 3845 - store, o/snapstate: send default-tracks header, use 3846 RedirectChannel 3847 - overlord/standby: fix possible deadlock in standby test 3848 - cmd/snap-discard-ns: fix pattern for .info files 3849 - boot: add HasModeenv to Device 3850 - devicestate: do not allow remodel between core20 models 3851 - bootloader,snap: misc tweaks 3852 - store, overlord/snapstate, etc: SnapAction now returns a []…Result 3853 - snap-bootstrap: create encrypted partition 3854 - snap: remove "host" output from `snap version` 3855 - tests: use snap remove --purge flag in most of the spread tests 3856 - data/selinux, test/main/selinux-clean: update the test to cover 3857 more scenarios 3858 - many: drop NameAndRevision, use snap.PlaceInfo instead 3859 - boot: split MakeBootable tests into their own file 3860 - travis-ci: add go import path 3861 - boot: split MakeBootable implementations into their own file 3862 - tests: enable a lot of the tests of main on uc20 3863 - packaging, tests: stop services in prerm 3864 - tests: enable regression suite on core20 3865 - overlord/snapstate: improve snapd snap backend link unit tests 3866 - boot: implement SetNextBoot in terms of bootState.setNext 3867 - wrappers: write and undo snapd services on core 3868 - boot,o/devicestate: refactor MarkBootSuccessful over bootState 3869 - snap-bootstrap: mount the correct snapd snap to /run/mnt/snapd 3870 - snap-bootstrap: refactor partition creation 3871 - tests: use new snapd.spread-tests-run-mode-tweaks.service unit 3872 - tests: add core20 tests 3873 - boot,o/snapstate: SetNextBoot/LinkSnap return whether to reboot, 3874 use the information 3875 - tests/main/snap-sign: add test for non-stdin signing 3876 - snap-bootstrap: trigger udev after filesystem creation 3877 - boot,overlord: introduce internal abstraction bootState and use it 3878 for InUse/GetCurrentBoot 3879 - overlord/snapstate: tracks are now sticky 3880 - cmd: sign: add filename param 3881 - tests: remove "test-snapd-tools" in smoke/sandbox on restore 3882 - cmd/snap, daemon: stop over-normalising channels 3883 - tests: fix classic-ubuntu-core-transition-two-cores after refactor 3884 of MATCH -v 3885 - packaging: ship var/lib/snapd/desktop/applications in the pkg 3886 - spread: drop copr repo with F30 build dependencies 3887 - tests: use test-snapd-sh snap instead of test-snapd-tools - Part 3 3888 - tests: fix partition creation test 3889 - tests: unify/rename services-related spread tests to start with 3890 services- prefix 3891 - test: extract code that modifies "writable" for test prep 3892 - systemd: handle preseed mode 3893 - snap-bootstrap: read only stdout when parsing the sfdisk json 3894 - interfaces/browser-support: add more product/vendor paths 3895 - boot: write compat UC16 bootvars in makeBootable20RunMode 3896 - devicestate: avoid adding mockModel to deviceMgrInstallModeSuite 3897 - devicestate: request reboot after successful doSetupRunSystem() 3898 - snapd.core-fixup.sh: do not run on UC20 at all 3899 - tests: unmount automounted snap-bootstrap devices 3900 - devicestate: run boot.MakeBootable in doSetupRunSystem 3901 - boot: copy kernel/base to data partition in makeBootable20RunMode 3902 - tests: also check nested lxd container 3903 - run-checks: complain about MATCH -v 3904 - boot: always return the trivial boot participant in ephemeral mode 3905 - o/devicestate,o/snapstate: move the gadget.yaml checkdrive-by: use 3906 gadget.ReadInfoFromSnapFile in checkGadgetRemodelCompatible 3907 - snap-bootstrap: append new partitions 3908 - snap-bootstrap: mount filesystems after creation 3909 - snapstate: do not try to detect rollback in ephemeral modes 3910 - snap-bootstrap: trigger udev for new partitions 3911 - cmd/snap-bootstrap: xxx todos about kernel cross-checks 3912 - tests: avoid mask rsyslog service in case is not enabled on the 3913 system 3914 - tests: fix use of MATCH -v 3915 - cmd/snap-preseed: update help strings 3916 - cmd/snap-bootstrap: actually parse snapd_recovery_system label 3917 - bootstrap: reduce runmode mounts from 5 to 2 steps. 3918 - lkenv.go: adjust for new location of include file 3919 - snap: improve squashfs.ReadFile() error 3920 - systemd: fix uc20 shutdown 3921 - boot: write modeenv when creating the run mode 3922 - boot,image: add skeleton boot.makeBootable20RunMode 3923 - cmd/snap-preseed: add snap-preseed executable 3924 - overlord,boot: follow ups to #7889 and #7899 3925 - interfaces/wayland: Add access to Xwayland's shm files 3926 - o/hookstate/ctlcmd: fix command name in snapctl -h 3927 - daemon,snap: remove screenshot deprecation notice 3928 - overlord,o/snapstate: make sure we never leave config behind 3929 - many: pass consistently boot.Device state to boot methods 3930 - run-checks: check multiline string blocks in 3931 restore/prepare/execute sections of spread tests 3932 - intrefaces: login-session-control - added missing dbus commands 3933 - tests/main/parallel-install-remove-after: parallel installs should 3934 not break removal 3935 - overlord/snapstate: tweak assumes error hint 3936 - overlord: replace DeviceContext.OldModel with GroundContext 3937 - devicestate: use httputil.ShouldRetryError() in 3938 prepareSerialRequest 3939 - tests: replace "test-snapd-base-bare" with real "bare" base snap 3940 - many: pass a Model to the gadget info reading functions 3941 - snapstate: relax gadget constraints in ConfigDefaults Et al. 3942 - devicestate: only run ensureBootOk() in "run" mode 3943 - tests/many: quiet lxc launching, file pushing 3944 - tests: disable apt-hooks test until it can be properly fixed 3945 - tests: 16.04 and 18.04 now have mediating pulseaudio 3946 3947 * Wed Feb 12 2020 Michael Vogt <mvo@ubuntu.com> 3948 - New upstream release 2.43.3 3949 - interfaces/opengl: allow datagrams to nvidia-driver 3950 - httputil: add NoNetwork(err) helper, spread test and use 3951 in serial acquire 3952 - interfaces: add uio interface 3953 - interfaces/greengrass-support: 'aws-iot-greengrass' snap fails to 3954 start due to apparmor deny on mounting of "/proc/latency_stats". 3955 - data, packaging: Add sudoers snippet to allow snaps to be run with 3956 sudo 3957 3958 * Tue Jan 28 2020 Michael Vogt <mvo@ubuntu.com> 3959 - New upstream release 2.43.2 3960 - cmd/snap-confine: Revert #7421 (unmount /writable from snap view) 3961 - overlord/snapstate: fix for re-refresh bug 3962 - tests, run-checks, many: fix nakedret issues 3963 - data/selinux: workaround incorrect fonts cache labeling on RHEL7 3964 - tests: use test-snapd-upower instead of upower 3965 - overlord: increase overall settle timeout for slow arm boards 3966 3967 * Tue Jan 14 2020 Michael Vogt <mvo@ubuntu.com> 3968 - New upstream release 2.43.1 3969 - devicestate: use httputil.ShouldRetryError() in prepareSerialRequest 3970 - overlord/standby: fix possible deadlock in standby test 3971 - cmd/snap-discard-ns: fix pattern for .info files 3972 - overlord,o/snapstate: make sure we never leave config behind 3973 - data/selinux: update policy to cover more cases 3974 - snap: remove "host" output from `snap version` 3975 3976 * Thu Jan 09 2020 Michael Vogt <mvo@ubuntu.com> 3977 - New upstream release 2.43 3978 - snap: default to "--direct" in `snap known` 3979 - packaging: ship var/lib/snapd/desktop/applications in the 3980 pkg 3981 - tests: cherry-pick fixes for snap-set-core-config/ubuntu-core- 3982 config-defaults-once 3983 - tests: use test-snapd-sh snap instead of test-snapd-tools 3984 - tests: rename "test-snapd-sh" in smoke test to test-snapd-sandbox 3985 - tests: fix partition creation test 3986 - packaging: fix incorrect changelog entry 3987 - Revert "tests: 16.04 and 18.04 now have mediating pulseaudio" 3988 - tests: 16.04 and 18.04 now have mediating pulseaudio 3989 - interfaces: include hooks in plug/slot apparmor label 3990 - interfaces: add raw-volume interface for access to partitions 3991 - image: set recovery system label when creating the image 3992 - cmd/snapd-generator: fix unit name for non /snap mount locations 3993 - boot,bootloader: setup the snap recovery system bootenv 3994 - seed: support ModeSnaps(mode) for mode != "run" 3995 - seed: fix seed location of local but asserted snaps 3996 - doc: HACKING.md change autopkgtest-trusty-amd64.img name 3997 - interfaces/seccomp: parallelize seccomp backend setup 3998 - cmd/snap-bootstrap: mount ubuntu-data tmpfs, in one go with kernel 3999 & base 4000 - interfaces: add audio-playback/record and pulseaudio spread tests 4001 - apparmor: allow 'r' 4002 /sys/kernel/mm/transparent_hugepage/hpage_pmd_size 4003 - cmd/snap-mgmt, packaging/postrm: stop and remove socket units when 4004 purging 4005 - tests: use test-snapd-sh snap instead of test-snapd-tools 4006 - snap-confine: raise egid before calling setup_private_mount() 4007 - tests: fix fwupd version regular expression 4008 - snap-bootstrap: parse seed if either kernel or base are not 4009 mounted 4010 - tests: check for SELinux denials in interfaces-kvm spread test 4011 - tests: run snap-set-core-config on all core devices 4012 - selinux: update policy to allow modifications related to kmod 4013 backend 4014 - o/hookstate/ctlcmd: snapctl is-connected command 4015 - devicestate: add missing test for failing task setup-run-system 4016 - gadget: add missing test for duplicate detection of roles 4017 - tests/cmd/snapctl: unset SNAP_CONTEXT for the suite 4018 - snap/pack, cmd_pack: 'snap pack --check-skeleton' checks 4019 interfaces 4020 - gitignore: ignore visual studio code directory 4021 - snap-bootstrap: implement "run" mode in snap-bootstrap initramfs- 4022 mounts 4023 - interfaces/apparmor: handle pre-seeding mode 4024 - devicestate: implement creating partitions in "install" mode 4025 - seed: support extra snaps on top of Core 20 dangerous models 4026 - tests: cache snaps also for ubuntu core and add new snaps to cache 4027 - snap-bootstrap: support auto-detect device in create-partitions 4028 - tests: fix partitioning test debug message 4029 - tests: prevent partitioning test errors 4030 - cmd/snap-bootstrap: stub out snap.SanitizePlugsSlots for real 4031 - gadget: extract and export new DiskFromPartition() helper 4032 - snap-bootstrap: force partition table operations 4033 - HACKING.md: add nvidia options to configure example 4034 - tests: move the watchdog timeout to 2s to make the tests work in 4035 rpi 4036 - tests: demand silence from check_journalctl_log 4037 - tests: fix the channels checks done on nested tests 4038 - tests: reduce the complexity of the test-snapd-sh snap 4039 - snap/squashfs, osutil: verify files/dirs can be accessed by 4040 mksquashfs when building a snap 4041 - boot: add boot.Modeenv.Kernel support 4042 - devicestate: ensure system installation 4043 - tests: apply change on permissions to serial port on hotplug test 4044 - cmd/snap-update-ns: adjust debugging output for usability 4045 - devicestate: add reading of modeenv to uc20 firstboot code 4046 - tests/lib/prepare: drop workarounds for rpmbuild rewriting /bin/sh 4047 - cmd/snap-bootstrap: write /var/lib/snapd/modeenv to the right 4048 place 4049 - boot: add boot.Modeenv.Base support 4050 - overlord/snapstate: install task edges 4051 - cmd/snap-bootstrap: some small naming and code org tweaks 4052 - snap-bootstrap: remove SNAPPY_TESTING check, we use it for real 4053 now 4054 - interfaces: remove leftover reservedForOS 4055 - snap-bootstrap: write /run/mnt/ubuntu-data/var/lib/snapd/modeenv 4056 - osutil/mount: optimize flagOptSearch some more 4057 - devicestate: read modeenv early and store in devicestate 4058 - interfaces: add login-session-observe for who, {fail,last}log and 4059 loginctl 4060 - tests: add Ubuntu Eoan to google-sru backend 4061 - osutil/mount: de-duplicate code to use a list 4062 - interfaces: remove reservedForOS from commonInterface 4063 - interfaces/browser-support: allow reading status of huge pages 4064 - interfaces: update system-backup tests to not check for sanitize 4065 errors related to os 4066 - interfaces: add system-backup interface 4067 - osutil/mount: add {Unm,M}outFlagsToOpts helpers 4068 - snap-bootstrap: make cmdline parsing robust 4069 - overlord/patch: normalize tracking channel in state 4070 - boot: add boot.Modeenv that can read/write the UC20 modeenv files 4071 - bootloader: add new bootloader.InstallBootConfig() 4072 - many: share single implementation to list needed default-providers 4073 - snap-bootstrap: implement "snap-bootstrap initramfs-mounts" 4074 - seccomp: allow chown 'snap_daemon:root' and 'root:snap_daemon' 4075 - osutil: handle "rw" mount flag in ParseMountEntry 4076 - overlord/ifacestate: report bad plug/slots with warnings on snap 4077 install 4078 - po: sync translations from launchpad 4079 - tests: cleanup most test snaps icons, they were anyway in the 4080 wrong place 4081 - seed: fix confusing pre snapd dates in tests 4082 - many: make ValidateBasesAndProviders signature simpler/canonical 4083 - snap-bootstrap: set expected filesystem labels 4084 - testutil, many: make MockCommand() create prefix of absolute paths 4085 - tests: improve TestDoPrereqRetryWhenBaseInFlight to fix occasional 4086 flakiness. 4087 - seed: proper support for optional snaps for Core 20 models 4088 - many: test various kinds of overriding for the snapd snap in Core 4089 20 4090 - cmd/snap-failure: passthrough snapd logs, add informational 4091 logging 4092 - cmd/snap-failure: fallback to snapd from core, extend tests 4093 - configcore: fix missing error propagation 4094 - devicestate: rename ensureSeedYaml -> ensureSeeded 4095 - tests: adding fedora 31 4096 - tests: restart the snapd service in the snapd-failover test 4097 - seed: Core 20 seeds channel overrides support for grade dangerous 4098 - cmd: fix the get command help message 4099 - tests: enable degraded test on arch linux after latest image 4100 updates 4101 - overlord/snapstate: don't re-enable and start disabled services on 4102 refresh, etc. 4103 - seed: support in Core 20 seeds local unasserted snaps for model 4104 snaps 4105 - snap-bootstrap: add go-flags cmdline parsing and tests 4106 - gadget: skip fakeroot if not needed 4107 - overlord/state: panic in MarkEdge() if task is nil 4108 - spread: fix typo in spread suite 4109 - overlord: mock device serial in gadget remodel unit tests 4110 - tests: fix spread shellcheck and degraded tests to unbreak master 4111 - spread, tests: openSUSE Tumbleweed to unstable systems, update 4112 system-usernames on Amazon Linux 2 4113 - snap: extract printInstallHint in cmd_download.go 4114 - cmd: fix a pair of typos 4115 - release: preseed mode flag 4116 - cmd/snap-confine: tracking processes with classic confinement 4117 - overlord/ifacestate: remove automatic connections if plug/slot 4118 missing 4119 - o/ifacestate,interfaces,interfaces/policy: slots-per-plug: * 4120 - tests/lib/state: snapshot and restore /var/snap during the tests 4121 - overlord: add base->base remodel undo tests and fixes 4122 - seed: test and improve Core 20 seed handling errors 4123 - asserts: add "snapd" type to valid types in the model assertion 4124 - snap-bootstrap: check gadget versus disk partitions 4125 - devicestate: add support for gadget->gadget remodel 4126 - snap/snapenv: preserve XDG_RUNTIME_DIR for classic confinement 4127 - daemon: parse and reject invalid channels in snap ops 4128 - overlord: add kernel remodel undo tests and fix undo 4129 - cmd/snap: support (but warn) using deprecated multi-slash channel 4130 - overlord: refactor mgrsSuite and extract kernelSuite 4131 - tests/docker-smoke: add minimal docker smoke test 4132 - interfaces: extend the fwupd slot to be implicit on classic 4133 - cmd/snap: make 'snap list' shorten latest/$RISK to $RISK 4134 - tests: fix for journalctl which is failing to restart 4135 - cmd/snap,image: initial support for Core 20 in prepare-image with 4136 test 4137 - cmd/snap-confine: add support for parallel instances of classic 4138 snaps, global mount ns initialization 4139 - overlord: add kernel rollback across reboots manager test and 4140 fixes 4141 - o/devicestate: the basics of Core 20 firstboot support with test 4142 - asserts: support and parsing for slots-per-plug/plugs-per-slotSee 4143 https://forum.snapcraft.io/t/plug-slot-declaration-rules-greedy- 4144 plugs/12438 4145 - parts/plugins: don't xz-compress a deb we're going to discard 4146 - cmd/snap: make completion skip hidden commands (unless overridden) 4147 - many: load/consume Core 20 seeds (aka recovery systems) 4148 - tests: add netplan test on ubuntu core 4149 - seed/internal: doc comment fix and drop handled TODOs 4150 - o/ifacestate: unify code into 4151 autoConnectChecker.addAutoConnectionsneed to change to support 4152 slots-per-plugs: * 4153 - many: changes to testing in preparation of Core 20 seed consuming 4154 code 4155 - snapstate,devicestate: make OldModel() available in DeviceContext 4156 - tests: opensuse tumbleweed has similar issue than arch linux with 4157 snap --strace 4158 - client,daemon: pass sha3-384 in /v2/download to the client 4159 - builtin/browser_support.go: allow monitoring process memory 4160 utilization (used by chromium) 4161 - overlord/ifacestate: use SetupMany in setupSecurityByBackend 4162 - tests: add 14.04 canonical-livepatch test 4163 - snap: make `snap known --remote` use snapd if available 4164 - seed: share auxInfo20 and makeSystemSnap via internal 4165 - spread: disable secondary compression for deltas 4166 - interfaces/content: workaround for renamed target 4167 - tests/lib/gendevmodel: helper tool for generating developer model 4168 assertions 4169 - tests: tweak wording in mount-ns test 4170 - tests: don't depend on GNU time 4171 - o/snapstate, etc: SnapState.Channel -> TrackingChannel, and a 4172 setter 4173 - seed/seedwriter: support writing Core 20 seeds (aka recovery 4174 systems) 4175 - snap-recovery: rename to "snap-bootstrap" 4176 - managers: add remodel undo test for new required snaps case 4177 - client: add xerrors and wrap errors coming from "client" 4178 - tests: verify host is not affected by mount-ns tests 4179 - tests: configure the journald service for core systems 4180 - cmd/snap, store: include snapcraft.io page URL in snap info output 4181 - cmd/cmdutil: version helper 4182 - spread: enable bboozzoo/snapd-devel-deps COPR repo for getting 4183 golang-x-xerrors 4184 - interfaces: simplify AddUpdateNS and emit 4185 - interfaces/policy: expand cstrs/cstrs1 to 4186 altConstraints/constraints 4187 - overlord/devicestate: check snap handler for gadget remodel 4188 compatibility 4189 - snap-recovery: deploy gadget content when creating partitions 4190 - gadget: skip structures with MBR role during remodel 4191 - tests: do not use lsblk in uc20-snap-recovery test 4192 - overlord/snapstate: add LastActiveDisabledServices, 4193 missingDisabledServices 4194 - overlord/devicestate: refactor and split into per-functionality 4195 files, drop dead code 4196 - tests: update mount-ns after addition of /etc/systemd/user 4197 - interfaces/pulseaudio: adjust to manually connect by default 4198 - interfaces/u2f-devices: add OnlyKey to devices list 4199 - interfaces: emit update-ns snippets to function 4200 - interfaces/net-setup-{observe,control}: add Info D-Bus method 4201 accesses 4202 - tests: moving ubuntu-19.10-64 from google-unstable to google 4203 backend 4204 - gadget: rename existing and add new helpers for checking 4205 filesystem/partition presence 4206 - gadget, overlord/devicestate: add support for customized update 4207 policy, add remodel policy 4208 - snap-recovery: create filesystems as defined in the gadget 4209 - tests: ignore directories for go modules 4210 - policy: implement CanRemove policy for the snapd type 4211 - overlord/snapstate: skip catalog refresh if unseeded 4212 - strutil: add OrderedSet 4213 - snap-recovery: add minimal binary so that we can use spread on it 4214 - gadget, snap/pack: perform extended validation of gadget metadata 4215 and contents 4216 - timeutil: fix schedules with ambiguous nth weekday spans 4217 - interfaces/many: allow k8s/systemd-run to mount volume subPaths 4218 plus cleanups 4219 - client: add KnownOptions to Know() and support remote assertions 4220 - tests: check the apparmor_parser when the file exists on snap- 4221 confine test 4222 - gadget: helper for volume compatibility checks 4223 - tests: update snap logs to match for multiple lines for "running" 4224 - overlord: add checks for bootvars in 4225 TestRemodelSwitchToDifferentKernel 4226 - snap-install: add ext4,vfat creation support 4227 - snap-recovery: remove "usedPartitions" from sfdisk.Create() 4228 - image,seed: hide Seed16/Snap16, use seed.Open in image_test.go 4229 - cmd/snap: Sort tasks in snap debug timings output by lanes and 4230 ready-time. 4231 - snap-confine.apparmor.in: harden pivot_root until we have full 4232 mediation 4233 - gadget: refactor ensureVolumeConsistency 4234 - gadget: add a public helper for parsing gadget metadata 4235 - many: address issues related to explicit/implicit channels for 4236 image building 4237 - overlord/many: switch order of check snap parameters 4238 - cmd/snap-confine: remove leftover condition from capability world 4239 - overlord: set fake serial in TestRemodelSwitchToDifferentKernel 4240 - overlord/many: extend check snap callback to take snap container 4241 - recovery-tool: add sfdisk wrapper 4242 - tests: launch the lxd images following the pattern 4243 ubuntu:${VERSION_ID} 4244 - sandbox/cgroup: move freeze/thaw code 4245 - gadget: accept system-seed role and ubuntu-data label 4246 - test/lib/names.sh: make backslash escaping explicit 4247 - spread: generate delta when using google backend 4248 - cmd/snap-confine: remove loads of dead code 4249 - boot,dirs,image: various refinements in the prepare-image code 4250 switched to seedwriter 4251 - spread: include mounts list in task debug output 4252 - .gitignore: pair of trivial changes 4253 - image,seed/seedwriter: switch image to use seedwriter.Writer 4254 - asserts: introduce explicit support for grade for Core 20 models 4255 - usersession: drive by fixes for things flagged by unused or 4256 gosimple 4257 - spread.yaml: exclude vendor dir 4258 - sandbox/cgroup, overlord/snapstate: move helper for listing pids 4259 in group to the cgroup package 4260 - sandbox/cgroup: refactor process cgroup helper to support v2 and 4261 named hierarchies 4262 - snap-repair: error if run as non-root 4263 - snap: when running `snap repair` without arguments, show hint 4264 - interfaces: add cgroup-version to system-key 4265 - snap-repair: add missing check in TestRepairBasicRun 4266 - tests: use `snap model` instead of `snap known model` in tests 4267 - daemon: make /v2/download take snapRevisionOptions 4268 - snap-repair: add additional comment about trust in runner.Verify() 4269 - client: add support to use the new "download" API 4270 - interfaces: bump system-key version (and keep on bumping) 4271 - interfaces/mount: account for cgroup version when reporting 4272 supported features 4273 - tests: change regex to validate access to cdn during snap 4274 download 4275 - daemon: change /v2/download API to take "snap-name" as input 4276 - release: make forced dev mode look at cgroupv2 support 4277 - seed/seedwriter: support for extra snaps 4278 - wrappers/services.go: add disabled svc list arg to AddSnapServices 4279 - overlord/snapstate: add SetTaskSnapSetup helper + unit tests 4280 - cmd/libsnap: use cgroup.procs instead of tasks 4281 - tests: fix snapd-failover test for core18 tests on boards 4282 - overlord/snapstate/policy, etc: introduce policy, move canRemove 4283 to it 4284 - seed/seedwriter: cleanups and small left over todos* drive-by: use 4285 testutil.FilePresent consistently 4286 - cmd/snap: update 'snap find' help because it's no longer narrow 4287 - seed/seedwriter,snap/naming: support classic models 4288 - cmd/snap-confine: unmount /writable from snap view 4289 - spread.yaml: exclude automake cacheThe error message is looks like 4290 this:dpkg-source: info: local changes detected, the modified files 4291 are: 4292 - interfaces/openvswitch: allow access to other openvswitch sockets 4293 - cmd/model: don't show model with display-name inline w/ opts 4294 - daemon: add a 'prune' debug action 4295 - client: add doTimeout to http.Client{Timeout} 4296 - interfaces/seccomp: query apparmor sandbox helper rather than 4297 aggregate info 4298 - sandbox/cgroup: avoid dependency on dirs 4299 - seed/seedwriter,snap: support local snaps 4300 - overlord/snapstate: fix undo on firstboot seeding. 4301 - usersession: track connections to session agent for exit on idle 4302 and peer credential checks 4303 - tests: fix ubuntu-core-device-reg test for arm devices on core18 4304 - sandbox/seccomp: move the remaining sandbox bits to a 4305 corresponding sandbox package 4306 - osutil: generalize SyncDir with FileState interface 4307 - daemon, client, cmd/snap: include architecture in 'snap version' 4308 - daemon: allow /v2/assertions/{assertType} to query store 4309 - gadget: do not fail the update when old gadget snap is missing 4310 bare content 4311 - sandbox/selinux: move SELinux related bits from 'release' to 4312 'sandbox/selinux' 4313 - tests: add unit test for gadget defaults with a multiline string 4314 - overlord/snapstate: have more context in the errors about 4315 prerequisites 4316 - httputil: set user agent for CONNECT 4317 - seed/seedwriter: resolve channels using channel.Resolve* for snaps 4318 - run-checks: allow overriding gofmt binary, show gofmt diff 4319 - asserts,seed/seedwriter: follow snap type sorting in the model 4320 assertion snap listings 4321 - daemon: return "snapname_rev.snap" style when using /v2/download 4322 - tests: when the backend is external skip the loop waiting for snap 4323 version 4324 - many: move AppArmor probing code under sandbox/apparmor 4325 - cmd: add `snap debug boot-vars` that dumps the current bootvars 4326 - tests: skip the ubuntu-core-upgrade on arm devices on core18 4327 - seed/seedwriter: implement WriteMeta and tree16 corresponding code 4328 - interfaces/docker-support,kubernetes-support: misc updates for 4329 strict k8s 4330 - tests: restart the journald service while preparing the test 4331 - tests/cmd/debug_state: make the test output TZ independent 4332 - interfaces/kubernetes-support: allow use of /run/flannel 4333 - seed/seedwriter: start of Writer and internal policy16/tree16 4334 - sandbox/cgroup, usersession/userd: move cgroup related helper to a 4335 dedicated package 4336 - tests: move "centos-7" to unstable systems 4337 - snapstate: add missing tests for checkGadgetOrKernel 4338 - docs: Update README.md 4339 - snapcraft: set license to GPL-3.0 4340 - interfaces/wayland: allow a confined server running in a user 4341 session to work with Qt, GTK3 & SDL2 clients 4342 - selinux: move the package under sandbox/selinux 4343 - interfaces/udev: account for cgroup version when reporting 4344 supported features 4345 - store, ..., client: add a "website" field 4346 - sanity: sanity check cgroup probing 4347 - snapstate: increase settleTimeout in 4348 TestRemodelSwitchToDifferentKernel 4349 - packaging: remove obsolete usr.lib.snapd.snap-confine in postinst 4350 - data/selinux: allow snapd/snap to do statfs() on the cgroup 4351 mountpoint 4352 - usersession/userd: make sure to export DBus interfaces before 4353 requesting a name 4354 - data/selinux: allow snapd to issue sigkill to journalctl 4355 - docs: Add Code of Conduct 4356 - store: download propagates options to delta download 4357 - tests/main/listing: account for dots in ~pre suffix 4358 4359 * Fri Dec 06 2019 Michael Vogt <mvo@ubuntu.com> 4360 - New upstream release 2.42.5 4361 - snap-confine: revert, with comment, explicit unix deny for nested 4362 lxd 4363 - Disable mount-ns test on 16.04. It is too flaky currently. 4364 4365 * Thu Nov 28 2019 Michael Vogt <mvo@ubuntu.com> 4366 - New upstream release 2.42.4 4367 - overlord/snapstate: make sure configuration defaults are applied 4368 only once 4369 4370 * Wed Nov 27 2019 Michael Vogt <mvo@ubuntu.com> 4371 - New upstream release 2.42.3 4372 - overlord/snapstate: pick up system defaults when seeding the snapd 4373 snap 4374 - cmd/snap-update-ns: fix overlapping, nested writable mimic 4375 handling 4376 - interfaces: misc updates for u2f-devices, browser-support, 4377 hardware-observe, et al 4378 - tests: reset failing "fwupd-refresh.service" if needed 4379 - tests/main/gadget-update-pc: use a program to modify gadget yaml 4380 - snap-confine: suppress noisy classic snap file_inherit denials 4381 4382 * Wed Nov 20 2019 Michael Vogt <mvo@ubuntu.com> 4383 - New upstream release 2.42.2 4384 - interfaces/lxd-support: Fix on core18 4385 - tests/main/system-usernames: Amazon Linux 2 comes with libseccomp 4386 2.4.1 now 4387 - snap-seccomp: add missing clock_getres_time64 4388 - cmd/snap-seccomp/syscalls: update the list of known 4389 syscalls 4390 - sandbox/seccomp: accept build ID generated by Go toolchain 4391 - interfaces: allow access to ovs bridge sockets 4392 4393 * Wed Oct 30 2019 Michael Vogt <mvo@ubuntu.com> 4394 - New upstream release 2.42.1 4395 - interfaces: de-duplicate emitted update-ns profiles 4396 - packaging: tweak handling of usr.lib.snapd.snap-confine 4397 - interfaces: allow introspecting network-manager on core 4398 - tests/main/interfaces-contacts-service: disable on openSUSE 4399 Tumbleweed 4400 - tests/lib/lxd-snapfuse: restore mount changes introduced by LXD 4401 - snap: fix default-provider in seed validation 4402 - tests: update system-usernames test now that opensuse-15.1 works 4403 - overlord: set fake sertial in TestRemodelSwitchToDifferentKernel 4404 - gadget: rename "boot{select,img}" -> system-boot-{select,image} 4405 - tests: listing test, make accepted snapd/core versions consistent 4406 4407 * Tue Oct 01 2019 Michael Vogt <mvo@ubuntu.com> 4408 - New upstream release 2.42 4409 - tests: disable {contacts,calendar}-service tests on debian-sid 4410 - tests/main/snap-run: disable strace test cases on Arch 4411 - cmd/system-shutdown: include correct prototype for die 4412 - snap/naming: add test for hook name connect-plug-i2c 4413 - cmd/snap-confine: allow digits in hook names 4414 - gadget: do not fail the update when old gadget snap is missing 4415 bare content 4416 - tests: disable {contacts,calendar}-service tests on Arch Linux 4417 - tests: move "centos-7" to unstable systems 4418 - interfaces/docker-support,kubernetes-support: misc updates for 4419 strict k8s 4420 - packaging: remove obsolete usr.lib.snapd.snap-confine in 4421 postinst 4422 - tests: add test that ensures our snapfuse binary actually works 4423 - packaging: use snapfuse_ll to speed up snapfuse performance 4424 - usersession/userd: make sure to export DBus interfaces before 4425 requesting a name 4426 - data/selinux: allow snapd to issue sigkill to journalctl 4427 - store: download propagates options to delta download 4428 - wrappers: allow snaps to install icon theme icons 4429 - debug: state-inspect debugging utility 4430 - sandbox/cgroup: introduce cgroup wrappers package 4431 - snap-confine: fix return value checks for udev functions 4432 - cmd/model: output tweaks, add'l tests 4433 - wrappers/services: add ServicesEnableState + unit tests 4434 - tests: fix newline and wrong test name pointed out in previous PRs 4435 - tests: extend mount-ns test to handle mimics 4436 - run-checks, tests/main/go: allow gofmt checks to be skipped on 4437 19.10 4438 - tests/main/interfaces-{calendar,contacts}-service: disable on 4439 19.10 4440 - tests: part3 making tests work on ubuntu-core-18 4441 - tests: fix interfaces-timeserver-control on 19.10 4442 - overlord/snapstate: config revision code cleanup and extra tests 4443 - devicestate: allow remodel to different kernels 4444 - overlord,daemon: adjust startup timeout via EXTEND_TIMEOUT_USEC 4445 using an estimate 4446 - tests/main/many: increase kill-timeout to 5m 4447 - interfaces/kubernetes-support: allow systemd-run to ptrace read 4448 unconfined 4449 - snapstate: auto transition on experimental.snapd-snap=true 4450 - tests: retry checking until the written file on desktop-portal- 4451 filechooser 4452 - tests: unit test for a refresh failing on configure hook 4453 - tests: remove mount_id and parent_id from mount-ns test data 4454 - tests: move classic-ubuntu-core-transition* to nightly 4455 - tests/mountinfo-tool: proper formatting of opt_fields 4456 - overlord/configstate: special-case "null" in transaction Changes() 4457 - snap-confine: fallback gracefully on a cgroup v2 only system 4458 - tests: debian sid now ships new seccomp, adjust tests 4459 - tests: explicitly restore after using LXD 4460 - snapstate: make progress reporting less granular 4461 - bootloader: little kernel support 4462 - fixme: rename ubuntu*architectures to dpkg*architectures 4463 - tests: run dbus-launch inside a systemd unit 4464 - channel: introduce Resolve and ResolveLocked 4465 - tests: run failing tests on ubuntu eoan due to is now set as 4466 unstable 4467 - systemd: detach rather than unmount .mount units 4468 - cmd/snap-confine: add unit tests for sc_invocation, cleanup memory 4469 leaks in tests 4470 - boot,dirs,image: introduce boot.MakeBootable, use it in image 4471 instead of ad hoc code 4472 - cmd/snap-update-ns: clarify sharing comment 4473 - tests/overlord/snapstate: refactor for cleaner test failures 4474 - cmd/snap-update-ns: don't propagate detaching changes 4475 - interfaces: allow reading mutter Xauthority file 4476 - cmd/snap-confine: fix /snap duplication in legacy mode 4477 - tests: fix mountinfo-tool filtering when used with rewriting 4478 - seed,image,o/devicestate: extract seed loading to seed/seed16.go 4479 - many: pass the rootdir and options to bootloader.Find 4480 - tests: part5 making tests work on ubuntu-core-18 4481 - cmd/snap-confine: keep track of snap instance name and the snap 4482 name 4483 - cmd: unify die() across C programs 4484 - tests: add functions to make an abstraction for the snaps 4485 - packaging/fedora, tests/lib/prepare-restore: helper tool for 4486 packing sources for RPM 4487 - cmd/snap: improve help and error msg for snapshot commands 4488 - hookstate/ctlcmd: fix snapctl set help message 4489 - cmd/snap: don't append / to snap name just because a dir exists 4490 - tests: support fastly-global.cdn.snapcraft.io url on proxy-no-core 4491 test 4492 - tests: add --quiet switch to retry-tool 4493 - tests: add unstable stage for travis execution 4494 - tests: disable interfaces-timeserver-control on 19.10 4495 - tests: don't guess in is_classic_confinement_supported 4496 - boot, etc: simplify BootParticipant (etc) usage 4497 - tests: verify retry-tool not retrying missing commands 4498 - tests: rewrite "retry" command as retry-tool 4499 - tests: move debug section after restore 4500 - cmd/libsnap-confine-private, cmd/s-c: use constants for 4501 snap/instance name lengths 4502 - tests: measure behavior of the device cgroup 4503 - boot, bootloader, o/devicestate: boot env manip goes in boot 4504 - tests: enabling ubuntu 19.10-64 on spread.yaml 4505 - tests: fix ephemeral mount table in left over by prepare 4506 - tests: add version-tool for comparing versions 4507 - cmd/libsnap: make feature flag enum 1<<N style 4508 - many: refactor boot/boottest and move to bootloader/bootloadertest 4509 - tests/cross/go-build: use go list rather than shell trickery 4510 - HACKING.md: clarify where "make fmt" is needed 4511 - osutil: make flock test more robust 4512 - features, overlord: make parallel-installs exported, export flags 4513 on startup 4514 - overlord/devicestate: support the device service returning a 4515 stream of assertions 4516 - many: add snap model command, add /v2/model, /v2/model/serial REST 4517 APIs 4518 - debian: set GOCACHE dir during build to fix FTBFS on eoan 4519 - boot, etc.: refactor boot to have a lookup with different imps 4520 - many: add the start of Core 20 extensions support to the model 4521 assertion 4522 - overlord/snapstate: revert track-risk behavior change and 4523 validation on install 4524 - cmd/snap,image,seed: move image.ValidateSeed to 4525 seed.ValidateFromYaml 4526 - image,o/devicestate,seed: oops, make sure to clear seedtest 4527 helpers 4528 - tests/main/snap-info: update check.py for test-snapd-tools 2.0 4529 - tests: moving tests to nightly suite 4530 - overlord/devicestate,seed: small step, introduce 4531 seed.LoadAssertions and use it from firstboot 4532 - snapstate: add comment to checkVersion vs strutil.VersionCompare 4533 - tests: add unit tests for cmd_whoami 4534 - tests: add debug section to interfaces-contacts-service 4535 - many: introduce package seed and seedtest 4536 - interfaces/bluez: enable communication between bluetoothd and 4537 meshd via dbus 4538 - cmd/snap: fix snap switch message 4539 - overlord/snapstate: check channel names on install 4540 - tests: check snap_daemon user and group on system-usernames- 4541 illegal test are not created 4542 - cmd/snap-confine: fix group and permission of .info files 4543 - gadget: do not error on gadget refreshes with multiple volumes 4544 - snap: use deterministic paths to find the built deb 4545 - tests: just build snapd commands on go-build test 4546 - tests: re-enable mount-ns test on classic 4547 - tests: rename fuse_support to fuse-support 4548 - tests: move restore-project-each code to existing function 4549 - tests: simplify interfaces-account-control test 4550 - i18n, vendor, packaging: drop github.com/ojii/gettext.go, use 4551 github.com/snapcore/go-gettext 4552 - tests: always say 'restore: |' 4553 - tests: new test to check the output after refreshing/reverting 4554 core 4555 - snapstate: validate all system-usernames before creating them 4556 - tests: fix system version check on listing test for external 4557 backend 4558 - tests: add check for snap_daemon user/group 4559 - tests: don't look for lxcfs in mountinfo 4560 - tests: adding support for arm devices on ubuntu-core-device-reg 4561 test 4562 - snap: explicitly forbid trying to parallel install from seed 4563 - tests: remove trailing spaces from shell scripts 4564 - tests: remove locally installed revisions of core 4565 - tests: fix removal of snaps on ubuntu-core 4566 - interfaces: support Tegra display drivers 4567 - tests: move interfaces-contacts-service to /tmp 4568 - interfaces/network-manager: allow using 4569 org.freedesktop.DBus.ObjectManager 4570 - tests: restore dpkg selections after upgrade-from-2.15 test 4571 - tests: pass --remove to userdel on core 4572 - snap/naming: simplify SnapSet somewhat 4573 - devicestate/firstboot: check for missing bases early 4574 - httputil: rework protocol error detection 4575 - tests: unmount fuse connections only if not initially mounted 4576 - snap: prevent duplicated snap name and snap files when parsing 4577 seed.yaml 4578 - tests: re-implement user tool in python 4579 - image: improve/tweak some warning/error messages 4580 - cmd/libsnap-confine-private: add checks for parallel instances 4581 feature flag 4582 - tests: wait_for_service shows status after actual first minute 4583 - sanity: report proper errror when fuse is needed but not available 4584 - snap/naming: introduce SnapRef, Snap, and SnapSet 4585 - image: support prepare-image --classic for snapd snap only 4586 imagesConsequently: 4587 - tests/main/mount-ns: account for clone_children in cpuset cgroup 4588 on 18.04 4589 - many: merging asserts.Batch Precheck with CommitTo and other 4590 clarifications 4591 - devicestate: add missing test for remodeling possibly removing 4592 required flag 4593 - tests: use user-tool to remove test user in the non-home test 4594 - overlord/configstate: sort patch keys to have deterministic order 4595 with snap set 4596 - many: generalize assertstate.Batch to asserts.Batch, have 4597 assertstate.AddBatch 4598 - gadget, overlord/devicestate: rename Position/Layout 4599 - store, image, cmd: make 'snap download' leave partials 4600 - httputil: improve http2 PROTOCOL_ERROR detection 4601 - tests: add new "user-tool" helper and use in system-user tests 4602 - tests: clean up after NFS tests 4603 - ifacestate: optimize auto-connect by setting profiles once after 4604 all connects 4605 - hookstate/ctlcmd: snapctl unset command 4606 - tests: allow test user XDG_RUNTIME_DIR to phase out 4607 - tests: cleanup "snap_daemon" user in system-usernames-install- 4608 twice 4609 - cmd/snap-mgmt: set +x on startup 4610 - interfaces/wayland,x11: allow reading an Xwayland Xauth file 4611 - many: move channel parsing to snap/channel 4612 - check-pr-title.py: allow {} in pr prefix 4613 - tests: spam test logs less while waiting for systemd unit to stop 4614 - tests: remove redundant activation check for snapd.socket 4615 snapd.service 4616 - tests: trivial snapctl test cleanup 4617 - tests: ubuntu 18.10 removed from the google-sru backend on the 4618 spread.yaml 4619 - tests: add new cases into arch_test 4620 - tests: clean user and group for test system-usernames-install- 4621 twice 4622 - interfaces: k8s worker node updates 4623 - asserts: move Model to its own model.go 4624 - tests: unmount binfmt_misc on cleanup 4625 - tests: restore nsdelegate clobbered by LXD 4626 - cmd/snap: fix snap unset help string 4627 - tests: unmount fusectl after testing 4628 - cmd/snap: fix remote snap info for parallel installed snaps 4629 4630 * Fri Aug 30 2019 Michael Vogt <mvo@ubuntu.com> 4631 - New upstream release 2.41 4632 - overlord/snapstate: revert track-risk behavior 4633 - tests: fix snap info test 4634 - httputil: rework protocol error detection 4635 - gadget: do not error on gadget refreshes with multiple volumes 4636 - i18n, vendor, packaging: drop github.com/ojii/gettext.go, use 4637 github.com/snapcore/go-gettext 4638 - snapstate: validate all system-usernames before creating them 4639 - mkversion.sh: fix version from git checkouts 4640 - interfaces/network-{control,manager}: allow 'k' on 4641 /run/resolvconf/** 4642 - interfaces/wayland,x11: allow reading an Xwayland Xauth file 4643 - interfaces: k8s worker node updates 4644 - debian: re-enable systemd environment generator 4645 - many: create system-usernames user/group if both don't exist 4646 - packaging: fix symlink for snapd.session-agent.socket 4647 - tests: change cgroups so that LXD doesn't have to 4648 - interfaces/network-setup-control: allow dbus netplan apply 4649 messages 4650 - tests: add /var/cache/snapd to the snapd state to prevent error on 4651 the store 4652 - tests: add test for services disabled during refresh hook 4653 - many: simpler access to snap-seccomp version-info 4654 - snap: cleanup some tests, clarify some errorsThis is a follow up 4655 from work on system usernames: 4656 - osutil: add osutil.Find{Uid,Gid} 4657 - tests: use a different archive based on the spread backend on go- 4658 build test 4659 - cmd/snap-update-ns: fix pair of bugs affecting refresh of snap 4660 with layouts 4661 - overlord/devicestate: detect clashing concurrent (ongoing, just 4662 finished) remodels or changes 4663 - interfaces/docker-support: declare controls-device-cgroup 4664 - packaging: fix removal of old apparmor profile 4665 - store: use track/risk for "channel" name when parsing store 4666 details 4667 - many: allow 'system-usernames' with libseccomp > 2.4 and golang- 4668 seccomp > 0.9.0 4669 - overlord/devicestate, tests: use gadget.Update() proper, spread 4670 test 4671 - overlord/configstate/configcore: allow setting start_x=1 to enable 4672 CSI camera on RPi 4673 - interfaces: remove BeforePrepareSlot from commonInterface 4674 - many: support system-usernames for 'snap_daemon' user 4675 - overlord/devicestate,o/snapstate: queue service commands before 4676 mark-seeded and other final tasks 4677 - interfaces/mount: discard mount ns on backend Remove 4678 - packaging/fedora: build on RHEL8 4679 - overlord/devicestate: support seeding a classic system with the 4680 snapd snap and no core 4681 - interfaces: fix test failure in gpio_control_test 4682 - interfaces, policy: remove sanitize helpers and use minimal policy 4683 check 4684 - packaging: use %systemd_user_* macros to enable session agent 4685 socket according to presets 4686 - snapstate, store: handle 429s on catalog refresh a little bit 4687 better 4688 - tests: part4 making tests work on ubuntu-core-18 4689 - many: drop snap.ReadGadgetInfo wrapper 4690 - xdgopenproxy: update test API to match upstream 4691 - tests: show why sbuild failed 4692 - data/selinux: allow mandb_t to search /var/lib/snapd 4693 - tests: be less verbose when checking service status 4694 - tests: set sbuild test as manual 4695 - overlord: DeviceCtx must find the remodel context for a remodel 4696 change 4697 - tests: use snap info --verbose to check for base 4698 - sanity: unmount squashfs with --lazy 4699 - overlord/snapstate: keep current track if only risk is specified 4700 - interfaces/firewall-control: support nft routing expressions and 4701 device groups 4702 - gadget: support for writing symlinks 4703 - tests: mountinfo-tool fail if there are no matches 4704 - tests: sync journal log before start the test 4705 - cmd/snap, data/completion: improve completion for 'snap debug' 4706 - httputil: retry for http2 PROTOCOL_ERROR 4707 - Errata commit: pulseaudio still auto-connects on classic 4708 - interfaces/misc: updates for k8s 1.15 (and greengrass test) 4709 - tests: set GOTRACEBACK=1 when running tests 4710 - cmd/libsnap: don't leak memory in sc_die_on_error 4711 - tests: improve how the system is restored when the upgrade- 4712 from-2.15 test fails 4713 - interfaces/bluetooth-control: add udev rules for BT_chrdev devices 4714 - interfaces: add audio-playback/audio-record and make pulseaudio 4715 manually connect 4716 - tests: split the sbuild test in 2 depending on the type of build 4717 - interfaces: add an interface granting access to AppStream metadata 4718 - gadget: ensure filesystem labels are unique 4719 - usersession/agent: use background context when stopping the agent 4720 - HACKING.md: update spread section, other updates 4721 - data/selinux: allow snap-confine to read entries on nsfs 4722 - tests: respect SPREAD_DEBUG_EACH on the main suite 4723 - packaging/debian-sid: set GOCACHE to a known writable location 4724 - interfaces: add gpio-control interface 4725 - cmd/snap: use showDone helper with 'snap switch' 4726 - gadget: effective structure role fallback, extra tests 4727 - many: fix unit tests getting stuck 4728 - tests: remove installed snap on restore 4729 - daemon: do not modify test data in user suite 4730 - data/selinux: allow read on sysfs 4731 - packaging/debian: don't md5sum absent files 4732 - tests: remove test-snapd-curl 4733 - tests: remove test-snapd-snapctl-core18 in restore 4734 - tests: remove installed snap in the restore section 4735 - tests: remove installed test snap 4736 - tests: correctly escape mount unit path 4737 - cmd/Makefile.am: support building with the go snap 4738 - tests: work around classic snap affecting the host 4739 - tests: fix typo "current" 4740 - overlord/assertstate: add Batch.Precheck to check for the full 4741 validity of the batch before Commit 4742 - tests: restore cpuset clone_children clobbered by lxd 4743 - usersession: move userd package to usersession/userd 4744 - tests: reformat and fix markdown in snapd-state.md 4745 - gadget: select the right updater for given structure 4746 - tests: show stderr only if it exists 4747 - sessionagent: add a REST interface with socket activation 4748 - tests: remove locally installed core in more tests 4749 - tests: remove local revision of core 4750 - packaging/debian-sid: use correct apparmor Depends for Debian 4751 - packaging/debian-sid: merge debian upload changes back into master 4752 - cmd/snap-repair: make sure the goroutine doesn't stick around on 4753 timeout 4754 - packaging/fedora: github.com/cheggaaa/pb is no longer used 4755 - configstate/config: fix crash in purgeNulls 4756 - boot, o/snapst, o/devicest: limit knowledge of boot vars to boot 4757 - client,cmd/snap: stop depending on status/status-code in the JSON 4758 responses in client 4759 - tests: unmount leftover /run/netns 4760 - tests: switch mount-ns test to manual 4761 - overlord,daemon,cmd/snapd: move expensive startup to dedicated 4762 StartUp methods 4763 - osutil: add EnsureTreeState helper 4764 - tests: measure properties of various mount namespaces 4765 - tests: part2 making tests work on ubuntu-core-18 4766 - interfaces/policy: minimal policy check for replacing 4767 sanitizeReservedFor helpers (1/2) 4768 - interfaces: add an interface that grants access to the PackageKit 4769 service 4770 - overlord/devicestate: update gadget update handlers and mocks 4771 - tests: add mountinfo-tool --ref-x1000 4772 - tests: remove lxd / lxcfs if pre-installed 4773 - tests: removing support for ubuntu cosmic on spread test suite 4774 - tests: don't leak /run/netns mount 4775 - image: clean up the validateSuite 4776 - bootloader: remove "Dir()" from Bootloader interface 4777 - many: retry to reboot if snapd gets restarted before expected 4778 reboot 4779 - overlord: implement re-registration remodeling 4780 - cmd: revert PR#6933 (tweak of GOMAXPROCS) 4781 - cmd/snap: add snap unset command 4782 - many: add Client-User-Agent to "SnapAction" install API call 4783 - tests: first part making tests run on ubuntu-core-18 4784 - hookstate/ctlcmd: support hidden commands in snapctl 4785 - many: replace snapd snap name checks with type checks (3/4) 4786 - overlord: mostly stop needing Kernel/CoreInfo, make GadgetInfo 4787 consider a DeviceContext 4788 - snapctl: handle unsetting of config options with "!" 4789 - tests: move core migration snaps to tests/lib/snaps dir 4790 - cmd/snap: handle unsetting of config options with "!" 4791 - cmd/snap, etc: add health to 'snap list' and 'snap info' 4792 - gadget: use struct field names when intializing data in mounted 4793 updater unit tests 4794 - cmd/snap-confine: bring /lib/firmware from the host 4795 - snap: set snapd snap type (1/4) 4796 - snap: add checks in validate-seed for missing base/default- 4797 provider 4798 - daemon: replace shutdownServer with net/http's native shutdown 4799 support 4800 - interfaces/builtin: add exec "/bin/runc" to docker-support 4801 - gadget: mounted filesystem updater 4802 - overlord/patch: simplify conditions for re-applying sublevel 4803 patches for level 6 4804 - seccomp/compiler: adjust test case names and comment for later 4805 changes 4806 - tests: fix error doing snap pack running failover test 4807 - tests: don't preserve size= when rewriting mount tables 4808 - tests: allow reordering of rewrite operations 4809 - gadget: main update routine 4810 - overlord/config: normalize nulls to support config unsetting 4811 semantics 4812 - snap-userd-autostart: don't list as a startup application on the 4813 GUI 4814 - tests: renumber snap revisions as seen via writable 4815 - tests: change allocation for mount options 4816 - tests: re-enable ns-re-associate test 4817 - tests: mountinfo-tool allow many --refs 4818 - overlord/devicestate: implement reregRemodelContext with the 4819 essential re-registration logic 4820 - tests: replace various numeric mount options 4821 - gadget: filesystem image writer 4822 - tests: add more unit tests for mountinfo-tool 4823 - tests: introduce mountinfo-tool --ref feature 4824 - tests: refactor mountinfo-tool rewrite state 4825 - tests: allow renumbering mount namespace identifiers 4826 - snap: refactor and explain layout blacklisting 4827 - tests: renumber snap revisions as seen via hostfs 4828 - daemon, interfaces, travis: workaround build ID with Go 1.9, use 4829 1.9 for travis tests 4830 - cmd/libsnap: add sc_error_init_{simple,api_misuse} 4831 - gadget: make raw updater handle shifted structures 4832 - tests/lib/nested: create WORK_DIR before accessing it 4833 - cmd/libsnap: rename SC_LIBSNAP_ERROR to SC_LIBSNAP_DOMAIN 4834 - cmd,tests: forcibly discard mount namespace when bases change 4835 - many: introduce healthstate, run check-health 4836 post-(install/refresh/try/revert) 4837 - interfaces/optical-drive: add scsi-generic type 4 and 5 support 4838 - cmd/snap-confine: exit from helper when parent dies 4839 4840 * Fri Jul 12 2019 Michael Vogt <mvo@ubuntu.com> 4841 - New upstream release 2.40 4842 - overlord/patch: simplify conditions for re-applying sublevel 4843 patches for level 6 4844 - cmd,tests: forcibly discard mount namespace when bases change 4845 - cmd/snap-confine: handle device cgroup before pivot 4846 - cmd/snap-apparmor-service: quit if there are no profiles 4847 - cmd/snap, image: add --target-directory and --basename to 'snap 4848 download' 4849 - interfaces: add jack1 implicit classic interface 4850 - interfaces: miscellaneous policy updates 4851 - daemon: classic confinement is not supported on core 4852 - interfaces: bluetooth-control: add mtk BT device node 4853 - cmd/snap-seccomp: initial support for negative arguments with 4854 uid/gid caching 4855 - snap-confine: move seccomp load after permanent privilege drop 4856 - tests: new profiler snap used to track cpu and memory for snapd 4857 and snap commands 4858 - debian: make maintainer scripts do nothing on powerpc 4859 - gadget: mounted filesystem writer 4860 - cmd/snap: use padded checkers for snapshot output 4861 - bootloader: switch to bootloader_test style testing 4862 - gadget: add a wrapper for generating partitioned images with 4863 sfdisk 4864 - tests/main/snap-seccomp-syscalls: add description 4865 - tests: continue executing on errors either updating the repo db or 4866 installing dependencies 4867 - cmd/snap-seccomp/syscalls: add io_uring syscalls 4868 - systemd: add InstanceMode enumeration to control which systemd 4869 instance to control 4870 - netutil: extract socket activation helpers from daemon package. 4871 - interfaces: spi: update regex rules to accept spi nodes like 4872 spidev12345.0 4873 - gadget: fallback device lookup 4874 - many: add strutil.ElliptLeft, use it for shortening cohorts 4875 - wrappers: allow sockets under $XDG_RUNTIME_DIR 4876 - gadget: add wrapper for creating and populating filesystems 4877 - gadget: add writer for offset-write 4878 - gadget: support relative symlinks in device lookup 4879 - snap, snapstate: additional validation of base field 4880 - many: fix some races and missing locking, make sure UDevMonitor is 4881 stopped 4882 - boot: move ExtractKernelAssets 4883 - daemon, snap: screenshots _only_ shows the deprecation notice, 4884 from 2.39 4885 - osutil: add a workaround for overlayfs apparmor as it is used on 4886 Manjaro 4887 - snap: introduce GetType() function for snap.Info 4888 - tests: update systems to be used for during sru validation 4889 - daemon: increase `shutdownTimeout` to 25s to deal with slow 4890 HW 4891 - interfaces/network-manager: move deny ptrace to the connected slot 4892 - interfaces: allow locking of pppd files 4893 - cmd/snap-exec: fix snap completion for classic snaps with non 4894 /usr/lib/snapd libexecdir 4895 - daemon: expose pprof endpoints 4896 - travis: disable snap pack on OSX 4897 - client, cmd/snap: expose the new cohort options for snap ops 4898 - overlord/snapstate: tweak switch summaries 4899 - tests: reuse the image created initially for nested tests 4900 execution 4901 - tests/lib/nested: tweak assert disk prepare step 4902 - daemon, overlord/snapstate: support leave-cohort 4903 - tests/main/appstream-id: collect debug info 4904 - store,daemon: add client-user-agent support to store.SnapInfo 4905 - tests: add check for invalid PR titles in the static checks 4906 - tests: add snap-tool for easier access to internal tools 4907 - daemon: unexport file{Response,Stream} 4908 - devicestate: make TestUpdateGadgetOnClassicErrorsOut less racy 4909 - tests: fix test desktop-portal-filechooser 4910 - tests: sort commands from DumpCommands in the dumpDbHook 4911 - cmd/snap: add unit test for "advise-snap --dump-db". 4912 - bootloader: remove extra mock bootloader implementation 4913 - daemon: tweak for "add api endpoint for download" PR 4914 - packaging: fix reproducible build error 4915 - tests: synchronize journal logs before check logs 4916 - tests: fix snap service watchdog test 4917 - tests: use more readable test directory names 4918 - tests/regression/lp-1805485: update test description 4919 - overlord: make changes conflict with remodel 4920 - tests: make sure the snapshot unit test uses a snapshot time 4921 relative to Now() 4922 - tests: revert "tests: stop catalog-update/apt-hooks test for now" 4923 - tests: mountinfo-tool --one prints matches on failure 4924 - data/selinux: fix policy for snaps with bases and classic snaps 4925 - debian: fix building on eoan by tweaking golang build-deps 4926 - packaging/debian-sid: update required golang version to 1.10 4927 - httputil: handle "no such host" error explicitly and do not retry 4928 it 4929 - overlord/snapstate, & fallout: give Install a *RevisionOptions 4930 - cmd/snap: don't run install on 'snap --help install' 4931 - gadget: raw/bare structure writer and updater 4932 - daemon, client, cmd/snap: show cohort key in snap info --verbose 4933 - overlord/snapstate: add update-gadget task when needed, block 4934 other changes 4935 - image: turn a missing default content provider into an error 4936 - overlord/devicestate: update-gadget-assets task handler with 4937 stubbed gadget callbacks 4938 - interface: builtin: avahi-observe/control: update label for 4939 implicit slot 4940 - tests/lib/nested: fix multi argument copy_remote 4941 - tests/lib/nested: have mkfs.ext4 use a rootdir instead of mounting 4942 an image 4943 - packaging: fix permissions powerpc docs dir 4944 - overlord: mock store to avoid net requests 4945 - debian: rework how we run autopkgtests 4946 - interface: builtin: avahi-observe/control: allow slots 4947 implementation also by app snap on classic system 4948 - interfaces: builtin: utils: add helper function to identify system 4949 slots 4950 - interfaces: add missing adjtimex to time-control 4951 - overlord/snapstate, snap: support base = "none" 4952 - daemon, overlord/snapstate: give RevisionOptions a CohortKey 4953 - data/selinux: permit init_t to remount snappy_snap_t 4954 - cmd/snap: test for a friendly error on 'okay' without 'warnings' 4955 - cmd/snap: support snap debug timings --startup=.. and measure 4956 loadState time 4957 - advise-snap: add --dump-db which dumps the command database 4958 - interfaces/docker-support: support overlayfs on ubuntu core 4959 - cmd/okay: Remove err message when warning file not exist 4960 - devicestate: disallow removal of snaps used in booting early 4961 - packaging: fix build-depends on powerpc 4962 - tests: run spread tests on opensuse leap 15.1 4963 - strutil/shlex: fix ineffassign 4964 - cmd/snapd: ensure GOMAXPROCS is at least 2 4965 - cmd/snap-update-ns: detach unused mount points 4966 - gadget: record gadget root directory used during positioning 4967 - tests: force removal to prevent restore fails when directory 4968 doesn't exist on lp-1801955 test 4969 - overlord: implement store switch remodeling 4970 - tests: stop using ! for naive negation in shell scripts 4971 - snap,store,daemon,client: send new "Snap-Client-User-Agent" header 4972 in Search() 4973 - osutil: now that we require golang-1.10, use user.LookupGroup() 4974 - spread.yaml,tests: change MATCH and REBOOT to cmds 4975 - packaging/fedora: force external linker to ensure static linking 4976 and -extldflags use 4977 - timings: tweak the conditional for ensure timings 4978 - timings: always store ensure timings as long as they have an 4979 associated change 4980 - cmd/snap: tweak the output of snap debug timings --ensure=... 4981 - overlord/devicestate: introduce remodel kinds and 4982 contextsregistrationContext: 4983 - snaptest: add helper for mocking snap with contents 4984 - snapstate: allow removal of non-model kernels 4985 - tests: change strace parameters on snap-run test to avoid the test 4986 gets stuck 4987 - gadget: keep track of the index where structure content was 4988 defined 4989 - cmd/snap-update-ns: rename leftover ctx to upCtx 4990 - tests: add "not" command 4991 - spread.yaml: use "snap connections" in debug 4992 - tests: fix how strings are matched on auto-refresh-retry test 4993 - spread-shellcheck: add support for variants and environment 4994 - gadget: helper for shifting structure start position 4995 - cmd/snap-update-ns: add several TODO comments 4996 - cmd/snap-update-ns: rename ctx to upCtx 4997 - spread.yaml: make HOST: usage shellcheck-clean 4998 - overlord/snapstate, daemon: snapstate.Switch now takes a 4999 RevisionOption 5000 - tests: add mountinfo-tool 5001 - many: make snapstate.Update take *RevisionOptions instead of chan, 5002 rev 5003 - tests/unit/spread-shellcheck: temporary workaround for SC2251 5004 - daemon: refactor user ops to api_users 5005 - cmd/snap, tests: refactor info to unify handling of 'direct' snaps 5006 - cmd/snap-confine: combine sc_make_slave_mount_ns into caller 5007 - cmd/snap-update-ns: use "none" for propagation changes 5008 - cmd/snap-confine: don't pass MS_SLAVE along with MS_BIND 5009 - cmd/snap, api, snapstate: implement "snap remove --purge" 5010 - tests: new hotplug test executed on ubuntu core 5011 - tests: running tests on fedora 30 5012 - gadget: offset-write: fix validation, calculate absolute position 5013 - data/selinux: allow snap-confine to do search on snappy_var_t 5014 directories 5015 - daemon, o/snapstate, store: support for installing from cohorts 5016 - cmd/snap-confine: do not mount over non files/directories 5017 - tests: validates snapd from ppa 5018 - overlord/configstate: don't panic on invalid configuration 5019 - gadget: improve device lookup, add helper for mount point lookup 5020 - cmd/snap-update-ns: add tests for executeMountProfileUpdate 5021 - overlord/hookstate: don't run handler unless hooksup.Always 5022 - cmd/snap-update-ns: allow changing mount propagation 5023 - systemd: workaround systemctl show quirks on older systemd 5024 versions 5025 - cmd/snap: allow option descriptions to start with the command 5026 - many: introduce a gadget helper for locating device matching given 5027 structure 5028 - cmd/snap-update-ns: fix golint complaints about variable names 5029 - cmd/snap: unit tests for debug timings 5030 - testutil: support sharing-related mount flags 5031 - packaging/fedora: Merge changes from Fedora Dist-Git and drop EOL 5032 Fedora releases 5033 - cmd/snap: support for --ensure argument for snap debug timings 5034 - cmd,sandbox: tweak seccomp version info handling 5035 - gadget: record sector size in positioned volume 5036 - tests: make create-user test support managed devices 5037 - packaging: build empty package on powerpc 5038 - overlord/snapstate: perform hard refresh check 5039 - gadget: add volume level update checks 5040 - cmd/snap: mangle descriptions that have indent > terminal width 5041 - cmd/snap-update-ns: rename applyFstab to executeMountProfileUpdate 5042 - cmd/snap-confine: unshare per-user mount ns once 5043 - tests: retry govendor sync 5044 - tests: avoid removing snaps which are cached to speed up the 5045 prepare on boards 5046 - tests: fix how the base snap are deleted when there are multiple 5047 to deleted on reset 5048 - cmd/snap-update-ns: merge apply functions 5049 - many: introduce assertstest.SigningAccounts and AddMany test 5050 helpers 5051 - interfaces: special-case "snapd" in sanitizeSlotReservedForOS* 5052 helpers 5053 - cmd/snap-update-ns: make apply{User,System}Fstab identical 5054 - gadget: introduce checkers for sanitizing structure updates 5055 - cmd/snap-update-ns: move apply{Profile,{User,System}Fstab} to same 5056 file 5057 - overlord/devicestate: introduce registrationContext 5058 - cmd/snap-update-ns: add no-op load/save current user profile logic 5059 - devicestate: set "new-model" on the remodel change 5060 - devicestate: use deviceCtx in checkGadgetOrKernel 5061 - many: use a fake assertion model in the device contexts for tests 5062 - gadget: fix handling of positioning constrains for structures of 5063 MBR role 5064 - snap-confine: improve error when running on a not /home homedir 5065 - devicestate: make Remodel() return a state.Change 5066 - many: make which store to use contextualThis reworks 5067 snapstate.Store instead of relying solely on DeviceContext, 5068 because: 5069 - tests: enable tests on centos 7 again 5070 - interfaces: add login-session-control interface 5071 - tests: extra debug for snapshot-basic test 5072 - overlord,overlord/devicestate: do without GadgetInfo/KernelInfo in 5073 devicestate 5074 - gadget: more validation checks for legacy MBR structure type & 5075 role 5076 - osutil: fix TestReadBuildGo test in sbuild 5077 - data: update XDG_DATA_DIRS via the systemd environment.d mechanism 5078 too 5079 - many: do without device state/assertions accessors based on state 5080 only outside of devicestate/tests 5081 - interfaces/dbus: fix unit tests when default snap mount dir is not 5082 /snap 5083 - tests: add security-seccomp to verify seccomp with arg filtering 5084 - snapshotstate: disable automatic snapshots on core for now 5085 - snapstate: auto-install snapd when needed 5086 - overlord/ifacestate: update static attributes of "content" 5087 interface 5088 - interfaces: add support for the snapd snap in the dbus backend* 5089 - overlord/snapstate: tweak autorefresh logic if network is not 5090 available 5091 - snapcraft: also include ld.so.conf from libc in the snapcraft.yml 5092 - snapcraft.yaml: fix links ld-linux-x86-64.so.2/ld64.so.2 5093 - overlord: pass a DeviceContext to the checkSnap implementations 5094 - daemon: add RootOnly flag to commands 5095 - many: make access to the device model assertion etc contextual 5096 via a DeviceCtx hook/DeviceContext interface 5097 - snapcraft.yaml: include libc6 in snapd 5098 - tests: reduce snapcraft leftovers from PROJECT_PATH, temp disable 5099 centos 5100 - overlord: make the store context composably backed by separate 5101 backends for device asserts/info etc. 5102 - snapstate: revert "overlord/snapstate: remove PlugsOnly" 5103 - osutil,cmdutil: move CommandFromCore and make it use the snapd 5104 snap (if available) 5105 - travis: bump Go version to 1.10.x 5106 - cmd/snap-update-ns: remove instanceName argument from applyProfile 5107 - gadget: embed volume in positioned volume, rename fields 5108 - osutil: use go build-id when no gnu build-id is available 5109 - snap-seccomp: add 4th field to version-info for golang-seccomp 5110 features 5111 - cmd/snap-update-ns: merge computeAndSaveSystemChanges into 5112 applySystemFstab 5113 - cmd/snap, client, daemon, store: create-cohort 5114 - tests: give more time until nc returns on appstream test 5115 - tests: run spread tests on ubuntu 19.04 5116 - gadget: layout, smaller fixes 5117 - overlord: update static attrs when reloading connections 5118 - daemon: verify snap instructions for multi-snap requests 5119 - overlord/corecfg: make expiration of automatic snapshots 5120 configurable (4/4) 5121 - cmd/snap-update-ns: pass MountProfileUpdate to 5122 apply{System,User}Fstab 5123 - snap: fix interface bindings on implicit hooks 5124 - tests: improve how snaps are cached 5125 - cmd/snap-update-ns: formatting tweaks 5126 - data/selinux: policy tweaks 5127 - cmd/snap-update-ns: move locking to the common layer 5128 - overlord: use private YAML inside several tests 5129 - cmd/snap, store, image: support for cohorts in "snap download" 5130 - overlord/snapstate: add timings to critical task handlers and the 5131 backend 5132 - cmd: add `snap debug validate-seed <path>` cmd 5133 - state: add possible error return to TaskSet.Edge() 5134 - snap-seccomp: use username regex as defined in osutil/user.go 5135 - osutil: make IsValidUsername public and fix regex 5136 - store: serialize the acquisition of device sessions 5137 - interfaces/builtin/desktop: fonconfig v6/v7 cache handling on 5138 Fedora 5139 - many: move Device/SetDevice to devicestate, start of making them 5140 pluggable in storecontext 5141 - overlord/snapstate: remove PlugsOnly 5142 - interfaces/apparmor: allow running /usr/bin/od 5143 - spread: add qemu:fedora-29-64 5144 - tests: make test parallel-install-interfaces work for boards with 5145 pre-installed snaps 5146 - interfaces/builtin/intel_mei: fix /dev/mei* AppArmor pattern 5147 - spread.yaml: add qemu:centos-7-64 5148 - overlord/devicestate: extra measurements related to 5149 populateStateFromSeed 5150 - cmd/snap-update-ns: move Assumption to {System,User}ProfileUpdate 5151 - cmd/libsnap: remove fringe error function 5152 - gadget: add validation of cross structure overlap and offset 5153 writes 5154 - cmd/snap-update-ns: refactor of profile application (3/N) 5155 - data/selinux: tweak the policy for runuser and s-c, interpret 5156 audit entries 5157 - tests: fix spaces issue in the base snaps names to remove during 5158 reset phase 5159 - tests: wait for man db cache is updated before after install snapd 5160 on Fedora 5161 - tests: extend timeout of sbuild test 5162 5163 * Fri Jun 21 2019 Michael Vogt <mvo@ubuntu.com> 5164 - New upstream release 2.39.3 5165 - daemon: increase `shutdownTimeout` to 25s to deal with slow HW 5166 - spread: run tests against openSUSE 15.1 5167 - data/selinux: fix policy for snaps with bases and classic snaps 5168 5169 * Wed Jun 05 2019 Michael Vogt <mvo@ubuntu.com> 5170 - New upstream release 2.39.2 5171 - debian: rework how we run autopkgtests 5172 - interfaces/docker-support: add overlayfs accesses for ubuntu core 5173 - data/selinux: permit init_t to remount snappy_snap_t 5174 - strutil/shlex: fix ineffassign 5175 - packaging: fix build-depends on powerpc 5176 5177 * Wed May 29 2019 Michael Vogt <mvo@ubuntu.com> 5178 - New upstream release 2.39.1 5179 - spread: enable Fedora 30 5180 - cmd/snap-confine, data/selinux: cherry pick Fedora 30 fixes 5181 - tests/unit/spread-shellcheck: temporary workaround for SC2251 5182 - packaging: build empty package on powerpc 5183 - interfaces: special-case "snapd" in sanitizeSlotReservedForOS* 5184 helper 5185 - cmd/snap: mangle descriptions that have indent > terminal width 5186 - cmd/snap-confine: unshare per-user mount ns once 5187 - tests: avoid adding spaces to the base snaps names 5188 - systemd: workaround systemctl show quirks on older systemd 5189 versions 5190 5191 * Mon May 06 2019 Neal Gompa <ngompa13@gmail.com> - 2.39-1 5192 - Release 2.39 to Fedora (RH#1699087) 5193 - Enable basic SELinux integration 5194 - Fix changelog entry to fix build for EPEL 7 5195 - Exclude bash and POSIX sh shebangs from mangling (LP:1824158) 5196 - Drop some old pre Fedora 28 logic 5197 5198 * Fri May 03 2019 Michael Vogt <mvo@ubuntu.com> 5199 - New upstream release 2.39 5200 - overlord/ifacestate: update static attributes of "content" 5201 interface 5202 - data/selinux: tweak the policy for runuser and s-c, interpret 5203 audit entries 5204 - snapshotstate: disable automatic snapshots on core for now 5205 - overlord/corecfg: make expiration of automatic snapshots 5206 configurable 5207 - snapstate: auto-install snapd when needed 5208 - interfaces: add support for the snapd snap in the dbus backend 5209 - overlord/snapstate: tweak autorefresh logic if network is not 5210 available 5211 - interfaces/apparmor: allow running /usr/bin/od 5212 - osutil,cmdutil: move CommandFromCore and make it use the snapd 5213 snap (if available) 5214 - daemon: also verify snap instructions for multi-snap requests 5215 - data/selinux: allow snap-confine to mount on top of bin 5216 - data/selinux: auto transition /var/snap to snappy_var_t 5217 - cmd: add `snap debug validate-seed <path>` cmd 5218 - interfaces/builtin/desktop: fonconfig v6/v7 cache handling on 5219 Fedora 5220 - interfaces/builtin/intel_mei: fix /dev/mei* AppArmor pattern 5221 - tests: make snap-connections test work on boards with snaps pre- 5222 installed 5223 - tests: check for /snap/core16/current in core16-provided-by-core 5224 - tests: run livepatch test on 18.04 as well 5225 - devicestate: deal correctly with the "required" flag on Remodel 5226 - snapstate,state: add TaskSet.AddAllWithEdges() and use in doUpdate 5227 - snapstate: add new NoReRefresh flag and use in Remodel() 5228 - many: allow core as a fallback for core16 5229 - snapcraft: build static fontconfig in the snapd snap 5230 - cmd/snap-confine: remove unused sc_open_snap_{update,discard}_ns 5231 - data/selinux: allow snapd to execute runuser under snappy_t 5232 - spread, tests: do not leave mislabeled files in restorecon test, 5233 attempt to catch similar files 5234 - interfaces: cleanup internal tool lookup in system-key 5235 - many: move auth.AuthContext to store.DeviceAndAuthContext, the 5236 implemention to a separate storecontext packageThis: 5237 - overlord/devicestate: measurements around ensure and related tasks 5238 - cmd: tweak internal tool lookup to accept more possible locations 5239 - overlord/snapstate,snapshotstate: create snapshot on snap removal 5240 - tests: run smoke tests on (almost) pristine systems 5241 - tests: system disable ssh for config defaults in gadget 5242 - cmd/debug: integrate new task timings with "snap debug timings" 5243 - tests/upgrade/basic, packaging/fedoar: restore SELinux context of 5244 /var/cache/fontconfig, patch pre-2.39 mount units 5245 - image: simplify prefer local logic and fixes 5246 - tests/main/selinux-lxd: make sure LXD from snaps works cleanly 5247 with enforcing SELinux 5248 - tests: deny ioctl - TIOCSTI with garbage in high bits 5249 - overlord: factor out mocking of device service and gadget w. 5250 prepare-device for registration tests 5251 - data/selinux, tests/main/selinux-clean: fine tune the policy, make 5252 sure that no denials are raised 5253 - cmd/libsnap,osutil: fix parsing of mountinfo 5254 - ubuntu: disable -buildmode=pie on armhf to fix memory issue 5255 - overlord/snapstate: inhibit refresh for up to a week 5256 - cmd/snap-confine: prevent cwd restore permission bypass 5257 - overlord/ifacestate: introduce HotplugKey type use short key in 5258 change summaries 5259 - many: make Remodel() download everything first before installing 5260 - tests: fixes discovered debugging refresh-app-awareness 5261 - overlord/snapstate: track time of postponed refreshes 5262 - snap-confine: set rootfs_dir in sc_invocation struct 5263 - tests: run create-user on core devices 5264 - boot: add flag file "meta/force-kernel-extraction" 5265 - tests: add regression test for systemctl race fix 5266 - overlord/snapshotstate: helpers for snapshot expirations 5267 - overlord,tests: perform soft refresh check in doInstall 5268 - tests: enable tests that write /etc/{hostname,timezone} on core18 5269 - overlord/ifacestate: implement String() method of 5270 HotplugDeviceInfo for better logs/messages 5271 - cmd/snap-confine: move ubuntu-core fallback checks 5272 - testutil: fix MockCmd for shellcheck 0.5 5273 - snap, gadget: move gadget read/validation into separate package, 5274 tweak naming 5275 - tests: split travis spread execution in 2 jobs for ubuntu and non 5276 ubuntu systems 5277 - testutil: make mocked command work with shellcheck from snaps 5278 - packaging/fedora, tests/upgrade/basic: patch existing mount units 5279 with SELinux context on upgrade 5280 - metautil, snap: extract yaml value normalization to a helper 5281 package 5282 - tests: use apt via eatmydata 5283 - dirs,overlord/snapstate: add Soft and Hard refresh checks 5284 - cmd/snap-confine: allow using tools from snapd snap 5285 - cmd,interfaces: replace local helpers with cmd.InternalToolPath 5286 - tweak: fix "make hack" on Fedora 5287 - snap: add validation of gadget.yaml 5288 - cmd/snap-update-ns: refactor of profile application 5289 - cmd/snap,client,daemon,store: layout and sanity tweaks for 5290 find/search options 5291 - tests: add workaround for missing cache reset on older snapd 5292 - interfaces: deal with the snapd snap correctly for apparmor 2.13 5293 - release-tools: add debian-package-builder 5294 - tests: enable opensuse 15 and add force-resolution installing 5295 packages 5296 - timings: AddTag helper 5297 - testutil: run mocked commands through shellcheck 5298 - overlord/snapshotstate: support auto flag 5299 - client, daemon, store: search by common-id 5300 - tests: all the systems for google backend with 6 workers 5301 - interfaces: hotplug nested vm test, updated serial-port interface 5302 for hotplug. 5303 - sanity: use proper SELinux context when mounting squashfs 5304 - cmd/libsnap: neuter variables in cleanup functions 5305 - interfaces/adb-support: account for hubs on sysfs path 5306 - interfaces/seccomp: regenerate changed profiles only 5307 - snap: reject layouts to /lib/{firmware,modules} 5308 - cmd/snap-confine, packaging: support SELinux 5309 - selinux, systemd: support mount contexts for snap images 5310 - interfaces/builtin/opengl: allow access to Tegra X1 5311 - cmd/snap: make 'snap warnings' output yamlish 5312 - tests: add check to detect a broken snap on reset 5313 - interfaces: add one-plus devices to adb-support 5314 - cmd: prevent umask from breaking snap-run chain 5315 - tests/lib/pkgdb: allow downgrade when installing packages in 5316 openSUSE 5317 - cmd/snap-confine: use fixed private tmp directory 5318 - snap: tweak parsing errors of gadget updates 5319 - overlord/ifacemgr: basic measurements 5320 - spread: refresh metadata on openSUSE 5321 - cmd/snap-confine: pass sc_invocation instead of numerous args 5322 around 5323 - snap/gadget: introduce volume update info 5324 - partition,bootloader: rename 'partition' package to 'bootloader' 5325 - interfaces/builtin: add dev/pts/ptmx access to docker_support 5326 - tests: restore sbuild test 5327 - strutil: make SplitUnit public, allow negative numbers 5328 - overlord/snapstate,: retry less for auto-stuff 5329 - interfaces/builtin: add add exec "/" to docker-support 5330 - cmd/snap: fix regression of snap saved command 5331 - cmd/libsnap: rename C enum for feature flag 5332 - cmd: typedef mountinfo structures 5333 - tests/main/remodel: clean up before reverting the state 5334 - cmd/snap-confine: umount scratch dir using UMOUNT_NOFOLLOW 5335 - timings: add new helpers, Measurer interface and DurationThreshold 5336 - cmd/snap-seccomp: version-info subcommand 5337 - errortracker: fix panic in Report if db cannot be opened 5338 - sandbox/seccomp: a helper package wrapping calls to snap-seccomp 5339 - many: add /v2/model API, `snap remodel` CLI and spread test 5340 - tests: enable opensuse tumbleweed back 5341 - overlord/snapstate, store: set a header when auto-refreshing 5342 - data/selinux, tests: refactor SELinux policy, add minimal tests 5343 - spread: restore SELinux context when we mess with system files 5344 - daemon/api: filter connections with hotplug-gone=true 5345 - daemon: support returning assertion information as JSON with the 5346 "json" query parameter 5347 - cmd/snap: hide 'interfaces' command, show deprecation notice 5348 - timings: base API for recording timings in state 5349 - cmd/snap-confine: drop unused dependency on libseccomp 5350 - interfaces/apparmor: factor out test boilerplate 5351 - daemon: extract assertions api endpoint implementation into 5352 api_asserts.go 5353 - spread.yaml: bump delta reference 5354 - cmd/snap-confine: track per-app and per-hook processes 5355 - cmd/snap-confine: make sc_args helpers const-correct 5356 - daemon: move a function that was between an other struct and its 5357 methods 5358 - overlord/snapstate: fix restoring of "old-current" revision config 5359 in undoLinkSnap 5360 - cmd/snap, client, daemon, ifacestate: show a leading attribute of 5361 a connection 5362 - cmd/snap-confine: call sc_should_use_normal_mode once 5363 - cmd/snap-confine: populate enter_non_classic_execution_environment 5364 - daemon: allow downloading snaps blobs via .../file 5365 - cmd/snap-confine: introduce sc_invocation 5366 - devicestate: add initial Remodel support 5367 - snap: remove obsolete license-* fields in the yaml 5368 - cmd/libsnap: add cgroup-pids-support module 5369 - overlord/snapstate/backend: make LinkSnap clean up more 5370 - snapstate: only keep 2 snaps on classic 5371 - ctlcmd/tests: tests tweaks (followup to #6322) 5372 5373 * Tue Apr 23 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.38-3 5374 - Rebuilt for fix in golang-github-seccomp-libseccomp-golang 5375 5376 * Fri Apr 05 2019 Neal Gompa <ngompa13@gmail.com> - 2.38-2 5377 - Readd snapd-login-service Provides for gnome-software for F29 and older 5378 5379 * Thu Mar 21 2019 Neal Gompa <ngompa13@gmail.com> - 2.38-1 5380 - Release 2.38 to Fedora (RH#1691296) 5381 - Switch to officially released main source tarball 5382 - Drop obsolete snapd-login-service Provides 5383 5384 * Thu Mar 21 2019 Michael Vogt <mvo@ubuntu.com> 5385 - New upstream release 2.38 5386 - overlord/snapstate,: retry less for auto-stuff 5387 - cmd/snap: fix regression of snap saved command 5388 - interfaces/builtin: add dev/pts/ptmx access to docker_support 5389 - overlord/snapstate, store: set a header when auto-refreshing 5390 - interfaces/builtin: add add exec "/" to docker-support 5391 - cmd/snap, client, daemon, ifacestate: show a leading attribute of 5392 a connection 5393 - interface: avahi-observe: Fixing socket permissions on 4.15 5394 kernels 5395 - tests: check that apt works before using it 5396 - apparmor: support AppArmor 2.13 5397 - snapstate: restart into the snapd snap on classic 5398 - overlord/snapstate: during refresh, re-refresh on epoch bump 5399 - cmd, daemon: split out the common bits of mapLocal and mapRemote 5400 - cmd/snap-confine: chown private /tmp to root.root 5401 - cmd/snap-confine: drop uid from random /tmp name 5402 - overlord/hookstate: apply pending transaction changes onto 5403 temporary configuration for snapctl get 5404 - cmd/snap: `snap connections` command 5405 - interfaces/greengrass_support: update accesses for GGC 1.8 5406 - cmd/snap, daemon: make the connectivity check use GET 5407 - interfaces/builtin,/udev: add spec support to disable udev + 5408 device cgroup and use it for greengrass 5409 - interfaces/intel-mei: small follow up tweaks 5410 - ifacestate/tests: fix/improve udev mon test 5411 - interfaces: add multipass-support interface 5412 - tests/main/high-user-handling: fix the test for Go 1.12 5413 - interfaces: add new intel-mei interface 5414 - systemd: decrease the checker counter before unlocking otherwise 5415 we can get spurious panics 5416 - daemon/tests: fix race in the disconnect conflict test 5417 - cmd/snap-confine: allow moving tasks to pids cgroup 5418 - tests: enable opensuse tumbleweed on spread 5419 - cmd/snap: fix `snap services` completion 5420 - ifacestate/hotplug: integration with udev monitor 5421 - packaging: build snapctl as a static binary 5422 - packaging/opensuse: move most logic to snapd.mk 5423 - overlord: fix ensure before slowness on Retry 5424 - overlord/ifacestate: fix migration of connections on upgrade from 5425 ubuntu-core 5426 - daemon, client, cmd/snap: debug GETs ask aspects, not actions 5427 - tests/main/desktop-portal-*: fix handling of python dependencies 5428 - interfaces/wayland: allow wayland server snaps function on classic 5429 too 5430 - daemon, client, cmd/snap: snap debug base-declaration 5431 - tests: run tests on opensuse leap 15.0 instead of 42.3 5432 - cmd/snap: fix error messages for snapshots commands if ID is not 5433 uint 5434 - interfaces/seccomp: increase filter precision 5435 - interfaces/network-manager: no peer label check for hostname1 5436 - tests: add a tests for xdg-desktop-portal integration 5437 - tests: not checking 'tracking channel' after refresh core on 5438 nested execution 5439 - tests: remove snapweb from tests 5440 - snap, wrappers: support StartTimeout 5441 - wrappers: Add an X-SnapInstanceName field to desktop files 5442 - cmd/snap: produce better output for help on subcommands 5443 - tests/main/nfs-support: use archive mode for creating fstab backup 5444 - many: collect time each task runs and display it with `snap debug 5445 timings <id>` 5446 - tests: add attribution to helper script 5447 - daemon: make ucrednetGet not loop 5448 - squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test 5449 - features,cmd/libsnap: add new feature "refresh-app-awareness" 5450 - overlord: fix random typos 5451 - interfaces/seccomp: generate global seccomp profile 5452 - daemon/api: fix error case for disconnect conflict 5453 - overlord/snapstate: add some randomness to the catalog refresh 5454 - tests: disable trusty-proposed for now 5455 - tests: fix upgrade-from-2.15 with kernel 4.15 5456 - interfaces/apparmor: allow sending and receiving signals from 5457 ourselves 5458 - tests: split the test interfaces-many in 2 and remove snaps on 5459 restore 5460 - tests: use snap which takes 15 seconds to install on retryable- 5461 error test 5462 - packaging: avoid race in snapd.postinst 5463 - overlord/snapstate: discard mount namespace when undoing 1st link 5464 snap 5465 - cmd/snap-confine: allow writes to /var/lib/** 5466 - tests: stop catalog-update test for now 5467 - tests/main/auto-refresh-private: make sure to actually download 5468 with the expired macaroon 5469 - many: save media info when installing, show it when listing 5470 - userd: handle help urls which requires prepending XDG_DATA_DIRS 5471 - tests: fix NFS home mocking 5472 - tests: improve snaps-system-env test 5473 - tests: pre-cache core on core18 systems 5474 - interfaces/hotplug: renamed RequestedSlotSpec to ProposedSlot, 5475 removed Specification 5476 - debian: ensure leftover usr.lib.snapd.snap-confine is gone 5477 - image,cmd/snap,tests: introduce support for modern prepare-image 5478 --snap <snap>[=<channel>] 5479 - overlord/ifacestate: tweak logic for generating unique slot names 5480 - packaging: import debian salsa packaging work, add sbuild test and 5481 use in spead 5482 - overlord/ifacestate: hotplug-add-slot handler 5483 - image,cmd/snap: simplify --classic-arch to --arch, expose 5484 prepare-image 5485 - tests: run test snap as user in the smoke test 5486 - cmd/snap: tweak man output to have no doubled up .TP lines 5487 - cmd/snap, overlord/snapstate: silently ignore classic flag when a 5488 snap is strictly confined 5489 - snap-confine: remove special handling of /var/lib/jenkins 5490 - cmd/snap-confine: handle death of helper process 5491 - packaging: disable systemd environment generator on 18.04 5492 - snap-confine: fix classic snaps for users with /var/lib/* homedirs 5493 - tests/prepare: prevent console-conf from running 5494 - image: bootstrapToRootDir => setupSeed 5495 - image,cmd/snap,tests: introduce prepare-image --classic 5496 - tests: update smoke/sandbox test for armhf 5497 - client, daemon: introduce helper for querying snapd API for the 5498 list of slot/plug connections 5499 - cmd/snap-confine: refactor and cleanup of seccomp loading 5500 - snapstate, snap: allow update/switch requests with risk only 5501 channel to DTRT 5502 - interfaces: add network-manager-observe interface 5503 - snap-confine: increase locking timeout to 30s 5504 - snap-confine: fix incorrect "sanity timeout 3s" message 5505 - snap-confine: provide proper error message on sc_sanity_timeout 5506 - snapd,state: improve error message on state reading failure 5507 - interfaces/apparmor: deny inet/inet6 in snap-update-ns profile 5508 - snap: fix reexec from the snapd snap for classic snaps 5509 - snap: fix hook autodiscovery for parallel installed snaps 5510 - overlord/snapstate: format the refresh time for the log 5511 - cmd/snap-confine: add special case for Jenkins 5512 - snapcraft.yaml: fix XBuildDeb PATH for go-1.10 5513 - overlord/snapstate: validate instance names early 5514 - overlord/ifacestate: handler for hotplug-update-slot tasks 5515 - polkit: cast pid to uint32 to keep polkit happy for now 5516 - snap/naming: move various name validation helpers to separate 5517 package 5518 - tests: iterate getting journal logs to support delay on boards on 5519 daemon-notify test 5520 - cmd/snap: fix typo in cmd_wait.go 5521 - snap/channel: improve channel parsing 5522 - daemon, polkit: pid_t is signed 5523 - daemon: introduce /v2/connections snapd API endpoint 5524 - cmd/snap: small refactor of cmd_info's channel handling 5525 - overlord/snapstate: use an ad-hoc error when no results 5526 - cmd/snap: wrap "summary" better 5527 - tests: workaround missing go dependencies in debian-9 5528 - daemon: try to tidy up the icon stuff a little 5529 - interfaces: add display-control interface 5530 - snapcraft.yaml: fix snap building in launchpad 5531 - tests: update fedora 29 workers to speed up the whole testing time 5532 - interfaces: add u2f-devices interface and allow reading udev 5533 +power_supply:* in hardware-observe 5534 - cmd/snap-update-ns: save errno from strtoul 5535 - tests: interfaces tests normalization 5536 - many: cleanup golang.org/x/net/context 5537 - tests: add spread test for system dbus interface 5538 - tests: remove -o pipefail 5539 - interfaces: add block-devices interface 5540 - spread: enable upgrade suite on fedora 5541 - tests/main/searching: video section got renamed to photo-and-video 5542 - interfaces/home: use dac_read_search instead of dac_override with 5543 'read: all' 5544 - snap: really run the RunSuite 5545 - interfaces/camera: allow reading vendor/etc info from 5546 /run/udev/data/+usb:* 5547 - interfaces/dbus: be less strict about alternations for well-known 5548 names 5549 - interfaces/home: allow dac_override with 'read: 5550 all' 5551 - interfaces/pulseaudio: allow reading subdirectories of 5552 /etc/pulse 5553 - interfaces/system-observe: allow read on 5554 /proc/locks 5555 - run-checks: ensure we use go-1.10 if available 5556 - tests: get test-snapd-dbus-{provider,consumer} from the beta 5557 channel 5558 - interfaces/apparmor: mock presence of overlayfs root 5559 - spread: increase default kill-timeout to 30min 5560 - tests: simplify interfaces-contacts-service test 5561 - packaging/ubuntu: build with golang 1.10 5562 - ifacestate/tests: extra test for hotplug-connect handler 5563 - packaging: make sure that /var/lib/snapd/lib/glvnd is accounted 5564 for 5565 - overlord/snapstate/backend: call fontconfig helpers from the new 5566 'current' 5567 - kvm: load required kernel modules if necessary 5568 - cmd/snap: use a fake user for 'run' tests 5569 - tests: update systems for google sru backend 5570 - tests: fix install-snaps test by changing the snap info regex 5571 - interfaces: helpers for sorting plug/slot/connection refs 5572 - tests: moving core-snap-refresh-on-core test from main to nested 5573 suite 5574 - tests: fix daemon-notify test checking denials considering all the 5575 log lines 5576 - tests: skip lp-1802591 on "official" images 5577 - tests: fix listing tests to match "snap list --unicode=never" 5578 - debian: fix silly typo in the spread test invocation 5579 - interface: raw-usb: Adding ttyACM ttyACA permissions 5580 - tests: fix enable-disable-unit-gpio test on external boards 5581 - overlord/ifacestate: helper API to obtain the state of connections 5582 - tests: define new "tests/smoke" suite and use that for 5583 autopkgtests 5584 - cmd/snap-update-ns: explicitly check for return value from 5585 parse_arg_u 5586 - interfaces/builtin/opengl: allow access to NVIDIA VDPAU library 5587 - tests: auto-clean the test directory 5588 - cmd/snap: further tweak messaging; add a test 5589 - overlord/ifacestate: handler for hotplug-connect task 5590 - cmd/snap-confine: join freezer only after setting up user mount 5591 - cmd/snap-confine: don't preemptively create .mnt files 5592 - cmd/snap-update-ns: manually implement isspace 5593 - cmd/snap-update-ns: let the go parser know we are parsing -u 5594 - cmd/snap-discard-ns: fix name of user fstab files 5595 - snapshotstate: don't task.Log without the lock 5596 - tests: exclude some more slow tests from runs in autopkgtest 5597 - many: remove .user-fstab files from /run/snapd/ns 5598 - cmd/libsnap: pass --from-snap-confine when calling snap-update-ns 5599 as user 5600 - cmd/snap-update-ns: make freezer mockable 5601 - cmd/snap-update-ns: move XDG code to dedicated file 5602 - osutil: add helper for loading fstab from string 5603 - cmd/snap-update-ns: move existing code around, renaming some 5604 functions 5605 - overlord/configstate/configcore: support - and _ in cloud init 5606 field names 5607 - * cmd/snap-confine: use makedev instead of MKDEV 5608 - tests: review/fix the autopkgtest failures in disco 5609 - overlord: drop old v1 store api support from managers test 5610 - tests: new test for snapshots with more than 1 user 5611 5612 * Thu Feb 28 2019 Neal Gompa <ngompa13@gmail.com> - 2.37.4-2 5613 - Fix accidentally corrupted changelog merge 5614 5615 * Thu Feb 28 2019 Zygmunt Bazyli Krynicki <me@zygoon.pl> - 2.37.4-1 5616 - Release 2.37.4 to Fedora (RH#1683795) 5617 - Fix RPM macro in changelog (rpmlint) 5618 - Fix non-break space in changelog (rpmlint) 5619 5620 * Wed Feb 27 2019 Michael Vogt <mvo@ubuntu.com> 5621 - New upstream release 2.37.4 5622 - squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test 5623 - overlord/ifacestate: fix migration of connections on upgrade from 5624 ubuntu-core 5625 - tests: fix upgrade-from-2.15 with kernel 4.15 5626 - interfaces/seccomp: increase filter precision 5627 - tests: remove snapweb from tests 5628 5629 * Tue Feb 19 2019 Zygmunt Bazyli Krynicki <me@zygoon.pl> - 2.37.3-1 5630 - Release 2.37.3 to Fedora (RH#1678603) 5631 5632 * Mon Feb 18 2019 Michael Vogt <mvo@ubuntu.com> 5633 - New upstream release 2.37.3 5634 - interfaces/seccomp: generate global seccomp profile 5635 - overlord/snapstate: add some randomness to the catalog refresh 5636 - tests: add upgrade test from 2.15.2ubuntu1 -> current snapd 5637 - snap-confine: fix fallback to ubuntu-core 5638 - packaging: avoid race in snapd.postinst 5639 - overlord/snapstate: discard mount namespace when undoing 1st link 5640 snap 5641 - cmd/snap-confine: allow writes to /var/lib/** again 5642 - tests: stop catalog-update/apt-hooks test until the catlog refresh 5643 is randomized 5644 - debian: ensure leftover usr.lib.snapd.snap-confine is gone 5645 5646 * Wed Feb 06 2019 Neal Gompa <ngompa13@gmail.com> - 2.37.2-1 5647 - Release 2.37.2 to Fedora (RH#1667460) 5648 5649 * Wed Feb 06 2019 Michael Vogt <mvo@ubuntu.com> 5650 - New upstream release 2.37.2 5651 - cmd/snap, overlord/snapstate: silently ignore classic flag when a 5652 snap is strictly confined 5653 - snap-confine: remove special handling of /var/lib/jenkins 5654 - cmd/snap-confine: handle death of helper process gracefully 5655 - snap-confine: fix classic snaps for users with /var/lib/* homedirs 5656 like jenkins/postgres 5657 - packaging: disable systemd environment generator on 18.04 5658 - tests: update smoke/sandbox test for armhf 5659 - cmd/snap-confine: refactor and cleanup of seccomp loading 5660 - snap-confine: increase locking timeout to 30s 5661 - snap-confine: fix incorrect "sanity timeout 3s" message 5662 - snap: fix hook autodiscovery for parallel installed snaps 5663 - tests: iterate getting journal logs to support delay on boards on 5664 daemon-notify test 5665 - interfaces/apparmor: deny inet/inet6 in snap-update-ns profile 5666 - interfaces: add u2f-devices interface 5667 5668 * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.36.3-2 5669 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild 5670 5671 * Tue Jan 29 2019 Michael Vogt <mvo@ubuntu.com> 5672 - New upstream release 2.37.1 5673 - cmd/snap-confine: add special case for Jenkins 5674 - tests: workaround missing go dependencies in debian-9 5675 - daemon, polkit: pid_t is signed 5676 - interfaces: add display-control interface 5677 - interfaces: add block-devices interface 5678 - tests/main/searching: video section got renamed to photo-and-video 5679 - interfaces/camera: allow reading vendor/etc info from 5680 /run/udev/data/+usb 5681 - interfaces/dbus: be less strict about alternations for well-known 5682 names 5683 - interfaces/home: allow dac_read_search with 'read: all' 5684 - interfaces/pulseaudio: allow reading subdirectories of 5685 /etc/pulse 5686 - interfaces/system-observe: allow read on 5687 /proc/locks 5688 - tests: get test-snapd-dbus-{provider,consumer} from the beta 5689 channel 5690 - interfaces/apparmor: mock presence of overlayfs root 5691 - packaging/{fedora,opensuse,ubuntu}: add /var/lib/snapd/lib/glvnd 5692 5693 * Wed Jan 16 2019 Michael Vogt <mvo@ubuntu.com> 5694 - New upstream release 2.37 5695 - snapd: fix race in TestSanityFailGoesIntoDegradedMode test 5696 - cmd: fix snap-device-helper to deal correctly with hooks 5697 - tests: various fixes for external backend 5698 - interface: raw-usb: Adding ttyACM[0-9]* as many serial devices 5699 have device node /dev/ttyACM[0-9] 5700 - tests: fix enable-disable-unit-gpio test on external boards 5701 - tests: define new "tests/smoke" suite and use that for 5702 autopkgtests 5703 - interfaces/builtin/opengl: allow access to NVIDIA VDPAU 5704 library 5705 - snapshotstate: don't task.Log without the lock 5706 - overlord/configstate/configcore: support - and _ in cloud init 5707 field names 5708 - cmd/snap-confine: use makedev instead of MKDEV 5709 - tests: review/fix the autopkgtest failures in disco 5710 - systemd: allow only a single daemon-reload at the same time 5711 - cmd/snap: only auto-enable unicode to a tty 5712 - cmd/snap: right-align revision and size in info's channel map 5713 - dirs, interfaces/builtin/desktop: system fontconfig cache path is 5714 different on Fedora 5715 - tests: fix "No space left on device" issue on amazon-linux 5716 - store: undo workaround for timezone-less released-at 5717 - store, snap, cmd/snap: channels have released-at 5718 - snap-confine: fix incorrect use "src" var in mount-support.c 5719 - release: support probing SELinux state 5720 - release-tools: display self-help 5721 - interface: add new `{personal,system}-files` interface 5722 - snap: give Epoch an Equal method 5723 - many: remove unused interface code 5724 - interfaces/many: use 'unsafe' with docker-support change_profile 5725 rules 5726 - run-checks: stop running HEAD of staticcheck 5727 - release: use sync.Once around lazy intialized state 5728 - overlord/ifacestate: include interface name in the hotplug- 5729 disconnect task summary 5730 - spread: show free space in debug output 5731 - cmd/snap: attempt to restore SELinux context of snap user 5732 directories 5733 - image: do not write empty etc/cloud 5734 - tests: skip snapd snap on reset for core systems 5735 - cmd/snap-discard-ns: fix umount(2) typo 5736 - overlord/ifacestate: hotplug-remove-slot task handler 5737 - overlord/ifacestate: handler for hotplug-disconnect task 5738 - ifacestate/hotplug: updateDevice helper 5739 - tests: reset snapd state on tests restore 5740 - interfaces: return security setup errors 5741 - overlord: make InstallMany work like UpdateMany, issuing a single 5742 request to get candidates 5743 - systemd/systemd.go: add missing tests for systemd.IsActive 5744 - overlord/ifacestate: addHotplugSeqWaitTask helper 5745 - cmd/snap-confine: refactor call to snap-update-ns --user-mounts 5746 - tests: new backend used to run upgrade test suite 5747 - travis: short circuit failures in static and unit tests travis job 5748 - cmd: automatically fix localized <option>s to <option> 5749 - overlord/configstate,features: expose features to snapd tools 5750 - selinux: package to query SELinux status and verify/restore file 5751 contexts 5752 - wrappers: use new systemd.IsActive in core18 early boot 5753 - cmd: add tests for lintArg and lintDesc 5754 - httputil: retry on temporary net errors 5755 - cmd/snap-confine: remove unused sc_discard_preserved_mount_ns 5756 - wrappers: only restart service in core18 when they are active 5757 - overlord/ifacestate: helpers for serializing hotplug changes 5758 - packaging/{fedora,opensuse}: own /var/lib/snapd/cookie 5759 - systemd: start snapd.autoimport.service in --no-block mode 5760 - data/selinux: fix syntax error in definition of snappy_admin 5761 interface 5762 - snap/info: bind global plugs/slots to implicit hooks 5763 - cmd/snap-confine: remove SC_NS_MNT_FILE 5764 - spread: record each tests/upgrade job 5765 - osutil: do not import dirs 5766 - cmd/snap-confine: fix typo "a pipe" 5767 - tests: make security-device-cgroups-{devmode,jailmode} work on arm 5768 devices 5769 - tests: force test-snapd-daemon-notify exit 0 when the interface is 5770 not connected 5771 - overlord/snapstate: run 'remove' hook before 'auto-disconnect' 5772 - centos: enable SELinux support on CentOS 7 5773 - apparmor: allow hard link to snap-specific semaphore files 5774 - tests/lib/pkgdb: disable weak deps on Fedora 5775 - release: detect too old apparmor_parser 5776 - tests: improve how the log is checked to see if the system is 5777 waiting for a reboot 5778 - cmd, dirs, interfaces/apparmor: update distro identification to 5779 support ID="archlinux" 5780 - spread, tests: add Fedora 29 5781 - cmd/snap-confine: refactor calling snapd tools into helper module 5782 - apparmor: allow snap-update-ns access to common devices 5783 - cmd/snap-confine: capture initialized per-user mount ns 5784 - tests: reduce verbosity around package installation 5785 - data: set KillMode=process for snapd 5786 - cmd/snap: handle DNS error gracefully 5787 - spread, tests: use checkpoints when dumping audit log 5788 - tests/lib/prepare: make sure that SELinux context of repacked core 5789 snap is controlled 5790 - testutils: split checkers, tweak tests 5791 - tests: fix for tests test-*-cgroup 5792 - spread: show AVC audits when debugging, start auditd on Fedora 5793 - spread: drop Fedora 27, add Fedora 29 5794 - tests/lib/reset: restore context of removed snapd directories 5795 - testutil: add File{Present,Absent} checkers 5796 - snap: add new `snap run --trace-exec` 5797 - tests: fix for failover test on how logs are checked 5798 - snapctl: add "services" 5799 - overlord/snapstate: use file timestamp to initialize timer 5800 - cmd/libsnap: introduce and use sc_strdup 5801 - interfaces: let NM access ifindex/ifupdown files 5802 - overlord/snapstate: on refresh, check new rev can read current 5803 - client, store: don't use store from client (use client from store) 5804 - tests/main/parallel-install-store: verify installation of more 5805 than one instance at a time 5806 - overlord: don't write system key if security setup fails 5807 - packaging/fedora/snapd.spec: fix bogus date in changelog 5808 - snapstate: update fontconfig caches on install 5809 - interfaces/apparmor/backend.go:411:38: regular expression does not 5810 contain any meta characters (SA6004) 5811 - asserts/header_checks.go:199:35: regular expression does not 5812 contain any meta characters (SA6004) 5813 - run staticcheck every time :-) 5814 - tests/lib/systemd-escape/main.go:46:14: printf-style function with 5815 dynamic first argument and no further arguments should use print- 5816 style function instead (SA1006) 5817 - tests/lib/fakestore/cmd/fakestore/cmd_run.go:66:15: the channel 5818 used with signal.Notify should be buffered (SA1017) 5819 - tests/lib/fakedevicesvc/main.go:55:15: the channel used with 5820 signal.Notify should be buffered (SA1017) 5821 - spdx/parser.go:30:1: only the first constant has an explicit type 5822 (SA9004) 5823 - overlord/snapstate/snapmgr.go:553:21: printf-style function with 5824 dynamic first argument and no further arguments should use print- 5825 style function instead (SA1006) 5826 - overlord/patch/patch3.go:44:70: printf-style function with dynamic 5827 first argument and no further arguments should use print-style 5828 function instead (SA1006) 5829 - cmd/snap/cmd_advise.go:200:2: empty branch (SA9003) 5830 - osutil/udev/netlink/conn.go:120:5: ineffective break statement. 5831 Did you mean to break out of the outer loop? (SA4011) 5832 - daemon/api.go:992:22: printf-style function with dynamic first 5833 argument and no further arguments should use print-style function 5834 instead (SA1006) 5835 - cmd/snapd/main.go:94:5: ineffective break statement. Did you mean 5836 to break out of the outer loop? (SA4011) 5837 - cmd/snap/cmd_userd.go:73:15: the channel used with signal.Notify 5838 should be buffered (SA1017) 5839 - cmd/snap/cmd_help.go:102:7: io.Writer.Write must not modify the 5840 provided buffer, not even temporarily (SA1023) 5841 - release: probe apparmor features lazily 5842 - overlord,daemon: mock security backends for testing 5843 - cmd/libsnap: move apparmor-support to libsnap 5844 - cmd: drop cruft from snap-discard-ns build rules 5845 - cmd/snap-confine: use snap-discard-ns ns to discard stale 5846 namespaces 5847 - cmd/snap-confine: handle mounted shared /run/snapd/ns 5848 - many: fix composite literals with unkeyed fields 5849 - dirs, wrappers, overlord/snapstate: make completion + bases work 5850 - tests: revert "tests: restore in restore, not prepare" 5851 - many: validate title 5852 - snap: make description maximum in runes, not bytes 5853 - tests: discard mount namespaces in reset.sh 5854 - tests/lib: sync cla check back from snapcraft 5855 - Revert "cmd/snap, tests/main/snap-info: highlight the current 5856 channel" 5857 - daemon: remove enableInternalInterfaceActions 5858 - mkversion: use "test -n" rather than "! test -z" 5859 - run-checks: assorted fixes 5860 - tests: restore in restore, not in prepare 5861 - cmd/snap: fix missing newline in "snap keys" error message 5862 - snap: epoch lists must contain no duplicate entries 5863 - interfaces/avahi_observe: Fix typo in comment 5864 - tests: add SPREAD_JOB to the description of 5865 systemd_create_and_start_unit 5866 - daemon, vendor: bump github.com/coreos/go-systemd/activation, 5867 handle API changes 5868 - Revert "cmd/snap-confine: don't allow mapping lib{uuid,blkid}" 5869 - packaging/fedora: use %%_sysctldir macro 5870 - cmd/snap-confine: remove unneeded unshare 5871 - sanity: extend the kernel version check to cover CentOS/RHEL 5872 kernels 5873 - wrappers: remove all desktop files from a snap on removal 5874 - snap: add an explicit check for `epoch: null` loading 5875 - snap: check max description length in validate 5876 - spread, tests: add CentOS support 5877 - cmd/snap-confine: allow mapping more libc shards 5878 - cmd/snap-discard-ns: add support for --from-snap-confine 5879 - tests: make tinyproxy support systemd notify 5880 - tests: fix shellcheck 5881 - snap, store: rename `snap.Epoch`'s `Unset` to `IsZero` 5882 - store: add a test for a non-zero epoch refresh (with epoch bump) 5883 - store: v1 search doesn't send epoch, stop pretending it does 5884 - snap: make any "0" epoch be Unset, and marshalled to {[0],[0]} 5885 - overlord/snapstate: amend test should send local revision 5886 - tests: use mock-gpio.py in enable-disable-units-gpio test 5887 - snap: enforce minimal snap name len of 2 5888 - cmd/libsnap: add sc_verify_snap_lock 5889 - cmd/snap-update-ns: extra debugging of trespassing events 5890 - userd: force zenity width if the text displayed is long 5891 - overlord/snapstate, store: always send epochs 5892 - cmd/snap-confine,snap-update-ns: discard quirks 5893 - cmd/snap: add nanosleep to blacklisted syscalls when running with 5894 --strace 5895 - cmd/snap-update-ns, tests: clean trespassing paths 5896 - nvidia, interfaces/builtin: OpenCL fixes 5897 - ifacestate/hotplug: removeDevice helper 5898 - cmd: install snap-discard-ns in "make hack" 5899 - overlord/ifacestate: setup security backends phased by backends 5900 first 5901 - ifacestate/helpers: added SystemSnapName mapper helper method 5902 - overlord/ifacestate: set hotplug-key of the connection when 5903 connecting hotplug slots 5904 - snapd: allow snap-update-ns to read /proc/version 5905 - cmd: handle tumbleweed and leap in autogen.sh 5906 - interfaces/tests: MockHotplugSlot test helper 5907 - store,daemon: make UserInfo,LoginUser part of the store interface 5908 - overlord/ifacestate: use remapper when checking if system snap is 5909 installed 5910 - tests: fix how pinentry is prepared for new gpg v 2.1 and 2.2 5911 - packaging/arch: fix bash completions path 5912 - interfaces/builtin: add device-buttons interface for accessing 5913 events 5914 - tests, fakestore: extend refresh tests with parallel installed 5915 snaps 5916 - snap, store, overlord/snapshotstate: drop epoch pointers 5917 - snap: make Epoch default to {[0],[0]} on load from yaml 5918 - data/completion: pass documented arguments to completion functions 5919 - tests: skip opensuse from interfaces-openvswitch-support test 5920 - tests: simple reproducer for snap try and hooks bug 5921 - snapstate: do not allow classic mode for strict snaps 5922 - snap: make Epoch's MarshalJSON not simplify 5923 - store: remove unused currentSnap and currentSnapJSON 5924 - many: some small doc comment fixes in recent hotplug code 5925 - ifacestate/udevmonitor: added callback to signal end of 5926 enumeration 5927 - cmd/libsnap: add simplified feature flag checker 5928 - interfaces/opengl: add additional accesses for cuda 5929 - tests: add core18 only hooks test and fix running core18 only on 5930 classic 5931 - sanity, release, cmd/snap: refuse to try to do things on WSL. 5932 - cmd: make coreSupportsReExec faster 5933 - overlord/ifacestate: don't remove the dash when generating unique 5934 slot name 5935 - cmd/snap-seccomp: add full complement of ptrace constants 5936 - cmd: update autogen.sh for opensuse 5937 - interfaces/apparmor: allow access to /run/snap.$SNAP_INSTANCE_NAME 5938 - spread.yaml: add more systems to the autopkgtest and qemu backends 5939 - daemon: spool sideloaded snap into blob dir 5940 overlord/snapstate: address review feedback 5941 - packaging/opensuse: stop using golang-packaging 5942 - overlord/snapshots: survive an unknown user 5943 - wrappers: fix generating of service units with multiple `before` 5944 dependencies 5945 - data: run snapd.autoimport.service only after seeding 5946 - cmd/snap: unhide --name parameter to snap install, tweak help 5947 message 5948 - packaging/fedora: Merge changes from Fedora Dist-Git 5949 - tests/main/snap-service-after-before-install: verify after/before 5950 in snap install 5951 - overlord/ifacestate: mark connections disconnected by hotplug with 5952 hotplug-gone 5953 - ifacestate/ifacemgr: don't reload hotplug-gone connections on 5954 startup 5955 - tests: install dependencies during prepare 5956 - tests,store,daemon: ensure proxy settings are honored in 5957 auth/userinfo too 5958 - tests: core 18 does not support classic confinement 5959 - tests: add debug output for degraded test 5960 - strutil: make VersionCompare faster 5961 - overlord/snapshotstate/backend: survive missing directories 5962 - overlord/ifacestate: use map[string]*connState when passing conns 5963 around 5964 - tests: move fedora 28 to manual 5965 - overlord/snapshotstate/backend: be more verbose when 5966 SNAPPY_TESTING=1 5967 - tests: removing fedora 26 system from spread.yaml 5968 - tests: linode execution is not needed anymore 5969 - tests/lib: adjust to changed systemctl behaviour on debian-9 5970 - tests: fixes and new backend for tests on nested suite 5971 - strutil: let MatchCounter work with a nil regexp 5972 - ifacestate/helpers: findConnsForHotplugKey helper 5973 - many: move regexp.(Must)Compile out of non-init functions into 5974 variables 5975 - store: also make snaps downloaded via deltas 0600 5976 - snap: use Lstat to determine snap size, remove 5977 ReadSnapInfoExceptSize 5978 - interfaces/builtin: add adb-support interface 5979 - tests: fail if install_snap_local fails 5980 - strutil: add extra test to CommaSeparatedList as suggested by 5981 mborzecki 5982 - cmd/snap, daemon, strutil: use CommaSeparatedList to split a CSL 5983 - ifacestate: optimize disconnect hooks 5984 - cmd/snap-update-ns: parse the -u <uid> command line option 5985 - cmd/snap, tests: snapshots for all 5986 - client, cmd/daemon: allow disabling keepalive, improve degraded 5987 mode unit tests 5988 - snap: only show "next" refresh time if its after the hold time 5989 - overlord/snapstate: run tests for classic snaps even on systems 5990 that don't support classic 5991 - overlord/standby: fix a race between standby goroutine and stop 5992 - cmd/snap-exec: don't fail on some try mode snaps 5993 - cmd/snap, userd, testutil: tweak DBus tests to use private session 5994 bus connection 5995 - cmd: remove remnants of sc_should_populate_mount_ns 5996 - client, daemon, cmd/snap: indicate that services are socket/timer 5997 activated 5998 - cmd/snap-seccomp: only look for PTRACE_GETFPX?REGS where available 5999 - cmd/snap-confine: remove SC_NS_FAIL_GRACEFULLY 6000 - snap/pack, cmd/snap: allow specifying the filename of 'snap pack' 6001 - cmd/snap-discard-ns: add support for per-user mount namespaces 6002 - cmd/snap-confine: remove stale mount profile along stale namespace 6003 - data/apt: close stderr when calling snap in the apt install hook. 6004 - tests/main: fixes for the new shellcheck 6005 - testutil, cmd/snap: introduce and use testutil.EqualsWrapped and 6006 fly 6007 - tests: initial setup for testing current branch on nested vm and 6008 hotplug management 6009 - cmd: refactor IPC and lifecycle of the helper process 6010 - tests/main/parallel-install-store: the store has caught up, do not 6011 expect failures 6012 - overlord/snapstate, snap, wrappers: start services in the right 6013 order during install 6014 - interfaces/browser-support, cmd/snap-seccomp: Allow read-only 6015 ptrace, for the Breakpad crash reporter 6016 - snap,client: use a different exit code for retryable errors 6017 - overlord/ifacestate: don't conflict on own discard-snap tasks when 6018 refreshing & doing garbage collection 6019 - cmd/snap: tweak `snap services` output when there is no services 6020 - interfaces/many: updates to support k8s worker nodes 6021 - cmd/snap: gnome-software install via snap:// handler 6022 - overlord/many: cleanup use of snapName vs. instanceName 6023 - snapstate: add command-chain to supported featureset 6024 - daemon, snap: mark screenshots as deprecated 6025 - interfaces: fix decoding of json numbers for static/dynamic 6026 attributes* ifstate: fix decoding of json numbers 6027 - cmd/snap: try not to panic on error from "snap try" 6028 - tests: new cosmic image for spread tests on gce 6029 - interfaces/system-key: add parser mtime and only discover features 6030 on write 6031 - overlord/snapshotstate/backend: detect path to tar in unit tests 6032 - tests/unit/gccgo: drop gccgo unit tests 6033 - cmd: use relative file names in locking APIs 6034 - interfaces: fix NormalizeInterfaceAttributes, add tests 6035 - overlord/snapshotstate/backend: fall back on sudo when no runuser 6036 - cmd/snap-confine: reduce verbosity of debug and error messages 6037 - systemd: extend Status() to work for socket and timer units 6038 - interfaces: typo 'allows' for consistency with other ifaces 6039 - systemd,wrappers: don't start disabled services 6040 - ifacestate: simplify task chaining in ifacestate.Connect 6041 - tests: ensure that goa-daemon is off 6042 - snap/pack, snap/squashfs: remove extra copy before mksquashfs 6043 - cmd/snap: block 'snap help <cmd> --all' 6044 - asserts, image: ensure kernel, gadget, base and required-snaps use 6045 valid snap names 6046 - apparmor: add unit test for probeAppArmorParser and simplify code 6047 - interfaces/apparmor: conditionally add explicit deny rules for 6048 ptrace 6049 - po: sync translations from launchpad 6050 - osutil: tweak handling of error adduser errors 6051 - cmd: rename ns_group to mount_ns 6052 - tests/main/interfaces-accounts-service: more debugging 6053 - snap/pack, snap/squashfs: use type to determine mksquashfs args 6054 - data/systemd, wrappers: tweak system-shutdown helper for core18 6055 - tests: show list of processes when ifaces-accounts-service fails 6056 - tests: do not run degraded test in autopkgtest env 6057 - snap: overhaul validation error messages 6058 - ifacestate/hooks: only create interface hook tasks if hooks exist 6059 - osutil: workaround overlayfs on ubuntu 18.10 6060 - interfaces/home: don't allow snaps to write to $HOME/bin 6061 - interfaces: improve Attr error further 6062 - snapstate: tweak GetFeatureFlagBool() to have a default argument 6063 - many: cleanup remaining parallel installs TODOs 6064 - image: improve validation of extra snaps 6065 6066 * Tue Dec 18 2018 Neal Gompa <ngompa13@gmail.com> - 2.36.3-1 6067 - Release 2.36.3 to Fedora 6068 - Remove merged patch 6069 6070 * Fri Dec 14 2018 Michael Vogt <mvo@ubuntu.com> 6071 - New upstream release 2.36.3 6072 - wrappers: use new systemd.IsActive in core18 early boot 6073 - httputil: retry on temporary net errors 6074 - wrappers: only restart service in core18 when they are active 6075 - systemd: start snapd.autoimport.service in --no-block mode 6076 - data/selinux: fix syntax error in definition of snappy_admin 6077 interfacewhen installing selinux-policy-devel package. 6078 - centos: enable SELinux support on CentOS 7 6079 - cmd, dirs, interfaces/apparmor: update distro identification to 6080 support ID="archlinux" 6081 - apparmor: allow hard link to snap-specific semaphore files 6082 - overlord,apparmor: new syskey behaviour + non-ignored snap-confine 6083 profile errors 6084 - snap: add new `snap run --trace-exec` call 6085 - interfaces/backends: detect too old apparmor_parser 6086 6087 * Thu Nov 29 2018 Michael Vogt <mvo@ubuntu.com> 6088 - New upstream release 2.36.2 6089 - daemon, vendor: bump github.com/coreos/go-systemd/activation, 6090 handle API changes 6091 - snapstate: update fontconfig caches on install 6092 - overlord,daemon: mock security backends for testing 6093 - sanity, spread, tests: add CentOS 6094 - Revert "cmd/snap, tests/main/snap-info: highlight the current 6095 channel" 6096 - cmd/snap: add nanosleep to blacklisted syscalls when running with 6097 --strace 6098 - tests: add regression test for LP: #1803535 6099 - snap-update-ns: fix trailing slash bug on trespassing error 6100 - interfaces/builtin/opengl: allow reading /etc/OpenCL/vendors 6101 - cmd/snap-confine: nvidia: pick up libnvidia-opencl.so 6102 - interfaces/opengl: add additional accesses for cuda 6103 6104 * Wed Nov 21 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-4 6105 - Fix backport patch 6106 6107 * Wed Nov 21 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-3 6108 - Backport fixes for EL7 support 6109 6110 * Wed Nov 14 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-2 6111 - Fix runtime dependency for selinux subpackage for EL7 6112 6113 * Fri Nov 09 2018 Michael Vogt <mvo@ubuntu.com> 6114 - New upstream release 2.36.1 6115 - tests,snap-confine: add core18 only hooks test and fix running 6116 core18 only hooks on classic 6117 - interfaces/apparmor: allow access to 6118 /run/snap.$SNAP_INSTANCE_NAME 6119 - spread.yaml: add more systems to the autopkgtest and qemu backends 6120 - daemon: spool sideloaded snap into blob dir 6121 - wrappers: fix generating of service units with multiple `before` 6122 dependencies 6123 - data: run snapd.autoimport.service only after seeding 6124 - tests,store,daemon: ensure proxy settings are honored in 6125 auth/userinfo too 6126 - packaging/fedora: Merge changes from Fedora Dist-Git 6127 - tests/lib: adjust to changed systemctl behaviour on debian-9 6128 - tests/main/interfces-accounts-service: switch to busctl, more 6129 debugging 6130 - store: also make snaps downloaded via deltas 0600 6131 - cmd/snap-exec: don't fail on some try mode snaps 6132 - cmd/snap, userd, testutil: tweak DBus tests to use private session 6133 bus connection 6134 - tests/main: fixes for the new shellcheck 6135 - cmd/snap-confine: remove stale mount profile along stale namespace 6136 - data/apt: close stderr when calling snap in the apt install hook 6137 6138 * Sun Nov 04 2018 Neal Gompa <ngompa13@gmail.com> - 2.36-1 6139 - Release 2.36 to Fedora 6140 6141 * Wed Oct 24 2018 Michael Vogt <mvo@ubuntu.com> 6142 - New upstream release 2.36 6143 - overlord/snapstate, snap, wrappers: start services in the right 6144 order during install 6145 - tests: the store has caught up, drop gccgo test, update cosmic 6146 image 6147 - cmd/snap: try not to panic on error from "snap try"`--devmode` 6148 - overlord/ifacestate: don't conflict on own discard-snap tasks when 6149 refreshing & doing garbage collection 6150 - snapstate: add command-chain to supported featureset 6151 - daemon, snap: mark screenshots as deprecated 6152 - interfaces: fix decoding of json numbers for static/dynamic 6153 attributes 6154 - data/systemd, wrappers: tweak system-shutdown helper for core18 6155 - interfaces/system-key: add parser mtime and only discover features 6156 on write 6157 - interfaces: fix NormalizeInterfaceAttributes, add tests 6158 - systemd,wrappers: don't start disabled services 6159 - ifacestate/hooks: only create interface hook tasks if hooks exist 6160 - tests: do not run degraded test in autopkgtest env 6161 - osutil: workaround overlayfs on ubuntu 18.10 6162 - interfaces: include invalid type in Attr error 6163 - many: enable layouts by default 6164 - interfaces/default: don't scrub with change_profile with classic 6165 - cmd/snap: speed up unit tests 6166 - vendor, cmd/snap: refactor to accommodate the new less buggy go- 6167 flags 6168 - daemon: expose snapshots to the API 6169 - interfaces: updates for default, screen-inhibit-control, tpm, 6170 {hardware,system,network}-observe 6171 - interfaces/hotplug: rename HotplugDeviceKey method to HotplugKey, 6172 update test interface 6173 - interfaces/tests: use TestInterface instead of a custom local 6174 helper 6175 - overlord/snapstate: export getFeatureFlagBool. 6176 - osutil,asserts,daemon: support force password change in system- 6177 user assertion 6178 - snap, wrappers: support restart-delay, generate RestartSec=<value> 6179 in service units 6180 - tests/ifacestate: moved asserts-related mocking into helper 6181 - image: fetch device store assertion if available 6182 - many: enable AppArmor on Arch 6183 - interfaces/repo: two helper methods for hotplug 6184 - overlord/ifacestate: add hotplug slots with implicit slots 6185 - interfaces/hotplug: helpers and struct updates 6186 - tests: run the snapd tests on Ubuntu 18.10 6187 - snapstate: only report errors if there is an actual error 6188 - store: speedup unit tests 6189 - spread-shellcheck: fix interleaved error messages, tweaks 6190 - apparmor: create SnapAppArmorDir in setupSnapConfineReexec 6191 - ifacestate: implementation of defaultDeviceKey function for 6192 hotplug 6193 - cmd/snap-update-ns: remove empty placeholders used for mounting 6194 - snapshotstate: restore to current revision 6195 - tests/lib: rework the CLA checker 6196 - many: support and consider store friendly-stores when checking 6197 device scope constraints 6198 - overlord/snapstate: block parallel installs of snapd, core, base, 6199 kernel, gadget snaps 6200 - overlord/patch: patch for static plug/slot attributes 6201 - interfaces: honor static attributes when reloading conns 6202 - osutils: unit tests speedup; introduce «run-checks --short- 6203 unit». 6204 - systemd, wrappers: speed up wrappers unit tests 6205 - client: speedup unit tests 6206 - spread-shellcheck: use threads to parallelise 6207 - snap: validate plug and slot names 6208 - osutil, interfaces/apparmor: add and use of osutil.UnlinkMany 6209 - wrappers: do not depend on network.taget in socket units, tweak 6210 generated units 6211 - interfaces/apparmor: (un)load profiles in one apparmor_parser call 6212 - store: gracefully handle unexpected errors in 'action' 6213 response 6214 - cmd: put our manpages in section 8 6215 - overlord: don't make become-operational interfere with user 6216 requests 6217 - store: tweak unmatched refresh result error log 6218 - snap, client, daemon, store: use and expose "media" more 6219 - tests,cmd/snap-update-ns: add test showing mount update bug 6220 cmd/snap-update-ns: better detection of snapd-made tmpfs 6221 - tests: spread tests for aliases with parallel installed snaps 6222 - interfaces/seccomp: allow using statx by default 6223 - store: gracefully handle unexpected errors in 'action' response 6224 - overlord/snapshotstate: chown the tempdir 6225 - cmd/snap: attempt to start the document portal if running with a 6226 session bus 6227 - snap: detect layouts vs layout in snap.yaml 6228 - interfaces/apparmor: handle overlayfs snippet for snap-update-ns 6229 - snapcraft.yaml: set grade to stable 6230 - tests: shellchecks, final round 6231 - interfaces/apparmor: handle overlayfs snippet for snap-update-ns 6232 - snap: detect layouts vs layout in snap.yaml 6233 - overlord/snapshotstate: store epoch in snapshot, check on restore 6234 - cmd/snap: tweak UX of snap refresh --list 6235 - overlord/snapstate: improve consistency, use validateInfoAndFlags 6236 also in InstallPath 6237 - snap: give Epoch a CanRead helper 6238 - overlord/snapshotstate: small refactor of internal helpers 6239 - interfaces/builtin: adding missing permission to create 6240 /run/wpa_supplicant directory 6241 - interfaces/builtin: avahi interface update 6242 - client, daemon: support passing of 'unaliased' option when 6243 installing from local files 6244 - selftest: rename selftest.Run() to sanity.Check() 6245 - interfaces/apparmor: report apparmor support level and policy 6246 - ifacestate: helpers for generating slot names for hotplug 6247 - overlord/ifacestate: make sure to pass in the Model assertion when 6248 enforcing policies 6249 - overlord/snapshotstate: store the SnapID in snapshot, block 6250 restore if changed 6251 - interfaces: generalize writable mimic profile 6252 - asserts,interfaces/policy: add support for on-store/on-brand/on- 6253 model plug/slot rule constraints 6254 - many: fetch the device store assertion together and in the context 6255 of interpreting snap-declarations 6256 - tests: disable gccgo tests on 18.04 for now, until dh-golang vs 6257 gccgo is fixed 6258 - tests/main/parallel-install-services: add spread test for snaps 6259 with services 6260 - tests/main/snap-env: extend to cover parallel installations of 6261 snaps 6262 - tests/main/parallel-install-local: rename from *-sideload, extend 6263 to run snaps 6264 - cmd/snapd,daemon,overlord: without snaps, stop and wait for socket 6265 - cmd/snap: tame the help zoo 6266 - tests/main/parallel-install-store: run installed snap 6267 - cmd/snap: add a bunch of TRANSLATORS notes (and a little more 6268 i18n) 6269 - cmd: fix C formatting 6270 - tests: remove unneeded cleanup from layout tests 6271 - image: warn on missing default-providers 6272 - selftest: add test to ensure selftest.checks is up-to-date 6273 - interfaces/apparmor, interfaces/builtin: tweaks for parallel snap 6274 installs 6275 - userd: extend the list of supported XDG Desktop properties when 6276 autostarting user applications 6277 - cmd/snap-update-ns: enforce trespassing checks 6278 - selftest: actually run the kernel version selftest 6279 - snapd: go into degraded mode when the selftest fails 6280 - tests: add test that runs snapctl with a core18 snap 6281 - tests: add snap install hook with base: core18 6282 - overlord/{snapstate,assertstate}: parallel instances and 6283 refresh validation 6284 - interfaces/docker-support: add rules to read apparmor macros 6285 - tests: make nfs test available for more systems 6286 - tests: cleanup copy/paste dup in interfaces-network-setup-control 6287 - tests: using single sh snap in interface tests 6288 - overlord/snapstate: improve cleaup in mount-snap handler 6289 - tests: don't fail interfaces-bluez test if bluez is already 6290 installed 6291 - tests: find snaps just for edge and beta channels 6292 - daemon, snapstate: consistent snap list [--all] output with broken 6293 snaps 6294 - tests: fix listing to allow extra things in the notes column 6295 - cmd/snap: improve UX when removing specific snap revision 6296 - cmd/snap, tests/main/snap-info: highlight the current channel 6297 - interfaces/testiface: added TestHotplugInterface 6298 - snap: tweak commands 6299 - interfaces/hotplug: hotplug spec takes one slot definition 6300 - overlord/snapstate, snap: handle shared snap directories when 6301 installing/remove snaps with instance key 6302 - interfaces/opengl: misc accesses for VA-API 6303 - client, cmd/snap: expose warnings to the world 6304 - cmd/snap-update-ns: introduce trespassing state tracking 6305 - cmd/snap: commands no longer build their own client 6306 - tests: try to build cmd/snap for darwin 6307 - daemon: make error responders not printf when called with 1 6308 argument 6309 - many: return real snap name in API response 6310 - overlord/state: return latest LastAdded time in WarningsSummary 6311 - many: mount namespace mapping for parallel installs of snaps 6312 - ifacestate/autoconnect: do not self-conflict on setup-profiles if 6313 core-phase-2 6314 - client, cmd/snap: on !linux, exit when the client tries to Do 6315 something 6316 - tests: refactor for nested suite and tests fixed 6317 - tests: use lxd's waitready instead of polling lxd socket 6318 - ifacestate: don't initialize udev monitor until we have a system 6319 snap 6320 - interfaces: extra argument for static attrs in 6321 NewConnectedPlug/NewConnectedSlot 6322 - packaging/arch: sync packaging with AUR 6323 - snapstate/tests: serialize all appends in fake backend 6324 - snap-confine: make /lib/modules optional 6325 - cmd/snap: handle "snap interfaces core" better 6326 - store: move download tests into downloadSuite 6327 - tests,interfaces: run interfaces-account-control on UC18 6328 - tests: fix install snaps test by adding link to /snap 6329 - tests: fix for nested test suite 6330 - daemon: fix snap list --all with parallel snap instances 6331 - snapstate: refactor tests to use SetModel* 6332 - wrappers: fix snap services order in tests 6333 - many: provide salt for generating instance-key in store requests 6334 - ifacestate: fix hang when retrying content providers 6335 - snapd-env-generator: fix when PATH is empty or unset 6336 - overlord/assertstate: propagate TaskSnapSetup error 6337 - client: catch and expose logs errors 6338 - overlord: integrate device enumeration with udev monitor 6339 - daemon, overlord/state: warnings pipeline 6340 - tests: add publisher regex to fix the snap-info test pass on sru 6341 - cmd: use systemdsystemgeneratorsdir, cleanup automake complaints, 6342 tweaks 6343 - cmd/snap-update-ns: remove the unused Secure type 6344 - osutil, o/snapshotstate, o/sss/backend: quick fixes 6345 - tests: update the listing expression to support core from 6346 different channels 6347 - store: use stable instance key in store refresh requests 6348 - cmd/snap-update-ns: detach Mk{Prefix,{File,Dir,Symlink{,All}}} 6349 - overlord/patch: support for sublevel patches 6350 - tests: update prepare/restore for nightly suite 6351 - cmd/snap-update-ns: detach BindMount from the Secure type 6352 - cmd/snap-update-ns: re-factor pair of helpers to call fstatfs once 6353 - ifacestate: retry on "discard-snap" in autoconnect conflict check 6354 - cmd/snap-update-ns: separate OpenPath from the Secure struct 6355 - wrappers: remove Wants=network-online.target 6356 - tests: add new core16-base test 6357 - store: refactor tests so that they work as store_test package 6358 - many: add refresh.rate-limit core option 6359 - tests: run account-control test with different bases 6360 - tests: port proxy test to use python tinyproxy 6361 - overlord: introduce snapshotstate. 6362 - testutil: allow Fstatfs results to vary over time 6363 - snap-update-ns: add comments about the "deadcode" in bootstrap.go 6364 - overlord: add chg.Err() in testUpdateWithAutoconnectRetry 6365 - many: remove deadcode 6366 - tests: also run unit/gccgo in 18.04 6367 - tests: introduce a helper for installing local snaps with --name 6368 - tests: avoid removing core snap on reset 6369 - snap: use snap.SideInfo in test to fix build with gccgo 6370 - partition: remove unused runCommand 6371 - image: fix incorrect error when using local bases 6372 - overlord/snapstate: fix format 6373 - cmd: fix format 6374 - tests: setting "storage: preserve-size" just for amazon-linux 6375 system 6376 - tests: test for the hostname interface 6377 - interfaces/modem-manager: allow access to more USB strings 6378 - overlord: instantiate UDevMonitor 6379 - interfaces/apparmor: tweak naming, rename to AddLayout() 6380 - interfaces: take instance name in ifacetest.InstallSnap 6381 - snapcraft: do not use --dirty in mkversion 6382 - cmd: add systemd environment generator 6383 - devicestate: support getting (http) proxy from core config 6384 - many: rename ClientOpts to ClientOptions 6385 - prepare-image-grub-core18: remove image root in restore 6386 - overlord/ifacestate: remove "old-conn" from connect/undo connect 6387 handlers 6388 - packaging/fedora: Merge changes from Fedora Dist-Git 6389 - image: handle errors when downloadedSnapsInfoForBootConfig has no 6390 data 6391 - tests: use official core18 model assertion in tests 6392 - snap-confine: map /var/lib/extrausers into snaps mount-namespace 6393 - overlord,store: support proxy settings internally too 6394 - cmd/snap: bring back 'snap version' 6395 - interfaces/mount: tweak naming of things 6396 - strutil: fix MatchCounter to also work with buffer reuse 6397 - cmd,interfaces,tests: add /mnt to removable-media interface 6398 - systemd: do not run "snapd.snap-repair.service.in on firstboot 6399 bootstrap 6400 - snap/snapenv: drop some instance specific variables, use instance- 6401 specific ones for user locations 6402 - firstboot: sort by type when installing the firstboot snaps 6403 - cmd, cmd/snap: better support for non-linux 6404 - strutil: add new ParseByteSize 6405 - image: detect and error if bases are missing 6406 - interfaces/apparmor: do not downgrade confinement on arch with 6407 linux-hardened 4.17.4+ 6408 - daemon: add pokeStateLock helper to the daemon tests 6409 - snap/squashfs: improve error message from Build on mksquashfs 6410 failure 6411 - tests: remove /etc/alternatives from dirs-not-shared-with-host 6412 - cmd: support re-exec into the "snapd" snap 6413 - spdx: remove "Other Open Source" from the support licenses 6414 - snap: add new type "TypeSnapd" and attach to the snapd snap 6415 - interfaces: retain order of inserted security backends 6416 - tests: spread test for parallel-installs desktop file handling 6417 - overlord/devicestate: use OpenSSL's PEM format when generating 6418 keys 6419 - cmd: remove --skip-command-chain from snap run and snap-exec 6420 - selftest: detect if apparmor is unusable and error 6421 - snap,snap-exec: support command-chain for hooks 6422 - tests: significantly reduce execution time for managers test 6423 - snapstate: use new "snap.ByType" sorting 6424 - overlord/snapstate: fix UpdateMany() to work with parallel 6425 instances 6426 - testutil: have File* checker produce more useful error output 6427 - overlord/ifacestate: introduce connectOpts 6428 - interfaces: parallel instances support, extend unit tests 6429 - tests: normalize tests 6430 - snapstate: make InstallPath() return *snap.Info too 6431 - snap: add ByType sorting 6432 - interfaces: add cifs-mount interface 6433 - tests: use file based markers in snap-service-stop-mode 6434 - osutil: reorg and stub out things to get it building on darwin 6435 - tests/main/layout: cleanup after the test 6436 - osutil/sys: small tweaks to let it build on darwin 6437 - daemon, overlord/snapstate: set instance name when installing from 6438 snap file 6439 - many: move Uname to osutil, for more DRY and easier porting. 6440 - cmd/snap: create snap user directory when running parallel 6441 installed snaps 6442 - cmd/snap-confine: switch to validation of SNAP_INSTANCE_NAME 6443 - tests: basic test for parallel installs from the store 6444 - image: download the gadget from the model.GadgetTrack() 6445 - snapstate: add support for gadget tracks in model assertion 6446 - image: add support for "gadget=track" 6447 - overlord: handle sigterm during shutdown better 6448 - tests: add the original function to fix the errors on new kernels 6449 - tests/main/lxd: pull lxd from candidate; reënable i386 6450 - wayland: add extra sockets that are used by older toolkits (e.g. 6451 gtk3) 6452 - asserts: add support for gadget tracks in the model assertion 6453 - overlord/snapstate: improve feature flag validation 6454 - tests/main/lxd: run ubuntu-16.04 only on 64 bit variant 6455 - interfaces: workaround for activated services and newer DBus 6456 - tests: get the linux-image-extra available for the current kernel 6457 - interfaces: add new "sysfs-name" to i2c interfaces code 6458 - interfaces: disconnect hooks 6459 - cmd/libsnap: unify detection of core/classic with go 6460 - tests: fix autopkgtest failures in cosmic 6461 - snap: fix advice json 6462 - overlord/snapstate: parallel snap install 6463 - store: backward compatible instance-key handling for non-instance 6464 snaps 6465 - interfaces: add screencast-legacy for video and audio recording 6466 - tests: skip unsupported architectures for fedora-base-smoke test 6467 - tests: avoid using the journalctl cursor when it has not been 6468 created yet 6469 - snapstate: ensure normal snaps wait for the "snapd" snap on 6470 refresh 6471 - tests: enable lxd again everywhere 6472 - tests: new test for udisks2 interface 6473 - interfaces: add cpu-control for setting CPU tunables 6474 - overlord/devicestate: fix tests, set seeded in registration 6475 through proxy tests 6476 - debian: add missing breaks on cosmic 6477 - devicestate: only run device-hook when fully seeded 6478 - seccomp: conditionally add socketcall() based on system and base 6479 - tests: new test for juju client observe interface 6480 - overlord/devicestate: DTRT w/a snap proxy to reach a serial vault 6481 - snapcraft: set version information for the snapd snap 6482 - cmd/snap, daemon: error out if trying to install a snap using 6483 empty name 6484 - hookstate: simplify some hook tests 6485 - cmd/snap-confine: extend security tag validation to cover instance 6486 names 6487 - snap: fix mocking of systemkey in snap-run tests 6488 - packaging/opensuse: fix static build of snap-update-ns and snap- 6489 exec 6490 - interfaces/builtin: addtl network-manager resolved DBus fix 6491 - udev: skip TestParseUdevEvent on ppc 6492 - interfaces: miscellaneous policy updates 6493 - debian: add tzdata to build-dep to ensure snapd builds correctly 6494 - cmd/libsnap-confine-private: intoduce helpers for validating snap 6495 instance name and instance key 6496 - snap,snap-exec: support command-chain for app 6497 - interfaces/builtin: network-manager resolved DBus changes 6498 - snap: tweak `snap wait` command 6499 - cmd/snap-update-ns: introduce validation of snap instance names 6500 - cmd/snap: fix some corner-case test setup weirdness 6501 - cmd,dirs: fix various issues discovered by a Fedora base snap 6502 - tests/lib/prepare: fix extra snaps test 6503 6504 * Mon Oct 15 2018 Michael Vogt <mvo@ubuntu.com> 6505 - New upstream release 2.35.5 6506 - interfaces/home: don't allow snaps to write to $HOME/bin 6507 - osutil: workaround overlayfs on ubuntu 18.10 6508 6509 * Fri Oct 05 2018 Michael Vogt <mvo@ubuntu.com> 6510 - New upstream release 2.35.4 6511 - wrappers: do not depend on network.taget in socket units, tweak 6512 generated units 6513 6514 * Fri Oct 05 2018 Michael Vogt <mvo@ubuntu.com> 6515 - New upstream release 2.35.3 6516 - overlord: don't make become-operational interfere with user 6517 requests 6518 - docker_support.go: add rules to read apparmor macros 6519 - interfaces/apparmor: handle overlayfs snippet for snap-update- 6520 nsFixes: 6521 - snapcraft.yaml: add workaround to fix snapcraft build 6522 - interfaces/opengl: misc accesses for VA-API 6523 6524 * Wed Sep 12 2018 Michael Vogt <mvo@ubuntu.com> 6525 - New upstream release 2.35.2 6526 - cmd,overlord/snapstate: go 1.11 format fixes 6527 - ifacestate: fix hang when retrying content providers 6528 - snap-env-generator: do nothing when PATH is unset 6529 - interfaces/modem-manager: allow access to more USB strings 6530 6531 * Mon Sep 03 2018 Michael Vogt <mvo@ubuntu.com> 6532 - New upstream release 2.35.1 6533 - packaging/fedora: Merge changes from Fedora Dist-Git 6534 - snapcraft: do not use --diry in mkversion.sh 6535 - cmd: add systemd environment generator 6536 - snap-confine: map /var/lib/extrausers into snaps mount-namespace 6537 - tests: cherry-pick test fixes from master for 2.35 6538 - systemd: do not run "snapd.snap-repair.service.in on firstboot 6539 bootstrap 6540 - interfaces: retain order of inserted security backends 6541 - selftest: detect if apparmor is unusable and error 6542 6543 * Sat Aug 25 2018 Neal Gompa <ngompa13@gmail.com> - 2.35-1 6544 - Release 2.35 to Fedora (RH#1598946) 6545 6546 * Mon Aug 20 2018 Michael Vogt <mvo@ubuntu.com> 6547 - New upstream release 2.35 6548 - snapstate: add support for gadget tracks in model assertion 6549 - image: add support for "gadget=track" 6550 - asserts: add support for gadget tracks in the model assertion 6551 - interfaces: add new "sysfs-name" to i2c interfaces code 6552 - overlord: handle sigterm during shutdown better 6553 - wayland: add extra sockets that are used by older toolkits 6554 - snap: fix advice json 6555 - tests: fix autopkgtest failures in cosmic 6556 - store: backward compatible instance-key handling for non-instance 6557 snaps 6558 - snapstate: ensure normal snaps wait for the "snapd" snap on 6559 refresh 6560 - interfaces: add cpu-control for setting CPU tunables 6561 - debian: add missing breaks on comisc 6562 - overlord/devicestate: DTRT w/a snap proxy to reach a serial vault 6563 - devicestate: only run device-hook when fully seeded 6564 - seccomp: conditionally add socketcall() based on system and base 6565 - interfaces/builtin: addtl network-manager resolved DBus fix 6566 - hookstate: simplify some hook tests 6567 - udev: skip TestParseUdevEvent on ppc 6568 - interfaces: miscellaneous policy updates 6569 - debian: add tzdata to build-dep to ensure snapd builds correctly 6570 - interfaces/builtin: network-manager resolved DBus changes 6571 - tests: add spread test for fedora29 base snap 6572 - cmd/libsnap: treat distributions with VARIANT_ID=snappy as "core" 6573 - dirs: fix SnapMountDir inside a Fedora base snap 6574 - tests: fix snapd-failover for core18 with external backend 6575 - overlord/snapstate: always clean SnapState when doing Get() 6576 - overlod/ifacestate: always use a new SnapState when fetching the 6577 snap state 6578 - overlord/devicestate: have the serial request talk to the proxy if 6579 set 6580 - interfaces/hotplug: udevadm output parser 6581 - tests: New test for daemon-notify interface 6582 - image: ensure "core" is ordered early if base: and core is used 6583 - cmd/snap-confine: snap-device-helper parallel installs support 6584 - tests: enable interfaces-framebuffer everywhere 6585 - tests: reduce nc wait time from 2 to 1 second 6586 - snap/snapenv: add snap instance specific variables 6587 - cmd/snap-confine: add minimal test for snap-device-helper 6588 - tests: enable snapctl test on core18 6589 - overlord: added UDevMonitor for future hotplug support 6590 - wrappers: do not glob when removing desktop files 6591 - tests: add dbus monitor log to interfaces-accounts-service 6592 - tests: add core-18 systems to external backend 6593 - wrappers: account for changed app wrapper in parallel installed 6594 snaps 6595 - wrappers: make sure that the tests pass on non-Ubuntu too 6596 - many: add snapd snap failure handling 6597 - tests: new test for dvb interface 6598 - configstate: accept refresh.timer=managed 6599 - tests: new test for snap logs command 6600 - wrapper: generate all the snapd unit files when generating 6601 wrappers 6602 - store: keep all files with link-count > 1 in the cache 6603 - store: be less verbose in the common refresh case of "no updates" 6604 - snap-confine: update snappy-app-dev path 6605 - debian: ensure dependency on fixed apt on 18.04 6606 - snapd: add initial software watchdog for snapd 6607 - daemon, systemd: change journalctl -n=all to --no-tail 6608 - systemd: fix snapd.apparmor.service.in dependencies 6609 - snapstate: refuse to remove bases or core if snaps need them 6610 - snap: introduce package-level helpers for building snap related 6611 directory/file paths 6612 - overlord/devicestate: deny parallel install of kernel or gadget 6613 snaps 6614 - store: clean up parallel-install TODOs in store tests 6615 - timeutil: fix first weekday of the month schedule 6616 - interfaces: match all possible tty but console 6617 - tests: shellchecks part 5 6618 - cmd/snap-confine: allow ptrace read for 4.18 kernels 6619 - advise: make the bolt database do the atomic rename dance 6620 - tests/main/apt-hooks: debug dump of commands.db 6621 - tests/lib/prepare-restore: update Arch Linux kernel LOCALVERSION 6622 handling 6623 - snap: validate instance name as part of Validate() 6624 - daemon: if a snap is inactive, don't ask systemd about its 6625 services. 6626 - udev: skip TestParseUdevEvent on s390x 6627 - tests: switch core-amd64-18 to use `kernel: pc-kernel=18` 6628 - asserts,image: add support for new kernel=track syntax 6629 - tests: new gce image for fedora 27 6630 - interfaces/apparmor: use the cache in mtime-resilient way 6631 - store, overlord/snapstate: introduce instance name in store APIs 6632 - tests: drive-by cleanup of redudant pkgname matching 6633 - tests: ensure apt-hook is only run after catalog update ran 6634 - tests: use pkill instead of kilall 6635 - tests/main: another bunch of updates for Amazon Linux 2 6636 - tests/lib/snaps: avoid using relative command paths that go up in 6637 the directory tree 6638 - tests: disable/fix more tests for Amazon Linux 2 6639 - overlord: introduce InstanceKey to SnapState and SnapSetup, 6640 renames 6641 - daemon: make sure most change generating handlers can produce 6642 errors with kinds 6643 - tests/main/interfaces-calendar-service: skip the test on AMZN2 6644 - tests/lib/snaps: avoid using relative command paths that go up in 6645 the directory tree 6646 - cmd/snap: add a green check mark to verified publishers 6647 - cmd/snap: fix two issues in the cmd/snap unit tests 6648 - packaging/fedora: fix target path of /snap symlink 6649 - cmd/snap: support `--last=<type>?` to mean "no error on empty" 6650 - cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so 6651 - strutil: detect and bail out of Unmarshal on duplicate key 6652 - packaging/fedora(amzn2): disable SELinux, drop dependency on 6653 squashfuse for AMZN2 6654 - spread, tests: add support for Amazon Linux 2 6655 - packaging/fedora: Add Amazon Linux 2 support 6656 - many: make Wait/Stop optional on StateManagers 6657 - snap/squashfs: stop printing unsquashfs info to stderr 6658 - snap: add support for `snap advise-snap --from-apt` 6659 - overlord/ifacestate: ignore connect if already connected 6660 - tests: change the service snap used instead of network-bind- 6661 consumer 6662 - interfaces/network-control: update for wpa-supplicant and ifupdown 6663 - tests: fix raciness in stop mode tests 6664 - logger: try to not have double dates 6665 - debian: use deb-systemd-invoke instead of systemctl directly 6666 - tests: run all main tests on core18 6667 - many: finish sharing a single TaskRunner with all the the managers 6668 - interfaces/repo: added AllHotplugInterfaces helper 6669 - snapstate: ensure kernel-track is honored on switch/refresh 6670 - overlord/ifacestate: support implicit slots on snapd 6671 - image: add support for "kernel-track" in `snap prepare-image` 6672 - tests: add test that ensures we do not boot any system in degraded 6673 state 6674 - tests: update tests to work on core18 6675 - cmd/snap: check for typographic dashes in command 6676 - tests: fix tests expecting old email address 6677 - client: add some existing error kinds that were not listed in 6678 client.go 6679 - tests: add missing slots in classic and core provider test snaps 6680 - overlord,daemon,cmd: re-map snap names around the edges of snapd 6681 - tests: use install_local in snap-run-hooks 6682 - coreconfig: add support for `snap set system network.disable- 6683 ipv6` 6684 - overlord/snapstate: dedupe default content providers 6685 - osutil/udev: sync with upstream 6686 - debian: do not ship snapd.apparmor.service on ubuntu 6687 - overlord: have SnapManager use a passed in TaskRunner created by 6688 Overlord 6689 - many: streamline the generic conflict check mechanisms 6690 - tests: remove unneeded setup code in snap-run-symlink 6691 - cmd/snap: print unset license as "unset", instead of "unknown" 6692 - asserts: add (optional) kernel-track to model assertion 6693 - snap/squashfs, tests: pass -n[o-progress] to {mk,un}squashfs 6694 - interfaces/pulseaudio: be clear that the interface allows playback 6695 and record 6696 - snap: support hook environment 6697 - interfaces: fix typo "daemonNotify" (add missing "n") 6698 - interfaces: tweak tests of daemon-notify, use common naming 6699 - interfaces: allow invoking systemd-notify when daemon-notify is 6700 connected 6701 - store: make snap blobs be 0600 6702 - interfaces,daemon: move JSON types to the daemon 6703 - tests: prepare needs to handle bin/snapctl being a symlink 6704 - tests: do not mask errors in interfaces-timezone-control (#5405) 6705 - packaging: put snapctl into /usr/lib/snapd and symlink in usr/bin 6706 - tests: add basic integration test for spread hold 6707 - overlord/snapstate: improve PlugsOnly comment 6708 - many: assorted shellcheck fixes 6709 - store, daemon, client, cmd/snap: expose "scope", default to wide 6710 - snapstate: allow setting "refresh.timer=managed" 6711 - cmd/snap: display a link to data privacy notice for interactive 6712 snap login 6713 - client, cmd/snap: pass snap instance name when installing from 6714 file 6715 - cmd/snap: add 'debug paths' command 6716 - snapstate: make sure all *link-*snap tasks carry a snap type and 6717 further hints 6718 - devicestate: fix race when refreshing a snap with snapd-control 6719 - tests: fix tests on arch 6720 - tests: start active system units on reset 6721 - tests: new test for joystick interface 6722 - tests: moving install of dependencies to pkgdb helper 6723 - tests: enable new fedora image with test dependencies installed 6724 - tests: start using the new opensuse image with test dependencies 6725 - tests: check catalog refresh before and after restart snapd 6726 - tests: stop restarting journald service on prepare 6727 - interfaces: make core-support a no-op interface 6728 - interfaces: prefer "snapd" when resolving implicit connections 6729 - interfaces/hotplug: add hotplug Specification and 6730 HotplugDeviceInfo 6731 - many: lessen the use of core-support 6732 - tests: fixes for the autopkgtest failures in cosmic 6733 - tests: remove extra ' which breaks interfaces-bluetooth-control 6734 test 6735 - dirs: fix antergos typo 6736 - tests: use grep to avoid non-matching messages from MATCH 6737 - dirs: improve distro detection for Antegros 6738 - vendor: switch to latest bson 6739 - interfaces/builtin: create can-bus interface 6740 - tests: "snap connect" is idempotent so just connect 6741 - many: use extra "releases" information on store "revision-not- 6742 found" errors to produce better errors 6743 - interfaces: treat "snapd" snap as type:os 6744 - interfaces: tweak tests to have less repetition of "core" and 6745 "ubuntu… 6746 - tests: simplify econnreset test 6747 - snap: add helper for renaming slots 6748 - devicestate: fix panic in firstboot code when no snaps are seeded 6749 - tests: add artful for sru validation on google backend 6750 - snap,interfaces: move interface name validation to snap 6751 - overlord/snapstate: introduce path to fake backend ops 6752 - cmd/snap-confine: fix snaps running on core18 6753 - many: expose publisher's validation throughout the API 6754 6755 * Fri Jul 27 2018 Michael Vogt <mvo@ubuntu.com> 6756 - New upstream release 2.34.3 6757 - interfaces/apparmor: use the cache in mtime-resilient way 6758 - cmd/snap-confine: (nvidia) pick up libnvidia-glvkspirv.so 6759 - snapstate: allow setting "refresh.timer=managed" 6760 - spread: switch Fedora and openSUSE images 6761 6762 * Thu Jul 19 2018 Michael Vogt <mvo@ubuntu.com> 6763 - New upstream release 2.34.2 6764 - packaging: fix bogus date in fedora snapd.spec 6765 - tests: fix tests expecting old email address 6766 6767 * Tue Jul 17 2018 Michael Vogt <mvo@ubuntu.com> 6768 - New upstream release 2.34.1 6769 - tests: cherry-pick test fixes from master for 2.34 6770 - coreconfig: add support for `snap set system network.disable- 6771 ipv6` 6772 - debian: do not ship snapd.apparmor.service on ubuntu 6773 - overlord/snapstate: dedupe default content providers 6774 - interfaces/builtin: create can-bus interface 6775 6776 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.33.1-2 6777 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild 6778 6779 * Fri Jul 06 2018 Michael Vogt <mvo@ubuntu.com> 6780 - New upstream release 2.34 6781 - store, daemon, client, cmd/snap: expose "scope", default to wide* 6782 - tests: fix arch tests 6783 - snapstate: make sure all *link-*snap tasks carry a snap type and 6784 further hints 6785 - snapstate: allow setting "refresh.timer=managed" 6786 - cmd/snap: display a link to data privacy notice for interactive 6787 snap login 6788 - devicestate: fix race when refreshing a snap with snapd-control 6789 - tests: skip interfaces-framebuffer when no /dev/fb0 is found 6790 - tests: run interfaces-contacts-service only where test-snapd-eds 6791 is available 6792 - many: expose publisher's validation throughout the API 6793 - many: use extra "releases" information on store "revision-not- 6794 found" errors to produce better errors 6795 - dirs: improve distro detection for Antegros 6796 - Revert "dirs: improve identification of Arch Linux like systems" 6797 - devicestate: fix panic in firstboot code when no snaps are seeded 6798 - i18n: use xgettext-go --files-from to avoid running into cmdline 6799 size limits 6800 - interfaces: move ValidateName helper to utils 6801 - snapstate,ifstate: wait for pending restarts before auto- 6802 connecting 6803 - snap: account for parallel installs in wrappers, place info and 6804 tests 6805 - configcore: fix incorrect handling of keys with numbers (like 6806 gpu_mem_512) 6807 - tests: fix tests when no keyboard input detected 6808 - overlord/configstate: add watchdog options 6809 - snap-mgmt: fix for non-existent dbus system policy dir, 6810 shellchecks 6811 - tests/main/snapd-notify: use systemd's service properties rater 6812 than the journal 6813 - snapstate: allow removal of snap.TypeOS when using a model with a 6814 base 6815 - interfaces: make findSnapdPath smarter 6816 - tests: run "arp" tests only if arp is available 6817 - spread: increase the number of auto retries for package downloads 6818 in opensuse 6819 - cmd/snap-confine: fix nvidia support under lxd 6820 - corecfg: added experimental.hotplug feature flag 6821 - image: block installation of parallel snap instances 6822 - interfaces: moved normalize method to interfaces/utils and made it 6823 public 6824 - api/snapctl: allow -h and --help for regular users. 6825 - interfaces/udisks2: also implement implicit classic slot 6826 - cmd/snap-confine: include CUDA runtime libraries 6827 - tests: disable auto-refresh test on core18 6828 - many: switch to account validation: unproven|verified 6829 - overlord/ifacestate: get/set connection state only via helpers 6830 - tests: adding extra check to validate journalctl is showing 6831 current test data 6832 - data: add systemd environment configuration 6833 - i18n: handle write errors in xgettext-go 6834 - snap: helper for validating snap instance names 6835 - snap{/snaptest}: set instance key based on snap name 6836 - userd: fix running unit tests on KDE 6837 - tests/main/econnreset: limit ingress traffic to 512kB/s 6838 - snap: introduce a struct Channel to represent store channels, and 6839 helpers to work with it 6840 - tests: add fedora to distro_clean_package_cache function 6841 - many: rename snap.Info.StoreName() to snap.Info.SnapName() 6842 - tests: add spread test to ensure snapd/core18 are not removable 6843 - tests: tweaks for running the main tests on core18 6844 - overlord/{config,snap}state: introduce experimental.parallel- 6845 instances feature flag 6846 - strutil: support iteration over almost clean paths 6847 - strutil: add PathIterator.Rewind 6848 - tests: update interfaces-timeserver-control to core18 6849 - tests: add halt-timeout to google backend 6850 - tests: skip security-udev-input-subsystem without /dev/input/by- 6851 path 6852 - snap: introduce the instance key field 6853 - packaging/opensuse: remaining packaging updates for 2.33.1 6854 - overlord/snapstate: disallow installing snapd on baseless models 6855 - tests: disable core tests on all core systems (16 and 18) 6856 - dirs: improve identification of Arch Linux like systems 6857 - many: expose full publisher info over the snapd API 6858 - tests: disable core tests on all core systems (16 and 18) 6859 - tests/main/xdg-open: restore or clean up xdg-open 6860 - tests/main/interfaces-firewall-control: shellcheck fix 6861 - snapstate: sort "snapd" first 6862 - systemd: require snapd.socket in snapd.seeded.service; make sure 6863 snapd.seeded 6864 - spread-shellcheck: use the latest shellcheck available from snaps 6865 - tests: use "ss" instead of "netstat" (netstat is not available in 6866 core18) 6867 - data/complete: fix three out of four shellcheck warnings in 6868 data/complete 6869 - packaging/opensuse: fix typo, missing assignment 6870 - tests: initial core18 spread image building 6871 - overlord: introduce a gadget-connect task and use it at first boot 6872 - data/completion: fix inconsistency in +x and shebang 6873 - firstboot: mark essential snaps as "Required" in the state 6874 - spread-shellcheck: use a whitelist of files that are allowed to 6875 fail validation 6876 - packaging/opensuse: build position-independent binaries 6877 - ifacestate: prevent running interface hooks twice when self- 6878 connecting on autoconnect 6879 - data: remove /bin/sh from snapd.sh 6880 - tests: fix shellcheck 0.5.0 warnings 6881 - packaging/opensuse: snap-confine should be 06755 6882 - packaging/opensuse: ship apparmor integration if enabled 6883 - interfaces/udev,misc: only trigger udev events on input subsystem 6884 as needed 6885 - packaging/opensuse: add missing bits for snapd.seeded.service 6886 - packaging/opensuse: don't use %-macros in comments 6887 - tests: shellchecks part 4 6888 - many: rename snap.Info.Name() to snap.Info.InstanceName(), leave 6889 parallel-install TODOs 6890 - store: drop unused: channel map types, and details fixture. 6891 - store: have a basic test about the unmarshalling of /search 6892 results 6893 - tests: show executed tests on current system when a test fails 6894 - tests: fix for the download of the big snap 6895 - interfaces/apparmor: add chopTree 6896 - tests: remove double debug: | entry in tests and add more checks 6897 - cmd/snap-update-ns: introduce mimicRequired helper 6898 - interfaces: move assertions around for better failure line number 6899 - store: log a nice clear "download succeeded" message 6900 - snap: run snap-confine from the re-exec location 6901 - snapstate: support restarting snapd from the snapd snap on core18 6902 - tests: show status of the partial test-snapd-huge snap in 6903 econnreset test 6904 - tests: fix interfaces-calendar-service test when gvfsd-metadata 6905 loks the xdg dirctory 6906 - store: switch store.SnapInfo to use the new v2/info endpoint 6907 - interfaces: add Repository.AllInterfaces 6908 - snapstate: stop using evolving SnapSpec internally, use an 6909 internal-only snapSpec instead 6910 - cmd/libsnap-confine-private: introduce a helper for splitting snap 6911 name 6912 - tests: econnreset/retry tweaks 6913 - store, et al: kill dead code that uses the bulk endpoint 6914 - tests/lib/prepare-restore: fix upgrade/reboot handling on arch 6915 - cmd/snap-update-ns,strutil: move PathIterator to strutil, add 6916 Depth helper 6917 - data/systemd/snapd.run-from-snap: ensure snapd tooling is 6918 available 6919 - store: switch connectivity check to use v2/info 6920 - devicestate: support seeding from a base snap instead of core 6921 - snapstate,ifacestate: remove core-phase-2 handling 6922 - interfaces/docker-support: update for docker 18.05 6923 - tests: enable fedora 28 again 6924 - overlord/ifacestate: simplify checkConnectConflicts and also 6925 connect signature 6926 - snap: parse connect instructions in gadget.yaml 6927 - tests: fix snapd-repair.timer on ubuntu-core-snapd-run- from-snap 6928 test 6929 - interfaces/apparmor: allow killing snap-update-ns 6930 - tests: skip "try" test on s390x 6931 - store, image: have 'snap download' use v2/refresh action=download 6932 - interfaces/policy: test that base policy can be parsed 6933 - tests: publish test-snapd-appstreamid for any architecture 6934 - snap: don't include newline in hook environment 6935 - cmd/snap-update-ns: use RCall with SyscallsEqual 6936 - cmd/snap-update-ns: add IsSnapdCreatedPrivateTmpfs and tests 6937 - tests: skip security-dev-input-event-denied on s390x/arm64 6938 - interfaces: add the dvb interface 6939 - daemon: paging is not a thing. 6940 - cmd/snap-mgmt: remove system key on purge 6941 - testutil: syscall sequence checker 6942 - cmd/snap-update-ns: fix a leaking file descriptor in MkSymlink 6943 - packaging: use official bolt in the errtracker on fedora 6944 - many: add `snap debug connectivity` command* many: add `snap debug 6945 connectivity` command 6946 - configstate: deny configuration of base snaps and for the "snapd" 6947 snap 6948 - interfaces/raw-usb: also allow usb serial devices 6949 - snap: reject more layout locations 6950 - errtracker: do not send duplicated reports 6951 - httputil: extra debug if an error is not retried 6952 - cmd/snap-update-ns: improve wording in many errors 6953 - cmd/snap: use snaptest.MockSnapCurrent in `snap run` tests 6954 - cmd/snap-update-ns: add helper for checking for read-only 6955 filesystems 6956 - interfaces/builtin/docker: use commonInterface over specific 6957 struct 6958 - testutil: add test support for Fstatfs 6959 - cmd/snap-update-ns: discard the concept of segments 6960 - cmd/libsnap-confine-private: helper for extracting store snap name 6961 from local-name 6962 - tests: fix flaky test for hooks undo 6963 - interfaces: add {contacts,calendar}-service interfaces 6964 - tests: retry 'restarting into..' match in the snap-confine-from- 6965 core test 6966 - systemd: adjust TestWriteMountUnitForDirs() to use 6967 squashfs.MockUseFuse(false) 6968 - data: add helper that can generate/start/stop the snapd service 6969 - sefltest: advise reboot into 4.4 on trusty running 3.13 6970 - selftest: add new selftest package that tests squashfs mounting 6971 - store, jsonutil: move store.getStructFields to 6972 jsonutil.StructFields 6973 - ifacestate: improved conflict and error handling when creating 6974 autoconnect tasks 6975 - cmd/snap-confine: applied make fmt 6976 - interfaces/udev: call 'udevadm settle --timeout=10' after 6977 triggering events 6978 - tests: wait more time until snap start to be downloaded on 6979 econnreset test 6980 - snapstate: ensure fakestore returns TypeOS for the core snap 6981 - tests: fix lxd test which hangs on restore 6982 - cmd/snap-update-ns: add PathIterator 6983 - asserts,image: add support for models with bases 6984 - tests: shellchecks part 3 6985 - overlord/hookstate: support undo for hooks 6986 - interfaces/tpm: Allow access to the kernel resource manager 6987 - tests: skip appstream-id test for core systems 32 bits 6988 - interfaces/home: remove redundant common interface assignment 6989 - tests: reprioritise a few tests that are known to be slow 6990 - cmd/snap: small help tweaks and fixes 6991 - tests: add test to ensure /dev/input/event* for non-joysticks is 6992 denied 6993 - spread-shellcheck: silly fix & pep8 6994 - spread: switch fedora 28 to manual 6995 - client,cmd/snap,daemon,tests: expose base of a snap over API, show 6996 it in snap info --verbose 6997 - tests: fix lxd test - --auto now sets up networking 6998 - tests: adding fedora-28 to spread.yaml 6999 - interfaces: add juju-client-observe interface 7000 - client, daemon: add a "mounted-from" entry to local snaps' JSON 7001 - image: set model.DisplayName() in bootenv as "snap_menuentry" 7002 - packaging/opensuse: Refactor packaging to support all openSUSE 7003 targets 7004 - interfaces/joystick: force use of the device cgroup with joystick 7005 interface 7006 - interfaces/hardware-observe: allow access to /etc/sensors* for 7007 libsensors 7008 - interfaces: remove Plug/Slot types 7009 - interface hooks: update old AutoConnect methods 7010 - snapcraft: run with DEB_BUILD_OPTIONS=nocheck 7011 - overlord/{config,snap}state: the number of inactive revisions is 7012 config 7013 - cmd/snap: check with snapd for unknown sections 7014 - tests: moving test helpers from sh to bash 7015 - data/systemd: add snapd.apparmor.service 7016 - many: expose AppStream IDs (AKA common ID) 7017 - many: hold refresh when on metered connections 7018 - interfaces/joystick: also support modern evdev joysticks and 7019 gamepads 7020 - xdgopenproxy: skip TestOpenUnreadableFile when run as root 7021 - snapcraft: use dpkg-buildpackage options that work in xenial 7022 - spread: openSUSE LEAP 42.2 was EOLd in January, remove it 7023 - get-deps: work with an unset GOPATH too 7024 - interfaces/apparmor: use strict template on openSUSE tumbleweed 7025 - packaging: filter out verbose flags from "dh-golang" 7026 - packaging: fix description 7027 - snapcraft.yaml: add minimal snapcraft.yaml with custom build 7028 7029 * Fri Jun 22 2018 Neal Gompa <ngompa13@gmail.com> - 2.33.1-1 7030 - Release 2.33.1 to Fedora (RH#1567916) 7031 7032 * Thu Jun 21 2018 Michael Vogt <mvo@ubuntu.com> 7033 - New upstream release 2.33.1 7034 - many: improve udev trigger on refresh experience 7035 - systemd: require snapd.socket in snapd.seeded.service 7036 - snap: don't include newline in hook environment 7037 - interfaces/apparmor: allow killing snap-update-ns 7038 - tests: skip "try" test on s390x 7039 - tests: skip security-dev-input-event-denied when /dev/input/by- 7040 path/ is missing 7041 - tests: skip security-dev-input-event-denied on s390x/arm64 7042 7043 * Fri Jun 08 2018 Michael Vogt <mvo@ubuntu.com> 7044 - New upstream release 2.33 7045 - packaging: use official bolt in the errtracker on fedora 7046 - many: add `snap debug connectivity` command 7047 - interfaces/raw-usb: also allow usb serial devices 7048 - errtracker: do not send duplicated reports 7049 - selftest: add new selftest package that tests squashfs mounting 7050 - tests: backport lxd force stop and econnreset fixes 7051 - tests: add test to ensure /dev/input/event* for non-joysticks is 7052 denied 7053 - interfaces/joystick: support modern evdev joysticks 7054 - interfaces: add juju-client-observe 7055 - interfaces/hardware-observe: allow access to /etc/sensors* for 7056 libsensors 7057 - many: holding refresh on metered connections 7058 - many: expose AppStream IDs (AKA common ID) 7059 - tests: speed up save/restore snapd state for all-snap systems 7060 during tests execution 7061 - interfaces/apparmor: use helper to load stray profile 7062 - tests: ubuntu core abstraction 7063 - overlord/snapstate: don't panic in a corner case interaction of 7064 cleanup tasks and pruning 7065 - interfaces/apparmor: add 'mediate_deleted' profile flag for all 7066 snaps 7067 - tests: new parameter for the journalctl rate limit 7068 - spread-shellcheck: port to python 7069 - interfaces/home: add 'read' attribute to allow non-owner read to 7070 @{HOME} 7071 - testutil: import check.v1 differently to workaround gccgo error 7072 - interfaces/many: miscellaneous updates for default, desktop, 7073 desktop-legacy, system-observe, hardware-observe, opengl and gpg- 7074 keys 7075 - snapstate/hooks: reorder autoconnect and reconnect hooks 7076 - daemon: update unit tests to match current master 7077 - overlord/snapshotstate/backend: introducing the snapshot backend 7078 - many: support 'system' nickname in interfaces 7079 - userd: add the "snap" scheme to the whitelist 7080 - many: make rebooting of core on refresh immediate, refactor logic 7081 around it 7082 - tests/main/snap-service-timer: account for service timer being in 7083 the 'running' state 7084 - interfaces/builtin: allow access to libGLESv* too for opengl 7085 interface 7086 - daemon: fix unit tests on arch 7087 - interfaces/default,process-control: miscellaneous signal policy 7088 fixes 7089 - interfaces/bulitin: add write permission to optical-drive 7090 - configstate: validate known core.* options 7091 - snap, wrappers: systemd WatchdogSec support 7092 - ifacestate: do not auto-connect manually disconnected interfaces 7093 - systemd: mock useFuse() so testsuite passes in container via lxd 7094 snap 7095 - snap/env: fix env duplication logic 7096 - snap: some doc comments fixes and additions 7097 - cmd/snap-confine, interfaces/opengl: allow access to glvnd EGL 7098 vendor files 7099 - ifacestate: unify reconnect and autoconnect methods 7100 - tests: fix user mounts test for external systems 7101 - overlord/snapstate,overlord/auth,store: coalesce no auth user 7102 refresh requests 7103 - boot,partition: improve tests/docs around SetNextBoot() 7104 - many: improve `snap wait` command 7105 - snap: fix `snap interface --attrs` output when numbers are used 7106 - cmd/snap-update-ns: poke holes when creating source paths for 7107 layouts 7108 - snapstate: support getting new bases/default-providers on refresh 7109 - ifacemgr: remove stale connections on startup 7110 - asserts: use Attrer in policy checks 7111 - testutil: record system call errors / return values 7112 - tests: increase timeouts to make tests reliable on slow boards 7113 - repo: pass and return ConnRef via pointers 7114 - interfaces: add xdg-document-portal support to desktop interface 7115 - debian: add a zenity|kdialog suggests 7116 - snapstate: make TestDoPrereqRetryWhenBaseInFlight less brittle 7117 - tests: go must be installed as a classic snap 7118 - tests: use journalctl cursors instead rotating logs 7119 - daemon: add confinement-options to /v2/system-info 7120 daemon: refactor classic support flag to be more structured 7121 - tests: build spread in the autopkgtests with a more recent go 7122 - cmd/snap: fix the message when snap.channel != snap.tracking 7123 - overlord/snapstate: allow core defaults configuration via 'system' 7124 key 7125 - many: add "snap debug sandbox-features" and needed bits 7126 - interfaces: interface hooks for refresh 7127 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 7128 - boot: clear "snap_mode" when needed 7129 - many: add wait command and `snapd.seeded` service 7130 - interfaces: move host font update-ns AppArmor rules to desktop 7131 interface 7132 - jsonutil/safejson: introducing safejson.String & 7133 safejson.Paragraph 7134 - cmd/snap-update-ns: use Secure.BindMount to bind mount files 7135 - cmd/snap-update-ns,tests: mimic the mode and ownership of 7136 directories 7137 - cmd/snap-update-ns: add support for ignoring mounts with missing 7138 source/target 7139 - interfaces: interface hooks implementation 7140 - cmd/libsnap: fix compile error on more restrictive gcc 7141 cmd/libsnap: fix compilation errors on gcc 8 7142 - interfaces/apparmor: allow bash and dash to be in /usr/bin/ 7143 - cmd/snap-confine: allow any base snap to provide /etc/alternatives 7144 - tests: fix interfaces-network test for systems with partial 7145 confinement 7146 - spread.yaml: add cosmic (18.10) to autopkgtest/qemu 7147 - tests: ubuntu 18.04 or higher does not need linux-image-extra- 7148 - configcore: validate experimental.layouts option 7149 - interfaces:minor autoconnect cleanup 7150 - HACKING: fix typos 7151 - spread: add adt for ubuntu 18.10 7152 - tests: skip test lp-1721518 for arch, snapd is failing to start 7153 after reboot 7154 - interfaces/x11: allow X11 slot implementations 7155 - tests: checking interfaces declaring the specific interface 7156 - snap: improve error for snaps not available in the given context 7157 - cmdstate: add missing test for default timeout handling 7158 - tests: shellcheck spread tasks 7159 - cmd/snap: update install/refresh help vs --revision 7160 - cmd/snap-confine: add support for per-user mounts 7161 - snap: do not use overly short timeout in `snap 7162 {start,stop,restart}` 7163 - tests: adding google-sru backend replacing linode-sur 7164 - interfaces/apparmor: fix incorrect apparmor profile glob 7165 - systemd: replace ancient paths with 16.04+ standards 7166 - overlord,systemd: store snap revision in mount units 7167 - testutil: add test helper for SysLstat 7168 - testutil,cmd: rename test helper of Lstat to OsLstat 7169 - testutil: document all fake syscall/os functions 7170 - osutil,interfaces,cmd: use less hardcoded strings 7171 - testutil: rename UNMOUNT_NOFOLLOW to umountNoFollow 7172 - testutil: don't dot-import check.v1 7173 - store: getStructFields takes pointers now 7174 - tests: drop `linux-image-extra-$(uname -r)` install in 18.04 7175 - many: fix false negatives reported by vet 7176 - osutil,interfaces: use uint32 for uid, gid 7177 - many: fix various issues reported by shellcheck 7178 - tests: add pending shutdown detection 7179 - image: support refreshing soft-expired user macaroons in tooling 7180 - interfaces/builtin, daemon: cleanup mocked builtin interfaces in 7181 daemon tests 7182 - interfaces/builtin: add support for software-watchdog interface 7183 - spread: auto accept key changes when calling dnf 7184 - snap,overlord/snapstate: introduce and use BrokenSnapError 7185 - tests: detect kernel oops during tests and abort tests in this 7186 case 7187 - tests: bring back one missing test in snap-service-stop-mode 7188 - debian: update LP bug for the 2.32.5 SRU 7189 - userd: set up journal logging streams for autostarted apps 7190 - snap,tests : don't fail if we cannot stat MountFile 7191 - tests: smaller fixes for Arch tests 7192 - tests: run interfaces-broadcom-asic-control early 7193 - client: support for snapshot sets, snapshots, and snapshot actions 7194 - tests: skip interfaces-content test on core devices 7195 - cmd: generalize locking to global, snap and per-user locks 7196 - release-tools: handle the snapd-x.y.z version 7197 - packaging: fix incorrectly auto-generated changelog entry for 7198 2.32.5 7199 - tests: add arch to CI 7200 - systemd: add helper for opening stream file descriptors to the 7201 journal 7202 - cmd/snap: handle distros with no version ID 7203 - many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of 7204 conflating that with refresh-mode 7205 - tests: removing linode-sru backend 7206 - tests: updating bionic version for spread tests on google 7207 - overlord/snapstate: poll for up to 10s if a snap is unexpectedly 7208 not mounted in doMountSnap 7209 - overlord/snapstate: allow to get an error from readInfo instead of 7210 a broken stub, use it in doMountSnap 7211 - snap: snap.AppInfo is now a fmt.Stringer 7212 - tests: move fedora 27 to google backend 7213 - many: add `core.problem-reports.disabled` option 7214 - cmd/snap-update-ns: remove the need for stash directory in secure 7215 bind mount implementation 7216 - errtracker: check for whoopsie.service instead of reading 7217 /etc/whoopsie 7218 - cmd/snap: user session application autostart v3 7219 - tests: add test to ensure `snap refresh --amend` works with 7220 different channels 7221 - tests: add check for OOM error after each test 7222 - cmd/snap-seccomp: graceful handling of non-multilib host 7223 - interfaces/shutdown: allow calling SetWallMessage 7224 - cmd/snap-update-ns: add secure bind mount implementation for use 7225 with user mounts 7226 - snap: fix `snap advise-snap --command` output to match spec 7227 - overlord/snapstate: on multi-snap refresh make sure bases and core 7228 are finished before dependent snaps 7229 - overlord/snapstate: introduce envvars to control the channels for 7230 based and prereqs 7231 - cmd/snap-confine: ignore missing cgroups in snap-device-helper 7232 - debian: add gbp.conf script to build snapd via `gbp buildpackage` 7233 - daemon,overlord/hookstate: stop/wait for running hooks before 7234 closing the snapctl socket 7235 - advisor: use json for package database 7236 - interfaces/hostname-control: allow setting the hostname via 7237 syscall and systemd 7238 - tests/main/interfaces-opengl-nvidia: verify access to 32bit 7239 libraries 7240 - interfaces: misc updates for default, firewall-control, fuse- 7241 support and process-control 7242 - data/selinux: Give snapd access to more aspects of the system 7243 - many: use the new install/refresh API by switching snapstate to 7244 use store.SnapAction 7245 - errtracker: make TestJournalErrorSilentError work on gccgo 7246 - ifacestate: add to the repo also snaps that are pending being 7247 activated but have a done setup-profiles 7248 - snapstate, ifacestate: inject auto-connect tasks try 2 7249 - cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs 7250 - errtracker: add more fields to aid debugging 7251 - interfaces: make system-key more robust against invalid fstab 7252 entries 7253 - overlord,interfaces: be more vocal about broken snaps and read 7254 errors 7255 - ifacestate: injectTasks helper 7256 - osutil: fix fstab parser to allow for # in field values 7257 - cmd/snap-mgmt: remove timers, udev rules, dbus policy files 7258 - release-tools: add repack-debian-tarball.sh 7259 - daemon,client: add build-id to /v2/system-info 7260 - cmd: make fmt (indent 2.2.11) 7261 - interfaces/content: add rule so slot can access writable files at 7262 plug's mountpoint 7263 - interfaces: add /var/lib/snapd/snap to @{INSTALL_DIR} 7264 - ifacestate: don't surface errors from stale connections 7265 - cmd/snap-update-ns: convert Secure* family of functions into 7266 methods 7267 - tests: adjust canonical-livepatch test on GCE 7268 - tests: fix quoting issues in econnreset test 7269 - cmd/snap-confine: make /run/media an alias of /media 7270 - cmd/snap-update-ns: rename i to segNum 7271 - interfaces/serial: change pattern not to exclude /dev/ttymxc* 7272 - spread: disable StartLimitInterval option on opensuse-42.3 7273 - configstate: give a chance to immediately recompute the next 7274 refresh time when schedules are set 7275 - cmd/snap-confine: attempt to detect if multiarch host uses 7276 arch triplets 7277 - store: add Store.SnapAction to support the new install/refresh API 7278 endpoint 7279 - tests: adding test for removable-media interface 7280 - tests: update interface tests to remove extra checks and normalize 7281 tests 7282 - timeutil: in Human, count days with fingers 7283 - vendor: update gopkg.in/yaml.v2 to the latest version 7284 - cmd/snap-confine: fix Archlinux compatibility 7285 - cmd/snapd: make sure signal handlers are established during early 7286 daemon startup 7287 - cmd/snap-confine: apparmor: allow creating prefix path for 7288 gl/vulkan 7289 - osutil: use tilde suffix for temporary files used for atomic 7290 replacement 7291 - tests: copy or sanity check core users using usernames 7292 - tests: disentangle etc vs extrausers in core tests 7293 - tests: fix snap-run tests when snapd is not running 7294 - overlord/configstate: change how ssh is stopped/started 7295 - snap: make `snap run` look at the system-key for security profiles 7296 - strutil, cmd/snap: drop strutil.WordWrap, first pass at 7297 replacement 7298 - tests: adding opensuse-42.3 to google 7299 - cmd/snap: fix one issue with noWait error handling logic, add 7300 tests plus other cleanups 7301 - cmd/snap-confine: nvidia: preserve globbed file prefix 7302 - advisor: add comment why osutil.FileExists(dirs.SnapCommandsDB) is 7303 needed 7304 - interfaces,release: probe seccomp features lazily 7305 - tests: change debug for layout test 7306 - advisor: deal with missing commands.db file 7307 - interfaces/apparmor: simplify UpdateNS internals 7308 - polkit: Pass caller uid to PolicyKit authority 7309 - tests: moving debian 9 from linode to google backend 7310 - cmd/snap-confine: nvidia: add tls/libnvidia-tls.so* glob 7311 - po: specify charset in po/snappy.pot 7312 - interfaces: harden snap-update-ns profile 7313 - snap: Call SanitizePlugsSlots from InfoFromSnapYaml 7314 - tests: update tests to deal with s390x quirks 7315 - debian: run snap.mount upgrade fixup *before* debhelper 7316 - tests: move xenial i386 to google backend 7317 - snapstate: add compat mode for default-provider 7318 - tests: a bunch of test fixes for s390x from looking at the 7319 autopkgtest logs 7320 - packaging: recommend "gnupg" instead of "gnupg1 | gnupg" 7321 - interfaces/builtin: let MM change qmi device attributes 7322 - tests: add workaround for s390x failure 7323 - snap/pack, cmd/snap: add `snap pack --check-skeleton` 7324 - daemon: support 'system' as nickname of the core snap 7325 - cmd/snap-update-ns: use x-snapd.{synthetic,needed-by} in practice 7326 - devicestate: add DeviceManager.Registered returning a channel 7327 closed when the device is known to be registered 7328 - store: Sections and WriteCatalogs need to strictly send device 7329 auth only if the device has a custom store 7330 - tests: add bionic system to google backend 7331 - many: fix shellcheck warnings in bionic 7332 - cmd/snap-update-ns: don't fail on existing symlinks 7333 - tests: make autopkgtest tests more targeted 7334 - cmd/snap-update-ns: fix creation of layout symlinks 7335 - spread,tests: move suite-level prepare/restore to central script 7336 - many: propagate contexts enough to be able to mark store 7337 operations done from the Ensure loop 7338 - snap: don't create empty Change with "Hold" state on disconnect 7339 - snap: unify snap name validation w/python; enforce length limit. 7340 - cmd/snap: use shlex when parsing `snap run --strace` arguments 7341 - osutil,testutil: add symlinkat(2) and readlinkat(2) 7342 - tests: autopkgtest may have non edge core too 7343 - tests: adding checks before stopping snapd service to avoid job 7344 canceled on ubuntu 14.04 7345 - errtracker: respect the /etc/whoopsie configuration 7346 - overlord/snapstate: hold refreshes for 2h after seeding on 7347 classic 7348 - cmd/snap: tweak and polish help strings 7349 - snapstate: put layout feature behind feature flag 7350 - tests: force profile re-generation via system-key 7351 - snap/squashfs: when installing from seed, try symlink before cp 7352 - wrappers: services which are socket or timer activated should not 7353 be started during boot 7354 - many: go vet cleanups 7355 - tests: define MATCH from spread 7356 - packaging/fedora: Merge changes from Fedora Dist-Git plus trivial 7357 fix 7358 - cmd/snap: use timeutil.Human to show times in `snap refresh 7359 --time` 7360 - cmd/snap: in changes and tasks, default to human-friendly times 7361 - many: support holding refreshes by setting refresh.hold 7362 - Revert "cmd/snap: use timeutil.Human to show times in `snap 7363 refresh -…-time`" 7364 - cmd/snap: use timeutil.Human to show times in `snap refresh 7365 --time` 7366 - tests/main/snap-service-refresh-mode: refactor the test to rely on 7367 comparing PIDs 7368 - tests/main/media-sharing: improve the test to cover /media and 7369 /run/media 7370 - store: enable deltas for core devices too 7371 - cmd/snap: unhide --no-wait; make wait use go via waitMixin 7372 - strutil/shlex: import github.com/google/shlex into the tree 7373 - vendor: update github.com/mvo5/libseccomp-golang 7374 - overlord/snapstate: block install of "system" 7375 - cmd/snap: "current"→"installed"; "refreshed"→"refresh-date" 7376 - many: add the snapd-generator 7377 - cmd/snap-seccomp: Cancel the atomic file on error, not just Close 7378 - polkit: ensure error is properly set if dialog is dismissed 7379 - snap-confine, snap-seccomp: utilize new seccomp logging features 7380 - progress: tweak ansimeter cvvis use to no longer confuse minicom 7381 - xdgopenproxy: integrate xdg-open implementation into snapctl 7382 - tests: avoid removing preinstalled snaps on core 7383 - tests: chroot into core to run xdg-open there 7384 - userd: add an OpenFile method for launching local files with xdg- 7385 open 7386 - tests: moving ubuntu core from linode to google backend 7387 - run-checks: remove accidental bashism 7388 - i18n: simplify NG usage by doing the modulo math in-package. 7389 - snap/squashfs: set timezone when calling unsquashfs to get the 7390 build date 7391 - timeutil: timeutil.Human(t) gives a human-friendly string for t 7392 - snap: add autostart app property 7393 - tests: add support for external backend executions on listing test 7394 - tests: make interface-broadcom-asic-control test work on rpi 7395 - configstate: when disable "ssh" we must disable the "sshd" service 7396 - interfaces/apparmor,system-key: add upperdir snippets for strict 7397 snaps on livecd 7398 - snap/squashfs: add BuildDate 7399 - store: parse the JSON format used by the coming new store API to 7400 convey snap information 7401 - many: remove snapd.refresh.{timer,service} 7402 - tests: adding ubuntu-14.04-64 to the google backend 7403 - interfaces: add xdg-desktop-portal support to desktop interface 7404 - packaging/arch: sync with snapd/snapd-git from AUR 7405 - wrappers, tests/main/snap-service-timer: restore missing commit, 7406 add spread test for timer services 7407 - store: don't ask for snap_yaml_raw except on the details endpoint 7408 - many: generate and use per-snap snap-update-ns profile 7409 - tests: add debug for layout test 7410 - wrappers: detect whether systemd-analyze can be used in unit tests 7411 - osutil: allow creating strings out of MountInfoEntry 7412 - servicestate: use systemctl enable+start and disable+stop instead 7413 of --now flag 7414 - osutil: handle file being matched by multiple patterns 7415 - daemon, snap: fix InstallDate, make a method of *snap.Info 7416 - wrappers: timer services 7417 - wrappers: generator for systemd OnCalendar schedules 7418 - asserts: fix flaky storeSuite.TestCheckAuthority 7419 - tests: fix dependency for ubuntu artful 7420 - spread: start moving towards google backend 7421 - tests: add a spread test for layouts 7422 - ifacestate: be consistent passing Retry.After as named field 7423 - cmd/snap-update-ns: use recursive bind mounts for writable mimic 7424 - testutil: allow mocking syscall.Fstat 7425 - overlord/snapstate: verify that default schedule is randomized and 7426 is not a single time 7427 - many: simplify mocking of home-on-NFS 7428 - cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink 7429 - store: move infoFromRemote into details.go close to snapDetails 7430 - userd/tests: Test kdialog calls and mock kdialog too to make tests 7431 work in KDE 7432 - cmd/snap: tweaks to 'snap info' (feat. installed->current rename) 7433 - cmd/snap: add self-strace to `snap run` 7434 - interfaces/screen-inhibit-control,network-status: fix dbus path 7435 and interface typos 7436 - update-pot: Force xgettext() to return true 7437 - store: cleanup test naming, dropping remoteRepo and 7438 UbuntuStore(Repository)? references 7439 - store: reorg auth refresh 7440 7441 * Wed May 16 2018 Michael Vogt <mvo@ubuntu.com> 7442 - New upstream release 2.32.9 7443 - tests: run all spread tests inside GCE 7444 - tests: build spread in the autopkgtests with a more recent go 7445 7446 * Fri May 11 2018 Michael Vogt <mvo@ubuntu.com> 7447 - New upstream release 2.32.8 7448 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 7449 7450 * Fri May 11 2018 Michael Vogt <mvo@ubuntu.com> 7451 - New upstream release 2.32.7 7452 - many: add wait command and seeded target (2 7453 - snapd.core-fixup.sh: add workaround for corrupted uboot.env 7454 - boot: clear "snap_mode" when needed 7455 - cmd/libsnap: fix compile error on more restrictive gcc 7456 - tests: cherry-pick commits to move spread to google backend 7457 - spread.yaml: add cosmic (18.10) to autopkgtest/qemu 7458 - userd: set up journal logging streams for autostarted apps 7459 7460 * Sun Apr 29 2018 Michael Vogt <mvo@ubuntu.com> 7461 - New upstream release 2.32.6 7462 - snap: do not use overly short timeout in `snap 7463 {start,stop,restart}` 7464 - interfaces/apparmor: fix incorrect apparmor profile glob 7465 - tests: detect kernel oops during tests and abort tests in this 7466 case 7467 - tests: run interfaces-boradcom-asic-control early 7468 - tests: skip interfaces-content test on core devices 7469 7470 * Mon Apr 16 2018 Michael Vogt <mvo@ubuntu.com> 7471 - New upstream release 2.32.5 7472 - many: add "stop-mode: sig{term,hup,usr[12]}{,-all}" instead of 7473 conflating that with refresh-mode 7474 - overlord/snapstate: poll for up to 10s if a snap is unexpectedly 7475 not mounted in doMountSnap 7476 - daemon: support 'system' as nickname of the core snap 7477 7478 * Thu Apr 12 2018 Neal Gompa <ngompa13@gmail.com> - 2.32.4-1 7479 - Release 2.32.4 to Fedora (RH#1553734) 7480 7481 * Wed Apr 11 2018 Michael Vogt <mvo@ubuntu.com> 7482 - New upstream release 2.32.4 7483 - cmd/snap: user session application autostart 7484 - overlord/snapstate: introduce envvars to control the channels for 7485 bases and prereqs 7486 - overlord/snapstate: on multi-snap refresh make sure bases and core 7487 are finished before dependent snaps 7488 - many: use the new install/refresh /v2/snaps/refresh store API 7489 7490 * Wed Apr 11 2018 Michael Vogt <mvo@ubuntu.com> 7491 - New upstream release 2.32.3.2 7492 - errtracker: make TestJournalErrorSilentError work on 7493 gccgo 7494 - errtracker: check for whoopsie.service instead of reading 7495 /etc/whoopsie 7496 7497 * Wed Apr 11 2018 Michael Vogt <mvo@ubuntu.com> 7498 - New upstream release 2.32.3.1 7499 - debian: add gbp.conf script to build snapd via `gbp 7500 buildpackage` 7501 - tests: add check for OOM error after each test 7502 - cmd/snap-seccomp: graceful handling of non-multilib host 7503 - interfaces/shutdown: allow calling SetWallMessage 7504 - data/selinux: Give snapd access to more aspects of the system 7505 - daemon,overlord/hookstate: stop/wait for running hooks before 7506 closing the snapctl socket 7507 - cmd/snap-confine: ignore missing cgroups in snap-device-helper 7508 - interfaces: misc updates for default, firewall-control, fuse- 7509 support and process-control 7510 - overlord: test fix, address corner case 7511 7512 * Thu Apr 05 2018 Michael Vogt <mvo@ubuntu.com> 7513 - New upstream release 2.32.3 7514 - ifacestate: add to the repo also snaps that are pending being 7515 activated but have a done setup-profiles 7516 - snapstate: inject autoconnect tasks in doLinkSnap for regular 7517 snaps 7518 - cmd/snap-confine: allow creating missing gl32, gl, vulkan dirs 7519 - errtracker: add more fields to aid debugging 7520 - interfaces: make system-key more robust against invalid fstab 7521 entries 7522 - cmd/snap-mgmt: remove timers, udev rules, dbus policy files 7523 - overlord,interfaces: be more vocal about broken snaps and read 7524 errors 7525 - osutil: fix fstab parser to allow for # in field values 7526 7527 * Sat Mar 31 2018 Michael Vogt <mvo@ubuntu.com> 7528 - New upstream release 2.32.2 7529 - interfaces/content: add rule so slot can access writable files at 7530 plug's mountpoint 7531 - tests: adjust canonical-livepatch test on GCE 7532 - interfaces/serial: change pattern not to exclude /dev/ttymxc 7533 - spread.yaml: switch Fedora 27 tests to manual 7534 - store: Sections and WriteCatalogs need to strictly send device 7535 auth only if the device has a custom store 7536 - configstate: give a chance to immediately recompute the next 7537 refresh time when schedules are set 7538 - cmd/snap-confine: attempt to detect if multiarch host uses arch 7539 triplets 7540 - vendor: update gopkg.in/yaml.v2 to the latest version (#4945) 7541 7542 * Mon Mar 26 2018 Michael Vogt <mvo@ubuntu.com> 7543 - New upstream release 2.32.1 7544 - cmd/snapd: make sure signal handlers are established during early 7545 daemon startup 7546 - osutil: use tilde suffix for temporary files used for atomic 7547 replacement 7548 - cmd/snap-confine: apparmor: allow creating prefix path for 7549 gl/vulkan 7550 - tests: disentangle etc vs extrausers in core tests 7551 - packaging: fix changelogs' typo 7552 7553 * Sat Mar 24 2018 Michael Vogt <mvo@ubuntu.com> 7554 - New upstream release 2.32 7555 - snap: make `snap run` look at the system-key for security profiles 7556 - overlord/configstate: change how ssh is stopped/started 7557 - cmd/snap-confine: nvidia: preserve globbed file prefix 7558 - advisor: deal with missing commands.db file 7559 - interfaces,release: probe seccomp features lazily 7560 - interfaces: harden snap-update-ns profile 7561 - polkit: Pass caller uid to PolicyKit authority 7562 - tests: change debug for layout test 7563 - cmd/snap-confine: don't use per-snap s-u-n profile 7564 - many: backported fixes for layouts and symlinks 7565 - cmd/snap-confine: nvidia: add tls/libnvidia-tls.so* glob 7566 - cmd/snap-update-ns: use x-snapd.{synthetic,needed-by} in practice 7567 - snap: Call SanitizePlugsSlots from InfoFromSnapYaml 7568 - cmd/snap-confine: fix ptrace rule with snap-confine peer 7569 - tests: update tests to deal with s390x quirks 7570 - snapstate: add compat mode for default-provider"snapname:ifname" 7571 - snap-confine: fallback to /lib/udev/snappy-app-dev if the core is 7572 older 7573 - tests: a bunch of test fixes for s390x from looking at the 7574 autopkgtest logs 7575 - packaging: recommend "gnupg" instead of "gnupg1 | gnupg" 7576 - interfaces/builtin: let MM change qmi device attributes 7577 - debian: undo snap.mount system unit removal 7578 - snap: don't create empty Change with "Hold" state on disconnect 7579 - tests: add workaround for s390x failure 7580 - tests: make autopkgtest tests more targeted 7581 - many: propagate contexts enough to be able to mark store 7582 operations done from the Ensure loop 7583 - store: cleanup test naming, dropping remoteRepo and 7584 UbuntuStore(Repository)? references 7585 - store: reorg auth refresh 7586 - tests: autopkgtest may have non edge core too 7587 - data: translate polkit strings 7588 - snapstate: put layout feature behind feature flag 7589 - errtracker: respect the /etc/whoopsie configuration 7590 - overlord/snapstate: hold refreshes for 2h after seeding on classic 7591 - many: cherry-pick relevant `go vet` 1.10 fixes to 2.32 7592 - snap/squashfs: when installing from seed, try symlink before cp 7593 - wrappers: services which are socket or timer activated should not 7594 be started during boot 7595 - many: generate and use per-snap snap-update-ns profile 7596 - many: support holding refreshes by setting refresh.hold 7597 - snap-confine, snap-seccomp: utilize new seccomp logging features 7598 - many: remove snapd.refresh.{timer,service} 7599 - many: add the snapd-generator 7600 - polkit: do not shadow dbus errors, avoid panic in case of errors 7601 - polkit: ensure error is properly set if dialog is dismissed 7602 - xdgopenproxy: integrate xdg-open implementation into snapctl 7603 - userd: add an OpenFile method for launching local files with xdg- 7604 open 7605 - asserts: use a timestamp for the assertion after the signing key 7606 has been created 7607 - ifacestate: be consistent passing Retry.After as named field 7608 - interfaces/apparmor,system-key: add upperdir snippets for strict 7609 snaps on livecd 7610 interfaces/apparmor,system-key: add upperdir snippets for strict 7611 snaps 7612 - configstate: when disable "ssh" we must disable the "sshd" 7613 service 7614 - store: don't ask for snap_yaml_raw except on the details endpoint 7615 - osutil: handle file being matched by multiple patterns 7616 - cmd/snap-update-ns: use recursive bind mounts for writable mimic 7617 - cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink 7618 - interfaces/screen-inhibit-control,network-status: fix dbus path 7619 and interface typos 7620 - interfaces/network-status: fix use of '/' in interface in DBus 7621 rule 7622 - interfaces/screen-inhibit-control: fix use of '.' in path in DBus 7623 rule 7624 - overlord/snapstate: fix task iteration order in 7625 TestDoPrereqRetryWhenBaseInFlight 7626 - interfaces: add an interface for gnome-online-accounts D-Bus 7627 service 7628 - snap: pass full timer spec in `snap run --timer` 7629 - cmd/snap: introduce `snap run --timer` 7630 - snapstate: auto install default-providers for content snaps 7631 - hooks/strutil: limit the number of data read from the hooks to 7632 avoid oom 7633 - osutil: aggregate mockable symbols 7634 - tests: make sure snapd is running before attempting to remove 7635 leftover snaps 7636 - timeutil: account for 24h wrap when flattening clock spans 7637 - many: send new Snap-CDN header with none or with cloud instance 7638 placement info as needed 7639 - cmd/snap-update-ns,testutil: move syscall testing helpers 7640 - tests: disable interfaces-location-control on s390x 7641 - tests: new spread test for gpio-memory-control interface 7642 - tests: spread test for broadcom-asic-control interface 7643 - tests: make restore of interfaces-password-manager-service more 7644 robust 7645 - tests/lib/prepare-restore: sync journal before rotating and 7646 vacuuming 7647 - overlord/snapstate: use spread in the default refresh schedule 7648 - tests: fixes for autopkgtest in bionic 7649 - timeutil: introduce helpers for checking it time falls inside the 7650 schedule 7651 - cmd/snap-repair,httputil: set snap-repair User-Agent on requests 7652 - vendor: resync formatting of vendor.json 7653 - snapstate/ifacestate: auto-connect tasks 7654 - cmd/snap: also include tracking channel in list output. 7655 - interfaces/apparmor: use snap revision with surrounding '.' when 7656 replacing in glob 7657 - debian,vendor: import github.com/snapcore/squashfs and use 7658 - many: implement "refresh-mode: {restart,endure,...}" for services 7659 - daemon: make the ast-inspecting test smarter; drop 'exceptions' 7660 - tests: new spread test for kvm interface 7661 - cmd/snap: tweaks to 'snap info' output 7662 - snap: remove underscore from version validator regexp 7663 - testutil: add File{Matches,Equals,Contains} checkers. 7664 - snap: improve the version validator's error messages. 7665 - osutil: refactor EnsureFileState to separate out the comparator 7666 - timeutil: fix scheduling on nth weekday of the month 7667 - cmd/snap-update-ns: small refactor for upcoming per-user mounts 7668 - many: rename snappy-app-dev to snap-device-helper 7669 - systemd: add default target for timers 7670 - interfaces: miscellaneous policy updates for home, opengl, time- 7671 control, network, et al 7672 - cmd/snap: linter cleanups 7673 - interfaces/mount: generate per-user mount profiles 7674 - cmd/snap: use proper help strings for `snap userd --help` 7675 - packaging: provide a compat symlink for snappy-app-dev 7676 - interfaces/time-control,netlink-audit: adjust for util-linux 7677 compiled with libaudit 7678 - tests: adding new test to validate the raw-usb interface 7679 - snap: add support for `snap run --gdb` 7680 - interfaces/builtin: allow MM to access login1 7681 - packaging: fix build on sbuild 7682 - store: revert PR#4532 and do not display displayname 7683 - interfaces/mount: add support for per-user mount entries 7684 - cmd/system-shutdown: move sync to be even more pessimistic 7685 - osutil: reimplement IsMounted with LoadMountInfo 7686 - tests/main/ubuntu-core-services: enable snapd.refresh.timer for 7687 the test 7688 - many: don't allow layout construction to silently fail 7689 - interfaces/apparmor: ensure snap-confine profile for reexec is 7690 current 7691 - interfaces/apparmor: generalize apparmor load and unload helpers 7692 - tests: removing packages which are not needed anymore to generate 7693 random data 7694 - snap: improve `snap run` comments/naming 7695 - snap: allow options for --strace, e.g. `snap run --strace="-tt"` 7696 - tests: fix spread test failures on 18.04 7697 - systemd: update comment on SocketsTarget 7698 - osutil: add and update docstrings 7699 - osutil: parse mount entries without options field 7700 - interfaces: mock away real mountinfo/fstab 7701 - many: move /lib/udev/snappy-app-dev to /usr/lib/snapd/snappy-app- 7702 dev 7703 - overlord/snapstate/backend: perform cleanup if snap setup fails 7704 - tests/lib/prepare: disable snapd.refresh.timer 7705 - daemon: remove redundant UserOK markings from api commands 7706 - snap: introduce timer service data types and validation 7707 - cmd/snap: fix UX of snap services 7708 - daemon: allow `snapctl get` from any uid 7709 - debian, snap: only static link libseccomp in snap-seccomp on 7710 ubuntu 7711 - all: snap versions are now validated 7712 - many: add nfs-home flag to system-key 7713 - snap: disallow layouts in various special directories 7714 - cmd/snap: add help for service commands. 7715 - devicestate: fix autopkgtest failure in 7716 TestDoRequestSerialErrorsOnNoHost 7717 - snap,interfaces: allow using bind-file layouts 7718 - many: move mount code to osutil 7719 - snap: understand directories in layout blacklist 7720 - snap: use custom unsquashfsStderrWriter for unsquashfs error 7721 detection 7722 - tests/main/user-data-handling: get rid of ordering bug 7723 - snap: exclude `gettimeofday` from `snap run --strace` 7724 - tests: check if snapd.socket is active before stoping it 7725 - snap: sort layout elements before validating 7726 - strutil: introducing MatchCounter 7727 - snap: detect unsquashfs write failures 7728 - spread: add missing ubuntu-18.04-arm64 to available autopkgtest 7729 machines 7730 - cmd/snap-confine: allow mounting anywhere, effectively 7731 - daemon: improve ucrednet code for the snap.socket 7732 - release, interfaces: add new release.AppArmorFeatures helper 7733 - snap: apply some golint suggestions 7734 - many: add interfaces.SystemKey() helper 7735 - tests: new snaps to test installs nightly 7736 - tests: skip alsa interface test when the system does not have any 7737 audio devices 7738 - debian/rules: workaround for 7739 https://github.com/golang/go/issues/23721 7740 - interfaces/apparmor: early support for snap-update-ns snippets 7741 - wrappers: cleanup enabled service sockets 7742 - cmd/snap-update-ns: large refactor / update of unit tests 7743 - interfaces/apparmor: remove leaked future layout code 7744 - many: allow constructing layouts (phase 1) 7745 - data/systemd: for debugging/testing use /etc/environment also for 7746 snap-repair runs 7747 - cmd/snap-confine: create lib/{gl,gl32,vulkan} under /var/lib/snapd 7748 and chown as root:root 7749 - overlord/configstate/config: make [GS]etSnapConfig use *RawMessage 7750 - daemon: refactor snapFooMany helpers a little 7751 - cmd/snap-confine: allow snap-update-ns to chown things 7752 - interfaces/apparmor: use a helper to set the scope 7753 - overlord/configstate/config: make SetSnapConfig delete on empty 7754 - osutil: make MkdirAllChown clean the path passed in 7755 - many: at seeding try to capture cloud information into core config 7756 under "cloud" 7757 - cmd/snap: add completion conversion helper to increase DRY 7758 - many: remove "content" argument from snaptest.MockSnap() 7759 - osutil: allow using many globs in EnsureDirState 7760 - cmd/snap-confine: fix read-only filesystem when mounting nvidia 7761 files in biarch 7762 - tests: use root path to /home/test/tmp to avoid lack of space 7763 issue 7764 - packaging: create /var/lib/snapd/lib/{gl,gl32,vulkan} as part of 7765 packaging 7766 - tests: update kill-timeout focused on making tests pass on boards 7767 - advisor: ensure commands.db has mode 0644 and add test 7768 - snap: improve validation of snap layouts 7769 - tests: ensure disabled services are masked 7770 - interfaces/desktop-legacy,unity7: support gtk2/gvfs gtk_show_uri() 7771 - systemd, wrappers: start all snap services in one systemctl call 7772 - mir: software clients need access to shared memory /dev/shm/#* 7773 - snap: add support for `snap advise-snap pkgName` 7774 - snap: fix command-not-found on core devices 7775 - tests: new spead test for openvswitch-support interface 7776 - tests: add integration for local snap licenses 7777 - config: add (Get|Set)SnapConfig to do bulk config e.g. from 7778 snapshots 7779 - cmd/snap: display snap license information 7780 - tests: enable content sharing test for $SNAP 7781 - osutil: add ContextWriter and RunWithContext helpers. 7782 - osutil: add DirExists and IsDirNotExist 7783 7784 * Fri Mar 09 2018 Michael Vogt <mvo@ubuntu.com> 7785 - New upstream release 2.31.2 7786 - many: add the snapd-generator 7787 - polkit: ensure error is properly set if dialog is dismissed 7788 - xdgopenproxy: integrate xdg-open implementation into snapctl 7789 - userd: add an OpenFile method for launching local files with xdg- 7790 open 7791 - configstate: when disable "ssh" we must disable the "sshd" 7792 service 7793 - many: remove snapd.refresh.{timer,service} 7794 - interfaces/builtin: allow MM to access login1 7795 - timeutil: account for 24h wrap when flattening clock spans 7796 - interfaces/screen-inhibit-control,network-status: fix dbus path 7797 and interface typos 7798 - systemd, wrappers: start all snap services in one systemctl 7799 call 7800 - tests: disable interfaces-location-control on s390x 7801 7802 * Mon Mar 05 2018 Neal Gompa <ngompa13@gmail.com> - 2.31.1-2 7803 - Fix dependencies for devel subpackage 7804 7805 * Sun Mar 04 2018 Neal Gompa <ngompa13@gmail.com> - 2.31.1-1 7806 - Release 2.31.1 to Fedora (RH#1542483) 7807 - Drop all backported patches as they're part of this release 7808 7809 * Tue Feb 20 2018 Michael Vogt <mvo@ubuntu.com> 7810 - New upstream release 2.31.1 7811 - tests: multiple autopkgtest related fixes for 18.04 7812 - overlord/snapstate: use spread in the default refresh schedule 7813 - timeutil: fix scheduling on nth weekday of the month 7814 - interfaces: miscellaneous policy updates for home, opengl, time- 7815 control, network, et al 7816 - cmd/snap: use proper help strings for `snap userd --help` 7817 - interfaces/time-control,netlink-audit: adjust for util-linux 7818 compiled with libaudit 7819 - rules: do not static link on powerpc 7820 - packaging: revert LDFLAGS rewrite again after building snap- 7821 seccomp 7822 - store: revert PR#4532 and do not display displayname 7823 - daemon: allow `snapctl get` from any uid 7824 - debian, snap: only static link libseccomp in snap-seccomp on 7825 ubuntu 7826 - daemon: improve ucrednet code for the snap.socket 7827 7828 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.30-2 7829 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild 7830 7831 * Tue Feb 06 2018 Michael Vogt <mvo@ubuntu.com> 7832 - New upstream release 2.31 7833 - cmd/snap-confine: allow snap-update-ns to chown things 7834 - cmd/snap-confine: fix read-only filesystem when mounting nvidia 7835 files in biarch 7836 - packaging: create /var/lib/snapd/lib/{gl,gl32,vulkan} as part of 7837 packaging 7838 - advisor: ensure commands.db has mode 0644 and add test 7839 - interfaces/desktop-legacy,unity7: support gtk2/gvfs gtk_show_uri() 7840 - snap: improve validation of snap layoutsRules for validating 7841 layouts: 7842 - snap: fix command-not-found on core devices 7843 - cmd/snap: display snap license information 7844 - tests: enable content sharing test for $SNAP 7845 - userd: add support for a simple UI that can be used from userd 7846 - snap-confine/nvidia: Support legacy biarch trees for GLVND systems 7847 - tests: generic detection of gadget and kernel snaps 7848 - cmd/snap-update-ns: refactor and improve Change.Perform to handle 7849 EROFS 7850 - cmd/snap: improve output when snaps were found in a section or the 7851 section is invalid 7852 - cmd/snap-confine,tests: hide message about stale base snap 7853 - cmd/snap-mgmt: fix out of source tree build 7854 - strutil/quantity: new package that exports formatFoo (from 7855 progress) 7856 - cmd/snap: snap refresh --time with new and legacy schedules 7857 - state: unknown tasks handler 7858 - cmd/snap-confine,data/systemd: fix removal of snaps inside LXD 7859 - snap: add io.snapcraft.Settings to `snap userd` 7860 - spread: remove more EOLed releases 7861 - snap: tidy up top-level help output 7862 - snap: fix race in `snap run --strace` 7863 - tests: update "searching" test to match store changes 7864 - store: use the "publisher" when populating the "publisher" field 7865 - snap: make `snap find --section` show all sections 7866 - tests: new test to validate location control interface 7867 - many: add new `snap refresh --amend <snap>` command 7868 - tests/main/kernel-snap-refresh-on-core: skip the whole test if 7869 edge and stable are the same version 7870 - tests: set test kernel-snap-refresh-on-core to manual 7871 - tests: new spread test for interface gpg-keys 7872 - packaging/fedora: Merge changes from Fedora Dist-Git plus trivial 7873 fix 7874 - interfaces: miscellaneous policy updates 7875 - interfaces/builtin: Replace Solus support with GLVND support 7876 - tests/main/kernel-snap-refresh-on-core: do not fail if edge and 7877 stable kernels are the same version 7878 - snap: add `snap run --strace` to be able to strace snap apps 7879 - tests: new spread test for ssh-keys interface 7880 - errtracker: include detected virtualisation 7881 - tests: add new kernel refresh/revert test for spread-cron 7882 - interfaces/builtin: blacklist zigbee dongle 7883 - cmd/snap-confine: discard stale mount namespaces 7884 - cmd: remove unused execArg0/execEnv 7885 - snap,interfaces/mount: disallow nobody/nogroup 7886 - cmd/snap: improve `snap aliases` output when no aliases are 7887 defined 7888 - tests/lib/snaps/test-snapd-service: refactor service reload 7889 - tests: new spread test for gpg-public-keys interface 7890 - tests: new spread test for ssh-public-keys interface 7891 - spread: setup machine creation on Linode 7892 - interfaces/builtin: allow introspecting UDisks2 7893 - interfaces/builtin: add support for content "source" section 7894 - tests: new spread test for netlink-audit interface 7895 - daemon: avoid panic'ing building an error response w/no snaps 7896 given 7897 - interfaces/mount,snap: early support for snap layouts 7898 - daemon: unlock state even if RefreshSchedule() fails 7899 - arch: add "armv8l" to ubuntuArchFromKernelArch table 7900 - tests: fix for test interface-netlink-connector 7901 - data/dbus: add AssumedAppArmorLabel=unconfined 7902 - advisor: use forked bolt to make it work on ppc 7903 - overlord/snapstate: record the 'kind' of conflicting change 7904 - dirs: fix snap mount dir on Manjaro 7905 - overlord/{snapstate,configstate}, daemon: introduce refresh.timer, 7906 fallback to refresh.schedule 7907 - config: add support for `snap set core proxy.no_proxy=...` 7908 - snap-mgmt: extend spread tests, stop, disable and cleanup snap 7909 services 7910 - spread.yaml: add fedora 27 7911 - cmd/snap-confine: allow snap-update-ns to poke writable holes in 7912 $SNAP 7913 - packaging/14.04: move linux-generic-lts-xenial to recommends 7914 - osutil/sys: ppc has 32-bit getuid already 7915 - snapstate: make no autorefresh message clearer 7916 - spread: try to enable Fedora once more 7917 - overlord/snapstate: do a minimal sanity check on containers 7918 - configcore: ensure config.txt has a final newline 7919 - cmd/libsnap-confine-private: print failed mount/umount regardless 7920 of SNAP_CONFINE_DEBUG 7921 - debian/tests: add missing autopkgtest test dependencies for debian 7922 - image: port ini handling to goconfigparser 7923 - tests/main/snap-service-after-before: add test for after/before 7924 service ordering 7925 - tests: enabling opensuse for tests 7926 - tests: update auto-refresh-private to match messages from current 7927 master 7928 - dirs: check if distro 'is like' fedora when picking path to 7929 libexecdir 7930 - tests: fix "job canceled" issue and improve cleanup for snaps 7931 - cmd/libsnap-confine-private: add debug build of libsnap-confine- 7932 private.a, link it into snap-confine-debug 7933 - vendor: remove x/sys/unix to fix builds on arm64 and powerpc 7934 - image: let consume snapcraft export-login files from tooling 7935 - interfaces/mir: allow Wayland socket and non-root sockets 7936 - interfaces/builtin: use snap.{Plug,Slot}Info over 7937 interfaces.{Plug,Slot} 7938 - tests: add simple snap-mgmt test 7939 - wrappers: autogenerate After/Before in systemd's service files for 7940 apps 7941 - snap: add usage hints in `snap download` 7942 - snap: provide more meaningful errors for installMany and friends 7943 - cmd/snap: show header/footer when `snap find` is used without 7944 arguments 7945 - overlord/snapstate: for Enable's tasks refer to the first task 7946 with snap-setup, do not duplicate 7947 - tests: add hard-coded fully expired macaroons to run related tests 7948 - cmd/snap-update-ns: new test features 7949 - cmd/snap-update-ns: we don't want to bind mount symlinks 7950 - interfaces/mount: test OptsToCommonFlags, filter out x-snapd. 7951 options 7952 - cmd/snap-update-ns: untangle upcoming cyclic initialization 7953 - client, daemon: update user's email when logging in with new 7954 account 7955 - tests: ensure snap-confine apparmor profile is parsable 7956 - snap: do not leak internal errors on install/refresh etc 7957 - snap: fix missing error check when multiple snaps are refreshed 7958 - spread: trying to re-enable tests on Fedora 7959 - snap: fix gadget.yaml parsing for multi volume gadgets 7960 - snap: give the snap.Container interface a Walk method 7961 - snap: rename `snap advise-command` to `snap advise-snap --command` 7962 - overlord/snapstate: no refresh just for hints if there was a 7963 recent regular full refresh 7964 - progress: switch ansimeter's Spin() to use a spinner 7965 - snap: support `command-not-found` symlink for `snap advise- 7966 command` 7967 - daemon: store email, ID and macaroon when creating a new user 7968 - snap: app startup after/before validation 7969 - timeutil: refresh timer take 2 7970 - store, daemon/api: Rename MyAppsServer, point to 7971 dashboard.snapcraft.io instead 7972 - tests: use "quiet" helper instead of "dnf -q" to get errors on 7973 failures 7974 - cmd/snap-update-ns: improve mocking for tests 7975 - many: implement the advisor backend, populate it from the store 7976 - tests: make less calls to the package manager 7977 - tests/main/confinement-classic: enable the test on Fedora 7978 - snap: do not leak internal network errors to the user 7979 - snap: use stdout instead of stderr for "fetching" message 7980 - tests: fix test whoami, share successful_login.exp 7981 - many: refresh with appropriate creds 7982 - snap: add new `snap advice-command` skeleton 7983 - tests: add test that ensures we never parse versions as numbers 7984 - overlord/snapstate: override Snapstate.UserID in refresh if the 7985 installing user is gone 7986 - interfaces: allow socket "shutdown" syscall in default profile 7987 - snap: print friendly message if `snap keys` is empty 7988 - cmd/snap-update-ns: add execWritableMimic 7989 - snap: make `snap info invalid-snap` output more user friendly 7990 - cmd/snap, tests/main/classic-confinement: fix snap-exec path when 7991 running under classic confinement 7992 - overlord/ifacestate: fix disable/enable cycle to setup security 7993 - snap: fix snap find " " output 7994 - daemon: add new polkit action to manage interfaces 7995 - packaging/arch: disable services when removing 7996 - asserts/signtool: support for building tools on top that fill- 7997 in/compute some headers 7998 - cmd: clarify "This leaves %s tracking %s." message 7999 - daemon: return "bad-query" error kind for store.ErrBadQuery 8000 - taskrunner/many: KnownTaskKinds helper 8001 - tests/main/interfaces-fuse_support: fix confinement, allow 8002 unmount, fix spread tests 8003 - snap: use the -no-fragments mksquashfs option 8004 - data/selinux: allow messages from policykit 8005 - tests: fix catalog-update wait loop 8006 - tests/lib/prepare-restore: disable rate limiting in journald 8007 - tests: change interfaces-fuse_support to be debug friendly 8008 - tests/main/postrm-purge: stop snapd before purge 8009 - This is an example of test log:https://paste.ubuntu.com/26215170/ 8010 - tests/main/interfaces-fuse_support: dump more debugging 8011 information 8012 - interfaces/dbus: adjust slot policy for listen, accept and accept4 8013 syscalls 8014 - tests: save the snapd-state without compression 8015 - tests/main/searching: handle changes in featured snaps list 8016 - overlord/snapstate: fix auto-refresh summary for 2 snaps 8017 - overlord/auth,daemon: introduce an explicit auth.ErrInvalidUser 8018 - interfaces: add /proc/partitions to system-observe (This addresses 8019 LP#1708527.) 8020 - tests/lib: introduce helpers for setting up /dev/random using 8021 /dev/urandom in project prepare 8022 - tests: new test for interface network status 8023 - interfaces: interfaces: also add an app/hook-specific udev RUN 8024 rule for hotplugging 8025 - tests: fix external backend for tests that need DEBUG output 8026 - tests: do not disable refresh timer on external backend 8027 - client: send all snap related bool json fields 8028 - interfaces/desktop,unity7: allow status/activate/lock of 8029 screensavers 8030 - tests/main: source mkpinentry.sh 8031 - tests: fix security-device-cgroups-serial-port test for rpi and db 8032 - cmd/snap-mgmt: add more directories for cleanup and refactor 8033 purge() code 8034 - snap: YAML and data structures for app before/after ordering 8035 - tests: set TRUST_TEST_KEYS=false for all the external backends 8036 - packaging/arch: install snap-mgmt tool 8037 - tests: add support on tests for cm3 gadget 8038 - interfaces/removable-media: also allow 'k' (lock) 8039 - interfaces: use ConnectedPlug/ConnectedSlot types (step 2) 8040 - interfaces: rename sanitize methods 8041 - devicestate: fix misbehaving test when using systemd-resolved 8042 - interfaces: added Ref() helpers, restored more detailed error 8043 message on spi iface 8044 - debian: make "gnupg" a recommends 8045 - interfaces/many: misc updates for default, browser-support, 8046 opengl, desktop, unity7, x11 8047 - interfaces: PlugInfo/SlotInfo/ConnectedPlug/ConnectedSlot 8048 attribute helpers 8049 - interfaces: update fixme comments 8050 - tests: make interfaces-snapd-control-with-manage more robust 8051 - userd: generalize dbusInterface 8052 - interfaces: use ConnectedPlug/ConnectedSlot types (step 1) 8053 - hookstate: add compat "configure-snapd" task. 8054 - config, overlord/snapstate, timeutil: rename ParseSchedule to 8055 ParseLegacySchedule 8056 - tests: adding tests for time*-control interfaces 8057 - tests: new test to check interfaces after reboot the system 8058 - cmd/snap-mgmt: fixes 8059 - packaging/opensuse-42.2: package and use snap-mgmt 8060 - corecfg: also "mask" services when disabling them 8061 - cmd/snap-mgmt: introduce snap-mgmt tool 8062 - configstate: simplify ConfigManager 8063 - interfaces: add gpio-memory-control interface 8064 - cmd: disable check-syntax-c 8065 - packaging/arch: add bash-completion as optional dependency 8066 - corecfg: rename package to overlord/configstate/configcore 8067 - wrappers: fix unit tests to use dirs.SnapMountDir 8068 - osutil/sys: reimplement getuid and chown with the right int type 8069 - interfaces-netlink-connector: fix sourcing snaps.sh 8070 8071 * Thu Jan 25 2018 Neal Gompa <ngompa13@gmail.com> - 2.30-1 8072 - Release 2.30 to Fedora (RH#1527519) 8073 - Backport fix to correctly locate snapd libexecdir on Fedora derivatives (RH#1536895) 8074 - Refresh SELinux policy fix patches with upstream backport version 8075 8076 * Mon Dec 18 2017 Michael Vogt <mvo@ubuntu.com> 8077 - New upstream release 2.30 8078 - tests: set TRUST_TEST_KEYS=false for all the external backends 8079 - tests: fix external backend for tests that need DEBUG output 8080 - tests: do not disable refresh timer on external backend 8081 - client: send all snap related bool json fields 8082 - interfaces: interfaces: also add an app/hook-specific udev RUN 8083 rule for hotplugging 8084 - interfaces/desktop,unity7: allow status/activate/lock of 8085 screensavers 8086 - tests/main: source mkpinentry.sh 8087 - devicestate: use a different nowhere domain 8088 - interfaces: add ssh-keys, ssh-public-keys, gpg-keys and gpg-public 8089 keys interfaces 8090 - interfaces/many: misc updates for default, browser-support, opengl, 8091 desktop, unity7, x11 8092 - devicestate: fix misbehaving test when using systemd-resolved 8093 - interfaces/removable-media: also allow 'k' (lock) 8094 - interfaces/many: misc updates for default, browser-support, 8095 opengl, desktop, unity7, x11 8096 - corecfg: also "mask" services when disabling them 8097 - tests: add support for autopkgtests on s390x 8098 - snapstate: support for pre-refresh hook 8099 - many: allow to configure core before it is installed 8100 - devicestate: fix unkeyed fields error 8101 - snap-confine: create mount target for lib32,vulkan on demand 8102 - snapstate: add support for refresh.schedule=managed 8103 - cmd/snap-update-ns: teach update logic to handle synthetic changes 8104 - many: remove configure-snapd task again and handle internally 8105 - snap: fix TestDirAndFileMethods() test to work with gccgo 8106 - debian: ensure /var/lib/snapd/lib/vulkan is available 8107 - cmd/snap-confine: use #include instead of bare include 8108 - snapstate: store userID in snapstate 8109 - snapd.dirs: add var/lib/snapd/lib/gl32 8110 - timeutil, overlod/snapstate: cleanup remaining pieces of timeutil 8111 weekday support 8112 - packaging/arch: install missing directories, manpages and version 8113 info 8114 - snapstate,store: store if a snap is a paid snap in the sideinfo 8115 - packaging/arch: pre-create snapd directories when packaging 8116 - tests/main/manpages: set LC_ALL=C as man may complain if the 8117 locale is unset or unsupported 8118 - repo: ConnectedPlug and ConnectedSlot types 8119 - snapd: fix handling of undo in the taskrunner 8120 - store: fix download caching and add integration test 8121 - snapstate: move autorefresh code into autoRefresh helper 8122 - snapctl: don't error out on start/stop/restart from configure hook 8123 during install or refresh 8124 - cmd/snap-update-ns: add planWritableMimic 8125 - deamon: don't omit responses, even if null 8126 - tests: add test for frame buffer interface 8127 - tests/lib: fix shellcheck errors 8128 - apparmor: generate the snap-confine re-exec profile for 8129 AppArmor{Partial,Full} 8130 - tests: remove obsolete workaround 8131 - snap: use existing files in `snap download` if digest/size matches 8132 - tests: merge pepare-project.sh into prepare-restore.sh 8133 - tests: cache snaps to $TESTSLIB/cache 8134 - tests: set -e, -o pipefail in prepare-restore.sh 8135 - apparmor: generate the snap-confine re-exec profile for 8136 AppArmor{Partial,Full} 8137 - cmd/snap-seccomp: fix uid/gid restrictions tests on Arch 8138 - tests: document and slightly refactor prepare/restore code 8139 - snapstate: ensure RefreshSchedule() gives accurate results 8140 - snapstate: add new refresh-hints helper and use it 8141 - spread.yaml,tests: move most of project-wide prepare/restore to 8142 separate file 8143 - timeutil: introduce helpers for weekdays and TimeOfDay 8144 - tests: adding new test for uhid interface 8145 - cmd/libsnap: fix parsing of empty mountinfo fields 8146 - overlord/devicestate: best effort to go to early full retries for 8147 registration on the like of DNS no host 8148 - spread.yaml: bump delta ref to 2.29 8149 - tests: adding test to test physical memory observe interface 8150 - cmd, errtracker: get rid of SNAP_DID_REEXEC environment 8151 - timeutil: remove support to parse weekday schedules 8152 - snap-confine: add workaround for snap-confine on 4.13/upstream 8153 - store: do not log the http body for catalog updates 8154 - snapstate: move catalogRefresh into its own helper 8155 - spread.yaml: fix shellcheck issues and trivial refactor 8156 - spread.yaml: move prepare-each closer to restore-each 8157 - spread.yaml: increase workers for opensuse to 3 8158 - tests: force delete when tests are restore to avoid suite failure 8159 - test: ignore /snap/README 8160 - interfaces/opengl: also allow read on 'revision' in 8161 /sys/devices/pci... 8162 - interfaces/screen-inhibit-control: fix case in screen inhibit 8163 control 8164 - asserts/sysdb: panic early if pointed to staging but staging keys 8165 are not compiled-in 8166 - interfaces: allow /bin/chown and fchownat to root:root 8167 - timeutil: include test input in error message in 8168 TestParseSchedule() 8169 - interfaces/browser-support: adjust base declaration for auto- 8170 connection 8171 - snap-confine: fix snap-confine under lxd 8172 - store: bit less aggressive retry strategy 8173 - tests: add new `fakestore new-snap-{declaration,revision}` helpers 8174 - cmd/snap-update-ns: add secureMkfileAll 8175 - snap: use field names when initializing composite literals 8176 - HACKING: fix path in snap install 8177 - store: add support for flags in ListRefresh() 8178 - interfaces: remove invalid plugs/slots from SnapInfo on 8179 sanitization. 8180 - debian: add missing udev dependency 8181 - snap/validate: extend socket validation tests 8182 - interfaces: add "refresh-schedule" attribute to snapd-control 8183 - interfaces/builtin/account_control: use gid owning /etc/shadow to 8184 setup seccomp rules 8185 - cmd/snap-update-ns: tweak changePerform 8186 - interfaces,tests: skip unknown plug/slot interfaces 8187 - tests: disable interfaces-network-control-tuntap 8188 - cmd: use a preinit_array function rather than parsing 8189 /proc/self/cmdline 8190 - interfaces/time*_control: explicitly deny noisy read on 8191 /proc/1/environ 8192 - cmd/snap-update-ns: misc cleanups 8193 - snapd: allow hooks to have slots 8194 - fakestore: add go-flags to prepare for `new-snap-declaration` cmd 8195 - interfaces/browser-support: add shm path for nwjs 8196 - many: add magic /snap/README file 8197 - overlord/snapstate: support completion for command aliases 8198 - tests: re-enable tun/tap test on Debian 8199 - snap,wrappers: add support for socket activation 8200 - repo: use PlugInfo and SlotInfo for permanent plugs/slots 8201 - tests/interfaces-network-control-tuntap: disable on debian- 8202 unstable for now 8203 - cmd/snap-confine: Loosen the NVIDIA Vulkan ICD glob 8204 - cmd/snap-update-ns: detect and report read-only filesystems 8205 - cmd/snap-update-ns: re-factor secureMkdirAll into 8206 secureMk{Prefix,Dir} 8207 - run-checks, tests/lib/snaps/: shellcheck fixes 8208 - corecfg: validate refresh.schedule when it is applied 8209 - tests: adjust test to match stderr 8210 - snapd: fix snap cookie bugs 8211 - packaging/arch: do not quote MAKEFLAGS 8212 - state: add change.LaneTasks helper 8213 - cmd/snap-update-ns: do not assume 'nogroup' exists 8214 - tests/lib: handle distro specific grub-editenv naming 8215 - cmd/snap-confine: Add missing bi-arch NVIDIA filesthe 8216 `/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl/vdpau` paths within 8217 - cmd: Support exposing NVIDIA Vulkan ICD files to the snaps 8218 - cmd/snap-confine: Implement full 32-bit NVIDIA driver support 8219 - packaging/arch: packaging update 8220 - cmd/snap-confine: Support bash as base runtime entry 8221 - wrappers: do not error on incorrect Exec= lines 8222 - interfaces: fix udev tagging for hooks 8223 - tests/set-proxy-store: exclude ubuntu-core-16 via systems: key 8224 - tests: new tests for network setup control and observe interfaces 8225 - osutil: add helper for obtaining group ID of given file path 8226 - daemon,overlord/snapstate: return snap-not-installed error in more 8227 cases 8228 - interfaces/builtin/lxd_support: allow discovering of host's os- 8229 release 8230 - configstate: add support for configure-snapd for 8231 snapstate.IgnoreHookError 8232 - tests: add a spread test for proxy.store setting together with 8233 store assertion 8234 - cmd/snap-seccomp: do not use group 'shadow' in tests 8235 - asserts/assertstest: fix use of hardcoded value when the passed 8236 or default keys should be used 8237 - interfaces/many: misc policy updates for browser-support, cups- 8238 control and network-status 8239 - tests: fix xdg-open-compat 8240 - daemon: for /v2/logs, 404 when no services are found 8241 - packaging/fedora: Merge changes from Fedora Dist-Git 8242 - cmd/snap-update-ns: add new helpers for mount entries 8243 - cmd/snap-confine: Respect biarch nature of libdirs 8244 - cmd/snap-confine: Ensure snap-confine is allowed to access os- 8245 release 8246 - cmd: fix re-exec bug with classic confinement for host snapd < 8247 2.28 8248 - interfaces/kmod: simplify loadModules now that errors are ignored 8249 - tests: disable xdg-open-compat test 8250 - tests: add test that checks core reverts on core devices 8251 - dirs: use alt root when checking classic confinement support 8252 without … 8253 - interfaces/kmod: treat failure to load module as non-fatal 8254 - cmd/snap-update-ns: fix golint and some stale comments 8255 - corecfg: support setting proxy.store if there's a matching store 8256 assertion 8257 - overlord/snapstate: toggle ignore-validation as needed as we do 8258 for channel 8259 - tests: fix security-device-cgroup* tests on devices with 8260 framebuffer 8261 - interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS 8262 - interfaces: add USB interface number attribute in udev rule for 8263 serial-port interface 8264 - overlord/devicestate: switch to the new endpoints for registration 8265 - snap-update-ns: add missing unit test for desired/current profile 8266 handling 8267 - cmd/{snap-confine,libsnap-confine-private,snap-shutdown}: cleanup 8268 low-level C bits 8269 - ifacestate: make interfaces.Repository available via state cache 8270 - overlord/snapstate: cleanups around switch-snap* 8271 - cmd/snapd,client,daemon: display ignore-validation flag through 8272 the notes mechanism 8273 - cmd/snap-update-ns: add logging to snap-update-ns 8274 - many: have a timestamp on store assertions 8275 - many: lookup and use the URL from a store assertion if one is set 8276 for use 8277 - tests/test-snapd-service: fix shellcheck issues 8278 - tests: new test for hardware-random-control interface 8279 - tests: use `snap change --last=install` in snapd-reexec test 8280 - repo, daemon: use PlugInfo, SlotInfo 8281 - many: handle core configuration internally instead of using the 8282 core configure hook 8283 - tests: refactor and expand content interface test 8284 - snap-seccomp: skip in-kernel bpf tests for socket() in trusty/i386 8285 - cmd/snap-update-ns: allow Change.Perform to return changes 8286 - snap-confine: Support biarch Linux distribution confinement 8287 - partition/ubootenv: don't panic when uboot.env is missing the eof 8288 marker 8289 - cmd/snap-update-ns: allow fault injection to provide dynamic 8290 result 8291 - interfaces/mount: exspose mount.{Escape,Unescape} 8292 - snapctl: added long help to stop/start/restart command 8293 - cmd/snap-update-ns: create missing mount points automatically. 8294 - cmd: downgrade log message in InternalToolPath to Debugf() 8295 - tests: wait for service status change & file update in the test to 8296 avoid races 8297 - daemon, store: forward SSO invalid credentials errors as 401 8298 Unauthorized responses 8299 - spdx: fix for WITH syntax, require a license name before the 8300 operator 8301 - many: reorg things in preparation to make handling of the base url 8302 in store dynamic 8303 - hooks/configure: queue service restarts 8304 - cmd/snap: warn when a snap is not from the tracking channel 8305 - interfaces/mount: add support for parsing x-snapd.{mode,uid,gid}= 8306 - cmd/snap-confine: add detection of stale mount namespace 8307 - interfaces: add plugRef/slotRef helpers for PlugInfo/SlotInfo 8308 - tests: check for invalid udev files during all tests 8309 - daemon: use newChange() in changeAliases for consistency 8310 - servicestate: use taskset 8311 - many: add support for /home on NFS 8312 - packaging,spread: fix and re-enable opensuse builds 8313 8314 * Sun Dec 17 2017 Neal Gompa <ngompa13@gmail.com> - 2.29.4-3 8315 - Add patch to SELinux policy to allow snapd to receive replies from polkit 8316 8317 * Sun Nov 19 2017 Neal Gompa <ngompa13@gmail.com> - 2.29.4-2 8318 - Add missing bash completion files and cache directory 8319 8320 * Sun Nov 19 2017 Neal Gompa <ngompa13@gmail.com> - 2.29.4-1 8321 - Release 2.29.4 to Fedora (RH#1508433) 8322 - Install Polkit configuration (RH#1509586) 8323 - Drop changes to revert cheggaaa/pb import path used 8324 8325 * Fri Nov 17 2017 Michael Vogt <mvo@ubuntu.com> 8326 - New upstream release 2.29.4 8327 - snap-confine: fix snap-confine under lxd 8328 - tests: disable classic-ubuntu-core-transition on i386 temporarily 8329 - many: reject bad plugs/slots 8330 - interfaces,tests: skip unknown plug/slot interfaces 8331 - store: enable "base" field from the store 8332 - packaging/fedora: Merge changes from Fedora Dist-Git 8333 8334 * Thu Nov 09 2017 Michael Vogt <mvo@ubuntu.com> 8335 - New upstream release 2.29.3 8336 - daemon: cherry-picked /v2/logs fixes 8337 - cmd/snap-confine: Respect biarch nature of libdirs 8338 - cmd/snap-confine: Ensure snap-confine is allowed to access os- 8339 release 8340 - interfaces: fix udev tagging for hooks 8341 - cmd: fix re-exec bug with classic confinement for host snapd 8342 - tests: disable xdg-open-compat test 8343 - cmd/snap-confine: add slave PTYs and let devpts newinstance 8344 perform mediation 8345 - interfaces/many: misc policy updates for browser-support, cups- 8346 control and network-status 8347 - interfaces/raw-usb: match on SUBSYSTEM, not SUBSYSTEMS 8348 - tests: fix security-device-cgroup* tests on devices with 8349 framebuffer 8350 8351 * Fri Nov 03 2017 Michael Vogt <mvo@ubuntu.com> 8352 - New upstream release 2.29.2 8353 - snapctl: disable stop/start/restart (2.29) 8354 - cmd/snap-update-ns: fix collection of changes made 8355 8356 * Fri Nov 03 2017 Michael Vogt <mvo@ubuntu.com> 8357 - New upstream release 2.29.1 8358 - interfaces: fix incorrect signature of ofono DBusPermanentSlot 8359 - interfaces/serial-port: udev tag plugged slots that have just 8360 'path' via KERNEL 8361 - interfaces/hidraw: udev tag plugged slots that have just 'path' 8362 via KERNEL 8363 - interfaces/uhid: unconditionally add existing uhid device to the 8364 device cgroup 8365 - cmd/snap-update-ns: fix mount rules for font sharing 8366 - tests: disable refresh-undo test on trusty for now 8367 - tests: use `snap change --last=install` in snapd-reexec test 8368 - Revert " wrappers: fail install if exec-line cannot be re-written 8369 - interfaces: don't udev tag devmode or classic snaps 8370 - many: make ignore-validation sticky and send the flag with refresh 8371 requests 8372 8373 * Mon Oct 30 2017 Michael Vogt <mvo@ubuntu.com> 8374 - New upstream release 2.29 8375 - interfaces/many: miscellaneous updates based on feedback from the 8376 field 8377 - snap-confine: allow reading uevents from any where in /sys 8378 - spread: add bionic beaver 8379 - debian: make packaging/ubuntu-14.04/copyright a real file again 8380 - tests: cherry pick the fix for services test into 2.29 8381 - cmd/snap-update-ns: initialize logger 8382 - hooks/configure: queue service restarts 8383 - snap-{confine,seccomp}: make @unrestricted fully unrestricted 8384 - interfaces: clean system apparmor cache on core device 8385 - debian: do not build static snap-exec on powerpc 8386 - snap-confine: increase sanity_timeout to 6s 8387 - snapctl: cherry pick service commands changes 8388 - cmd/snap: tell translators about arg names and descs req's 8389 - systemd: run all mount units before snapd.service to avoid race 8390 - store: add a test to show auth failures are forwarded by doRequest 8391 - daemon: convert ErrInvalidCredentials to a 401 Unauthorized error. 8392 - store: forward on INVALID_CREDENTIALS error as 8393 ErrInvalidCredentials 8394 - daemon: generate a forbidden response message if polkit dialog is 8395 dismissed 8396 - daemon: Allow Polkit authorization to cancel changes. 8397 - travis: switch to container based test runs 8398 - interfaces: reduce duplicated code in interface tests mocks 8399 - tests: improve revert related testing 8400 - interfaces: sanitize plugs and slots early in ReadInfo 8401 - store: add download caching 8402 - preserve TMPDIR and HOSTALIASES across snap-confine invocation 8403 - snap-confine: init all arrays with `= {0,}` 8404 - tests: adding test for network-manager interface 8405 - interfaces/mount: don't generate legacy per-hook/per-app mount 8406 profiles 8407 - snap: introduce structured epochs 8408 - tests: fix interfaces-cups-control test for cups-2.2.5 8409 - snap-confine: cleanup incorrectly created nvidia udev tags 8410 - cmd/snap-confine: update valid security tag regexp 8411 - cmd/libsnap: enable two stranded tests 8412 - cmd,packaging: enable apparmor on openSUSE 8413 - overlord/ifacestate: refresh all security backends on startup 8414 - interfaces/dbus: drop unneeded check for 8415 release.ReleaseInfo.ForceDevMode 8416 - dbus: ensure io.snapcraft.Launcher.service is created on re- 8417 exec 8418 - overlord/auth: continue for now supporting UBUNTU_STORE_ID if the 8419 model is generic-classic 8420 - snap-confine: add support for handling /dev/nvidia-modeset 8421 - interfaces/network-control: remove incorrect rules for tun 8422 - spread: allow setting SPREAD_DEBUG_EACH=0 to disable debug-each 8423 section 8424 - packaging: remove .mnt files on removal 8425 - tests: fix econnreset scenario when the iptables rule was not 8426 created 8427 - tests: add test for lxd interface 8428 - run-checks: use nakedret static checker to check for naked 8429 returns on long functions 8430 - progress: be more flexible in testing ansimeter 8431 - interfaces: fix udev rules for tun 8432 - many: implement our own ANSI-escape-using progress indicator 8433 - snap-exec: update tests to follow main_test pattern 8434 - snap: support "command: foo $ENV_STRING" 8435 - packaging: update nvidia configure options 8436 - snap: add new `snap pack` and use in tests 8437 - cmd: correctly name the "Ubuntu" and "Arch" NVIDIA methods 8438 - cmd: add autogen case for solus 8439 - tests: do not use http://canihazip.com/ which appears to be down 8440 - hooks: commands for controlling own services from snapctl 8441 - snap: refactor cmdGet.Execute() 8442 - interfaces/mount: make Change.Perform testable and test it 8443 - interfaces/mount,cmd/snap-update-ns: move change code 8444 - snap-confine: is_running_on_classic_distribution() looks into os- 8445 release 8446 - interfaces: misc updates for default, browser-support, home and 8447 system-observe 8448 - interfaces: deny lttng by default 8449 - interfaces/lxd: lxd slot implementation can also be an app snap 8450 - release,cmd,dirs: Redo the distro checks to take into account 8451 distribution families 8452 - cmd/snap: completion for alias and unalias 8453 - snap-confine: add new SC_CLEANUP and use it 8454 - snap: refrain from running filepath.Base on random strings 8455 - cmd/snap-confine: put processes into freezer hierarchy 8456 - wrappers: fail install if exec-line cannot be re-written 8457 - cmd/snap-seccomp,osutil: make user/group lookup functions public 8458 - snapstate: deal with snap user data in the /root/ directory 8459 - interfaces: Enhance full-confinement support for biarch 8460 distributions 8461 - snap-confine: Only attempt to copy/mount NVIDIA libs when NVIDIA 8462 is used 8463 - packaging/fedora: Add Fedora 26, 27, and Rawhide symlinks 8464 - overlord/snapstate: prefer a smaller corner case for doing the 8465 wrong thing 8466 - cmd/snap-repair: set user agent for snap-repair http requests 8467 - packaging: bring down the delta between 14.04 and 16.04 8468 - snap-confine: Ensure lib64 biarch directory is respected 8469 - snap-confine: update apparmor rules for fedora based base snaps 8470 - tests: Increase SNAPD_CONFIGURE_HOOK_TIMEOUT to 3 minutes to 8471 install real snaps 8472 - daemon: use client.Snap instead of map[string]interface{} for 8473 snaps. 8474 - hooks: rename refresh hook to post-refresh 8475 - git: make the .gitingore file a bit more targeted 8476 - interfaces/opengl: don't udev tag nvidia devices and use snap- 8477 confine instead 8478 - cmd/snap-{confine,update-ns}: apply mount profiles using snap- 8479 update-ns 8480 - cmd: update "make hack" 8481 - interfaces/system-observe: allow clients to enumerate DBus 8482 connection names 8483 - snap-repair: implement `snap-repair {list,show}` 8484 - dirs,interfaces: create snap-confine.d on demand when re-executing 8485 - snap-confine: fix base snaps on core 8486 - cmd/snap-repair: fix tests when running as root 8487 - interfaces: add Connection type 8488 - cmd/snap-repair: skip disabled repairs 8489 - cmd/snap-repair: prefer leaking unmanaged fds on test failure over 8490 closing random ones 8491 - snap-repair: make `repair` binary available for repair scripts 8492 - snap-repair: fix missing Close() in TestStatusHappy 8493 - cmd/snap-confine,packaging: import snapd-generated policy 8494 - cmd/snap: return empty document if snap has no configuration 8495 - snap-seccomp: run secondary-arch tests via gcc-multilib 8496 - snap: implement `snap {repair,repairs}` and pass-through to snap- 8497 repair 8498 - interfaces/builtin: allow receiving dbus messages 8499 - snap-repair: implement `snap-repair {done,skip,retry}` 8500 - data/completion: small tweak to snap completion snippet 8501 - dirs: fix classic support detection 8502 - cmd/snap-repair: integrate root public keys for repairs 8503 - tests: fix ubuntu core services 8504 - tests: add new test that checks that the compat snapd-xdg-open 8505 works 8506 - snap-confine: improve error message if core/u-core cannot be found 8507 - tests: only run tests/regression/nmcli on amd64 8508 - interfaces: mount host system fonts in desktop interface 8509 - interfaces: enable partial apparmor support 8510 - snapstate: auto-install missing base snaps 8511 - spread: work around temporary packaging issue in debian sid 8512 - asserts,cmd/snap-repair: introduce a mandatory summary for repairs 8513 - asserts,cmd/snap-repair: represent RepairID internally as an int 8514 - tests: test the real "xdg-open" from the core snap 8515 - many: implement fetching sections and package names periodically. 8516 - interfaces/network: allow using netcat as client 8517 - snap-seccomp, osutil: use osutil.AtomicFile in snap-seccomp 8518 - snap-seccomp: skip mknod syscall on arm64 8519 - tests: add trivial canonical-livepatch test 8520 - tests: add test that ensures that all core services are working 8521 - many: add logger.MockLogger() and use it in the tests 8522 - snap-repair: fix test failure in TestRepairHitsTimeout 8523 - asserts: add empty values check in HeadersFromPrimaryKey 8524 - daemon: remove unused installSnap var in test 8525 - daemon: reach for Overlord.Loop less thanks to overlord.Mock 8526 - snap-seccomp: manually resolve socket() call in tests 8527 - tests: change regex used to validate installed ubuntu core snap 8528 - cmd/snapctl: allow snapctl -h without a context (regression fix). 8529 - many: use snapcore/snapd/i18n instead of i18n/dumb 8530 - many: introduce asserts.NotFoundError replacing both ErrNotFound 8531 and store.AssertionNotFoundError 8532 - packaging: don't include any marcos in comments 8533 - overlord: use overlord.Mock in more tests, make sure we check the 8534 outcome of Settle 8535 - tests: try to fix staging tests 8536 - store: simplify api base url config 8537 - systemd: add systemd.MockJournalctl() 8538 - many: provide systemd.MockSystemctl() helper 8539 - tests: improve the listing test to not fail for e.g. 2.28~rc2 8540 - snapstate: give snapmgrTestSuite.settle() more time to settle 8541 - tests: fix regex to check core version on snap list 8542 - debian: update trusted account-keys check on 14.04 packaging 8543 - interfaces: add udev netlink support to hardware-observe 8544 - overlord: introduce Mock which enables to use Overlord.Settle for 8545 settle in many more places 8546 - snap-repair: execute the repair and capture logs/status 8547 - tests: run the tests/unit/go everywhere 8548 - daemon, snapstate: move ensureCore from daemon/api.go into 8549 snapstate.go 8550 - cmd/snap: get keys or root document 8551 - spread.yaml: turn suse to manual given that it's breaking master 8552 - many: configure store from state, reconfigure store at runtime 8553 - osutil: AtomicWriter (an io.Writer), and io.Reader versions of 8554 AtomicWrite* 8555 - tests: check for negative syscalls in runBpf() and skip those 8556 tests 8557 - docs: use abolute path in PULL_REQUEST_TEMPLATE.md 8558 - store: move device auth endpoint uris to config (#3831) 8559 8560 * Sat Oct 14 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.5-2 8561 - Properly fix the build for Fedora 25 8562 - Incorporate misc build fixes 8563 8564 * Sat Oct 14 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.5-1 8565 - Release 2.28.5 to Fedora (RH#1502186) 8566 - Build snap-exec and snap-update-ns statically to support base snaps 8567 8568 * Fri Oct 13 2017 Michael Vogt <mvo@ubuntu.com> 8569 - New upstream release 2.28.5 8570 - snap-confine: cleanup broken nvidia udev tags 8571 - cmd/snap-confine: update valid security tag regexp 8572 - overlord/ifacestate: refresh udev backend on startup 8573 - dbus: ensure io.snapcraft.Launcher.service is created on re- 8574 exec 8575 - snap-confine: add support for handling /dev/nvidia-modeset 8576 - interfaces/network-control: remove incorrect rules for tun 8577 8578 * Thu Oct 12 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.4-1 8579 - Release 2.28.4 to Fedora (RH#1501141) 8580 - Drop distro check backport patches (released with 2.28.2) 8581 8582 * Wed Oct 11 2017 Michael Vogt <mvo@ubuntu.com> 8583 - New upstream release 2.28.4 8584 - interfaces/opengl: don't udev tag nvidia devices and use snap- 8585 confine instead 8586 - debian: fix replaces/breaks for snap-xdg-open (thanks to apw!) 8587 8588 * Wed Oct 11 2017 Michael Vogt <mvo@ubuntu.com> 8589 - New upstream release 2.28.3 8590 - interfaces/lxd: lxd slot implementation can also be an app 8591 snap 8592 8593 * Tue Oct 10 2017 Michael Vogt <mvo@ubuntu.com> 8594 - New upstream release 2.28.2 8595 - interfaces: fix udev rules for tun 8596 - release,cmd,dirs: Redo the distro checks to take into account 8597 distribution families 8598 8599 * Sun Oct 08 2017 Neal Gompa <ngompa13@gmail.com> - 2.28.1-1 8600 - Release 2.28.1 to Fedora (RH#1495852) 8601 - Drop userd backport patches, they are part of 2.28 release 8602 - Backport changes to rework distro checks to fix derivative distro usage of snapd 8603 - Revert import path change for cheggaaa/pb as it breaks build on Fedora 8604 - Add a posttrans relabel to snapd-selinux to ensure everything is labeled correctly 8605 8606 * Wed Sep 27 2017 Michael Vogt <mvo@ubuntu.com> 8607 - New upstream release 2.28.1 8608 - snap-confine: update apparmor rules for fedora based basesnaps 8609 - snapstate: rename refresh hook to post-refresh for consistency 8610 8611 * Mon Sep 25 2017 Michael Vogt <mvo@ubuntu.com> 8612 - New upstream release 2.28 8613 - hooks: rename refresh to after-refresh 8614 - snap-confine: bind mount /usr/lib/snapd relative to snap-confine 8615 - cmd,dirs: treat "liri" the same way as "arch" 8616 - snap-confine: fix base snaps on core 8617 - hooks: substitute env vars when executing hooks 8618 - interfaces: updates for default, browser-support, desktop, opengl, 8619 upower and stub-resolv.conf 8620 - cmd,dirs: treat manjaro the same as arch 8621 - systemd: do not run auto-import and repair services on classic 8622 - packaging/fedora: Ensure vendor/ is empty for builds and fix spec 8623 to build current master 8624 - many: fix TestSetConfNumber missing an Unlock and other fragility 8625 improvements 8626 - osutil: adjust StreamCommand tests for golang 1.9 8627 - daemon: allow polkit authorisation to install/remove snaps 8628 - tests: make TestCmdWatch more robust 8629 - debian: improve package description 8630 - interfaces: add netlink kobject uevent to hardware observe 8631 - debian: update trusted account-keys check on 14.04 packaging 8632 - interfaces/network-{control,observe}: allow receiving 8633 kobject_uevent() messages 8634 - tests: fix lxd test for external backend 8635 - snap-confine,snap-update-ns: add -no-pie to fix FTBFS on 8636 go1.7,ppc64 8637 - corecfg: mock "systemctl" in all corecfg tests 8638 - tests: fix unit tests on Ubuntu 14.04 8639 - debian: add missing flags when building static snap-exec 8640 - many: end-to-end support for the bare base snap 8641 - overlord/snapstate: SetRootDir from SetUpTest, not in just some 8642 tests 8643 - store: have an ad-hoc method on cfg to get its list of uris for 8644 tests 8645 - daemon: let client decide whether to allow interactive auth via 8646 polkit 8647 - client,daemon,snap,store: add license field 8648 - overlord/snapstate: rename HasCurrent to IsInstalled, remove 8649 superfluous/misleading check from All 8650 - cmd/snap: SetRootDir from SetUpTest, not in just some individual 8651 tests. 8652 - systemd: rename snap-repair.{service,timer} to snapd.snap- 8653 repair.{service,timer} 8654 - snap-seccomp: remove use of x/net/bpf from tests 8655 - httputil: more naive per go version way to recreate a default 8656 transport for tls reconfig 8657 - cmd/snap-seccomp/main_test.go: add one more syscall for arm64 8658 - interfaces/opengl: use == to compare, not = 8659 - cmd/snap-seccomp/main_test.go: add syscalls for armhf and arm64 8660 - cmd/snap-repair: track and use a lower bound for the time for 8661 TLS checks 8662 - interfaces: expose bluez interface on classic OS 8663 - snap-seccomp: add in-kernel bpf tests 8664 - overlord: always try to get a serial, lazily on classic 8665 - tests: add nmcli regression test 8666 - tests: deal with __PNR_chown on aarch64 to fix FTBFS on arm64 8667 - tests: add autopilot-introspection interface test 8668 - vendor: fix artifact from manually editing vendor/vendor.json 8669 - tests: rename complexion to test-snapd-complexion 8670 - interfaces: add desktop and desktop-legacy 8671 interfaces/desktop: add new 'desktop' interface for modern DEs* 8672 interfaces/builtin/desktop_test.go: use modern testing techniques* 8673 interfaces/wayland: allow read on /etc/drirc for Plasma desktop* 8674 interfaces/desktop-legacy: add new 'legacy' interface (currently 8675 for a11y and input) 8676 - tests: fix race in snap userd test 8677 - devices/iio: add read/write for missing sysfs entries 8678 - spread: don't set HTTPS?_PROXY for linode 8679 - cmd/snap-repair: check signatures of repairs from Next 8680 - env: set XDG_DATA_DIRS for wayland et.al. 8681 - interfaces/{default,account-control}: Use username/group instead 8682 of uid/gid 8683 - interfaces/builtin: use udev tagging more broadly 8684 - tests: add basic lxd test 8685 - wrappers: ensure bash completion snaps install on core 8686 - vendor: use old golang.org/x/crypto/ssh/terminal to build on 8687 powerpc again 8688 - docs: add PULL_REQUEST_TEMPLATE.md 8689 - interfaces: fix network-manager plug 8690 - hooks: do not error out when hook is optional and no hook handler 8691 is registered 8692 - cmd/snap: add userd command to replace snapd-xdg-open 8693 - tests: new regex used to validate the core version on extra snaps 8694 ass... 8695 - snap: add new `snap switch` command 8696 - tests: wait more and more debug info about fakestore start issues 8697 - apparmor,release: add better apparmor detection/mocking code 8698 - interfaces/i2c: adjust sysfs rule for alternate paths 8699 - interfaces/apparmor: add missing call to dirs.SetRootDir 8700 - cmd: "make hack" now also installs snap-update-ns 8701 - tests: copy files with less verbosity 8702 - cmd/snap-confine: allow using additional libraries required by 8703 openSUSE 8704 - packaging/fedora: Merge changes from Fedora Dist-Git 8705 - snapstate: improve the error message when classic confinement is 8706 not supported 8707 - tests: add test to ensure amd64 can run i386 syscall binaries 8708 - tests: adding extra info for fakestore when fails to start 8709 - tests: install most important snaps 8710 - cmd/snap-repair: more test coverage of filtering 8711 - squashfs: remove runCommand/runCommandWithOutput as we do not need 8712 it 8713 - cmd/snap-repair: ignore superseded revisions, filter on arch and 8714 models 8715 - hooks: support for refresh hook 8716 - Partial revert "overlord/devicestate, store: update device auth 8717 endpoints URLs" 8718 - cmd/snap-confine: allow reading /proc/filesystems 8719 - cmd/snap-confine: genearlize apparmor profile for various lib 8720 layout 8721 - corecfg: fix proxy.* writing and add integration test 8722 - corecfg: deal with system.power-key-action="" correctly 8723 - vendor: update vendor.json after (presumed) manual edits 8724 - cmd/snap: in `snap info`, don't print a newline between tracks 8725 - daemon: add polkit support to /v2/login 8726 - snapd,snapctl: decode json using Number 8727 - client: fix go vet 1.7 errors 8728 - tests: make 17.04 shellcheck clean 8729 - tests: remove TestInterfacesHelp as it breaks when go-flags 8730 changes 8731 - snapstate: undo a daemon restart on classic if needed 8732 - cmd/snap-repair: recover brand/model from 8733 /var/lib/snapd/seed/assertions checking signatures and brand 8734 account 8735 - spread: opt into unsafe IO during spread tests 8736 - snap-repair: update snap-repair/runner_test.go for API change in 8737 makeMockServer 8738 - cmd/snap-repair: skeleton code around actually running a repair 8739 - tests: wait until the port is listening after start the fake store 8740 - corecfg: fix typo in tests 8741 - cmd/snap-repair: test that redirects works during fetching 8742 - osutil: honor SNAPD_UNSAFE_IO for testing 8743 - vendor: explode and make more precise our golang.go/x/crypto deps, 8744 use same version as Debian unstable 8745 - many: sanitize NewStoreStack signature, have shared default store 8746 test private keys 8747 - systemd: disable `Nice=-5` to fix error when running inside lxd 8748 - spread.yaml: update delta ref to 2.27 8749 - cmd/snap-repair: use E-Tags when refetching a repair to retry 8750 - interfaces/many: updates based on chromium and mrrescue denials 8751 - cmd/snap-repair: implement most logic to get the next repair to 8752 run/retry in a brand sequence 8753 - asserts/assertstest: copy headers in SigningDB.Sign 8754 - interfaces: convert uhid to common interface and test cases 8755 improvement for time_control and opengl 8756 - many tests: move all panicing fake store methods to a common place 8757 - asserts: add store assertion type 8758 - interfaces: don't crash if content slot has no attributes 8759 - debian: do not build with -buildmode=pie on i386 8760 - wrappers: symlink completion snippets when symlinking binaries 8761 - tests: adding more debug information for the interfaces-cups- 8762 control … 8763 - apparmor: pass --quiet to parser on load unless SNAPD_DEBUG is set 8764 - many: allow and support serials signed by the 'generic' authority 8765 instead of the brand 8766 - corecfg: add proxy configuration via `snap set core 8767 proxy.{http,https,ftp}=...` 8768 - interfaces: a bunch of interfaces test improvement 8769 - tests: enable regression and completion suites for opensuse 8770 - tests: installing snapd for nested test suite 8771 - interfaces: convert lxd_support to common iface 8772 - interfaces: add missing test for camera interface. 8773 - snap: add support for parsing snap layout section 8774 - cmd/snap-repair: like for downloads we cannot have a timeout (at 8775 least for now), less aggressive retry strategies 8776 - overlord: rely on more conservative ensure interval 8777 - overlord,store: no piles of return args for methods gathering 8778 device session request params 8779 - overlord,store: send model assertion when setting up device 8780 sessions 8781 - interfaces/misc: updates for unity7/x11, browser- 8782 support, network-control and mount-observe 8783 interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 8784 interfaces/browser-support: update sysfs reads for 8785 newer browser versions, interfaces/network-control: rw for 8786 ieee80211 advanced wireless interfaces/mount-observe: allow read 8787 on sysfs entries for block devices 8788 - tests: use dnf --refresh install to avert stale cache 8789 - osutil: ensure TestLockUnlockWorks uses supported flock 8790 - interfaces: convert lxd to common iface 8791 - tests: restart snapd to ensure re-exec settings are applied 8792 - tests: fix interfaces-cups-control test 8793 - interfaces: improve and tweak bunch of interfaces test cases. 8794 - tests: adding extra worker for fedora 8795 - asserts,overlord/devicestate: support predefined assertions that 8796 don't establish foundational trust 8797 - interfaces: convert two hardware_random interfaces to common iface 8798 - interfaces: convert io_ports_control to common iface 8799 - tests: fix for upgrade test on fedora 8800 - daemon, client, cmd/snap: implement snap start/stop/restart 8801 - cmd/snap-confine: set _FILE_OFFSET_BITS to 64 8802 - interfaces: covert framebuffer to commonInterface 8803 - interfaces: convert joystick to common iface 8804 - interfaces/builtin: add the spi interface 8805 - wrappers, overlord/snapstate/backend: make link-snap clean up on 8806 failure. 8807 - interfaces/wayland: add wayland interface 8808 - interfaces: convert kvm to common iface 8809 - tests: extend upower-observe test to cover snaps providing slots 8810 - tests: enable main suite for opensuse 8811 - interfaces: convert physical_memory_observe to common iface 8812 - interfaces: add missing test for optical_drive interface. 8813 - interfaces: convert physical_memory_control to common iface 8814 - interfaces: convert ppp to common iface 8815 - interfaces: convert time-control to common iface 8816 - tests: fix failover test 8817 - interfaces/builtin: rework for avahi interface 8818 - interfaces: convert broadcom-asic-control to common iface 8819 - snap/snapenv: document the use of CoreSnapMountDir for SNAP 8820 - packaging/arch: drop patches merged into master 8821 - cmd: fix mustUnsetenv docstring (thanks to Chipaca) 8822 - release: remove default from VERSION_ID 8823 - tests: enable regression, upgrade and completion test suites for 8824 fedora 8825 - tests: restore interfaces-account-control properly 8826 - overlord/devicestate, store: update device auth endpoints URLs 8827 - tests: fix install-hook test failure 8828 - tests: download core and ubuntu-core at most once 8829 - interfaces: add common support for udev 8830 - overlord/devicestate: fix, don't assume that the serial is backed 8831 by a 1-key chain 8832 - cmd/snap-confine: don't share /etc/nsswitch from host 8833 - store: do not resume a download when we already have the whole 8834 thing 8835 - many: implement "snap logs" 8836 - store: don't call useDeltas() twice in quick succession 8837 - interfaces/builtin: add kvm interface 8838 - snap/snapenv: always expect /snap for $SNAP 8839 - cmd: mark arch as non-reexecing distro 8840 - cmd: fix tests that assume /snap mount 8841 - gitignore: ignore more build artefacts 8842 - packaging: add current arch packaging 8843 - interfaces/unity7: allow receiving media key events in (at least) 8844 gnome-shell 8845 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 8846 - interfaces/builtin: implement broadcom-asic-control interface 8847 - interfaces/builtin: reduce duplication and remove cruft in 8848 Sanitize{Plug,Slot} 8849 - tests: apply underscore convention for SNAPMOUNTDIR variable 8850 - interfaces/greengrass-support: adjust accesses now that have 8851 working snap 8852 - daemon, client, cmd/snap: implement "snap services" 8853 - tests: fix refresh tests not stopping fake store for fedora 8854 - many: add the interface command 8855 - overlord/snapstate/backend: some copydata improvements 8856 - many: support querying and completing assertion type names 8857 - interfaces/builtin: discard empty Validate{Plug,Slot} 8858 - cmd/snap-repair: start of Runner, implement first pass of Peek 8859 and Fetch 8860 - tests: enable main suite on fedora 8861 - snap: do not always quote the snap info summary 8862 - vendor: update go-flags to address crash in "snap debug" 8863 - interfaces: opengl support pci device and vendor 8864 - many: start implenting "base" snap type on the snapd side 8865 - arch,release: map armv6 correctly 8866 - many: expose service status in 'snap info' 8867 - tests: add browser-support interface test 8868 - tests: disable snapd-notify for the external backend 8869 - interfaces: Add /run/uuid/request to openvswitch 8870 - interfaces: add password-manager-service implicit classic 8871 interface 8872 - cmd: rework reexec detection 8873 - cmd: fix re-exec bug when starting from snapd 2.21 8874 - tests: dependency packages installed during prepare-project 8875 - tests: remove unneeded check for re-exec in InternalToolPath() 8876 - cmd,tests: fix classic confinement confusing re-execution code 8877 - store: configurable base api 8878 - tests: fix how package lists are updated for opensuse and fedora 8879 8880 * Sun Sep 10 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.6-1 8881 - Release 2.27.6 to Fedora (RH#1489437) 8882 8883 * Thu Sep 07 2017 Michael Vogt <mvo@ubuntu.com> 8884 - New upstream release 2.27.6 8885 - interfaces: add udev netlink support to hardware-observe 8886 - interfaces/network-{control,observe}: allow receiving 8887 kobject_uevent() messages 8888 8889 * Mon Sep 04 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.5-1 8890 - Release 2.27.5 to Fedora (RH#1483177) 8891 - Backport userd from upstream to support xdg-open 8892 8893 * Wed Aug 30 2017 Michael Vogt <mvo@ubuntu.com> 8894 - New upstream release 2.27.5 8895 - interfaces: fix network-manager plug regression 8896 - hooks: do not error when hook handler is not registered 8897 - interfaces/alsa,pulseaudio: allow read on udev data for sound 8898 - interfaces/optical-drive: read access to udev data for /dev/scd* 8899 - interfaces/browser-support: read on /proc/vmstat and misc udev 8900 data 8901 8902 * Thu Aug 24 2017 Michael Vogt <mvo@ubuntu.com> 8903 - New upstream release 2.27.4 8904 - snap-seccomp: add secondary arch for unrestricted snaps as well 8905 8906 * Fri Aug 18 2017 Michael Vogt <mvo@ubuntu.com> 8907 - New upstream release 2.27.3 8908 - systemd: disable `Nice=-5` to fix error when running inside lxdSee 8909 https://bugs.launchpad.net/snapd/+bug/1709536 8910 8911 * Wed Aug 16 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.2-2 8912 - Bump to rebuild for F27 and Rawhide 8913 8914 * Wed Aug 16 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.2-1 8915 - Release 2.27.2 to Fedora (RH#1482173) 8916 8917 * Wed Aug 16 2017 Michael Vogt <mvo@ubuntu.com> 8918 - New upstream release 2.27.2 8919 - tests: remove TestInterfacesHelp as it breaks when go-flags 8920 changes 8921 - interfaces: don't crash if content slot has no attributes 8922 - debian: do not build with -buildmode=pie on i386 8923 - interfaces: backport broadcom-asic-control interface 8924 - interfaces: allow /usr/bin/xdg-open in unity7 8925 - store: do not resume a download when we already have the whole 8926 thing 8927 8928 * Mon Aug 14 2017 Neal Gompa <ngompa13@gmail.com> - 2.27.1-1 8929 - Release 2.27.1 to Fedora (RH#1481247) 8930 8931 * Mon Aug 14 2017 Michael Vogt <mvo@ubuntu.com> 8932 - New upstream release 2.27.1 8933 - tests: use dnf --refresh install to avert stale cache 8934 - tests: fix test failure on 14.04 due to old version of 8935 flock 8936 - updates for unity7/x11, browser-support, network-control, 8937 mount-observe 8938 - interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT 8939 - interfaces/browser-support: update sysfs reads for 8940 newer browser versions 8941 - interfaces/network-control: rw for ieee80211 advanced wireless 8942 - interfaces/mount-observe: allow read on sysfs entries for block 8943 devices 8944 8945 * Thu Aug 10 2017 Neal Gompa <ngompa13@gmail.com> - 2.27-1 8946 - Release 2.27 to Fedora (RH#1458086) 8947 8948 * Thu Aug 10 2017 Michael Vogt <mvo@ubuntu.com> 8949 - New upstream release 2.27 8950 - fix build failure on 32bit fedora 8951 - interfaces: add password-manager-service implicit classic interface 8952 - interfaces/greengrass-support: adjust accesses now that have working 8953 snap 8954 - interfaces/many, cmd/snap-confine: miscellaneous policy updates 8955 - interfaces/unity7: allow receiving media key events in (at least) 8956 gnome-shell 8957 - cmd: fix re-exec bug when starting from snapd 2.21 8958 - tests: restore interfaces-account-control properly 8959 - cmd: fix tests that assume /snap mount 8960 - cmd: mark arch as non-reexecing distro 8961 - snap-confine: don't share /etc/nsswitch from host 8962 - store: talk to api.snapcraft.io for purchases 8963 - hooks: support for install and remove hooks 8964 - packaging: fix Fedora support 8965 - tests: add bluetooth-control interface test 8966 - store: talk to api.snapcraft.io for assertions 8967 - tests: remove snapd before building from branch 8968 - tests: add avahi-observe interface test 8969 - store: orders API now checks if customer is ready 8970 - cmd/snap: snap find only searches stable 8971 - interfaces: updates default, mir, optical-observe, system-observe, 8972 screen-inhibit-control and unity7 8973 - tests: speedup prepare statement part 1 8974 - store: do not send empty refresh requests 8975 - asserts: fix error handling in snap-developer consistency check 8976 - systemd: add explicit sync to snapd.core-fixup.sh 8977 - snapd: generate snap cookies on startup 8978 - cmd,client,daemon: expose "force devmode" in sysinfo 8979 - many: introduce and use strutil.ListContains and also 8980 strutil.SortedListContains 8981 - assserts,overlord/assertstate: test we don't accept chains of 8982 assertions founded on a self-signed key coming externally 8983 - interfaces: enable access to bridge settings 8984 - interfaces: fix copy-pasted iio vs io in io-ports-control 8985 - cmd/snap-confine: various small fixes and tweaks to seccomp 8986 support code 8987 - interfaces: bring back seccomp argument filtering 8988 - systemd, osutil: rework systemd logs in preparation for services 8989 commands 8990 - tests: store /etc/systemd/system/snap-*core*.mount in snapd- 8991 state.tar.gz 8992 - tests: shellcheck improvements for tests/main tasks - first set of 8993 tests 8994 - cmd/snap: `--last` for abort and watch, and aliases 8995 (search→find, change→tasks) 8996 - tests: shellcheck improvements for tests/lib scripts 8997 - tests: create ramdisk if it's not present 8998 - tests: shellcheck improvements for nightly upgrade and regressions 8999 tests 9000 - snapd: fix for snapctl get panic on null config values. 9001 - tests: fix for rng-tools service not restarting 9002 - systemd: add snapd.core-fixup.service unit 9003 - cmd: avoid using current symlink in InternalToolPath 9004 - tests: fix timeout issue for test refresh core with hanging … 9005 - intefaces: control bridged vlan/ppoe-tagged traffic 9006 - cmd/snap: include snap type in notes 9007 - overlord/state: Abort() only visits each task once 9008 - tests: extend find-private test to cover more cases 9009 - snap-seccomp: skip socket() tests on systems that use socketcall() 9010 instead of socket() 9011 - many: support snap title as localized/title-cased name 9012 - snap-seccomp: deal with mknod on aarch64 in the seccomp tests 9013 - interfaces: put base policy fragments inside each interface 9014 - asserts: introduce NewDecoderWithTypeMaxBodySize 9015 - tests: fix snapd-notify when it takes more time to restart 9016 - snap-seccomp: fix snap-seccomp tests in artful 9017 - tests: fix for create-key task to avoid rng-tools service ramains 9018 alive 9019 - snap-seccomp: make sure snap-seccomp writes the bpf file 9020 atomically 9021 - tests: do not disable ipv6 on core systems 9022 - arch: the kernel architecture name is armv7l instead of armv7 9023 - snap-confine: ensure snap-confine waits some seconds for seccomp 9024 security profiles 9025 - tests: shellcheck improvements for tests/nested tasks 9026 - wrappers: add SyslogIdentifier to the service unit files. 9027 - tests: shellcheck improvements for unit tasks 9028 - asserts: implement FindManyTrusted as well 9029 - asserts: open up and optimize Encoder to help avoiding unnecessary 9030 copying 9031 - interfaces: simplify snap-confine by just loading pre-generated 9032 bpf code 9033 - tests: restart rng-tools services after few seconds 9034 - interfaces, tests: add mising dbus abstraction to system-observe 9035 and extend spread test 9036 - store: change main store host to api.snapcraft.io 9037 - overlord/cmdstate: new package for running commands as tasks. 9038 - spread: help libapt resolve installing libudev-dev 9039 - tests: show the IP from .travis.yaml 9040 - tests/main: use pkgdb function in more test cases 9041 - cmd,daemon: add debug command for displaying the base policy 9042 - tests: prevent quoting error on opensuse 9043 - tests: fix nightly suite 9044 - tests: add linode-sru backend 9045 - snap-confine: validate SNAP_NAME against security tag 9046 - tests: fix ipv6 disable for ubuntu-core 9047 - tests: extend core-revert test to cover bluez issues 9048 - interfaces/greengrass-support: add support for Amazon Greengrass 9049 as a snap 9050 - asserts: support timestamp and optional disabled header on repair 9051 - tests: reboot after upgrading to snapd on the -proposed pocket 9052 - many: fix test cases to work with different DistroLibExecDir 9053 - tests: reenable help test on ubuntu and debian systems 9054 - packaging/{opensuse,fedora}: allow package build with testkeys 9055 included 9056 - tests/lib: generalize RPM build support 9057 - interfaces/builtin: sync connected slot and permanent slot snippet 9058 - tests: fix snap create-key by restarting automatically rng-tools 9059 - many: switch to use http numeric statuses as agreed 9060 - debian: add missing Type=notify in 14.04 packaging 9061 - tests: mark interfaces-openvswitch as manual due to prepare errors 9062 - debian: unify built_using between the 14.04 and 16.04 packaging 9063 branch 9064 - tests: pull from urandom when real entropy is not enough 9065 - tests/main/manpages: install missing man package 9066 - tests: add refresh --time output check 9067 - debian: add missing "make -C data/systemd clean" 9068 - tests: fix for upgrade test when it is repeated 9069 - tests/main: use dir abstraction in a few more test cases 9070 - tests/main: check for confinement in a few more interface tests 9071 - spread: add fedora snap bin dir to global PATH 9072 - tests: check that locale-control is not present on core 9073 - many: snapctl outside hooks 9074 - tests: add whoami check 9075 - interfaces: compose the base declaration from interfaces 9076 - tests: fix spread flaky tests linode 9077 - tests,packaging: add package build support for openSUSE 9078 - many: slight improvement of some snap error messaging 9079 - errtracker: Include /etc/apparmor.d/usr.lib.snap-confine md5sum in 9080 err reports 9081 - tests: fix for the test postrm-purge 9082 - tests: restoring the /etc/environment and service units config for 9083 each test 9084 - daemon: make snapd a "Type=notify" daemon and notify when startup 9085 is done 9086 - cmd/snap-confine: add support for --base snap 9087 - many: derive implicit slots from interface meta-data 9088 - tests: add core revert test 9089 - tests,packaging: add package build support for Fedora for our 9090 spread setup 9091 - interfaces: move base declaration to the policy sub-package 9092 - tests: fix for snapd-reexec test cheking for restart info on debug 9093 log 9094 - tests: show available entropy on error 9095 - tests: clean journalctl logs on trusty 9096 - tests: fix econnreset on staging 9097 - tests: modify core before calling set 9098 - tests: add snap-confine privilege test 9099 - tests: add staging snap-id 9100 - interfaces/builtin: silence ptrace denial for network-manager 9101 - tests: add alsa interface spread test 9102 - tests: prefer ipv4 over ipv6 9103 - tests: fix for econnreset test checking that the download already 9104 started 9105 - httputil,store: extract retry code to httputil, reorg usages 9106 - errtracker: report if snapd did re-execute itself 9107 - errtracker: include bits of snap-confine apparmor profile 9108 - tests: take into account staging snap-ids for snap-info 9109 - cmd: add stub new snap-repair command and add timer 9110 - many: stop "snap refresh $x --channel invalid" from working 9111 - interfaces: revert "interfaces: re-add reverted ioctl and quotactl 9112 - snapstate: consider connect/disconnect tasks in 9113 CheckChangeConflict. 9114 - interfaces: disable "mknod |N" in the default seccomp template 9115 again 9116 - interfaces,overlord/ifacestate: make sure installing slots after 9117 plugs works similarly to plugs after slots 9118 - interfaces/seccomp: add bind() syscall for forced-devmode systems 9119 - packaging/fedora: Sync packaging from Fedora Dist-Git 9120 - tests: move static and unit tests to spread task 9121 - many: error types should be called FooError, not ErrFoo. 9122 - partition: add directory sync to the save uboot.env file code 9123 - cmd: test everything (100% coverage \o/) 9124 - many: make shell scripts shellcheck-clean 9125 - tests: remove additional setup for docker on core 9126 - interfaces: add summary to each interface 9127 - many: remove interface meta-data from list of connections 9128 - logger (& many more, to accommodate): drop explicit syslog. 9129 - packaging: import packaging bits for opensuse 9130 - snapstate,many: implement snap install --unaliased 9131 - tests/lib: abstract build dependency installation a bit more 9132 - interfaces, osutil: move flock code from interfaces/mount to 9133 osutil 9134 - cmd: auto import assertions only from ext4,vfat file systems 9135 - many: refactor in preparation for 'snap start' 9136 - overlord/snapstate: have an explicit code path last-refresh 9137 unset/zero => immediately refresh try 9138 - tests: fixes for executions using the staging store 9139 - tests: use pollinate to seed the rng 9140 - cmd/snap,tests: show the sha3-384 of the snap for snap info 9141 --verbose SNAP-FILE 9142 - asserts: simplify and adjust repair assertion definition 9143 - cmd/snap,tests: show the snap id if available in snap info 9144 - daemon,overlord/auth: store from model assertion wins 9145 - cmd/snap,tests/main: add confinement switch instead of spread 9146 system blacklisting 9147 - many: cleanup MockCommands and don't leave a process around after 9148 hookstate tests 9149 - tests: update listing test to the core version number schema 9150 - interfaces: allow snaps to use the timedatectl utility 9151 - packaging: Add Fedora packaging files 9152 - tests/libs: add distro_auto_remove_packages function 9153 - cmd/snap: correct devmode note for anomalous state 9154 - tests/main/snap-info: use proper pkgdb functions to install distro 9155 packages 9156 - tests/lib: use mktemp instead of tempfile to work cross-distro 9157 - tests: abstract common dirs which differ on distributions 9158 - many: model and expose interface meta-data. 9159 - overlord: make config defaults from gadget work also at first boot 9160 - interfaces/log-observe: allow using journalctl from hostfs for 9161 classic distro 9162 - partition,snap: add support for android boot 9163 - errtracker: small simplification around readMachineID 9164 - snap-confine: move rm_rf_tmp to test-utils. 9165 - tests/lib: introduce pkgdb helper library 9166 - errtracker: try multiple paths to read machine-id 9167 - overlord/hooks: make sure only one hook for given snap is executed 9168 at a time. 9169 - cmd/snap-confine: use SNAP_MOUNT_DIR to setup /snap inside the 9170 confinement env 9171 - tests: bump kill-timeout and remove quiet call on build 9172 - tests/lib/snaps: add a test store snap with a passthrough 9173 configure hook 9174 - daemon: teach the daemon to wait on active connections when 9175 shutting down 9176 - tests: remove unit tests task 9177 - tests/main/completion: source from /usr/share/bash-completion 9178 - assertions: add "repair" assertion 9179 - interfaces/seccomp: document Backend.NewSpecification 9180 - wrappers: make StartSnapServices cleanup any services that were 9181 added if a later one fails 9182 - overlord/snapstate: avoid creating command aliases for daemons 9183 - vendor: remove unused packages 9184 - vendor,partition: fix panics from uenv 9185 - cmd,interfaces/mount: run snap-update-ns and snap-discard-ns from 9186 core if possible 9187 - daemon: do not allow to install ubuntu-core anymore 9188 - wrappers: service start/stop were inconsistent 9189 - tests: fix failing tests (snap core version, syslog changes) 9190 - cmd/snap-update-ns: add actual implementation 9191 - tests: improve entropy also for ubuntu 9192 - cmd/snap-confine: use /etc/ssl from the core snap 9193 - wrappers: don't convert between []byte and string needlessly. 9194 - hooks: default timeout 9195 - overlord/snapstate: Enable() was ignoring the flags from the 9196 snap's state, resulting in losing "devmode" on disable/enable. 9197 - difs,interfaces/mount: add support for locking namespaces 9198 - interfaces/mount: keep track of kept mount entries 9199 - tests/main: move a bunch of greps over to MATCH 9200 - interfaces/builtin: make all interfaces private 9201 - interfaces/mount: spell unmount correctly 9202 - tests: allow 16-X.Y.Z version of core snap 9203 - the timezone_control interface only allows changing /etc/timezone 9204 and /etc/writable/timezone. systemd-timedated also updated the 9205 link of /etc/localtime and /etc/writable/localtime ... allow 9206 access to this file too 9207 - cmd/snap-confine: aggregate operations holding global lock 9208 - api, ifacestate: resolve disconnect early 9209 - interfaces/builtin: ensure we don't register interfaces twice 9210 9211 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26.3-5 9212 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 9213 9214 * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.26.3-4 9215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 9216 9217 * Thu May 25 2017 Neal Gompa <ngompa13@gmail.com> - 2.26.3-3 9218 - Cover even more stuff for proper erasure on final uninstall (RH#1444422) 9219 9220 * Sun May 21 2017 Neal Gompa <ngompa13@gmail.com> - 2.26.3-2 9221 - Fix error in script for removing Snappy content (RH#1444422) 9222 - Adjust changelog bug references to be specific on origin 9223 9224 * Wed May 17 2017 Neal Gompa <ngompa13@gmail.com> - 2.26.3-1 9225 - Update to snapd 2.26.3 9226 - Drop merged and unused patches 9227 - Cover more Snappy content for proper erasure on final uninstall (RH#1444422) 9228 - Add temporary fix to ensure generated seccomp profiles don't break snapctl 9229 9230 * Mon May 01 2017 Neal Gompa <ngompa13@gmail.com> - 2.25-1 9231 - Update to snapd 2.25 9232 - Ensure all Snappy content is gone on final uninstall (RH#1444422) 9233 9234 * Tue Apr 11 2017 Neal Gompa <ngompa13@gmail.com> - 2.24-1 9235 - Update to snapd 2.24 9236 - Drop merged patches 9237 - Install snap bash completion and snapd info file 9238 9239 * Wed Apr 05 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-4 9240 - Test if snapd socket and timer enabled and start them if enabled on install 9241 9242 * Sat Apr 01 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-3 9243 - Fix profile.d generation so that vars aren't expanded in package build 9244 9245 * Fri Mar 31 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-2 9246 - Fix the overlapping file conflicts between snapd and snap-confine 9247 - Rework package descriptions slightly 9248 9249 * Thu Mar 30 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.6-1 9250 - Rebase to snapd 2.23.6 9251 - Rediff patches 9252 - Re-enable seccomp 9253 - Fix building snap-confine on 32-bit arches 9254 - Set ExclusiveArch based on upstream supported arch list 9255 9256 * Wed Mar 29 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.5-1 9257 - Rebase to snapd 2.23.5 9258 - Disable seccomp temporarily avoid snap-confine bugs (LP#1674193) 9259 - Use vendorized build for non-Fedora 9260 9261 * Mon Mar 13 2017 Neal Gompa <ngompa13@gmail.com> - 2.23.1-1 9262 - Rebase to snapd 2.23.1 9263 - Add support for vendored tarball for non-Fedora targets 9264 - Use merged in SELinux policy module 9265 9266 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-2 9267 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 9268 9269 * Wed Oct 19 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.16-1 9270 - New upstream release 9271 9272 * Tue Oct 18 2016 Neal Gompa <ngompa13@gmail.com> - 2.14-2 9273 - Add SELinux policy module subpackage 9274 9275 * Tue Aug 30 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.14-1 9276 - New upstream release 9277 9278 * Tue Aug 23 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.13-1 9279 - New upstream release 9280 9281 * Thu Aug 18 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.12-2 9282 - Correct license identifier 9283 9284 * Thu Aug 18 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.12-1 9285 - New upstream release 9286 9287 * Thu Aug 18 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-8 9288 - Add %%dir entries for various snapd directories 9289 - Tweak Source0 URL 9290 9291 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-7 9292 - Disable snapd re-exec feature by default 9293 9294 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-6 9295 - Don't auto-start snapd.socket and snapd.refresh.timer 9296 9297 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-5 9298 - Don't touch snapd state on removal 9299 9300 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-4 9301 - Use ExecStartPre to load squashfs.ko before snapd starts 9302 - Use dedicated systemd units for Fedora 9303 9304 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-3 9305 - Remove systemd preset (will be requested separately according to distribution 9306 standards). 9307 9308 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-2 9309 - Use Requires: kmod(squashfs.ko) instead of Requires: kernel-modules 9310 9311 * Tue Aug 16 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.11-1 9312 - New upstream release 9313 - Move private executables to /usr/libexec/snapd/ 9314 9315 * Fri Jun 24 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.9-2 9316 - Depend on kernel-modules to ensure that squashfs can be loaded. Load it afer 9317 installing the package. This hopefully fixes 9318 https://github.com/zyga/snapcore-fedora/issues/2 9319 9320 * Fri Jun 17 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.9 9321 - New upstream release 9322 https://github.com/snapcore/snapd/releases/tag/2.0.9 9323 9324 * Tue Jun 14 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.8.1 9325 - New upstream release 9326 9327 * Fri Jun 10 2016 Zygmunt Krynicki <me@zygoon.pl> - 2.0.8 9328 - First package for Fedora