~mvo/snapd/+git/snapd-mvo:fix/tests-using-network-1

Last commit made on 2019-06-04
Get this branch:
git clone -b fix/tests-using-network-1 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix/tests-using-network-1
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

e24b92c... by Michael Vogt

Merge remote-tracking branch 'upstream/master' into fix/tests-using-network-1

eca4865... by Michael Vogt

interfaces: add missing adjtimex to time-control (#6943)

This came up during snapping "chrony" - apparently we do not allow
adjtimex in time-control but its used by chrony and I see no reason
not to add it. Hence this PR :)

546e246... by Paweł Stołowski

Merge pull request #6900 from stolowski/base-none

overlord/snapstate, snap: support base = "none"

4d0775f... by "John R. Lenton" <email address hidden>

Merge pull request #6905 from chipaca/snapstate-revision-options-have-cohort

daemon, overlord/snapstate: give RevisionOptions a CohortKey

d935b86... by Maciej Borzecki

data/selinux: permit init_t to remount snappy_snap_t (#6946)

Systemd services that get a new mount namespace on startup fail due to SELinux
blocking system from remounting /var/lib/snapd/snap into the new mount ns.

Since we cannot declare fs_type() and generate contexts through genfscon outside
of core policy, add an explicit permission for init_t.

type=AVC msg=audit(1559625610.991:67): avc: denied { remount } for pid=578
         comm="(resolved)"
         scontext=system_u:system_r:init_t:s0
         tcontext=system_u:object_r:snappy_snap_t:s0
         tclass=filesystem permissive=0

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1708991

c6a7d90... by "John R. Lenton" <email address hidden>

Merge pull request #6947 from chipaca/okay-no-warning-test

cmd/snap: test for a friendly error on 'okay' without 'warnings'

fd2c372... by Michael Vogt

overlord: update managers_test.go after refactor

Co-Authored-By: Zygmunt Krynicki <email address hidden>

d11a55f... by John Lenton

overlord/snapstate: improve names, summaries, etc.

thanks @pedronis for the suggestions.

5225233... by Paweł Stołowski

Merge pull request #6935 from stolowski/startup-timings

cmd/snap: support snap debug timings --startup=.. and measure loadState time

e67d400... by John Lenton

cmd/snap: test for a friendly error on 'okay' without 'warnings'

This is a test to cover what @ardaguclu helpfully fixed for us: that
when you run `snap okay` before ever running `snap warnings` you would
get a nasty error instead of something that explained what was going
on.