When running directly on the home directory ~ on MacOS (unconfirmed on Linux, most likely not an issue) the container will fail to start with seemingly random error messages, but all of them share the same pattern:
Error: statfs /var/home/core/.config/gcloud: no such file or directory
Error: statfs /var/home/core/.config/ocm-container/per-cluster-persistent/REDACTED: no such file or directory
Error: statfs /var/home/core/.config/backplane/config.yaml: no such file or directory
Judging by the filesystem that is being stat - I assume this means that when running in the home directory directly it's then checking for the presence of the config files in the podman-machine's HOME directory, and not in the mounted /Users/user/ directory.
However, when I go into a sub-folder of my home directory, it works just fine.
$HOME is set while I'm in my home directory, so additional debugging is necessary.
When running directly on the home directory
~on MacOS (unconfirmed on Linux, most likely not an issue) the container will fail to start with seemingly random error messages, but all of them share the same pattern:Judging by the filesystem that is being stat - I assume this means that when running in the home directory directly it's then checking for the presence of the config files in the podman-machine's HOME directory, and not in the mounted
/Users/user/directory.However, when I go into a sub-folder of my home directory, it works just fine.
$HOMEis set while I'm in my home directory, so additional debugging is necessary.