fix: only do LXD compat checks on Ubuntu
Metadata
Current evaluation
Merged PR #762 as commit 789c32e, limiting LXD guest compatibility checks to Ubuntu and fixing Fedora 39 launched_environment failures (#753).
Resolution: closed resolved
Reason: PR #762 was approved and merged as commit 789c32e. It skips compatibility checks on non-Ubuntu hosts, preventing Fedora VERSION_ID from being parsed as a BuilddBaseAlias and resolving #753.
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 `make lint && make test`?
---
Fixes #753
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #762 as commit 789c32e, limiting LXD guest compatibility checks to Ubuntu and fixing Fedora 39 launched_environment failures (#753). | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged fix restricting LXD compatibility checks to Ubuntu, resolving #753. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/craft-providers#753
(confidence 100%)
PR #762 explicitly fixes the Fedora 39 LXDProvider.launched_environment() failure reported in #753.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #753 LXDProvider.launched_environment() fails on Fedora 39 | craft-providers | closed | Fedora 39 hosts crashed in LXDProvider.launched_environment() because ensure_guest_compatible() parsed VERSION_ID as a BuilddBaseAlias. Fixed by PR #762 (commit 789c32e), which skips LXD compat checks on non-Ubuntu hosts. | |
| #535 Make LXD version check more robust | craft-providers | closed | Merged in PR #810 (commit 99d694c), replacing unstable LXC version parsing with the LXD /1.0 API environment.server_version field. | |
| #551 build(deps): backport LXD LTS fix | craft-providers | closed | Closed unmerged as redundant: PR #534 had already backported the LXD LTS version-parsing fix in commit 2854264. | |
| #270 LXD integration tests fail on Ubuntu 22.04 | craft-providers | closed | Fixed in PR #275 via commit c585931: push_file_io now supports newer Ubuntu releases whose images lack an ubuntu user. |