GNU bug report logs - #61690
Failure to mount /sys in nested ‘guix shell’ container

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 21 Feb 2023 22:46:01 UTC

Severity: important

Full log


Message #19 received at 61690 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 61690 <at> debbugs.gnu.org
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, Konrad Hinsen <konrad.hinsen <at> cnrs.fr>
Subject: Re: bug#61690: Failure to mount /sys in nested ‘guix shell’ container
Date: Tue, 14 Jan 2025 18:07:58 +0100
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> As reported by Konrad¹, nested ‘guix shell -C’ fails:
>
> $ guix shell -CN guix \
>       --expose=/var/guix/daemon-socket/socket \
>       --expose=/gnu/store \
>       -- guix shell -C coreutils -- ls /
> guix shell: error: mount: mount "none" on "/tmp/guix-directory.xO3FIx/sys": Operation not permitted

[...]

> The reason for this bug seems to be given here:
>
>   https://github.com/nestybox/sysbox/issues/67#issuecomment-726285026

I submitted a simple patch to address this annoyance:

  https://issues.guix.gnu.org/75560

Ludo’.




This bug report was last modified 157 days ago.

Previous Next


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