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