support project directory with remounted path
Metadata
Current evaluation
Bind-mounted paths in project directory are not accessible inside rockcraft's build environment (chroot/container). Issue open 863 days with no maintainer response.
Suggested action: keep open
Reason: This is a valid, reproducible issue where bind-mounted paths are not visible inside rockcraft's chroot build environment. The reporter provided clear examples showing the problem. No commits in git log address mount propagation or bind mount visibility. The issue has been open 863 days without maintainer response or labels, indicating it needs triage but is a legitimate feature request.
Evaluated by: mr-cal-bot
Impact:
65
Quick Win:
20
Complexity:
55
Confidence:
75
Actionability:
70
Issue body
### What needs to get done
Mounted path are not accessible at rockcraft packaging time.
In the following example, "debs" in project directory is mounted from another directory. Contents in "debs" are not visible in rockcraft shell, and not accessible during image packing.
```
#sudo mount --bind ../../target/debs/jammy/ debs
#rockcraft stage --shell
rockcraft-docker-lldp-on-amd64-for-amd64-3099612 ../project# ls debs
rockcraft-docker-lldp-on-amd64-for-amd64-3099612 ../project# exit
exit
#mount | grep debs
/dev/xvda1 on /home/ubuntu/sonic-buildimage/dockers/docker-lldp/debs type ext4 (rw,relatime,discard,errors=remount-ro)
sudo mount --bind ../../target/debs/jammy/ debs
```
Below is another failure log:
```
Building my-part
:: + ls mounted original rockcraft.yaml
:: rockcraft.yaml
::
:: mounted:
::
:: original:
:: myfile
:: + cp mounted/myfile /root/parts/my-part/install/myfile
:: cp: cannot stat 'mounted/myfile': No such file or directory
'override-build' in part 'my-part' failed with code 1.
Recommended resolution: Review the scriptlet and make sure it's correct.
Failed to execute rockcraft in instance.
Full execution log: '/home/cris/.local/state/rockcraft/log/rockcraft-20240606-160506.454710.log'
cris@cris-laptop:/tmp/tmp.d7zfXGzS4A $ ls mounted/
myfile
```
### Why it needs to get done
Mounted path are useful to handle large amount of files produced in earlier phases of build.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b |
Impact:
65
Quick Win:
20
Complexity:
55
Confidence:
75
Actionability:
70
|
keep open | Bind-mounted paths in project directory are not accessible inside rockcraft's build environment (chroot/container). Issue open 863 days with no maintainer response. | |
| stealth/space-bunny-alpha |
Impact:
45
Quick Win:
11
Complexity:
65
Confidence:
84
Actionability:
68
|
needs triage | Bind-mounted subdirectories inside a project are not propagated into Rockcraft's build instance, causing files to disappear during stage and pack builds. The issue remains open and untriaged after 842 days. | |
| qwen/qwen3.6-35b-a3b |
Impact:
40
Quick Win:
8
Complexity:
60
Confidence:
70
Actionability:
50
|
needs triage | Bind-mounted directories in the project path are not visible inside the LXD build container used by Rockcraft. No maintainer response or labels after 830 days. | |
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
14
Staleness:
88
Complexity:
65
Confidence:
55
Support Request:
20
|
needs triage | Feature request: rockcraft should support bind-mounted (remounted) paths inside the project directory, which are currently invisible during packaging because the project dir is copied into the build environment. No maintainer activity, labels, or comments in ~2.2 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
92
Complexity:
65
Confidence:
85
Support Request:
20
|
needs triage | Unresolved request to support bind-mounted paths in the project directory during rockcraft build and shell execution. No maintainer response or labels after 770 days. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
70
Confidence:
85
Support Request:
20
|
close stale | Unaddressed request to support bind-mounted directories in Rockcraft project paths. Build stages fail to access mounted contents. Issue is 756 days old with zero maintainer interaction. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
70
Confidence:
80
Support Request:
10
|
needs triage | Unassessed report that bind-mounted directories in project paths are inaccessible during rockcraft build and shell stages. No maintainer response or labels after over two years. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.