Compare commits
No commits in common. "5553041a623f003ba978d3888c458651f525e647" and "d67b1d18fcda2c8c5aacfc50f9591c8dc7a4a8a1" have entirely different histories.
5553041a62
...
d67b1d18fc
3
NEWS
3
NEWS
|
@ -217,9 +217,6 @@ 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_debug_errno(r, "Failed to fix label of '%s' as '%s': %m", entry_path, source_path);
|
return log_error_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 (r != -EEXIST)
|
if (errno != EEXIST)
|
||||||
log_debug_errno(r, "Failed to create '%s', ignoring: %m", path);
|
log_debug_errno(errno, "Failed to create '%s', ignoring: %m", path);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -452,11 +452,6 @@ 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,17 +1322,6 @@ 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