unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: luhux <luhux@outlook.com>, 45066@debbugs.gnu.org
Subject: bug#45066: guix environment --container is borken
Date: Sun, 06 Dec 2020 18:05:49 +0100	[thread overview]
Message-ID: <86a6uqamqa.fsf@gmail.com> (raw)
In-Reply-To: <PSXP216MB02147543A84779F3F6A8509EA0CF0@PSXP216MB0214.KORP216.PROD.OUTLOOK.COM>

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	other threads:[~2020-12-06 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06  8:59 bug#45066: guix environment --container is borken luhux
2020-12-06 17:05 ` zimoun [this message]
2020-12-06 21:02   ` Marius Bakke
2020-12-07  0:52     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a6uqamqa.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=45066@debbugs.gnu.org \
    --cc=luhux@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).