Public bug reported:
Package: spice-vdagent
Version: 0.23.0-1
Distribution: Ubuntu 26.04 LTS (resolute)
The systemd user unit shipped at
/usr/lib/systemd/user/spice-vdagent.service has the StandardError=null
directive placed under the [Install] section instead of [Service].
systemd ignores it (since StandardError is only valid in [Service]) and
logs a warning every time the unit is loaded:
systemd[7500]: /usr/lib/systemd/user/spice-vdagent.service:23:
Unknown key 'StandardError' in section [Install], ignoring.
The intent of the directive — per the comment immediately above it —
is to silence duplicated stderr/syslog output from spice-vdagent. That
intent is currently NOT being applied because the line is in the wrong
section.
Relevant excerpt (lines 18–23 of the shipped unit):
[Install]
WantedBy=graphical-session.target
# spice-vdagent logs via syslog() and to stderr, causing duplicated
# logs. Instead of sending stderr to the journal, disconnect it
StandardError=null
Fix: move the `StandardError=null` line (and the explanatory comment)
into the [Service] section, e.g. directly after `ExecStart=`.
The 0.23.0-1 changelog notes that several Debian patches were dropped
because they "applied upstream", including
`spice-vdagent-d-.service-Fix-duplicated-logs.patch`. The misplaced
section appears to have been introduced when that patch was folded in.
Impact: cosmetic only — a journal warning at every user-session start,
and the originally intended stderr suppression is silently disabled.
Reproduce:
systemd-analyze --user verify /usr/lib/systemd/user/spice-vdagent.service
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: spice-vdagent 0.23.0-1
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun May 24 19:12:02 2026
InstallationDate: Installed on 2025-01-17 (492 days ago)
InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: spice-vdagent
UpgradeStatus: Upgraded to resolute on 2026-05-24 (0 days ago)
** Affects: spice-vdagent (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to spice-vdagent in Ubuntu.
https://bugs.launchpad.net/bugs/2154118
Title:
spice-vdagent.service: StandardError= placed in [Install] section
instead of [Service]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spice-vdagent/+bug/2154118/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs