GNU bug report logs - #57050
[PATCH 0/6] gnu: Update Racket to 8.6. Add Zuo.

Previous Next

Package: guix-patches;

Reported by: Philip McGrath <philip <at> philipmcgrath.com>

Date: Mon, 8 Aug 2022 06:07:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #203 received at 57050 <at> debbugs.gnu.org (full text, mbox):

From: "Philip McGrath" <philip <at> philipmcgrath.com>
To: "Maxime Devos" <maximedevos <at> telenet.be>,
 "Liliana Marie Prikler" <liliana.prikler <at> ist.tugraz.at>,
 57050 <at> debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Efraim Flashner <efraim <at> flashner.co.il>,
 Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Subject: Re: [bug#57050] [PATCH v2 04/13] gnu: Add Zuo.
Date: Tue, 23 Aug 2022 19:24:57 -0400
On Tue, Aug 23, 2022, at 5:11 AM, Maxime Devos wrote:
> On 23-08-2022 03:40, Philip McGrath wrote:
>
>> More generally, it seems questionable for our glibc to retain a store reference to Bash (let alone two). Wouldn't that prevent creating containers or packs without a shell present?
>
> glibc needs to retain a reference to a shell for the 'system' function 
> to work.
>
> I don't see what containers or packs have to do with anything, it's the 
> same for profiles in general.
>

Without involving Guix, it's possible to create a chroot, container, or various other kinds of environments where a shell is not present. Inside such an environment, the 'system' function "works" by returning 0 if the command is NULL, 127 otherwise.

AFAICT, even when Guix creates a container or otherwise isolated environment, any program linking to glibc pulls along Bash. (Indeed, two different versions of Bash!)

-Philip




This bug report was last modified 2 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.