liquidmetal-dev / liquidmetal-dev/flintlock

Prevent mount point collision on validation

Open
#258 6 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted kind/feature priority/important-soon
Dominant language
Go
Stars
1.5k
Forks
73
Avg merge
17h 24m
Merged PRs (30d)
30

Description

**Describe the solution you'd like:**
It is possible to set multiple volumes to be mounted to the same path. We can assume the end-user knows what they are doing, but should be a very straightforward validation.

**Why do you want this feature:**
To prevent unnecessary failures because of user error.

**Anything else you would like to add:**
Validate 2 things:
* Root volume mount point is `/`
* Do not allow multiple volumes to be mounted on the same path

Reference: https://github.com/weaveworks/flintlock/discussions/241#discussioncomment-1630857

Contributor guide

Open the contributing guide

Research direction

The issue does not name files or tests. Start by locating the volume validation entry point used during microVM creation, then inspect existing validation coverage. Done means validation enforces a root volume mounted at `/` and rejects multiple volumes using the same mount path, with tests for both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.