rndc-confgen -a segfaults on riscv64
testing/dnssec-tools build log:
(52/106) Installing bind (9.16.18-r2) Executing bind-9.16.18-r2.pre-install Executing bind-9.16.18-r2.post-install Segmentation fault (core dumped) chown: /etc/bind/rndc.key: No such file or directory ERROR: bind-9.16.18-r2.post-install: script exited with error 1
/etc/bind/rndc.key doesn't exist afterwards, it seems
rndc-confgen -a (as invoked by the post-install script) segfaults. Unfortunately, by simply running
rndc-confgen -a in my Alpine riscv64 qemu-user chroot I cannot reproduce the segfault. Might be racy.