Bug 1217295

Summary: fwupdmgr get-devices hangs since update to fwupd 1.9.8
Product: [openSUSE] openSUSE Tumbleweed Reporter: Frank Krüger <fkrueger>
Component: BasesystemAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
URL: https://github.com/fwupd/fwupd/pull/6399
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Frank Krüger 2023-11-17 20:16:03 UTC
Given TW20231116 with the update to fwupd-1.9.8-1.1.x86_64, the command "fwupdmgr get-devices" does not work anymore. In fact, it hangs and does not give any output. The corresponding service, however, is running: 

> sudo systemctl status fwupd.service 
fwupd.service - Firmware update daemon
     Loaded: loaded (/usr/lib/systemd/system/fwupd.service; static)
     Active: active (running) since Fri 2023-11-17 20:48:21 CET; 13min ago
       Docs: https://fwupd.org/
   Main PID: 6677 (fwupd)
      Tasks: 6 (limit: 4915)
        CPU: 2.374s
     CGroup: /system.slice/fwupd.service
             └─6677 /usr/libexec/fwupd/fwupd

Nov 17 20:48:19 systemd[1]: Starting Firmware update daemon...
Nov 17 20:48:21 fwupd[6677]: 19:48:21.177 FuMain Daemon ready for requests (locale de_DE.UTF-8)
Nov 17 20:48:21 systemd[1]: Started Firmware update daemon.

Version 1.9.7 works fine. There is a recent issue related to fwupd 1.9.8 (https://github.com/fwupd/fwupd/issues), but this one seems to be different.
Comment 1 Frank Krüger 2023-11-18 08:34:44 UTC
JFYI: There is an upstream fix, which might solve the issue, but it hasn't been approved yet: https://github.com/fwupd/fwupd/pull/6395.
Comment 2 Frank Krüger 2023-11-20 18:49:19 UTC
fwupd 1.9.9 contains the fix for "fwupdmgr get-devices": https://github.com/fwupd/fwupd/releases/tag/1.9.9. I will leave this bug report open until it lands in openSUSE.
Comment 3 Dominique Leuenberger 2023-11-21 07:52:36 UTC
(In reply to Frank Krüger from comment #2)
> fwupd 1.9.9 contains the fix for "fwupdmgr get-devices":
> https://github.com/fwupd/fwupd/releases/tag/1.9.9. I will leave this bug
> report open until it lands in openSUSE.

Thanks for chasing that. fwupd 1.9.9 has just been submitted to Factory
https://build.opensuse.org/request/show/1127846
Comment 4 Frank Krüger 2023-11-23 18:14:16 UTC
The issue is solved with fwupd 1.9.9 provided by TW20231122. Closing.