laconicd v2 throws segv on init command #4
Labels
No Label
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/laconic-network-bootstrap#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.