public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: Lukas Wagner <l.wagner@proxmox.com>,
	Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] [PATCH v3 proxmox proxmox-backup 0/4] fix 4788: statically linked proxmox-backup-client
Date: Tue, 8 Apr 2025 16:19:35 +0200	[thread overview]
Message-ID: <15f17e0d-e493-40fc-80f2-4538376ea310@proxmox.com> (raw)
In-Reply-To: <5a92f86f-61c9-4de5-af27-3fc8a9791de8@proxmox.com>

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@proxmox.com>
> 



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


  reply	other threads:[~2025-04-08 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08 12:38 Christian Ebner
2025-04-08 12:38 ` [pbs-devel] [PATCH v3 proxmox 1/4] http: client: make https connector generic over resolver Christian Ebner
2025-04-08 14:06   ` Wolfgang Bumiller
2025-04-08 14:21     ` Christian Ebner
2025-04-08 12:38 ` [pbs-devel] [PATCH v3 proxmox-backup 2/4] fix: 4788: Makefile: target for statically linked client binary Christian Ebner
2025-04-08 12:38 ` [pbs-devel] [PATCH v3 proxmox-backup 3/4] Makefile: switch path based on build mode and target Christian Ebner
2025-04-08 12:38 ` [pbs-devel] [PATCH v3 proxmox-backup 4/4] client: http: Use custom resolver for statically linked binary Christian Ebner
2025-04-08 13:14 ` [pbs-devel] [PATCH v3 proxmox proxmox-backup 0/4] fix 4788: statically linked proxmox-backup-client Lukas Wagner
2025-04-08 14:19   ` Christian Ebner [this message]
2025-04-08 15:06 ` [pbs-devel] superseded: " Christian Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15f17e0d-e493-40fc-80f2-4538376ea310@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=l.wagner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal