GNU bug report logs -
#45066
guix environment --container is borken
Previous Next
Reported by: luhux <luhux <at> outlook.com>
Date: Sun, 6 Dec 2020 09:15:01 UTC
Severity: normal
Merged with 45069
Done: Marius Bakke <marius <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 45066 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Sun, 06 Dec 2020 at 16:59, luhux <luhux <at> 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 <at> yasuaki.com>
if it does not work for you.
If no major objection, I am closing.
All the best,
simon
This bug report was last modified 4 years and 133 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.