~mvo/snapd/+git/snapd-mvo:sigalarm

Last commit made on 2019-01-31
Get this branch:
git clone -b sigalarm https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
sigalarm
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

d3f29dc... by Michael Vogt

snap-confine: provide proper error message on sc_sanity_timeout

The code that communicates with the helper process does setup
a "sanity" timeout currently. If that timeout is reached then
snap-confine dies. Unfortunately the error message is misleading
and says "interrupted system call" which does not help finding
the underlying issue.

This PR changes the code so that the timeout is checked before
the read error is printed. This will lead to the slightly better:
```
error: sanity timeout expired
```
which is still not great but it helps to see that this is not
an error in the code but something with the interaction of
snap-confine and its helpers.

c7aeafe... by Michael Vogt

Merge pull request #6417 from mvo5/reexec-from-snapd-fix

snap: fix reexec from the snapd snap for classic snaps

aebb582... by Michael Vogt

Merge pull request #6453 from bboozzoo/bboozzoo/parallel-instances-fix-hooks-discovery

snap: fix hook autodiscovery for parallel installed snaps

b78402d... by "John R. Lenton" <email address hidden>

Merge pull request #6452 from chipaca/trivial-autorefresh-timestamp

overlord/snapstate: format the refresh time for the log

e14bbbe... by Maciej Borzecki

overlord/hookstate: shuffle the test code around

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

529fc70... by Maciej Borzecki

tests/main/install-refresh-remove-hooks: make the test parallel installs aware

Execute the test for parallel instances.

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

ff97815... by Maciej Borzecki

overlord/hookstate: add a test to make sure that parallel instance hook runs

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

d6f0d5f... by Maciej Borzecki

overlord/snapstate: extend parllel instance run through test to verify hooks

Verify that relevant hook tasks are added and they have a proper context.

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

d86e351... by Maciej Borzecki

snap: set instance key before hook autodiscovery

The instance key needs to be set before we attempt to discover the implicit
hooks carried by the snap. Otherwise, the autodiscovery code ends up looking at
an incorrect location.

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

4ed8627... by John Lenton

overlord/snapstate: format the refresh time for the log

This is a very trivial change, but it's annoying enough that I needed
to push it out there. Currently we just `%s` the refresh time to the
log on startup,

```
Next refresh scheduled for 2019-01-30 14:36:37.783240257 +0000 GMT m=+17709.346348484.
```

which is rather nasty. With this change,

```
Next refresh scheduled for 2019-01-30T15:11:02Z.
```