Skip to content

Commit

Permalink
Merge pull request #761 from stgraber/main
Browse files Browse the repository at this point in the history
systemd: Disable ImportCredentials when privileged on 254+
  • Loading branch information
monstermunchkin authored Aug 3, 2023
2 parents 68bf125 + 9aa51ca commit 49b8a8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distrobuilder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ fix_systemd_override_unit() {
[ "${systemd_version}" -ge 244 ] && echo "ProtectKernelLogs=no";
[ "${systemd_version}" -ge 232 ] && echo "ProtectKernelModules=no";
[ "${systemd_version}" -ge 231 ] && echo "ReadWritePaths=";
[ "${systemd_version}" -ge 254 ] && echo "ImportCredential=";
fi
} > "${dropin_dir}/zzz-lxc-service.conf"
}
Expand Down

0 comments on commit 49b8a8e

Please sign in to comment.