bug#59185: Trouble mounting recursive file systems in containers

2022-11-20 Thread Ricardo Wurmus
Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> yes, mounting with MS_REC seems sensible. Not mounting with MS_REC is >> also responsible for a couple of errors e.g. when trying to map / inside >> the container (when / has other bind mounts). > > Having reread mount(2), bind-mounting w

bug#59185: Trouble mounting recursive file systems in containers

2022-11-19 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > yes, mounting with MS_REC seems sensible. Not mounting with MS_REC is > also responsible for a couple of errors e.g. when trying to map / inside > the container (when / has other bind mounts). Having reread mount(2), bind-mounting with MS_REC by default seems like

bug#59185: Trouble mounting recursive file systems in containers

2022-11-19 Thread Ricardo Wurmus
Hi Morgan, yes, mounting with MS_REC seems sensible. Not mounting with MS_REC is also responsible for a couple of errors e.g. when trying to map / inside the container (when / has other bind mounts). Here’s a patch that works for me: >From 806969ad86038052bf4d0dd2755617beaaa33cb6 Mon Sep 17 00:

bug#59185: Trouble mounting recursive file systems in containers

2022-11-10 Thread Morgan Smith
Hello! So I was trying to mount /run/user/1000 in a container so it would have access to all my wayland sockets and such when I got a very cryptic error message. I was trying something like this: guix shell --share=/run/user/1000 -C coreutils After far too long tracking down the issue, it turns