NetworkManager/man
Thomas Haller a7ef23b326 core: fix match spec behavior for a list of all "except:"
If the spec specifies only negative matches (and none of them matches),
then the result shall be positive.

Meaning:

    [connection*] match-device=except:dhcp-plugin:dhclient
    [connection*] match-device=except:interface-name:eth0
    [.config] enabled=except:nm-version:1.14

should be the same as:

    [connection*] match-device=*,except:dhcp-plugin:dhclient
    [connection*] match-device=*,except:interface-name:eth0
    [.config] enabled=*,except:nm-version:1.14

and match by default. Previously, such specs would never yield a
positive match, which seems wrong.

Note that "except:" already has a special meaning. It is not merely
"not:". That is because we don't support "and:" nor grouping, but all
matches are combined by an implicit "or:". With such a meaning, having
a "not:" would be unclear to define. Instead it is defined that any
"except:" match always wins and makes the entire condition to explicitly
not match. As such, it makes sense to treat a match that only consists
of "except:" matches special.

This is a change in behavior, but the alternative meaning makes
little sense.
2018-12-11 13:58:24 +01:00
..
common.ent.in man: fix "no-auto-default" state dir in NetworkManager.conf manual 2018-10-25 15:24:38 +02:00
meson.build man: fix "no-auto-default" state dir in NetworkManager.conf manual 2018-10-25 15:24:38 +02:00
NetworkManager.conf.xml core: fix match spec behavior for a list of all "except:" 2018-12-11 13:58:24 +01:00
NetworkManager.xml all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
nm-initrd-generator.xml initrd: add configuration generator 2018-09-18 17:40:47 +02:00
nm-online.xml nm-online: sort options in man page and program help 2018-11-05 09:32:20 +01:00
nm-openvswitch.xml doc,all: fix spelling of Open vSwitch (instead of OpenVSwitch) 2018-11-28 14:26:42 +01:00
nm-settings-ifcfg-rh.xsl man: fix evaluation of unsupported ifcfg-rh settings 2017-09-05 10:33:42 +02:00
nm-settings-keyfile.xsl man: turn the manual page cross-references into links 2016-06-21 18:40:13 +02:00
nm-settings.xsl man: clearify plain text secrets in keyfile 2017-09-28 17:56:49 +02:00
nmcli-examples.xml man: add OTP-based VPN activation example 2018-11-14 17:15:50 +01:00
nmcli.xml all: say Wi-Fi instead of "wifi" or "WiFi" 2018-11-29 17:53:35 +01:00
nmtui.1.in man: update version number and dates in manual pages 2016-03-09 10:11:27 +01:00
nmtui.xml man: turn the manual page cross-references into links 2016-06-21 18:40:13 +02:00