-
Notifications
You must be signed in to change notification settings - Fork 3
Description
What happened:
I'm trying to build gl on macOS using Podman Desktop.
I've freshly installed Podman Desktop and have a working setup where I have a default Podman machine and I can run Podman containers from my macOS shell.
I have a clone of the gardenlinux repo with the latest commit on main.
I'm running the build script with either the metal_dev
or the vmware_dev
target.
The build fails in the selinux feature with 'Invalid argument'.
Log excerpt:
[.build/vmware_dev-arm64-today-95d16344.tar 2023-06-21 08:33:22] exec: /builder/features/_selinux/exec.post
[.build/vmware_dev-arm64-today-95d16344.tar 2023-06-21 08:33:22] setfiles: Could not set context for /loop/var/log/journal: Invalid argument
[.build/vmware_dev-arm64-today-95d16344.tar 2023-06-21 08:33:22] setfiles: Could not set context for /loop/var/log/apt: Invalid argument
[.build/vmware_dev-arm64-today-95d16344.tar 2023-06-21 08:33:22] setfiles: Could not set context for /loop/var/log/apt/history.log: Invalid argument
... (many many similar lines)
[.build/vmware_dev-arm64-today-95d16344.tar 2023-06-21 08:33:28] setfiles: Could not set context for /loop/etc/.pwd.lock: Invalid argument
completed in 59 seconds
make: *** [Makefile:55: .build/vmware_dev-arm64-today-95d16344.tar] Error 255
What you expected to happen:
The build should succeed.
How to reproduce it (as minimally and precisely as possible):
Get a fresh install of Podman Desktop on macOS, create a VM with the default image (Fedora CoreOS) and try to run ./build vmware_dev
or ./build metal_dev
.
Anything else we need to know:
I don't yet understand how to disable individual features with the new builder.
Of course this would not fix the issue, but it would be nice to have the option to build without selinux for the time being.
Environment:
I'm running on a M1 macbook and try to build for arm64 architecture.
output of podman info
:
output of podman machine info
:
output of podman machine list
:
output of the failed build: