#Concerned by a ton of debug message: failed to copy xattr selinux.

1 messages · Page 1 of 1 (latest)

toxic sage
#

I have a machine that RHEL 8.6 running podman. Dagger modules works but when tailing the engine logs I see a ton of messages like: failed to copy xattr "security.selinux"" error="failed to set xattr "security.selinux" on /var/lib/dagger/runc-native/snapshots/snapshots/new-4290119902/internal/telemetry/span.go: operation not supported

Also it takes a very long time to start up for the first time. Like 4-5ms. Subsequent runs are much faster. But still like 30s to re-run a hello world module. And again I see a ton of messages about xattr.

#

Concerned by a ton of debug message: failed to copy xattr selinux.

muted glacier
#

Thanks for the report!

Which SDK are you using? The initialization time can take some time because the engine needs to startup and load your host directory if you add it as an input, which can take time depending on its size.
That's why you get a much faster response after.

About the debug message, I think @vital furnace or @regal geyser can help

vital furnace
#

what filesystem is underlying /var/lib/dagger? make sure it's a "real" volume and not a copy-on-write filesystem from e.g. within a container engine (like Docker/k8s)

toxic sage
#

SDK is go. While I am running a custom engine I am not mounting anything other then the certs directory. How can I check what filesystem is /var/lib/dagger? Here is the command I ran docker with:
sudo docker run --rm -d --name customized-dagger-engine-v6 --privileged --volume /etc/ssl/certs:/usr/local/share/ca-certificates -e _DAGGER_ENGINE_SYSTEMENV_GOPROXY=http://<ip>:3000 hregistry.dagger.io/engine:v0.11.6

toxic sage
#

Do you mean what filestyem is am running the local module out of?

#

That is an additional detail. I am running a module hosted on the local machine, not a gitref.

#

This is my command, and I am rehosting the shykes hello module. sudo -E /localhome/jenkins/bin/dagger6 -m dagger-mod-test call hello

#

Where dagger-mod-test is a local checkout of the shykes hello module.

toxic sage
vital furnace