[systemd-devel] Antw: [EXT] Re: "[Match]" section in systemd.link file doesn't match interface

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed Mar 4 07:45:04 UTC 2020


>>> Felix <systemd-devel at fj.hamme.net> schrieb am 03.03.2020 um 15:20 in Nachricht
<28933_1583245223_5E5E67A7_28933_1176_1_13488396-f23a-8701-3f64-260f060119d5 at ham
e.net>:
> Thank you for your help! I've found my problem and it was way simpler
> than I thought.
> 
> The systemd.link manpage mentions:
> "The first (in lexical order) of the link files that matches a given
> device is applied. Note that a default file 99-default.link is shipped
> by the system. Any user-supplied .link should hence have a lexically
> earlier name to be considered at all."
> 
> My .link file wasn't considered because its file name came lexically
> after '99-default.link'.

A word of warning: With Unicode collating sequences the ordering of such files can sometimes be "unexpected" (e.g. comparing '-' with '.').

[...]




More information about the systemd-devel mailing list