lbrynet container should always check for mounted wallet volume #55
Labels
No labels
Accepted
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
help wanted
icebox
In Review
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-docker#55
Loading…
Reference in a new issue
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?
Issue relevant for 1.0 master branch
This issue may only be relevant for pre 1.0 milestone release of these docker containers please keep this in mind when reading the rest of this issue and it's subsequent conversation.
Description of the problem:
The lbrynet container should never allow the creation of a wallet that is not mounted external to the container, otherwise there is the potential to lose funds.
How to replicate:
Checklist:
- [] I included adebugpaste
link debugpastes only last 90 days from last time they were loaded in a browser.[Inclusion of debugpaste is WIP]Now running that same command with a volume makes all the difference:
So how to enforce this? I think it can be accomplished through an ENTRYPOINT that checks to see if the directory is mounted, if not it aborts with an error message. If the check succeeds, it passes all of its arguments on to lbrynet. Thus it would always require the directory to be mounted before ever running lbrynet.
This feature's value add will be tremendous as it will help increase the likelihood of someone not just nuking their wallets when they upgrade a container.
Fixed in #56