snappy:release/2.37

Last commit made on 2019-03-06
Get this branch:
git clone -b release/2.37 https://git.launchpad.net/snappy

Branch merges

Branch information

Name:
release/2.37
Repository:
lp:snappy

Recent commits

21782a0... by Michael Vogt

tests: check that apt works before using it

The lxd test is using apt unconditionally even on core devices.

Nowdays the apt wrapper on core devices will error when run so
the lxd test needs an update to ensure it only uses apt if apt
is actually usable.

The ubuntu-core-apt test also needs an update to check that
the exit code is correct.

6316bf8... by Michael Vogt

Merge pull request #6557 from bboozzoo/bboozzoo/hightest-fix-go-1.12-2.37

tests/main/high-user-handling: fix the test for Go 1.12 (2.37)

298ce6c... by Maciej Borzecki

tests/main/high-user-handling: fix the test for Go 1.12

Go 1.12 started using $HOME/.cache for keeping the built object cache. Since
we're using sudo -E, $HOME still points to /root. Instead of calling `go run`
which would build as the user, build the binary beforehand.

Signed-off-by: Maciej Borzecki <email address hidden>

896d405... by Samuele Pedroni

systemd: decrease the checker counter before unlocking otherwise it can reach 2+ and cause spurious panics

af063cb... by Michael Vogt

releasing package snapd version 2.37.4

8d28669... by Michael Vogt

squashfs: unset SOURCE_DATE_EPOCH in the TestBuildDate test

The SOURCE_DATE_EPOCH is used in reproducible builds and will
force mksquashfs to use a specific date. We need to unset it
for this specific test. It will be set on all debian/ubuntu
buildds.

This unbreaks debian and ubuntu/disco builds.

cc96f81... by Zygmunt Krynicki

Merge pull request #6544 from mvo5/fix-disconnect-upgrade-from-215-2.37

overlord/ifacestate: fix migration of connections on upgrade from ubuntu-core (2.37)

f617d8b... by Paweł Stołowski

overlord/ifacestate: fix migration of connections on upgrade from ubuntu-core (#6530)

The connections migration code for ubuntu-core -> core transition migrates connections stored in "conns" from ubuntu-core to core and reloads connections in the repo (via reloadConnections helper). It hower incorrectly calls reloadConnections for "ubuntu-core" snap under the assumption that reloadConnections takes care of full synchronization of conns -> repo and removes non-existing connections, which is not the case. So as a result we end up with correct "conns" but incorrect repo with for both "core" and "ubuntu-core" connection. This causes an error when we run "auto-disconnect" task on "ubuntu-core" removal - see https://paste.ubuntu.com/p/FcK6mx2SwZ/
The spread test updated with this PR uncovers the problem and reports the failure of migration without the fix (thanks Michael).

The fix explicitely removed connections of "ubuntu-core" from the repo as part of migration task, so that "conns" and "repo" are in sync.

17838b6... by Maciej Borzecki

Merge pull request #6537 from bboozzoo/bboozzoo/fix-upgrade-from-2.15-2.37

tests: fix upgrade-from-2.15 with kernel 4.15 (2.37)

9f48915... by Michael Vogt

Merge pull request #6536 from bboozzoo/bboozzoo/seccomp-precise-filter-2.37

interfaces/seccomp: increase filter precision (2.37)