Compare commits
7 Commits
d67b1d18fc
...
5553041a62
Author | SHA1 | Date |
---|---|---|
Yu Watanabe | 5553041a62 | |
Yu Watanabe | 6b949d2605 | |
Zbigniew Jędrzejewski-Szmek | ddcdcac519 | |
gaoyi | 0d3a8bc7eb | |
gaoyi | 1e67a9c2cd | |
Christian Göttsche | f2df56bfea | |
Christian Göttsche | db06c162e8 |
3
NEWS
3
NEWS
|
@ -217,6 +217,9 @@ CHANGES WITH 246:
|
||||||
Description"). Support for "MUD" URLs was also added to the LLDP
|
Description"). Support for "MUD" URLs was also added to the LLDP
|
||||||
stack, configurable in the [LLDP] section in .network files.
|
stack, configurable in the [LLDP] section in .network files.
|
||||||
|
|
||||||
|
* The Mode= settings in [MACVLAN] and [MACVTAP] now support 'source'
|
||||||
|
mode. Also, the sections now support a new setting SourceMACAddress=.
|
||||||
|
|
||||||
* systemd-networkd's .netdev files now support a new setting
|
* systemd-networkd's .netdev files now support a new setting
|
||||||
VLANProtocol= in the [Bridge] section that allows configuration of
|
VLANProtocol= in the [Bridge] section that allows configuration of
|
||||||
the VLAN protocol to use.
|
the VLAN protocol to use.
|
||||||
|
|
|
@ -876,7 +876,7 @@ static int mount_tmpfs(const MountEntry *m) {
|
||||||
|
|
||||||
r = label_fix_container(entry_path, source_path, 0);
|
r = label_fix_container(entry_path, source_path, 0);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return log_error_errno(r, "Failed to fix label of '%s' as '%s': %m", entry_path, source_path);
|
return log_debug_errno(r, "Failed to fix label of '%s' as '%s': %m", entry_path, source_path);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,8 +107,8 @@ int make_inaccessible_nodes(
|
||||||
else
|
else
|
||||||
r = mknod_label(path, table[i].mode, makedev(0, 0));
|
r = mknod_label(path, table[i].mode, makedev(0, 0));
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
if (errno != EEXIST)
|
if (r != -EEXIST)
|
||||||
log_debug_errno(errno, "Failed to create '%s', ignoring: %m", path);
|
log_debug_errno(r, "Failed to create '%s', ignoring: %m", path);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -452,6 +452,11 @@ static int rule_line_add_token(UdevRuleLine *rule_line, UdevRuleTokenType type,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*b = '\0';
|
*b = '\0';
|
||||||
|
|
||||||
|
/* Make sure the value is end, so NULSTR_FOREACH can read correct match */
|
||||||
|
if (b < a)
|
||||||
|
b[1] = '\0';
|
||||||
|
|
||||||
if (bar)
|
if (bar)
|
||||||
empty = true;
|
empty = true;
|
||||||
|
|
||||||
|
|
|
@ -1322,6 +1322,17 @@ EOF
|
||||||
KERNEL=="sda", TAG=""
|
KERNEL=="sda", TAG=""
|
||||||
TAGS=="foo|", SYMLINK+="found"
|
TAGS=="foo|", SYMLINK+="found"
|
||||||
TAGS=="aaa|bbb", SYMLINK+="bad"
|
TAGS=="aaa|bbb", SYMLINK+="bad"
|
||||||
|
EOF
|
||||||
|
},
|
||||||
|
{
|
||||||
|
desc => "test multi matches 11",
|
||||||
|
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda",
|
||||||
|
exp_name => "found",
|
||||||
|
not_exp_name => "bad",
|
||||||
|
rules => <<EOF
|
||||||
|
KERNEL=="sda", TAG="c"
|
||||||
|
TAGS=="foo||bar||c", SYMLINK+="found"
|
||||||
|
TAGS=="aaa||bbb||ccc", SYMLINK+="bad"
|
||||||
EOF
|
EOF
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue