|
From: | GNU bug Tracking System |
Subject: | bug#45066: closed (guix environment --container is borken) |
Date: | Sun, 06 Dec 2020 21:03:02 +0000 |
Your message dated Sun, 06 Dec 2020 22:02:14 +0100 with message-id <874kky1wdl.fsf@gnu.org> and subject line Re: bug#45066: guix environment --container is borken has caused the debbugs.gnu.org bug report #45066, regarding guix environment --container is borken to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 45066: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45066 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: guix environment --container is borken Date: Sun, 06 Dec 2020 16:59:41 +0800 In the new guix `guix environment --container` is borken. User-agent: K-9 Mail for Android
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
--- End Message ---
--- Begin Message ---Subject: Re: bug#45066: guix environment --container is borken Date: Sun, 06 Dec 2020 22:02:14 +0100 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. :-)signature.asc
Description: PGP signature
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |