lxd: mount project folder via sshfs in case of a remote
Metadata
Current evaluation
PR #1302 merged as commit 0e89c85ba, mounting the project folder into remote LXD containers over SSHFS/sftp; fixes #1457. Feature later improved by #1847 (e7d73a365) and removed by #2089 (a3bafbb7c).
Resolution: closed resolved
Reason: The pull request itself was approved and merged into snapcraft as commit 0e89c85ba ("lxd: mount project folder via sshfs in case of a remote (#1302)"), which closes the referenced issue #1457. Follow-up #1847 (e7d73a365) added a container user so mounted files are not root-owned (LP #1741082); the whole remote per-project LXD feature was later dropped in #2089 (a3bafbb7c) as poor UX, but that does not change that #1302 landed.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | PR #1302 merged as commit 0e89c85ba, mounting the project folder into remote LXD containers over SSHFS/sftp; fixes #1457. Feature later improved by #1847 (e7d73a365) and removed by #2089 (a3bafbb7c). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1302 (commit 0e89c85ba): snapcraft now serves the project folder to remote LXD containers over SFTP/sshfs, fixing #1457. Follow-up #1847 (e7d73a365) fixed file ownership; the feature was later removed in #2089. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1302 in commit 0e89c85ba, mounting the project folder with SSHFS for remote LXD builds and closing #1457. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Implements sshfs mounting for project folders in remote LXD containers, resolving issue #1457. Addresses routing and connectivity requirements discussed during review. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after rebasing and conflict resolution. Implements sshfs mounting for remote LXD containers, resolving issue #1457. The approach was accepted despite initial concerns about host routing and port exposure. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#1457
(confidence 98%)
Issue #1457 "remote per-project container" is the issue this PR states it fixes, closed by the merge.
-
Related To:
canonical/snapcraft#1847
(confidence 95%)
Follow-up PR merged as e7d73a365: creates a user in the LXD container for remote sshfs builds so project files are not left root-owned (LP #1741082).
-
Related To:
canonical/snapcraft#2089
(confidence 95%)
PR merged as a3bafbb7c, removing remote LXD per-project container support (including this sshfs mounting) because of poor UX; users directed to cleanbuild.
-
Related To:
canonical/snapcraft#1121
(confidence 60%)
PR #1121 (commit 834c24bb6) added remote support to cleanbuild, the alternative path for remote builds.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1847 lxd: Use user in container when mounting remote via sshfs | snapcraft | merged | Merged as commit e7d73a365: snapcraft now creates a user in the LXD container for remote sshfs builds so project files aren't left root-owned, fixing LP bug #1741082. |