From: Filip Schauer <f.schauer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH container] config: allow empty environment variables
Date: Mon, 17 Nov 2025 15:08:16 +0100 [thread overview]
Message-ID: <e608193f-a9ec-4a6d-b583-9aeccdc65c28@proxmox.com> (raw)
In-Reply-To: <1763387948.vnr0y6nj1p.astroid@yuna.none>
On 17/11/2025 14:59, Fabian Grünbichler wrote:
> shouldn't we handle this and drop that environment variable entry
> instead?
An empty environment variable is not the same as a missing one. The
entrypoint in the container might interpret it differently:
```
$ perl -e 'use Data::Dumper; print Dumper($ENV{A});'
$VAR1 = undef;
$ A= perl -e 'use Data::Dumper; print Dumper($ENV{A});'
$VAR1 = '';
```
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-11-17 14:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-17 12:49 Filip Schauer
2025-11-17 13:59 ` Fabian Grünbichler
2025-11-17 14:05 ` Fabian Grünbichler
2025-11-17 14:08 ` Filip Schauer [this message]
2025-11-17 14:15 ` [pve-devel] applied: " Thomas Lamprecht
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=e608193f-a9ec-4a6d-b583-9aeccdc65c28@proxmox.com \
--to=f.schauer@proxmox.com \
--cc=pve-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