~mvo/snapd/+git/snapd-mvo:fix-crash-in-json

Last commit made on 2019-07-24
Get this branch:
git clone -b fix-crash-in-json https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix-crash-in-json
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

4a692f6... by John Lenton

Merge remote-tracking branch 'upstream/master' into fix-crash-in-json

867120e... by "John R. Lenton" <email address hidden>

Merge pull request #7150 from zyga/tweak/mount-ns-manual

tests: switch mount-ns test to manual

26cd45b... by Zygmunt Krynicki

tests: switch mount-ns test to manual

The test captures too much broken tests. We should iterate, off-master,
to address the leaky tests, before re-enabling this one.

Signed-off-by: Zygmunt Krynicki <email address hidden>

3cf11ae... by Samuele Pedroni

configstate: add regression test for crash when there are already null values in the json input

48887de... by Michael Vogt

configstate: fix crash in purgeNulls

In my system I had a configuration like:
```
{
  "experimental": {
    "parallel-instances": true,
    "snapd-snap": true
  },
  "proxy": null,
  "seed": {
    "loaded": true
  }
}
```
which lead to a crash on startup of master.

This PR fixes this crash.

e8964ef... by Michael Vogt

Merge pull request #7132 from pedronis/separate-managers-startup

overlord,daemon,cmd/snapd: move expensive startup to dedicated StartUp methods

73d3800... by Zygmunt Krynicki

Merge pull request #6959 from jhenstridge/ensure-tree-state

osutil: add EnsureTreeState helper

7318362... by Zygmunt Krynicki

Merge pull request #7091 from zyga/feature/new-mount-ns-tests

tests: measure properties of various mount namespaces

06922ee... by Sergio Cazzolato

Merge pull request #7121 from sergiocazzolato/tests-extend-to-core-18-part2

tests: part2 making tests work on ubuntu-core-18

723d3b9... by Samuele Pedroni

interfaces/policy: minimal policy check for replacing sanitizeReservedFor helpers (1/2)

Add InstallCandidateMinimalCheck to policy checks. The check will be activated for snap installation when snap is installed with --dangerous flag and it's aim is to check slot snap type restrictions only. It doesn't check plugs or slot attributes and doesn't return the default policy decision from base declaration (i.e. deny-installation: true) which would effectively prevent --dangerous. This policy check is meant to replace existing sanitizeSlotReservedFor* helpers and therefore is semantically an equivalent of these helpers.

This new policy check is not yet active in this PR, it will get enabled in a followup together with the removal of sanitizeSlotReservedFor.. helpers.