Bug#845442: udev: does not honor configuration files in /etc/udev/hwdb.d

Michael Biebl biebl at debian.org
Sun Nov 27 13:17:06 GMT 2016


Am 27.11.2016 um 14:00 schrieb Norbert Preining:
> Hi Michael, hi Martin,
> 
>> When reading the hwdb(7) man page, it only talks about overriding
>> *files* not individual *entries*. So what you want to do might indeed
>> not be supported and it is working as documented.
> 
> Well, not exactly. It reads that one can add arbitrary files and they
> are loaded in the numerical order, where files named the same way
> the /etc version takes precedence.

Tbh, the documentation is not super clear on this particular issue.
At some point it might make sense to involve upstream to ask for
clarification.

> which is correct. But this was the very setup I had in the very beginning, 
> so it seems that either the initramfs is not constructed correctly, or the
> udev in the initramfs works differently.

The initramfs does *not* include the hwdb, which is deliberate (the hwdb
is rather large and not crucial during the initramfs stage).

The hwdb information is applied after the switch_root when the
systemd-udev-trigger.service is run.

You confirmed that naming the file 60-keyboard.hwdb, thus overriding the
one from /lib, does ensure the correct mapping is applied.

So my *guess* is, that the builtin{hwdb} is perhaps behaving differently
then systemd-hwdb query.

I guess we have to take this upstream. The first step would be, to
clarify whether overriding individual entries is supported or not (and
update the documentation while at it).

If you want, please file the issue at
https://github.com/systemd/systemd/issues

I can reproduce the issue though (I own the same keyboard), so I can
file it myself as well, if you don't want to.

Regards,
Michael




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20161127/254b3944/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list