← Back to issue list

fix: don't mount cache directories in lxd base instances

View original Github issue

Metadata

Project
craft-providers
Number
#473
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

PR #473 merged as commits 0089540 (main) and 163f560 (hotfix/1.19): added a mount_cache flag to BaseProvider.setup() and pass mount_cache=False when configuring LXD base instances, so cache mounts can't break copying.

Resolution: closed resolved

Reason: The PR itself was merged after review by two maintainers; the change is present in craft_providers/base.py (setup(mount_cache: bool = True)) and craft_providers/lxd/launcher.py which calls base_configuration.setup(executor=base_instance, mount_cache=False) with the comment that base instances must not mount cache dirs since deleting them would break instance copying.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved PR #473 merged as commits 0089540 (main) and 163f560 (hotfix/1.19): added a mount_cache flag to BaseProvider.setup() and pass mount_cache=False when configuring LXD base instances, so cache mounts can't break copying.
qwen/qwen3.6-35b-a3b — closed resolved Merged PR #473 in craft-providers, fixing LXD base instances to avoid mounting cache directories, improving isolation and preventing conflicts.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/craft-providers#478 (confidence 60%)

    Commit d7ec90f 'chore: merge hotfix/1.19 (#478)' merges the hotfix branch containing commit 163f560 of this PR.

Related issues

No related issues found above the similarity threshold.