Bug 86808

Summary: "udevadm hwdb --update" should report errors in source files
Product: systemd Reporter: Vincent Lefevre <vincent-fdt>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vincent Lefevre 2014-11-28 01:27:21 UTC
Following bug 82311, if a source file contains something like:

keyboard:usb:v05ACp0221*
  KEYBOARD_KEY_70035=102nd

"udevadm hwdb --update" reports no errors, but ignores the KEYBOARD_KEY_70035=102nd setting because it starts with 2 spaces instead of a single one.

udevadm should not silently ignore invalid code, but either report an error or accept it as valid code.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.