Debian Patches

Status for spice-vdagent/0.22.1-5

Patch Description Author Forwarded Bugs Origin Last update
systemd_service_default_file.patch Adjust the path to the default file Laurent Bigonville <bigon@debian.org> not-needed 2025-08-27
disable_test_session_info.patch Disable test-session-info
Requires running systemd which we don't have during the build

it with autopkgtest instead

https://gitlab.freedesktop.org/spice/linux/vd_agent/-/issues/24
https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/32
Jeremy Bicha <jeremy.bicha@canonical.com> no 2022-02-24
Fix-minor-spelling-errors.patch [PATCH] Fix minor spelling errors.
This change was performed with:

```
codespell --ignore-words-list 'requestor' -w
```

("requestor" is part of the X11 API, and if we allow codespell to rewrite it it would fail to build)
Daniel Kahn Gillmor <dkg@fifthhorseman.net> yes 2024-07-07
vdagent-Remove-watch-event-on-vdagent_display_destroy.patch vdagent: Remove watch event on vdagent_display_destroy()
To avoid main loop calling it when GIOChannel for x11 was already
destroyed.
Victor Toso <victortoso@redhat.com> no upstream, https://gitlab.freedesktop.org/spice/linux/vd_agent/-/commit/bcbbea34d93 2023-01-13
Fix-VDAGentMonitorConfig-size-calculation.patch Fix VDAGentMonitorConfig size calculation
The VDAgentMonitorsConfig struct has the VD_AGENT_CONFIG_MONITORS_FLAG_PHYSICAL_SIZE flag that
indicates if physical monitor sizes are included in the data. If this flag is set there is one
instance of VDAgentMonitorMM for each monitor following the other data.
Lukas Joeressen <lukas@joeressen.net> no upstream, https://gitlab.freedesktop.org/spice/linux/vd_agent/-/commit/3660acfc 2025-04-12
Switch-to-spice-vdagent.service-by-default.patch Switch to spice-vdagent.service by default
Add an [Install] section to the user unit and tell systemd to ignore the
.desktop file explicitly.

Also add missing ordering dependencies. Without this, the service fails if
it is started before e.g. $DISPLAY is set.
Fabian Vogt <fvogt@suse.de> no upstream, https://gitlab.freedesktop.org/spice/linux/vd_agent/-/commit/aa08162f 2023-02-08
systemd-services-add-Documentation-key-point-to-manpage.patch systemd services: add Documentation key (point to manpage) Daniel Kahn Gillmor <dkg@fifthhorseman.net> no upstream, https://gitlab.freedesktop.org/spice/linux/vd_agent/-/commit/553cb85f10 2024-07-07
spice-vdagentd.service-Remove-Install-section.patch spice-vdagentd.service: Remove [Install] section
This install section wasn't valid: it told systemd that you could enable
spice-vdagentd.service by enabling spice-vdagentd.socket. However,
spice-vdagentd.socket is a static unit, and cannot be enabled or
disabled. Instead, the socket is automatically started by udev whenever
a SPICE virtio channel is detected

Fixes https://gitlab.freedesktop.org/spice/linux/vd_agent/-/issues/42
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagentd.service-Don-t-use-Type-forking.patch spice-vdagentd.service: Don't use Type=forking
systemd explicitly recommends against this: systemd already forks for
us, so we don't need to fork a second time
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagentd.service-Replace-dbus.target.patch spice-vdagentd.service: Replace "dbus.target"
dbus.target doesn't exist: instead you should be using dbus.socket

But upon further investigation of spice-vdagentd, it appears that the
only place dbus is used is when trying to talk to logind (or console
kit, which won't be used in tandem with systemd). So really the service
depends on logind, not dbus. So let's represent that in the unit file
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagent.service-Only-run-with-system-daemon.patch spice-vdagent.service: Only run with system daemon
No need to start the vdagent binary if there's no system daemon running,
and no way to communicate through the spice channel to the VMM
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagent.service-Statically-enable.patch spice-vdagent.service: Statically enable
In a previous commit, we configured spice-vdagent.service to only run if
the system socket is running, and the system socket is configured to run
whenever a SPICE virtio channel exists. For the agent to work correctly,
we always want to run the user service whenever the system service is
running.

To that end, we statically enable spice-vdagent.service for any
graphical session. If a SPICE virtio channel exists, the system socket
will exist, and so systemd will start the service. If a channel doesn't
exist, then no socket will exist and systemd will make no attempt to run
the user service.
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagent.desktop-Delete-GDM-autostart-dirs.patch spice-vdagent.desktop: Delete GDM autostart dirs
Starting with GNOME 49, GDM doesn't use these directories. GNOME no
longer launches any services via .desktop files, and instead relies only
on systemd user units.

spice-vdagent is already configured to run for any graphical session,
including the GDM greeter. So we can simply drop the .desktop files now
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagent.service-Add-missing-PartOf-dep.patch spice-vdagent.service: Add missing PartOf dep
Without this dependency, systemd doesn't try to shut down the agent when
the graphical session ends, and instead the agent crashes when it loses
its connection to the display server
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11
spice-vdagent-d-.service-Fix-duplicated-logs.patch spice-vdagent[d].service: Fix duplicated logs
spice-vdagent uses openlog() and syslog(), configured in such a way that
output goes to stderr and to the syslog daemon. This causes duplicated
log lines: the ones the agent sends directly to the journal, and a
second set that systemd captures from the service's stderr
Adrian Vovk <adrianvovk@gmail.com> no https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/54 2025-08-11

All known versions for source package 'spice-vdagent'

Links