Bug 1442985 - relocation error: /lib64/libdfu.so.1: symbol g_usb_interface_get_subclass...
relocation error: /lib64/libdfu.so.1: symbol g_usb_interface_get_subclass...
Status: ASSIGNED
Product: Fedora
Classification: Fedora
Component: fwupd (Show other bugs)
25
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Richard Hughes
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-18 04:48 EDT by Alan Jenkins
Modified: 2017-05-27 04:35 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alan Jenkins 2017-04-18 04:48:33 EDT
Description of problem:

fwupd fails to launch with above error

Version-Release number of selected component (if applicable):
fwupd-0.7.5-1.fc25.x86_64
libgusb-0.2.10-1.fc25.x86_64
gnome-software-3.22.7-1.fc25.x86_64


Steps to Reproduce:
1. systemctl start fwupd
2. systemctl status fwupd

Actual results:

Apr 18 09:21:16 alan-laptop systemd[1]: Starting Firmware update daemon...
Apr 18 09:21:16 alan-laptop fwupd[4496]: /usr/libexec/fwupd/fwupd: relocation error: /lib64/libdfu.so.1: symbol g_usb_interface_get_subclass, version LIBGUSB_0.1.0 not defined in file libgusb.so.2 with link time reference
Apr 18 09:21:16 alan-laptop systemd[1]: fwupd.service: Main process exited, code=exited, status=127/n/a

Expected results:

fwupd starts successfully


Additional info:

I initially noticed the failure when refreshing in gnome-software - it showed an error about starting fwupd.

Subsequent manual refreshes seemed to succeed without complaint, despite fwupd still not being started successfully.

I have initially suggested a high severity for the issue, in case it is blocking automatic updates of _all_ types.  I do not know whether this is actually the case or not.

Any clarification or pointers on this point would be welcome.  I'm particularly itchy about whether G-S update notifications are getting more fragile after seeing https://bugzilla.redhat.com/show_bug.cgi?id=1432135
Comment 1 Sylvain Petreolle 2017-04-29 07:51:55 EDT
I applied a temporary workaround:

downgrade libgusb to fc24 packages.
libgusb-0.2.9-1.fc24.x86_64
libgusb-0.2.9-1.fc24.i686

Sidenote: This blocks bug 1266703.
Comment 2 Felix Schwarz 2017-05-16 06:46:49 EDT
ping?

I think we just need to rebuild fwupd for f25 to fix this problem.
Comment 3 Richard Hughes 2017-05-23 09:16:07 EDT
Hi Felix. If you use the new fwupd for f25 from koji does that work with the newer libgusb?
Comment 4 Felix Schwarz 2017-05-23 09:46:18 EDT
(In reply to Richard Hughes from comment #3)
> Hi Felix. If you use the new fwupd for f25 from koji does that work with the
> newer libgusb?

Yes, fwupd starts as expected now. Can't test actual firmware updating on the device right now but the relocation error is gone on my system after the koji update.
Comment 5 dylantaylor 2017-05-23 09:49:28 EDT
The new packages fix fwupd on my Fedora 25 machine.
Comment 6 dylantaylor 2017-05-23 09:53:14 EDT
This is on Fedora 25 with one of my unifying receivers plugged in. Flashing works correctly.

[dtaylor@dylantaylor-workstation Downloads]$ sudo fwupdmgr refresh
[dtaylor@dylantaylor-workstation Downloads]$ sudo fwupdmgr update
Downloading RQR12.07_B0029 for Unifying Receiver...
Updating RQR12.07_B0029 on Unifying Receiver...
Restarting device…     [****************************************]
[dtaylor@dylantaylor-workstation Downloads]$ sudo fwupdmgr update
No devices can be updated: Nothing to do
[dtaylor@dylantaylor-workstation Downloads]$ sudo fwupdmgr get-devices
My Book 25EE
  Guid:                 8b3190e0-1c7a-5437-880c-8a56aced3720
  Guid:                 7f539074-9a3e-57a9-9486-f43a7a3cce6a
  DeviceID:             usb:00:05:02:02
  Plugin:               usb
  Flags:                none
  Version:              64.4
  Created:              2017-05-23

GK107GLM [Quadro K1100M]
  Guid:                 956573e8-fba0-525e-b1ed-e9339ce8eb78
  DeviceID:             ro__sys_devices_pci0000_00_0000_00_01_0_0000_01_00_0
  Plugin:               udev
  Flags:                internal|locked
  DeviceVendor:         NVIDIA Corporation
  Created:              2017-05-23

Unifying Receiver
  Guid:                 77d843f7-682c-57e8-8e29-584f5b4f52a1
  Guid:                 9d131a0c-a606-580f-8eda-80587250b8d6
  DeviceID:             /sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.4/3-9.4.2
  Plugin:               unifying
  Flags:                allow-online|supported
  DeviceVendor:         Logitech
  Version:              RQR12.07_B0029
  VersionBootloader:    BOT01.02_B0015
  Created:              2017-05-23

USB Receiver
  Guid:                 77d843f7-682c-57e8-8e29-584f5b4f52a1
  Guid:                 39a2d8d5-9394-5e6a-b7fc-6fcebfe777aa
  DeviceID:             usb:00:09:04:02
  Plugin:               usb
  Flags:                none
  Version:              18.7
  Created:              2017-05-23

Note You need to log in before you can comment on or make changes to this bug.