[pbs-devel] [PATCH v3 proxmox proxmox-backup 0/4] fix 4788: statically linked proxmox-backup-client
    Lukas Wagner 
    l.wagner at proxmox.com
       
    Tue Apr  8 15:14:33 CEST 2025
    
    
  
Gave this a quick test on the latest master.
$ make proxmox-backup-client-static
[...]
$ ldd target/x86_64-unknown-linux-gnu/debug/proxmox-backup-client
        statically linked
Nice! :)
Tested a couple of commands against my local PBS instance. One thing that tripped me
up was that hickory-dns does not like plain hostnames when resolving IPs
from /etc/hosts:
This does NOT work:
  $ cat /etc/hosts
  192.168.xxx.xxx pbs
  $ export PBS_REPOSITORY=pbs:store
  $ ./proxmox-backup-client ...
This works:
  $ cat /etc/hosts
  192.168.xxx.xxx pbs.example.com
  $ export PBS_REPOSITORY=pbs.example.com:store
  $ ./proxmox-backup-client ...
I did not really dig any deeper, but any obvious differences in name
resolution which could trip up users should probably be documented in
some form.
Tested-by: Lukas Wagner <l.wagner at proxmox.com>
-- 
- Lukas
    
    
More information about the pbs-devel
mailing list