[Bug 2036190] [NEW] fwupd running in WSL 2 in Ubuntu-22.04 fails to start
Aki Ketolainen
2036190 at bugs.launchpad.net
Fri Sep 15 10:07:23 UTC 2023
Public bug reported:
The fwupd systemd service file contains
"ConditionVirtualization=!container". This blocks fwupd from starting in
WSL 2 Ubuntu-22.04 instance. Modifying the fwupd systemd service file to
contain:
# /etc/systemd/system/fwupd.service.d/override.conf
[Unit]
ConditionVirtualization=
fixes this issue.
WSL 2 is a light-weight utility VM, not a container.
I noticed this issue when starting gnome-software. gnome-software output
this error to the terminal:
09:48:20:0857 Gs plugin fwupd took 25.0 seconds to do setup
09:48:21:0461 PK failed to set proxy: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
09:48:21:0462 GsPluginPackageKit failed to set proxies: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
09:48:46:0298 Gs can't reliably fixup error code 20 in domain g-dbus-error-quark
09:48:46:0299 Gs not handling error failed for action refresh: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)
09:48:46:0299 Gs can't reliably fixup error code 20 in domain g-dbus-error-quark
09:48:46:0299 Gs not handling error failed for action get-updates-historical: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: fwupd 1.7.9-1~22.04.3
Uname: Linux 5.10.16.3-microsoft-standard-WSL2 x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: Xpra
Date: Fri Sep 15 13:01:49 2023
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: fwupd
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: fwupd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fwupd in Ubuntu.
https://bugs.launchpad.net/bugs/2036190
Title:
fwupd running in WSL 2 in Ubuntu-22.04 fails to start
Status in fwupd package in Ubuntu:
New
Bug description:
The fwupd systemd service file contains
"ConditionVirtualization=!container". This blocks fwupd from starting
in WSL 2 Ubuntu-22.04 instance. Modifying the fwupd systemd service
file to contain:
# /etc/systemd/system/fwupd.service.d/override.conf
[Unit]
ConditionVirtualization=
fixes this issue.
WSL 2 is a light-weight utility VM, not a container.
I noticed this issue when starting gnome-software. gnome-software
output this error to the terminal:
09:48:20:0857 Gs plugin fwupd took 25.0 seconds to do setup
09:48:21:0461 PK failed to set proxy: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
09:48:21:0462 GsPluginPackageKit failed to set proxies: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code3: setting the proxy failed: failed to get the uid
09:48:46:0298 Gs can't reliably fixup error code 20 in domain g-dbus-error-quark
09:48:46:0299 Gs not handling error failed for action refresh: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)
09:48:46:0299 Gs can't reliably fixup error code 20 in domain g-dbus-error-quark
09:48:46:0299 Gs not handling error failed for action get-updates-historical: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: fwupd 1.7.9-1~22.04.3
Uname: Linux 5.10.16.3-microsoft-standard-WSL2 x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: Xpra
Date: Fri Sep 15 13:01:49 2023
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: fwupd
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/2036190/+subscriptions
More information about the foundations-bugs
mailing list