11 Commits

Author SHA1 Message Date
Oliver Calder
18002010a5 Revert "many: add stub services for prompting"
This reverts commit 7fe4772e26.

Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
2024-02-08 09:30:18 +01:00
Alberto Mardegan
7fe4772e26 many: add stub services for prompting
The implementation of these services is not yet ready, but in order to
be able to deliver it in a snap package, we need to have at least the
service files installed on the system by the distribution package.

These stubs just reexecute the binaries from the snap.

* tests: add spread test for reexec of prompt services

* packaging: update distros for prompt services

Ship them in Debian and Ubuntu, remove them elsewhere.

* cmd: update error message with unimplemented prompt services

* tests: do not disable prompt-reexec tests in UC

* many: disable prompting for 14.04

The kernel changes will most likely not land there.

* many: install prompt services for Ubuntu Core

* tests: exclude UC16 from reexec-prompt test

The services are installed, but disabled; enabling them is not trivial
and not worth the effort, since prompting will most likely not be
backported there.

* wrappers/core18: don't fail if the prompt service is missing in snapd

This fixes a spread failure in the tests/core/snapd-refresh-vs-services
test, where we install an old version of snapd (2.49) which does not
have the Prompt service.

* tests: fix typo in comment

Thanks @pedronis.

* cmd: add license header

Thanks @Meulengracht
2022-10-10 15:50:59 +02:00
James Henstridge
2dadf39870 data: add D-Bus service activation and desktop files for the session agent 2020-10-14 08:56:29 +08:00
James Henstridge
6c60e61f58 many: rename /var/lib/snapd/dbus to /var/lib/snapd/dbus-1 2020-06-18 19:04:18 +08:00
James Henstridge
4b315f0fb0 data: install config files to extend D-Bus service activation search paths 2020-06-15 17:34:07 +08:00
Michael Vogt
53fa5c7066 address review feedback (thanks Jamie!) 2018-01-25 17:09:27 +01:00
Michael Vogt
31c58b7e18 Merge remote-tracking branch 'upstream/master' into xdg-settings 2018-01-25 15:41:54 +01:00
Michael Vogt
986e0476e0 data/dbus: add AssumedAppArmorLabel=unconfined to fix dbus activation on bionic 2018-01-16 15:47:58 +01:00
Michael Vogt
f30f7eb337 ensure dbus service file is available 2017-11-29 11:54:15 +01:00
John R. Lenton
67b6ba2483 Fix 14.04 (thank you spread), address review feedback (thank you mvo)
Also do some work to keep the diffs between 14.04 and 16.04 small.
2017-08-29 18:32:47 +01:00
Simon Fels
047538e13d cmd/snap: add userd command to replace snapd-xdg-open (#3260)
Based on discussion from
https://forum.snapcraft.io/t/integrate-snapd-xdg-open-into-snapd/100
2017-08-28 20:35:04 -03:00