diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2021-10-30 18:58:41 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-11-01 00:28:41 +0100 |
commit | 2ad2925de5f258d128ec8cdb07f10f3c52fa4fcf (patch) | |
tree | b250d13a2ae163152cb68994a139bcc81886ea1f /src/libsystemd-network/sd-dhcp6-lease.c | |
parent | mkosi: Install less in the mkosi Fedora image (diff) | |
download | systemd-2ad2925de5f258d128ec8cdb07f10f3c52fa4fcf.tar.xz systemd-2ad2925de5f258d128ec8cdb07f10f3c52fa4fcf.zip |
execute: respect selinux_context_ignore
When `SELinuxContext=` parameter is prefixed with `-`, the documentation states
that any errors determining or changing context should be ignored, but this
doesn't actually happen and the service may fail with `229/SELINUX_CONTEXT`.
Fix by adding checks to `context->selinux_context_ignore`.
Closes: #21057
Diffstat (limited to 'src/libsystemd-network/sd-dhcp6-lease.c')
0 files changed, 0 insertions, 0 deletions