unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <marius@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>, luhux <luhux@outlook.com>,
	45066-done@debbugs.gnu.org
Subject: bug#45066: guix environment --container is borken
Date: Sun, 06 Dec 2020 22:02:14 +0100	[thread overview]
Message-ID: <874kky1wdl.fsf@gnu.org> (raw)
In-Reply-To: <86a6uqamqa.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

zimoun <zimon.toutoune@gmail.com> skriver:

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

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.  :-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

  reply	other threads:[~2020-12-06 21:03 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
2020-12-06 21:02   ` Marius Bakke [this message]
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=874kky1wdl.fsf@gnu.org \
    --to=marius@gnu.org \
    --cc=45066-done@debbugs.gnu.org \
    --cc=luhux@outlook.com \
    --cc=zimon.toutoune@gmail.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).