Replies: 1 comment 8 replies
-
|
With some more testing overnight, I found a few more things:
Hence, when I run AuroraBoot on a container on macOS, it's failing when it's trying to create contents inside a directory that it just created with 0600 permissions. Is this something that can be fixed in AuroraBoot? Should I file a github issue? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
I'm trying to make an offline ISO from the instructions in "2. Create an offline ISO" section in https://kairos.io/docs/reference/auroraboot/. I'm running on the most recent stable macOS on an ARM-based Mac, with docker desktop.
While trying to learn, I have a fairly trivial
config.yaml:I'm getting two kinds of errors, but both seem similar.
With upstream images
When I use an upstream image from quay.io, I can see that AuroraBoot is actually downloading the image and copying it into
$(pwd)/build/temp-rootfs. Specifically, it takes a little time to download/copy, so I can see viadu -sh buildthat the directory is growing, finally peaking around 1.3 GB -- that seems expected. But then AuroraBoot fails. Here's the whole output:And when AuroraBoot quits, the whole
temp-rootfsis wiped, so I can't see any residual errors. Since the download+copy seems to take some time, I watched this in another shell while AuroraBoot ran:I eventually see this output (repeated a bunch of times, of course):
So it seems to be a real error. If I change the inner
lsto look at the parentkairosdirectory, I see thattreefshas 600 permissions on it:Is this an error in the upstream image (i.e., it shouldn't have 600 perms), or is there an error in copying the image to the local filesystem (i.e., it should automatically handle writing directories with 600 perms correctly)?
Using a local image
When trying to use my own locally-built image, I get a slightly different error.
Specifically, I run a local registry container on my Mac and have a
Dockerfileto make my own image. I build and push that image to my local registry and then give that image on the command line to AuroraBoot. Note that macOS runsCommandCenteron port 5000, so I have to map my local registry to localhost port 5001.In this case, I see that AuroraBoot creates
build/temp-rootfs, but even though it takes about 15 seconds, nothing gets put in that directory before AuroraBoot fails and removes the directory. Here's the full output:If I change my shell loop from the previous error to
ls -l build/temp-rootfs, I eventually see something similar as the error, but a little different:Could the 770 perms be causing an issue here?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions