all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Wagner <l.wagner@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	Christian Ebner <c.ebner@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 15:14:33 +0200	[thread overview]
Message-ID: <5a92f86f-61c9-4de5-af27-3fc8a9791de8@proxmox.com> (raw)
In-Reply-To: <20250408123811.178716-1-c.ebner@proxmox.com>

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

-- 
- Lukas




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


  parent reply	other threads:[~2025-04-08 13:14 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 ` Lukas Wagner [this message]
2025-04-08 14:19   ` [pbs-devel] [PATCH v3 proxmox proxmox-backup 0/4] fix 4788: statically linked proxmox-backup-client Christian Ebner
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=5a92f86f-61c9-4de5-af27-3fc8a9791de8@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=c.ebner@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal