summaryrefslogtreecommitdiffstats
path: root/man/systemd.link.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-20 14:40:24 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-25 08:41:10 +0200
commit84ea567eb4326eb970a33188649fde6bea2a0d4e (patch)
tree9f05811462e320d49f69077ea7c0a95251c2ae9f /man/systemd.link.xml
parentMerge pull request #12376 from mrc0mmand/deal-with-backslashes-in-completion (diff)
downloadsystemd-84ea567eb4326eb970a33188649fde6bea2a0d4e.tar.xz
systemd-84ea567eb4326eb970a33188649fde6bea2a0d4e.zip
udev,network: warn when .link or .network file has no [Match] section
Closes #12098.
Diffstat (limited to 'man/systemd.link.xml')
-rw-r--r--man/systemd.link.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index af9799e8c0..ea744bd251 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -60,8 +60,13 @@
<refsect1>
<title>[Match] Section Options</title>
- <para>A link file is said to match a device if each of the entries in the [Match] section matches, or if
- the section is empty. The following keys are accepted:</para>
+ <para>A link file is said to match a device if all matches specified by the
+ <literal>[Match]</literal> section are satisfied. When a link file does not contain valid settings
+ in <literal>[Match]</literal> section, then the file will match all devices and
+ <command>systemd-udevd</command> warns about that. Hint: to avoid the warning and to make it clear
+ that all interfaces shall be matched, add the following:
+ <programlisting>OriginalName=*</programlisting>
+ The following keys are accepted:</para>
<variablelist class='network-directives'>
<varlistentry>