To reproduce:

* Install fresh Fedora 34 VM
* Compile Bitcoin Core and run `./test/functional/p2p_dns_seeds.py`
{
        allowed_syscalls.insert(__NR_accept);     
        allowed_syscalls.insert(__NR_accept4);    
        allowed_syscalls.insert(__NR_bind);       
        allowed_syscalls.insert(__NR_connect);    
        allowed_syscalls.insert(__NR_listen);     
        allowed_syscalls.insert(__NR_setsockopt); 
        allowed_syscalls.insert(__NR_socket);     
        allowed_syscalls.insert(__NR_socketpair); 
    }
    void AllowNetworkSocketInformation()
    {
        allowed_syscalls.insert(__NR_getpeername); 
        allowed_syscalls.insert(__NR_getsockname); 
        allowed_syscalls.insert(__NR_getsockopt);  
    }
    void AllowOperationOnExistingFileDescriptor()
    {
        allowed_syscalls.insert(__NR_close);    
        allowed_syscalls.insert(__NR_dup);      
        allowed_syscalls.insert(__NR_dup2);     
        allowed_syscalls.insert(__NR_fcntl);    
        allowed_syscalls.insert(__NR_shutdown); 
    }
    void AllowPipe()
    {
        allowed_syscalls.insert(__NR_pipe);  
        allowed_syscalls.insert(__NR_pipe2); 
    }
    void AllowPrctl()