guix-patches
[Top][All Lists]
Advanced

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

[bug#54997] [PATCH 00/12] Add "least authority" program wrapper


From: Ludovic Courtès
Subject: [bug#54997] [PATCH 00/12] Add "least authority" program wrapper
Date: Wed, 20 Apr 2022 00:05:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Maxime Devos <maximedevos@telenet.be> skribis:

> Ludovic Courtès schreef op zo 17-04-2022 om 23:04 [+0200]:
>> +(define* (least-authority-wrapper program
>> +                                  #:key (name "pola-wrapper")
>> +                                  (guest-uid 1000)
>> +                                  (guest-gid 1000)
>> +                                  (mappings '())
>> +                                  (namespaces %namespaces)
>> +                                  (directory "/")
>> +                                  (preserved-environment-variables
>> +                                   %precious-variables))
>
> Could there be an option to define environment variables?  E.g. set
> GUIX_LOCPATH for Guile packages that need locale data to read non-ASCII
> file names.  As is, it seems like an environment-setting wrapper has to
> be inserted inside the pola wrapper to do this.

Yes, good point.  I’m tempted to wait until the first use case comes up
though.  :-)

Thanks for taking a look!

reply via email to

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