Permalink
Commits on Sep 7, 2017
  1. Merge pull request #3875 from mvo5/add-netlink-kobject-uevent-to-hard…

    mvo5 committed Sep 7, 2017
    …ware-observe-2.27
    
    interfaces: add udev netlink support to hardware-observe (2.27)
  2. Merge pull request #3870 from jdstrand/additional-seccomp-udev-update…

    mvo5 committed Sep 7, 2017
    …s-2.27
    
    interfaces/network-{control,observe}: allow receiving kobject_uevent() messages for 2.27
  3. interfaces: add udev netlink support to hardware-observe

    mvo5 committed Sep 6, 2017
    With the addition of seccomp argument filtering the socket syscall
    will not allow NETLINK_KOBJECT_UEVENT anymore. But this is crucial
    for the hardware-observe interface to monitor udev. This patch
    adds it back.
Commits on Sep 6, 2017
  1. interfaces/network-{control,observe}: allow receiving kobject_uevent(…

    jdstrand committed Sep 6, 2017
    …) messages
    
    As part of the investigation for the livepatch regression and netlink socket
    mediation, net/core/* from the Linux kernel sources shows that the kernel is
    using kobject_uevent() for notifications. While we could force snaps to use
    hardware-observe to view these, it makes sense in terms of completeness for
    these interfaces and for compatibility with existing snaps to allow
    'socket AF_NETLINK - NETLINK_KOBJECT_UEVENT' here as well.
Commits on Aug 30, 2017
Commits on Aug 29, 2017
  1. interfaces: fix network-manager plug (#3818)

    mvo5 committed Aug 29, 2017
    Add networkManagerPermanentPlugSecComp that adds socket AF_NETLINK - KOBJECT_UEVENT to unbreak nmcli
  2. hooks: do not error when hook handler is not registered (2.27) (#3819)

    niemeyer committed Aug 29, 2017
    hooks: do not error when hook handler is not registered (2.27)
Commits on Aug 28, 2017
  1. Don't check hookExists as it's always false in this case.

    stolowski committed Aug 28, 2017
Commits on Aug 24, 2017
  1. Add secondary arch for unrestricted snaps as well

    mvo5 committed Jul 18, 2017
    When creating a @unrestricted filter we need to whitelist all
    architectures or e.g. i386 apps on amd64 will fail.
Commits on Aug 18, 2017
Commits on Aug 16, 2017
  1. Merge pull request #3744 from zyga/backport/content-slot-sanitize

    mvo5 committed Aug 16, 2017
    interfaces: correctly backport the patch
  2. interfaces: correctly backport the patch

    zyga committed Aug 16, 2017
    Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  3. Merge pull request #3740 from mvo5/remove-test-interfaces-help

    mvo5 committed Aug 16, 2017
    tests: remove TestInterfacesHelp as it breaks when go-flags changes (2.27)
  4. Merge pull request #3743 from zyga/backport/content-slot-sanitize

    mvo5 committed Aug 16, 2017
    interfaces: don't crash if content slot has no attributes (2.27)
  5. interfaces: don't crash if content slot has no attributes

    zyga committed Aug 16, 2017
    This mirros an earlier fix to the plug sanitize that was not mirrored to
    the slot side. My bad :/
    
    Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  6. Merge pull request #3737 from mvo5/no-pie-on-i386-2.27

    mvo5 committed Aug 16, 2017
    debian: do not build with -buildmode=pie on i386 (2.27)
  7. remove TestInterfacesHelp as it breaks when go-flags changes

    mvo5 committed Aug 16, 2017
  8. use dpkg-architecture instead of --print-architecture (thanks to mwhu…

    mvo5 committed Aug 16, 2017
    …dson)
  9. debian: do not build with -buildmode=pie on i386

    mvo5 committed Aug 16, 2017
    With -buildmode=pie mode on i386 snapd panics in spectacular
    ways (LP: #1711052) so we need to disable it for the time
    being.
    
    See also https://forum.snapcraft.io/t/artful-i386-panics/
Commits on Aug 15, 2017
  1. Merge pull request #3726 from zyga/backport/broadcom-asic-2.27

    mvo5 committed Aug 15, 2017
    interfaces: backport broadcom-asic-control interface (2.27)
Commits on Aug 14, 2017
  1. Merge pull request #3729 from mvo5/do-not-resume-completed-downloads-…

    mvo5 committed Aug 14, 2017
    …2.27
    
    store: do not resume a download when we already have the whole thing  (2.27)
  2. store: do not resume a download when we already have the whole thing (#…

    chipaca committed with mvo5 Aug 3, 2017
    …3640)
    
    * store: do not resume a download when we already have the whole thing
    
    Without this a .partial file that has been completely downloaded still
    triggers a request to the server (which will then come back with a
    416).
    
    This lets you drop a .snap in /var/lib/snapd/snaps as a .partial,
    which could be used to speed up tests. It'll still be checksummed
    (twice), but it won't hit the network for the download unless the
    store says it's got a delta.
    
    Doing the same thing for delta downloads is left as an exercise to the
    reader.
    
    * store: address review feedback (thanks pedronis)
  3. interfaces: backport broadcom-asic-control interface

    zyga committed Aug 14, 2017
    This patch backports the new interface to the 2.27.x release branch per
    request of Canonical Commercial Engineering team.
    
    Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Commits on Aug 12, 2017
  1. tests: use dnf --refresh install to avert stale cache

    zyga committed with mvo5 Aug 11, 2017
    While our package abstraction helper for spread tests does call dnf
    makecache evidence in test failures shows that something is not quite
    right and we fail to install packages that have since, in the archive,
    been upgraded to a new revision and we attempt to install the old
    version oblivious to that fact.
    
    Neal Gompa suggested that we use the --refresh option on dnf install to
    always ensure that the package cache is updated if it is out of date.
    
    Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  2. interfaces/misc: updates for unity7/x11 (LP: #1663221), browser-suppo…

    jdstrand committed with mvo5 Aug 12, 2017
    …rt, network-control (LP: #1679295) and mount-observe (#3715)
    
    * interfaces/unity7,x11: update for NETLINK_KOBJECT_UEVENT (LP: #1663221)
    
    * QtSystems also needs 'bind' with NETLINK_KOBJECT_UEVENT
    
    * interfaces/browser-support: update sysfs reads for newer browser versions
    
    * interfaces/network-control: rw for ieee80211 advanced wireless (LP: #1679295)
    
    * interfaces/mount-observe: allow read on sysfs entries for block devices
    
    * fix comment in unity7 and x11
    
    * actually provide rw on ieee80211