guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#70933] [PATCH] system: Do not add "--disable-chroot" to containers.


From: Andreas Enge
Subject: [bug#70933] [PATCH] system: Do not add "--disable-chroot" to containers.
Date: Thu, 19 Sep 2024 10:01:47 +0200

Am Fri, May 31, 2024 at 04:26:58PM +0200 schrieb Andreas Enge:
> The problem with a default is that apparently, for containers we want #f,
> for real machines we want #t as the default; and then it should be
> overridable. The only solution I see is to use a ternary value,
> allowing chroot? to be #f, #t or 'default, with the last one, you guess it,
> being the default. It would be replaced by #f or #t depending on whether
> we are in a container or not.

The patch works in our kubernetes environment (where we create docker
containers with 'chroot? #t'). If there is agreement, I am happy to adapt
the documentation and to push.

Andreas






reply via email to

[Prev in Thread] Current Thread [Next in Thread]