diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-26 18:45:38 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-27 11:27:04 +0200 |
commit | fa17101b8efed0e2deeffe5ecd67c993f639debb (patch) | |
tree | e6418a7e6deee4a4813eb6132c7fcc4b745b69b2 /test/units/testsuite-75.sh | |
parent | test: fix typo (diff) | |
download | systemd-fa17101b8efed0e2deeffe5ecd67c993f639debb.tar.xz systemd-fa17101b8efed0e2deeffe5ecd67c993f639debb.zip |
test: fix delv trust anchors location on Ubuntu
delv on Ubuntu defaults to /etc/bind/bind.keys instead of /etc/bind.keys
when reading trust anchors, so let's create a symlink to make the test
work there as well.
Resolves: #24453
Diffstat (limited to '')
-rwxr-xr-x | test/units/testsuite-75.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-75.sh b/test/units/testsuite-75.sh index a14ee22841..fbe37342dd 100755 --- a/test/units/testsuite-75.sh +++ b/test/units/testsuite-75.sh @@ -57,6 +57,9 @@ keymgr . ds | sed 's/ DS/ IN DS/g' >/etc/dnssec-trust-anchors.d/root.positive keymgr . dnskey | sed -r 's/^\. DNSKEY ([0-9]+ [0-9]+ [0-9]+) (.+)$/. static-key \1 "\2";/g' echo '};' } >/etc/bind.keys +# Create an /etc/bind/bind.keys symlink, which is used by delv on Ubuntu +mkdir -p /etc/bind +ln -svf /etc/bind.keys /etc/bind/bind.keys # Start the services systemctl unmask systemd-networkd systemd-resolved |