Appearance
Containers and packages
Problems running Spalto in containers, installing the packages, and building images on Apple silicon or rootless hosts.
Inspection container restarts, "undefined symbol ... re2" in its log
- Cause: the image has a RE2 library with a different interface version from the one the binary was built against. For example, Debian trixie's own
libre2-11(20240702) is used with a binary built against RE2 20250805 or later. The library name is the same, but the symbols differ. - Check:
compose logs inspect, andcompose exec inspect ls /usr/lib/aarch64-linux-gnu | grep re2. - Fix: rebuild the images with
make images. It installslibre2-1120251105.
Console not reachable on 127.0.0.1:9443, TLS "unexpected EOF"
- Cause: the management listener accepts only the addresses in
management.trusted_networks(the default is loopback). Connections published from the compose network arrive from outside that range, so they are refused.waap_management_refused_totalcounts them. - Check:
compose exec control waap settings get management. - Fix: use
deploy/compose/waap.yamlfor a new state volume. Or runcompose exec control waap settings set management trusted_networks=127.0.0.0/8,10.0.0.0/8,...with your own networks.
Envoy container exits: "the control plane has not written /run/waap/envoy.json"
- Cause: the control container did not start, or it cannot write to the
runvolume. - Check:
compose logs control, andcompose ps. - Fix: fix the control error. It is often a bad configuration file, which
waap validatefinds. Then runcompose up -d.
Package install refused: "nothing provides libre2.so.9()(64bit)" or "Depends: libre2-11 (>= ...)"
- Cause: the package's requirements are read from its binary. On the RHEL family, EPEL is not enabled, and
re2comes from EPEL. On Debian 13, itslibre2-11(20240702) is older than the RE2 that the.debwas built with (Ubuntu 26.04, 20250805). The library name is the same, but the interface differs. - Check:
dnf repolistlistsepel. Runrpm -qp --requires waap-*.rpm, anddpkg-deb -f waap_*.deb Depends. - Fix: run
dnf install epel-release(Rocky, Alma; on RHEL, install the EPEL release package), then retry. For Debian 13, build the.debon Debian 13 (runscripts/pkg-build.shthere), or use the container images.
amd64 build under Rosetta: "rosetta error: unhandled auxillary vector type 29"
- Cause: the Lima VM's kernel (Ubuntu 26.04, 7.x) passes an auxiliary vector entry that Rosetta on macOS 15 does not know. Every amd64 program in the VM exits with status 133.
- Fix: use
scripts/lima-x86.yaml(Ubuntu 24.04, kernel 6.8). The containers inside stay on 26.04.
amd64 build under Rosetta: tar "Cannot open: Function not implemented"
- Cause: GNU tar 1.35 in an amd64 container uses a system call that fails under Rosetta.
- Fix: let BuildKit unpack archives, with
ADD file.tar.gz /dest/, as thescripts/amd64/*.Dockerfilefiles do.
amd64 tests under Rosetta: "exec format error" after a systemd container started
- Cause:
binfmt_miscis not namespaced. systemd in a privileged container runssystemd-binfmt, which clears the VM's Rosetta registration, so no amd64 program starts. - Check:
ls /proc/sys/fs/binfmt_misc/in the VM has norosettaentry. - Fix: restart the VM.
limactl stop waap-x86followed bylimactl start waap-x86registers Rosetta again. Use the test images inscripts/amd64/, which masksystemd-binfmtand its mounts.
Image build stalls at "apt-get update" (rootless build)
- Cause: the network of the rootless build container can be very slow while the host's network is fast.
- Fix: do not use apt in the build.
scripts/image-build.shinstalls pinned.debfiles, which it downloads on the host.