snapd:release/2.42

Last commit made on 2019-12-06
Get this branch:
git clone -b release/2.42 https://git.launchpad.net/snapd

Branch merges

Branch information

Name:
release/2.42
Repository:
lp:snapd

Recent commits

4adc1b4... by Michael Vogt

releasing package snapd version 2.42.5

ce2454b... by Jamie Strandboge

snap-confine: revert, with comment, explicit unix deny for nested lxd

While snap-confine itself doesn't require unix rules and therefore all
unix rules are implicitly denied, adding an explicit deny for unix to
silence noisy denials breaks nested lxd when it shouldn't:

  $ sudo snap install lxd
  $ sudo lxd init
  $ sudo lxc launch ubuntu:18.04 c1 -c security.nesting=true
  $ lxc exec c1 -- snap install lxd
  error: cannot perform the following tasks:
  - Start snap "lxd" (12631) services ([start snap.lxd.activate.service]
    failed with exit status 1: Job for snap.lxd.activate.service failed
    because the control process exited with error code.

Until the cause is determined, do not use an explicit deny for unix.

Reference:
- https://bugs.launchpad.net/snapd/+bug/1855355

1fe2007... by Paweł Stołowski

Disable mount-ns test on 16.04 for now until ns changes are fixed.

f251af5... by Michael Vogt

releasing package snapd version 2.42.4

fae00e7... by Michael Vogt

Merge pull request #7814 from mvo5/system-defaults-only-once-2.42

 overlord/snapstate: make sure configuration defaults are applied only once (2.42)

8de847f... by Maciej Borzecki

overlord/snapstate: tweak config defaults checks

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

ec28073... by Maciej Borzecki

overlord/configstate: tweak comment on core configure hook checks

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

d658b07... by Maciej Borzecki

overlord/snapstate: do not trigger defaults when installing the core snap

Do not trigger the defaults when installing the core snap. This is only done
during seeing, via an explicitly added configure 'core' task.

Otherwise, this leads to a scenarion when on a core device with bases, the
defaults are applied once during seeding, and then again when the core snap is
being installed. This may cause the system config flags to switch back to their
default values.

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

76a882d... by Maciej Borzecki

tests/main/ubuntu-core-config-defaults-once: make sure configuration defaults are applied once

Add test to verify that system configuration defaults are applied only once, and
not when installing another system-like snap.

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

2035b41... by Michael Vogt

releasing package snapd version 2.42.3