Newer versions of fwupd seems to automatically terminate itself, when idling for more than two hours. This causes the openrc init script to display the status "crashed". Dec 14 13:13:06 granit fwupd-debug: 12:13:06:0495 FuHistory got schema version of 2 Dec 14 13:13:06 granit fwupd-debug: 12:13:06:0495 FuEngine Emitting PropertyChanged('Status'='idle') Dec 14 13:13:06 granit fwupd-debug: 12:13:06:0495 FuMain Emitting PropertyChanged('Status'='idle') Dec 14 13:13:06 granit fwupd-debug: 12:13:06:0504 FuMain Daemon ready for requests Dec 14 13:13:06 granit fwupd-debug: 12:13:06:0514 FuMain FuMain: acquired name: org.freedesktop.fwupd Dec 14 15:13:06 granit fwupd-debug: 14:13:06:0350 FuIdle status now shutdown Dec 14 15:13:06 granit fwupd-debug: 14:13:06:0350 FuEngine Emitting PropertyChanged('Status'='shutdown') Dec 14 15:13:06 granit fwupd-debug: 14:13:06:0350 FuMain Emitting PropertyChanged('Status'='shutdown') Dec 14 15:13:06 granit fwupd-debug: 14:13:06:0352 FuPlugin performing destroy() on upower Dec 14 15:13:06 granit fwupd-debug: 14:13:06:0352 FuPlugin performing destroy() on flashrom Dec 14 15:13:06 granit fwupd-debug: 14:13:06:0352 FuPlugin performing destroy() on uefi Dec 14 17:18:33 granit /etc/init.d/fwupd[673]: status: crashed
It seems that there is the config option IdleTimeout in /etc/fwupd/daemon.conf. If this is set to 0, there is no idle. However, it might be better to just install the provided dbus service, which starts the daemon on demand: https://github.com/hughsie/fwupd/blob/master/data/org.freedesktop.fwupd.service.in The dbus service is not installed by the ebuild.
(In reply to Till Schäfer from comment #1) > It seems that there is the config option IdleTimeout in > /etc/fwupd/daemon.conf. If this is set to 0, there is no idle. > > However, it might be better to just install the provided dbus service, which > starts the daemon on demand: > > https://github.com/hughsie/fwupd/blob/master/data/org.freedesktop.fwupd. > service.in > > The dbus service is not installed by the ebuild. Well, according to the build system, this file only gets built/installed when the "systemd" USE flag is enabled. So this is no solution for openrc users.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61874ff149cd353bf7d5c694251824526cd71f11 commit 61874ff149cd353bf7d5c694251824526cd71f11 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-01-02 09:26:51 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-01-02 09:30:38 +0000 sys-apps/fwupd: Bump to version 1.2.2 Set IdleTimeout to 0 in daemon.conf when USE="-systemd" Closes: https://bugs.gentoo.org/673140 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/fwupd/Manifest | 1 + sys-apps/fwupd/fwupd-1.2.2.ebuild | 129 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+)