When using fwupd-1.1.0 with the openrc init system I get the error "The name org.freedesktop.fwupd was not provided by any .service files" for many operations (e.g., update, get-devices). It seems to me that the daemon is no longer started automatically. When I start /usr/libexec/fwupd/fwupd manually, the issue is gone. On my systemd system, a fwupd service is installed and running.
Wanna write up an openrc init script for this package?
Created attachment 539726 [details] fwupd openrc init script here it is
maybe one should mention in the packages postinstall message, that the service needs to be started manually now.
Thank you very much! Out of curiosity... why the "before xdm" in depend section?
I have seen in the systemd service file, that the service should start before gdm. I tried to stay as close the the upstream systemd service as possible, as there might be a dependency on fwupd daemon to be runnning from some gnome userlevel tools. Thus, I tried to now break thinks I do not know about.
upstream git history does also not give any insight: https://github.com/hughsie/fwupd/blame/master/data/fwupd.service.in
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c032389f603015319009857be202c0a9254147e commit 9c032389f603015319009857be202c0a9254147e Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-07-18 09:47:07 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-07-18 09:50:25 +0000 sys-apps/fwupd: Revbump to add openrc init script which was kindly contributed by Till Schäfer <till2.schaefer@uni-dortmund.de> Closes: https://bugs.gentoo.org/661324 Package-Manager: Portage-2.3.43, Repoman-2.3.10 sys-apps/fwupd/files/fwupd | 13 +++++++++++++ .../fwupd/{fwupd-1.1.0.ebuild => fwupd-1.1.0-r1.ebuild} | 16 ++++++++++++++++ 2 files changed, 29 insertions(+)