GNU bug report logs - #45066
guix environment --container is borken

Previous Next

Package: guix;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: luhux <luhux <at> outlook.com>
Subject: bug#45066: closed (Re: bug#45066: guix environment --container is
 borken)
Date: Sun, 06 Dec 2020 21:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45066: guix environment --container is borken

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45066 <at> debbugs.gnu.org.

-- 
45066: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45066
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <marius <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>, luhux <luhux <at> outlook.com>,
 45066-done <at> debbugs.gnu.org
Subject: Re: bug#45066: guix environment --container is borken
Date: Sun, 06 Dec 2020 22:02:14 +0100
[Message part 3 (text/plain, inline)]
zimoun <zimon.toutoune <at> gmail.com> skriver:

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

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.  :-)
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: luhux <luhux <at> outlook.com>
To: bug-guix <at> gnu.org
Subject: guix environment --container is borken
Date: Sun, 06 Dec 2020 16:59:41 +0800
[Message part 6 (text/plain, inline)]
In the new guix `guix environment --container` is borken.

The reason lies in the 8bc5ca5160db3d82bd5b6b2b7ed80c96f42bd33e of the master branch:



It checks if the file exists and then returns a boolean




None of my 3 Guix System machines have this file but they can still run unprivileged containers.

Please fix it,

thanks very much


luhux
[Message part 7 (text/html, inline)]

This bug report was last modified 4 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.