Re: guix shell: error: mount: Invalid argument

2022-11-21 Thread bbb ee
I have submitted a bug report : https://issues.guix.gnu.org/issue/59425. Tobias is right, some of my tests fail because the current path is a mountpoint, but other tests fail because some paths of the host system can't be mounted. `guix shell --container coreutils -- echo Elmo` is runnable for me

Re: guix shell: error: mount: Invalid argument

2022-11-20 Thread bbb ee
I have posted in the help mailing list, because I want to be sure that the command doesn't run is not because of bad usage from me. Apparently, my usage is correct, it is from my environment. I will also post a bug report. But the difficulty to get help for this problem is to provide a

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread Maxim Cournoyer
Hi, Tobias Geerinckx-Rice writes: [...] > ~ λ guix shell -C --expose=/proc=/test coreutils -- echo Elmo > world > guix shell: error: mount: mount "/proc" on > "/tmp/guix-directory.zTa1qb//test": Invalid argument > > > Weird! Clearly, /proc is imbued with magical Kernel magick and > simply

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread bbb ee
> I forgot: which distribution is this? I use GuixSD, and the kernel ``` $ uname -a Linux dev_1 5.18.18 #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux ``` Le sam. 19 nov. 2022 à 21:18, Tobias Geerinckx-Rice a écrit : > Tobias Geerinckx-Rice 写道: > > Does this system have ‘uncommon’ kernel

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread bbb ee
> Does this system have ‘uncommon’ kernel restrictions in place, like SELinux or other hardening? No, I have never used this feature. > Is there anything printed in dmesg when the container fails to start? No changement in dmesg Le sam. 19 nov. 2022 à 20:50, Tobias Geerinckx-Rice a écrit :

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread Tobias Geerinckx-Rice
Tobias Geerinckx-Rice 写道: Does this system have ‘uncommon’ kernel restrictions in place, like SELinux or other hardening? Is there anything printed in dmesg when the container fails to start? I forgot: which distribution is this? Kind regards, T G-R signature.asc Description: PGP

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread Tobias Geerinckx-Rice
bbb ee 写道: So /home/dev_1 (not $HOME; see error message) No, I was confused as well, sorry. In the back of my mind was another user reporting they used some FUSE-based encryption of $HOME, and I thought you might be using that. This tainted my thinking. I have no other idea what could be

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread bbb ee
> So /home/dev_1 (not $HOME; see error message) $HOME is /home/dev_1 in my system. Sorry, I have written $HOME, it is a little confusing, but it is same thing. No, my home dir isn't a mount point. Le sam. 19 nov. 2022 à 20:21, Tobias Geerinckx-Rice a écrit : > So /home/dev_1 (not $HOME; see

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread Tobias Geerinckx-Rice
So /home/dev_1 (not $HOME; see error message) is not a mount point? OK, the name to me implied it was. Kind regards, T G-R Sent on the go. Excuse or enjoy my brevity.

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread bbb ee
/tmp, /, $HOME are in same partition. But only subdir of /tmp are mountable: ``` dev_1@dev_1 /tmp/test2$ df . Filesystem 1K-blocks Used Available Use% Mounted on /dev/nvme0n1p7 209921236 180793652 19663932 91% / dev_1@dev_1 /tmp/test2$ guix shell --container coreutils -- echo Elmo Elmo

Re: guix shell: error: mount: Invalid argument

2022-11-19 Thread Tobias Geerinckx-Rice
Hi bbb, bbb ee 写道: I feel guix shell --container can only mount subdir in /tmp, and fail for all other dir: Your example for ‘all other dir’ just tests /home/dev_1 again, which looks extremely much like a mount point. So does /mnt. So no mystery there, but I do wonder what's *special*