[pbs-devel] [PATCH v3 proxmox proxmox-backup 0/4] fix 4788: statically linked proxmox-backup-client
Christian Ebner
c.ebner at proxmox.com
Tue Apr 8 16:19:35 CEST 2025
On 4/8/25 15:14, Lukas Wagner wrote:
> 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.
Thanks for testing, already on it to include a note mentioning the
different behavior in the docs!
>
> Tested-by: Lukas Wagner <l.wagner at proxmox.com>
>
More information about the pbs-devel
mailing list