Bug 1222196

Summary: libinput-udev: udevadm hwdb is deprecated. Use systemd-hwdb instead.
Product: [openSUSE] openSUSE Tumbleweed Reporter: Gerald Pfeifer <gp>
Component: OtherAssignee: Jan Engelhardt <jengelh>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bjorn.lie, gp, jengelh
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gerald Pfeifer 2024-04-01 00:29:29 UTC
Running `zypper dup` on Tumbleweed I noticed the following message
related to libisoburn1:

( 624/2166) Installing: libisoburn1-1.5.6-1.3.x86_64 .........[done]
udevadm hwdb is deprecated. Use systemd-hwdb instead.
Comment 1 Adam Majer 2024-04-02 10:31:42 UTC
# rpm -q --scripts libisoburn1 
postinstall program: /sbin/ldconfig
postuninstall program: /sbin/ldconfig


Can you provide more information what is actually calling `udevadm`? You can this message if you run something like `udevadm hwdb --test foo` and I don't see libisoburn1 doing this.

Can you attach /var/log/zypp/history or find the relevant information there and post it here?
Comment 2 Gerald Pfeifer 2024-04-02 11:54:04 UTC
Apologies Adam, I misread the output - thinking the warning followed the package involved.

/var/log/zypp/history identifies the actual issue:

2024-04-01 02:25:38|install|libisoburn1|1.5.6-1.3|x86_64||download.opensuse.org-oss|6473f377...|
# 2024-04-01 02:25:38 libinput-udev-1.25.0-2.2.x86_64.rpm installed ok
# Additional rpm output:
# udevadm hwdb is deprecated. Use systemd-hwdb instead.
# 
2024-04-01 02:25:38|install|libinput-udev|1.25.0-2.2|x86_64||download.opensuse.org-oss|60ae338e...|


And indeed:

  % rpm -q --scripts libinput-udev-1.25.0
  postinstall scriptlet (using /bin/sh):
  [ -x /usr/bin/udevadm ] && /usr/bin/udevadm hwdb --update || :


Jan, Bjorn, it appears you alternate updating ibinput-udev?