4 years later, still same problem here on RHEL8 with mingw64 libs from [rex:/home/fredy] nm /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcrypt32.a | grep CryptImportPublicKeyInfoEx2 [rex:/home/fredy] [root@rex:/root] dnf provides /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcrypt32.a Updating Subscription Management repositories. Last metadata expiration check: 1:15:46 ago on Sat 25 Jun 2022 08:04:24 AM CEST. mingw64-crt-5.0.2-2.el8.noarch : MinGW Windows cross-compiler runtime for the win64 target...
Anyhow, the two mentioned errors should be fixed by someone having access to the source code.
Changing Configuration BIND Module Option resolves the problem. Open "Server/BIND DNS Server" Goto Configuration (top left gear), Page "BIND Paths" Change "Chroot directory to run BIND under to - x None
Fixing the regex in bind8/bind8/records-lib.pl(734) doesn't help. #before fix : ($_[0] =~ /^[\A-Za-z0-9\-\.$uscore]+$/)) #after fix : ($_[0] =~ /^[\*A-Za-z0-9\-\.$uscore]+$/))
printing out the failing filename in /usr/libexec/webmin/bind8/create_slave.cgi 93 reveals: Failed to create slave zone : Failed to create '/var/named/chroot/var/named/slaves/mydomain.ch.hosts' : Bad file descriptor if ($file) { my $ZONE; &open_tempfile($ZONE, ">". &make_chroot($file), 1, 1) || # &error(&text('create_efile3', $file, $!)); &error(&text('create_efile3', &make_chroot($file), $!)); &close_tempfile($ZONE); &set_ownership(&make_chroot($file)); }
printing out the failing filename in /usr/libexec/webmin/bind8/create_slave.cgi 93 reveals: Failed to create slave zone : Failed to create '/var/named/chroot/var/named/slaves/mydomain.ch.hosts' : Bad file descriptor
Fixing the regex in bind8/bind8/records-lib.pl(734) doesn't help. before fix : ($[0] =~ /^[\A-Za-z0-9-.$uscore]+$/)) after fix : ($[0] =~ /^[*A-Za-z0-9-.$uscore]+$/))
/var/log/messages Use of uninitialized value $bind8::in{"view"} in string ne at /usr/libexec/webmin/bind8/create_slave.cgi line 20 . Unrecognized escape \A in character class passed through in regex; marked by <-- HERE in m/^[\A <-- HERE -Za-z0- 9-._]+$/ at records-lib.pl line 729. Error: Failed to create '/var/named/slaves/mydomain.ch.hosts' : Bad file descriptor