When running inside a container, fact prepends all paths with the provided FACT_HOST_MOUNT in order to check files mounted in. When a symlink with a full path, the globbing algorithm fails to check the file or (much worse) it will point to a file inside the container rather than on the host.
AFAICT, this can only be fixed with a custom implementation of a globbing algorithm, since the library we are using has no notion of a "prefix for all paths" like we have.
When running inside a container, fact prepends all paths with the provided
FACT_HOST_MOUNTin order to check files mounted in. When a symlink with a full path, the globbing algorithm fails to check the file or (much worse) it will point to a file inside the container rather than on the host.AFAICT, this can only be fixed with a custom implementation of a globbing algorithm, since the library we are using has no notion of a "prefix for all paths" like we have.