~mvo/snapd/+git/snapd-mvo:validate-constraints-in-devicestate

Last commit made on 2019-12-11
Get this branch:
git clone -b validate-constraints-in-devicestate https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
validate-constraints-in-devicestate
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

3ba5dcc... by Michael Vogt

devicestate: use correct model constraints in remodel/gadget updates

The current devicestate code does not set the correct gadget
constraints. It naively always sets only Classic to false. This
PR changes this so that the actual model is looked at and the
SystemSeed is set for UC20 models.

This should fix UC20 seeding.

38e640a... by Michael Vogt

snapstate: relax gadget constraints in ConfigDefaults Et al.

The ConfigDefaults and GadgetConnections current read the
gadget data and sets constraints there. There is no need
at this point to check the constraints. This should have
happend earlier already and just complicated this particular
code.

This will unblock seeding in "install" mode for UC20.

5af2a64... by Michael Vogt

Merge remote-tracking branch 'upstream/master' into validate-constraints-in-check-snap

67c7483... by Michael Vogt

snapstate: simplify gadget check in checkGadgetOrKernel

0345a99... by Michael Vogt

gadget: improve ReadInfoFromSnapFile description

0635054... by Sergio Cazzolato

Merge pull request #7885 from jdstrand/xenial-and-bionic-have-mediating-pulseaudio

tests: 16.04 and 18.04 now have mediating pulseaudio

0552bf0... by Jamie Strandboge

tests: 16.04 and 18.04 now have mediating pulseaudio

References:
- https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1781428

7128cf6... by Michael Vogt

snapstate: check gadget model constraints in checkSnap

The current code that checks snaps on refresh does not check
the model constraints. This commit changes that so that no
gadgets can be installed that violate the model constraints.

ce6b3b9... by Michael Vogt

Merge pull request #7830 from stolowski/fix-hooks-in-label-expr

interfaces: include hooks in plug/slot apparmor label.

6a96da2... by Jamie Strandboge

interfaces: add raw-volume interface for access to partitions (#7768)

While the block-devices interface provides access to raw disks, some
applications need access to disk partitions at the block level. This
interface provides this access. Since read access gives the snap access
to all data on the device and write access allows changing the contents
of the disk partition, this interface is considered a "super-privileged"
interface since it grants device ownership to the snap.

This is needed for enabling certain UC20 devices and needs to be in 2.43.