Bug 86808 - "udevadm hwdb --update" should report errors in source files
Summary: "udevadm hwdb --update" should report errors in source files
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 01:27 UTC by Vincent Lefevre
Modified: 2014-12-09 00:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.