github.com/kubiko/snapd@v0.0.0-20201013125620-d4f3094d9ddf/packaging/fedora/snapd.spec (about)

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