This looks to be some bug in Cosmos. It's calling pretty simple looking code via their injection framework but objects passed in and up null if the UID of the process is not zero. This is nothing to do with the command we're trying to run - it happens even with laconicd --help.
This looks to be some bug in Cosmos. It's calling pretty simple looking code via their injection framework but objects passed in and up null if the UID of the process is not zero. This is nothing to do with the command we're trying to run - it happens even with `laconicd --help`.
The workaround of not setting the process UID inside the container works in that the init command now runs, but our scripts later fail because now the config files are owned by root.
The workaround of not setting the process UID inside the container works in that the init command now runs, but our scripts later fail because now the config files are owned by root.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Seems to be something to do with file permissions because this works (well, doesn't work but doesn't crash):
While this throws the segv:
This looks to be some bug in Cosmos. It's calling pretty simple looking code via their injection framework but objects passed in and up null if the UID of the process is not zero. This is nothing to do with the command we're trying to run - it happens even with
laconicd --help.The workaround of not setting the process UID inside the container works in that the init command now runs, but our scripts later fail because now the config files are owned by root.
I was able to work around that by changing the file ownership in the calling script after the container exits.