~mvo/snapd/+git/snapd-mvo:cleanup-broken-nvidia-2.28

Last commit made on 2017-10-13
Get this branch:
git clone -b cleanup-broken-nvidia-2.28 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
cleanup-broken-nvidia-2.28
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

0a74786... by Michael Vogt

snap-confine: cleanup incorrectly created nvidia udev tags (2.28)

This PR will remove incorrectly created udev tag
that cause libudev on 16.04 to fail with
"udev_enumerate_scan failed".

See also:
https://forum.snapcraft.io/t/weird-udev-enumerate-error/2360/17

99eb1db... by Zygmunt Krynicki

cmd/snap-confine: update valid security tag regexp

This was triggered by a bug where "12to8" snap with "12to8" app would
fail to validate as security tag.

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

efedcc5... by Paweł Stołowski

Merge pull request #4037 from zyga/fix/regen-udev-profiles-2.28

overlord/ifacestate: refresh udev backend on startup

1a8fc46... by Zygmunt Krynicki

overlord/ifacestate: refresh udev backend on startup

With the recent fixes to the udev snippets of various interfaces we need
to refresh udev profiles on startup. Note that like all profiles, those
are only refreshed if they differ from the values we intend have.

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

4eafe60... by Michael Vogt

interfaces/dbus: drop unneeded check for release.ReleaseInfo.ForceDevMode

ca681cf... by Sergio Cazzolato

Fix econnreset test for devices when retry is needed to download

In the tests for beta validation this test is often failing when the
retry is triggered. To deal with that, I am adding extra time to wait
until the partial file is created and the download is started.

Also, the snap process which is downloading the huge file is killed to
avoid the script fails with a timeout dalaying the whole suite
execution.

For an example see:
https://paste.ubuntu.com/25717714 line 1191
https://paste.ubuntu.com/25719948/ line 388

3b55b4f... by Michael Vogt

dbus: ensure io.snapcraft.Launcher.service is created on re-exec

dbus: ensure io.snapcraft.Launcher.service is created on re-exec

For `snap userd` to work we need the file:
/usr/share/dbus-1/services/io.snapcraft.Launcher.service

It is part of the deb/rpm package. However if snapd is using
re-exec we need to ensure this file is created by the dbus
backend.

27ceea8... by Samuele Pedroni

continue for now supporting UBUNTU_STORE_ID if the model is generic/generic-classic

9f2e797... by Michael Vogt

snap-confine: add support for handling /dev/nvidia-modeset

Our compatiblity handling for the nvidia modules was not handling
the new /dev/nvidia-modeset. This caused crashes with nvidia driver
version 375+. This PR fixes the issue.

349f97a... by Jamie Strandboge

interfaces/network-control: remove incorrect rules for tun

We had two udev rules to tag tun: 'tun' and 'tun[0-9]*'. This results in
'udev_enumerate_scan failed' errors. This is because udev ships this rule

'KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"

so we don't need the 'tun[0-9]*' rule. Removing it resolves the issue