Hello, fwupmgr always worked for me, but since a few weeks it stopped working and always throws this error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.fwupd was not provided by any .service files
I use dinit, KDE Plasma and the linux-hardened Kernel. I updated all my packages, restarted and tried as root and non-root user.
("Verbindung mit dem Daemon ist fehlgeschlagen", means that it can't connect to the daemon)
Has anyone an idea, on how I can fix this? Thanks!
Some examples:
[laptop ~]# fwupdmgr security
Verbindung mit dem Daemon ist fehlgeschlagen: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.fwupd was not provided by any .service files
[laptop ~]# fwupdmgr refresh
Verbindung mit dem Daemon ist fehlgeschlagen: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.fwupd was not provided by any .service files
[laptop ~]# fwupdmgr update
Verbindung mit dem Daemon ist fehlgeschlagen: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.fwupd was not provided by any .service files
[laptop ~]# fwupdmgr --verbose
(fwupdmgr:10807): GLib-GIO-DEBUG: 08:46:29.793: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.793: watch_fast: "/system/proxy/" (establishing: 0, active: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: watch_fast: "/system/proxy/http/" (establishing: 0, active: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: watch_fast: "/system/proxy/https/" (establishing: 0, active: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: watch_fast: "/system/proxy/ftp/" (establishing: 0, active: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: watch_fast: "/system/proxy/socks/" (establishing: 0, active: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: unwatch_fast: "/system/proxy/" (active: 0, establishing: 1)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: unwatch_fast: "/system/proxy/http/" (active: 0, establishing: 1)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: unwatch_fast: "/system/proxy/https/" (active: 0, establishing: 1)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: unwatch_fast: "/system/proxy/ftp/" (active: 0, establishing: 1)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.794: unwatch_fast: "/system/proxy/socks/" (active: 0, establishing: 1)
(fwupdmgr:10807): GLib-GIO-DEBUG: 08:46:29.798: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: px_config_kde_set_config_file: Could not read file /root/.config/kioslaverc
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: px_config_kde_set_config_file: Could not read file /root/.config/kioslaverc
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: px_config_sysconfig_set_config_file: Could not read file /etc/sysconfig/proxy
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: Active config plugins:
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: - config-env
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: - config-xdp
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: - config-kde
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: - config-gnome
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.799: - config-sysconfig
(fwupdmgr:10807): GLib-GIO-DEBUG: 08:46:29.801: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.804: watch_established: "/system/proxy/" (establishing: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.805: watch_established: "/system/proxy/http/" (establishing: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.805: watch_established: "/system/proxy/https/" (establishing: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.805: watch_established: "/system/proxy/ftp/" (establishing: 0)
(fwupdmgr:10807): dconf-DEBUG: 08:46:29.805: watch_established: "/system/proxy/socks/" (establishing: 0)
(fwupdmgr:10807): GLib-GIO-DEBUG: 08:46:29.807: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ‘gio-network-monitor’
(fwupdmgr:10807): pxbackend-DEBUG: 08:46:29.807: px_manager_constructed: Up and running
(fwupdmgr:10807): GLib-GIO-DEBUG: 08:46:29.807: _g_io_module_get_default: Found default implementation libproxy (GLibproxyResolver) for ‘gio-proxy-resolver’
Verbindung mit dem Daemon ist fehlgeschlagen: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.fwupd was not provided by any .service files
You want to talk about fwupd?
pacman -Ss fwupd
world/fwupd 2.0.8-1
Simple daemon to allow session software to update firmware
world/fwupd-docs 2.0.8-1
Simple daemon to allow session software to update firmware - documentation
world/fwupd-efi 1.7-1
EFI Application used by uefi-capsule plugin in fwupd
If so, you have some useful information here:
https://wiki.archlinux.org/title/Fwupd
Yes, fwupd, I already read the arch wiki about it. But since a few weaks I always get this error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.fwupd was not provided by any .service files
Daemon is running? ;) Try start it with: fwupd & (as root)
Edit: looked at the package.. seems like it is in /usr/lib/fwupd/
Hi all, I had this problem and I use dinit and kde too.
I've solved it by creating a service description file for dinit "/etc/dinit.d/fwupd", like this:
type = process
command = /usr/lib/fwupd/fwupd
depends-on = dbus
before = sddm
restart = true
Then i just ran "sudo dinitctl start fwupd" and "sudo dinitctl enable fwupd".
We need an official fwupd-dinit package in the system repository to fix this for everyone.
I actually see the same issue.
Can you provide an openrc init script to fwupd (add it to the package or add an `fwupd-openrc` package)?
When I manually run `/usr/lib/fwupd/fwupd`, the reported issue persists for me.
Regards!
Look at your system's openrc files, and try to write the "/etc/init.d/fwupd" you need.
Inside the "/etc/init.d/" you should have enough examples, look here too: https://www.funtoo.org/Openrc
I never used openrc but I think it should be something like that:
#!/sbin/openrc-run
command="/usr/lib/fwupd/fwupd"
description="Firmware update daemon"
name="fwupd"
respawn_max="0"
respawn_delay="0"
depend() {
need dbus
}
Don't forget to make it executable "chmod +x /etc/init.d/fwupd", update openrc "rc-update add fwupd default" and start it "rc-service fwupd start"
Thanks! This also fixed it for me.
Actually, also needs to be told to background.
I created an AUR package
fwupd-openrc -- maybe the Artix team wants to add this to their repositories?:
https://aur.archlinux.org/packages/fwupd-openrc
Regards!
#!/usr/bin/openrc-run
description="Firmware update daemon"
name="fwupd"
command="/usr/lib/fwupd/fwupd"
command_background=true
pidfile="/run/fwupd.pid"
depend() {
need dbus
before xdm display-manager
}
### Configuration settings to be set in /etc/conf.d/fwupd
if [ -n "${_FWUPD_COMMAND}" ]; then
command="${_FWUPD_COMMAND}"
fi
if [ -n "${_FWUPD_ARGS}" ]; then
command_args="${_FWUPD_ARGS}"
fi
if [ -n "${_FWUPD_USER}" ]; then
if [ -n "${_FWUPD_GROUP}" ]; then
command_user="${_FWUPD_USER}:${_FWUPD_GROUP}"
else
command_user="${_FWUPD_USER}"
fi
fi
if [ -n "${_FWUPD_PIDFILE}" ]; then
pidfile="${_FWUPD_PIDFILE}"
fi