← Back to issue list

feat: fail if users try to run managed builds that would use a nonfunctional container

View original Github issue

Metadata

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

Current evaluation

Merged PR #720 as commit ad32eed, adding checks that reject host, guest, LXD, and kernel combinations likely to produce a nonfunctional container.

Resolution: closed resolved

Reason: PR #720 was approved and merged as commit ad32eed. It adds compatibility checks for cgroup v1/v2-related systemd failures and raises a clear ProviderError for unsafe combinations.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? ----- New LXD versions were released that fix an issue we've seen where a mismatch between the support for cgroupsv1 and v2 between host and guest causes the container's systemd to become partially nonfunctional. Add checks to fail with a good error message if a user's system would launch such a container. (CRAFT-3096)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #720 as commit ad32eed, adding checks that reject host, guest, LXD, and kernel combinations likely to produce a nonfunctional container.
stealth/space-bunny-alpha — closed resolved Merged PR #720 (commit ad32eed) adds pre-launch checks that reject affected Ubuntu, LXD, and kernel combinations before managed builds can create a nonfunctional container.
stealth/space-bunny-alpha — closed resolved Merged PR #720 (commit ad32eed) adds host/guest compatibility checks in craft_providers/bases/checks.py to fail with a clear error when LXD/kernel versions would produce a container with broken systemd from cgroupsv1/v2 mismatch (CRAFT-3096).
qwen/qwen3.6-35b-a3b — closed resolved Added checks to fail with a clear error message when a user's system would launch a container with a partially nonfunctional systemd due to cgroupsv1/v2 mismatches. Merged.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.