Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootc install to-disk --via-loopback failed at least once for me #356

Closed
mvo5 opened this issue Feb 20, 2024 · 1 comment
Closed

bootc install to-disk --via-loopback failed at least once for me #356

mvo5 opened this issue Feb 20, 2024 · 1 comment

Comments

@mvo5
Copy link
Contributor

mvo5 commented Feb 20, 2024

When using bootc install to-disk --via-loopback on fedora-39 I got the following error:

$ sudo  podman run --pull=newer --rm --privileged --pid=host -e BOOTC_SKIP_SELINUX_HOST_CHECK=true -v $(pwd):/output -v /var/lib/containers:/var/lib/containers --security-opt label=type:unconfined_t quay.io/centos-bootc/fedora-bootc:eln bootc install to-disk --via-loopback /output/bootc-install-to-disk.img
Automatically enabling --generic-image when installing via loopback
Mounting tmpfs /tmp
Mounting efivarfs /sys/firmware/efi/efivars
Host kernel does not have SELinux support, but target enables it by default; BOOTC_SKIP_SELINUX_HOST_CHECK is set, continuing anyways
losetup: /output/bootc-install-to-disk.img: failed to set up loop device: No such file or directory
losetup: device node /dev/loop1 (7:1) is lost. You may use mknod(1) to recover it.
ERROR Installing to disk: Task losetup failed: ExitStatus(unix_wait_status(256))

Re-running it fixed it. This may not be actionable as it's unclear how hard/easy it is to reproduce but I wanted to report it for awareness.

@jeckersb
Copy link
Contributor

I'm going to close this as a duplicate of #352, but thanks for confirming that you were able to reproduce it at least once, that's very helpful to know!

@jeckersb jeckersb closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants