Files
snapd/packaging/debian-sid/control
Maciej Borzecki 063a04b4f4 packaging/ubuntu, packaging/debian: depend on dbus-session-bus provider (#11111)
* packaging/ubuntu, packaging/debian: depend on dbus-session-bus provider

On a cgroup v2 system, we rely on being able to set up a systemd scope for the
snap applications. This is done by communicating with a proper systemd instance
over a dbus bus, which for user session is the session bus.

This only came up when one of the intermediate dependencies of ubuntu-server,
had their dependencies updated and no longer requires session bus and we
observed that it was impossible to launch snap applications that required device
access on Ubuntu 21.10.

Related to:
- https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491
- https://forum.snapcraft.io/t/cannot-launch-snap-applications-with-cgroup-v2/27700

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* spread: have ubuntu-core-18 be based on 18.04 images

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* packaging/ubuntu-16.04: depend on dbus-session-bus if not on 16.04

The (default-)dbus-session-bus was introduced only in 2018, so it's available in
18.04 but not in earlier releases, so revert to not having a special dependency
on that release. Not having a session bus and lack of snap app tracking is not
fatal on 16.04, but is a must on 21.10 where a snap specific cgroup created by
dbus user instance is required for device access filtering.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/lib/pkgdb: dbus-user-session shall be pulled in through default-dbus-session-bus dependency

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/lib/pkgdb: fix indentation

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/main/lxd-snapfuse,lxd-try,lxd-mount-units: wait for container to be booted, run apt update before installing any packages

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>

* tests/main/lxd-try/task.yaml: fix typo

Co-authored-by: Ian Johnson <person.uwsome@gmail.com>
2021-12-01 09:18:14 +01:00

129 lines
4.6 KiB
Plaintext

Source: snapd
Section: devel
Priority: optional
Maintainer: Michael Hudson-Doyle <mwhudson@debian.org>
Uploaders: Steve Langasek <vorlon@debian.org>,
Zygmunt Krynicki <me@zygoon.pl>,
Luke Faraone <lfaraone@debian.org>
Build-Depends: autoconf,
automake,
autotools-dev,
bash-completion,
ca-certificates,
dbus,
debhelper (>= 9.20160709),
dh-apparmor,
dh-autoreconf,
dh-golang (>=1.7),
fakeroot,
gcc-multilib [amd64],
gettext,
grub-common,
gnupg2,
golang-check.v1-dev,
golang-context-dev,
golang-dbus-dev,
golang-github-boltdb-bolt-dev,
golang-github-coreos-go-systemd-dev,
golang-github-juju-ratelimit-dev,
golang-github-gorilla-mux-dev,
golang-github-gosexy-gettext-dev,
golang-github-kr-pretty-dev,
golang-github-kr-text-dev,
golang-github-mvo5-goconfigparser-dev,
golang-github-seccomp-libseccomp-golang-dev,
golang-go-flags-dev,
golang-golang-x-crypto-dev,
golang-golang-x-net-dev,
golang-golang-x-xerrors-dev,
golang-gopkg-tomb.v2-dev (>= 0.0~git20161208.0.d5d1b58),
golang-yaml.v2-dev,
golang-gopkg-macaroon.v1-dev,
golang-gopkg-mgo.v2-dev,
golang-gopkg-retry.v1-dev,
golang-gopkg-tylerb-graceful.v1-dev,
golang-gopkg-yaml.v3-dev,
golang-github-gosexy-gettext-dev,
golang-go (>=2:1.13),
indent,
libcap-dev,
libapparmor-dev,
libglib2.0-dev,
liblzo2-dev,
libseccomp-dev,
libudev-dev,
openssh-client,
pkg-config,
python3,
python3-docutils,
python3-markdown,
squashfs-tools,
tzdata,
udev,
xfslibs-dev
Standards-Version: 3.9.8
Homepage: https://github.com/snapcore/snapd
Vcs-Browser: https://salsa.debian.org/debian/snapd
Vcs-Git: https://salsa.debian.org/debian/snapd.git
XS-Go-Import-Path: github.com/snapcore/snapd
Package: golang-github-ubuntu-core-snappy-dev
Architecture: all
Depends: golang-github-snapcore-snapd-dev, ${misc:Depends}
Section: oldlibs
Description: transitional dummy package
This is a transitional dummy package. It can safely be removed.
Package: golang-github-snapcore-snapd-dev
Architecture: all
Breaks: golang-github-ubuntu-core-snappy-dev (<< 2.0.6),
golang-snappy-dev (<< 1.7.3+20160303ubuntu4)
Replaces: golang-github-ubuntu-core-snappy-dev (<< 2.0.6),
golang-snappy-dev (<< 1.7.3+20160303ubuntu4)
Depends: ${misc:Depends}
Description: snappy development go packages.
Use these to use the snappy API.
Package: snapd
Architecture: any
Depends: adduser,
apparmor (>= 2.10.95-5),
ca-certificates,
gnupg1 | gnupg,
openssh-client,
squashfs-tools,
systemd,
udev,
${misc:Depends},
${shlibs:Depends},
default-dbus-session-bus | dbus-session-bus
Replaces: ubuntu-snappy (<< 1.9), ubuntu-snappy-cli (<< 1.9), snap-confine (<< 2.23), ubuntu-core-launcher (<< 2.22), snapd-xdg-open (<= 0.0.0)
Breaks: ubuntu-snappy (<< 1.9), ubuntu-snappy-cli (<< 1.9), snap-confine (<< 2.23), ubuntu-core-launcher (<< 2.22), snapd-xdg-open (<= 0.0.0), ${snapd:Breaks}
Recommends: gnupg
Suggests: zenity | kdialog
Conflicts: snap (<< 2013-11-29-1ubuntu1)
Built-Using: ${Built-Using} ${misc:Built-Using}
Description: Daemon and tooling that enable snap packages
Install, configure, refresh and remove snap packages. Snaps are
'universal' packages that work across many different Linux systems,
enabling secure distribution of the latest apps and utilities for
cloud, servers, desktops and the internet of things.
.
Start with 'snap list' to see installed snaps.
Package: snap-confine
Architecture: any
Section: oldlibs
Depends: snapd (= ${binary:Version}), ${misc:Depends}
Description: Transitional package for snapd
This is a transitional dummy package. It can safely be removed.
Package: ubuntu-core-launcher
Architecture: any
Depends: snapd (= ${binary:Version}), ${misc:Depends}
Section: oldlibs
Pre-Depends: dpkg (>= 1.15.7.2)
Description: Transitional package for snapd
This is a transitional dummy package. It can safely be removed.