bug-guix
[Top][All Lists]
Advanced

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

bug#45066: guix environment --container is borken


From: zimoun
Subject: bug#45066: guix environment --container is borken
Date: Sun, 06 Dec 2020 18:05:49 +0100

Hi,

On Sun, 06 Dec 2020 at 16:59, luhux <luhux@outlook.com> wrote:
> In the new guix `guix environment --container` is borken.

It is not broken.

> Please fix it,

Please fix your config. :-)


The message says:

--8<---------------cut here---------------start------------->8---
$ guix environment -C --ad-hoc hello -- hello 
guix environment: error: cannot create container: unprivileged user cannot 
create user namespaces
guix environment: error: please set /proc/sys/kernel/unprivileged_userns_clone 
to "1"
--8<---------------cut here---------------end--------------->8---

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---

Feel free to comment on the thread:

<https://yhetil.org/guix/e5c86d238ca5174b745b8ea6cb0cb6ad6b20aa5e.camel@yasuaki.com>

if it does not work for you.


If no major objection, I am closing.

All the best,
simon





reply via email to

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