~mvo/snapd/+git/snapd-mvo:release-2.37

Last commit made on 2019-01-16
Get this branch:
git clone -b release-2.37 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
release-2.37
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

b4caba2... by Michael Vogt

Merge remote-tracking branch 'upstream/master' into release-2.37

b64e1ca... by Sergio Cazzolato

Merge pull request #5887 from sergiocazzolato/tests-move-refresh-on-core

tests: moving core-snap-refresh-on-core test from main to nested suite

a7015ae... by Michael Vogt

releasing package snapd version 2.37

6bea6d9... by Michael Vogt

snapd: fix race in TestSanityFailGoesIntoDegradedMode test

Ensure the MockSanityCheck code runs at least *twice* to
avoid a race in the TestSanityFailGoesIntoDegradedMode test:

If we close the channel and this wakes up the "select"
in the test immediately and stops this go-routine, then the
check that the logbuf contains the error will fail.
By running this at least twice we know the error made
it to the log.

5c9f2fc... by Michael Vogt

Merge pull request #6384 from mvo5/sanity-for-sanity-test

snapd: fix race in TestSanityFailGoesIntoDegradedMode test

f89ffca... by Michael Vogt

address review feedback (thanks to Jamie!)

7e9dd39... by Michael Vogt

cmd: fix snap-device-helper to deal correctly with hooks

Our current snap-device-helper code does not correctly handle
hooks. The input for the snap-device-helper is an "APPANME"
that looks like "snap_$snapname_$appname". There are no "."
allowed in a udev tag. So this appname needs to be translated
back into the correct security tag, like: "snap.$snapname.$appname".

This works most of the time, however it does not for hooks. They
have the form "snap_$snapname_hook_$hookname" and the script
cannot transform them correctly. This PR fixes this in a simple
way.

One open question is what about instances that are called "hook".
Those will now be handled incorrectly.

8f1948f... by Michael Vogt

tests: add new configure hook testcase with network-control

The configure hook with network-control cannot access /dev/null.
This was reported in the forum as https://forum.snapcraft.io/t/9452
and this PR reproduces the issue.

1f6c98b... by Michael Vogt

Merge pull request #6378 from mvo5/network-control-in-confiure-hook-test

 cmd: fix snap-device-helper to deal correctly with hooks

8a340d8... by Sergio Cazzolato

Using journal logs instead of snap logs