Subject: Re: bug#61690: Failure to mount /sys in nested ‘guix shell’ container

From: Ludovic Courtès <[email-masked]>
Date: Tue, 14 Jan 2025 18:07:58 +0100

Ludovic Courtès <[email-masked]> 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’.