Subject: Re: bug#45066: guix environment --container is borken

From: Marius Bakke <[email-masked]>
Date: Sun, 06 Dec 2020 22:02:14 +0100

zimoun <[email-masked]> skriver:

> Hi,
>
> On Sun, 06 Dec 2020 at 16:59, luhux <[email-masked]> wrote:
>> In the new guix `guix environment --container` is borken.
>
> It is not broken.

It was broken.  :-)

> Have you tried the recommendation?
>
> --8<---------------cut here---------------start------------->8---
> $ su -
> Password: 
> # echo 1 > /proc/sys/kernel/unprivileged_userns_clone 
> # logout
>
> $ guix environment -C --ad-hoc hello -- hello 
> Hello, world!
> --8<---------------cut here---------------end--------------->8---

...because this only works on the Debian kernel.

We need to find a more robust test for user namespaces, but for now I
reverted the commit.

Closing!  Thanks for the report luhux.  :-)