snappy:release/2.39

Last commit made on 2019-06-27
Get this branch:
git clone -b release/2.39 https://git.launchpad.net/snappy

Branch merges

Branch information

Name:
release/2.39
Repository:
lp:snappy

Recent commits

8dea632... by Maciej Borzecki

cmd/snap-seccomp/syscalls: add io_uring syscalls

The snap-seccomp helper maintains a list of all know syscalls supported by
libseccomp. We catch when the internal list diverges from upstream libseccomp in
a tests/main/snap-seccomp-syscalls spread test.

Upstream libseccomp has been updated with io_uring syscalls, update the internal
list.

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

c132905... by Maciej Borzecki

travis: disable snap pack on OSX

Relevant build log:

Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
remote: Enumerating objects: 81, done.
remote: Counting objects: 100% (81/81), done.
remote: Compressing objects: 35% (26remote: Compressing objects: 100% (74/74), done.
remote: Total 81 (delta 7), reused 27 (delta 4), pack-reused 0
Unpacking objects: 100% (81/81), done.
Tapped 0 formulae (172 files, 244.2KB)
Error: undefined method `present?' for nil:NilClass
Please report this bug:
    https://github.com/Homebrew/homebrew-bundle/issues/
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brewfile.rb:12:in `path'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/brewfile.rb:26:in `read'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/install.rb:9:in `run'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/brew-bundle.rb:75:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/utils.rb:18:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:105:in `<main>'
Error: Kernel.exit

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

57f9ddf... by Michael Vogt

debian: make maintainer scripts do nothing on powerpc

We have an empty package on powerpc now. However the maintainer
scripts are still run on powerpc and fail on this empty package.

To fully fix the install of the package we need to ensure the
maintainer scripts also do nothing on powerpc.

385a06a... by John Lenton

cmd/snap: use padded checkers for snapshot output

When running the unit tests under fake time sometimes the resulting
time as worked out by go is a little bit too far out.

So we take the approach of just using a padded / wrapped checker,
which tolerates changes to column widths in the output.

abedc38... by Michael Vogt

releasing package snapd version 2.39.3

fe12d16... by Michael Vogt

daemon: increase `shutdownTimeout` to 25s to deal with slow HW

We got a bugreport from a customer that they get core refresh
errors. We see the following error in the journal:
```
cannot gracefully finish, still active connections...
```

This indicates that the HW is just too slow to deal with this
in the 5s timeout. This means that snapd does not exit cleanly
and systemd will restart it. This will mean that snapd gets
to WaitRestart() again and assumes a system restart has happend
(but only snapd was restarted). This leads to an abort of the
install as it looks (for snapd) like there was a rollback during
the reboot because the core revision has not changed.

There are multiple issues here that needs addressing. The first
one is that the timeout needs to be bigger and that it should
not be an error but a warning. The error in this situation will
not stop the shutdown so the still-connected client do not
benefit and the side-effect of the unclean exit is undesired.

So this PR increases the timeout and turns the error into a
warning.

49395bf... by Michael Vogt

Merge pull request #6980 from bboozzoo/bboozzoo/opensuse-15.1-2.39

spread: openSUSE 15.1 (2.39)

ad3c938... by Maciej Borzecki

tests/regression/lp-1805485: update test description

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

df98a69... by Michael Vogt

Merge pull request #6976 from bboozzoo/bboozzoo/selinux-allow-classic-snap-hooks-services-2.39

data/selinux: fix policy for snaps with bases and classic snaps (2.39)

3e484d4... by Sergio Cazzolato

Removing packaging for old opensuse versions