Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77774 - [fwupd] fwupd-refresh.service: Main process exited, code=exited, status=1/FAILURE
Attached to Project:
Community Packages
Opened by CS (JMP64i) - Tuesday, 07 March 2023, 23:31 GMT
Last edited by freswa (frederik) - Wednesday, 08 March 2023, 22:06 GMT
Opened by CS (JMP64i) - Tuesday, 07 March 2023, 23:31 GMT
Last edited by freswa (frederik) - Wednesday, 08 March 2023, 22:06 GMT
|
DetailsDescription:
fwupd-refresh.service fail with the following log: # journalctl -fu fwupd-refresh.service Mar 08 00:21:10 <hostname> systemd[1]: Starting Refresh fwupd metadata and update motd... Mar 08 00:21:10 <hostname> systemd[1]: fwupd-refresh.service: Main process exited, code=exited, status=1/FAILURE Mar 08 00:21:10 <hostname> systemd[1]: fwupd-refresh.service: Failed with result 'exit-code'. Mar 08 00:21:10 <hostname> systemd[1]: Failed to start Refresh fwupd metadata and update motd. Some solutions are on the internet but I don't know which solution is the best: * https://github.com/fwupd/fwupd/issues/2532 * https://github.com/fwupd/fwupd/issues/3597 * https://askubuntu.com/questions/1404691/fwupd-refresh-service-failed * https://askubuntu.com/questions/1415928/cannot-start-fwupd-refresh-service * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943343 * https://bugzilla.redhat.com/show_bug.cgi?id=2029179 * https://itsfoss.community/t/fwupd-refresh-service-has-finished-with-a-failure/9627/7 * ... Additional info: * version: 1.8.12-1 Steps to reproduce: systemctl start fwupd-refresh.service |
This task depends upon
Closed by freswa (frederik)
Wednesday, 08 March 2023, 22:06 GMT
Reason for closing: Upstream
Additional comments about closing: https://github.com/systemd/systemd/issue s/22737
Either edit the service or install dbus-broker in the meantime.
Wednesday, 08 March 2023, 22:06 GMT
Reason for closing: Upstream
Additional comments about closing: https://github.com/systemd/systemd/issue s/22737
Either edit the service or install dbus-broker in the meantime.
/usr/bin/fwupdmgr refresh
but you're trying to run it like a daemon which the refresh service is not. Please use the timer. Additionally, because it talks to a remote server, network and/or remote issues could also be a factor.
In any case, there is nothing to indicate an Arch packaging bug here. Feel free to discuss further in the proper support channels (forum/IRC/etc).
And no it is not a network/remote problem. I have many independent systems which fails and if I add User=root to the service file, it works on all of this. But I'm not sure if this is the bedt solution.
Additionally many other distribution fixed it in some way.
Therefor I can open up the same issue on the forum or you can simply try if it will fail on your system too to verify it.
In the meantime one can either run the process with it's own user, as root or just mask the service. I don't think we should lower security here since the service isn't required at all. Also `fwupd refresh` works fine.