You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 24, 2024. It is now read-only.
In Fedora 29 and also Silverblue 30 when I initially run coretoolbox, I see:
$ git clone https://github.com/cgwalters/coretoolbox
$ cd coretoolbox
$ cargo build
$ ./target/debug/coretoolbox
Trying to pull docker://registry.fedoraproject.org/f30/fedora-toolbox:30...Getting image source signatures
Copying blob 934966bfd3bd done
Copying blob cd73137bf7d1 done
Copying config dbfb7129d3 done
Writing manifest to image destination
Storing signatures
dbfb7129d38b39508dab2878f108ff50759087100bfd9b08d0539e7a3de7cce3
coreos-toolbox
mount: /home/petersen: wrong fs type, bad option, bad superblock on /host/home/petersen, missing codepage or helper program, or other error.
error: Initializing container: Child ["mount" "--bind" "/host/home/petersen" "/home/petersen"] exited: exit code: 32
Error: exit status 1
Second run of coretoolbox gives:
$ ./target/debug/coretoolbox
12b97d1dd6bd74d7550a0b89a3b9398512dab200701d54fb95e9d9caa83a709e
error: Initializing container: Opening statefile: No such file or directory (os error 2)
Error: exit status 1
Although, I think what we're doing here with /home and /var/home on the host/container is still messy. We probably need to ensure the container matches up with whether the homedir is /home or /var/home on the host.
Activity
juhp commentedon May 3, 2019
(I don't have a home partition if that makes a difference.)
cgwalters commentedon May 9, 2019
Hmm, probably the bug is around how we're passing
--volumefor podman. Will look.juhp commentedon May 29, 2019
I don't see that any more with the latest code.
juhp commentedon Jun 12, 2019
So actually this issue seems to be the real problem I hit.
Using --rbind seems to fix/workaround the problem for me.
[-]"mount --bind /host/home/USER /home/USER" failed[/-][+]error: Initializing container: Child ["mount" "--bind" "/host/home/<user>" "/home/<user>"][/+]cgwalters commentedon Jun 12, 2019
Thanks! Indeed as a general rule we should use
rbind. Mind doing a PR so you get credit?cgwalters commentedon Jun 12, 2019
Although, I think what we're doing here with
/homeand/var/homeon the host/container is still messy. We probably need to ensure the container matches up with whether the homedir is/homeor/var/homeon the host.cgwalters commentedon Jun 12, 2019
(But that can be fixed separately)
use --rbind to bind homedir
martymichal commentedon Nov 1, 2019
Hi, just tried to run coretoolbox and I'm hitting an issue very similar to this one. Here's what I've got:
debarshiray commentedon Jan 7, 2020
Yes, I am getting the same with
podman-1.7.0-0.4.rc2.fc31.x86_64cgwalters commentedon Feb 7, 2020
Can you paste the output of:
Siosm commentedon Feb 26, 2020
I am hitting the same issue on a Fedora Workstation 31 with
podman-1.8.0-2.fc31.x86_64:I have not yet investigated further.