10 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
Oliver Calder
258ddf79bf Revert "data: fix snapd.aa-prompt-ui.service to actually get started (#12693)"
This reverts commit 82b79b4322.

Signed-off-by: Oliver Calder <oliver.calder@canonical.com>
2024-02-08 09:30:18 +01:00
Michael Vogt
82b79b4322 data: fix snapd.aa-prompt-ui.service to actually get started (#12693)
* data: fix snapd.aa-prompt-ui.service to actually get started

The current snapd.aa-prompt-ui.service user service is dbus activated.
However this does not work with the latest prompt design.

* packaing: add snapd.aa-prompt-ui.service to auto-start
2023-04-06 13:34:13 +02: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
4c437ba06d packaging, data: make the sockets.targets.wants symlink local to deb packaging. 2019-08-01 17:23:53 +08:00
James Henstridge
929b9d2012 usersession/agent: rename socket to @pedronis's preferred name 2019-07-11 12:01:08 +08:00
James Henstridge
7db27604c3 sessionagent: rename socket to snapd.session-agent.socket to match unit name 2019-07-09 17:15:21 +08:00
James Henstridge
f7f2fc0219 cmd: rename "snap session-agent" command to "snap userd --agent" 2019-07-03 19:23:09 +08:00
James Henstridge
b759ef6bc4 cmd, data, packaging: some changes suggested by @zyga's review 2019-06-25 20:36:37 +08:00
James Henstridge
1c767b8290 data: run snap session-agent as a systemd user session service.
Also add a unix socket for socket activation.
2019-06-25 17:29:25 +08:00