-
Notifications
You must be signed in to change notification settings - Fork 62
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
Installing to filesystem: Installing bootloader: Permission denied (os error 13) when targeting arm64 #736
Comments
Thanks Clodagh, are you running this with |
Yes the command is ran as sudo |
Thanks for your bugreport! Could you please check if there a selinux denial when this happens? |
There doesnt seem to be any selinux denials in the output of the podman run command. The details of selinux stage are as follows:
I'm having difficulty execing into the running container to check any log files for selinux denials. |
Thanks! I wonder if this might be a dupe of #645 - |
|
So bootc has a
What I don't know though...is there maybe apparmor involved here? |
The apparmor module appears to be loaded on the Pi but it doesnt seem to be active.
|
@cgwalters I ran the build with |
I am building an image for a raspberry pi using this Containerfile. I have tried the following build on a Mac M2 and on a raspberry pi 400 booted from a 128GB USB with the Raspberry Pi OS.
In both environments the build fails at the org.osbuild.bootc.install-to-filesystem step of the image pipeline with the error:
org.osbuild.bootc.install-to-filesystem: f93246b75832229fc2a2071dfacd6f7411ee629a07e3269bc6a906e2bb2cdad2 {
"kernel-args": [
"rw",
"console=tty0",
"console=ttyS0"
],
"target-imgref": "quay.io/clwalsh/bootc-pi"
}
device/disk (org.osbuild.loopback): loop0 acquired (locked: False)
mount/- (org.osbuild.xfs): mounting /dev/loop0p3 -> /store/tmp/buildroot-tmp-xdmrvd4u/mounts/
mount/boot (org.osbuild.xfs): mounting /dev/loop0p2 -> /store/tmp/buildroot-tmp-xdmrvd4u/mounts/boot
mount/boot-efi (org.osbuild.fat): mounting /dev/loop0p1 -> /store/tmp/buildroot-tmp-xdmrvd4u/mounts/boot/efi
Mount transient overlayfs for /etc/containers
Creating bind mount for run/osbuild/containers
Installing image: docker://quay.io/clwalsh/bootc-pi
Initializing ostree layout
layers already present: 0; layers needed: 69 (2.1 GB)
Deploying container image...done (2 minutes)
Running bootupctl to install bootloader
⏱ Duration: 563s
manifest - failed
Failed
2024/11/29 16:59:00 error: cannot run osbuild: running osbuild failed: exit status 1
make: *** [Makefile:16: disk-image] Error 1
The text was updated successfully, but these errors were encountered: