← Back to issue list

Base _setup_wait_for_system_ready should use systemctl's --wait parameter

View original Github issue

Metadata

Project
craft-providers
Number
#304
Type
issue
State
open
Author
lengau
Labels
Type: Enhancement
Created
Updated
Closed

Current evaluation

Enhancement to use systemctl --wait instead of polling in _setup_wait_for_system_ready. Open 3+ years with no maintainer engagement.

Suggested action: close stale

Reason: The issue has been open for over 3 years (1183 days) with zero maintainer comments or engagement. The referenced distros (CentOS 7, Ubuntu Xenial) are EOL, and the code still uses the original polling approach, indicating this enhancement was never prioritized. The suggested change is a minor optimization rather than a critical fix.

Impact: 30 Quick Win: 22.5 Staleness: 85 Complexity: 25 Confidence: 60 Support Request: 10

Issue body

https://github.com/canonical/craft-providers/blob/778490b9b1601a0ccc052c9a9bb59b1ccf81e5a3/craft_providers/base.py#L315 CentOS 7 and Ubuntu Xenial don't `systemctl is-system-running --wait`. However, we can override this in the centos base. For Xenial we can either override it in the BuilddBase if the alias is Xenial or we can drop Xenial support if we don't need to support ESM.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 30
Quick Win: 22.5
Staleness: 85
Complexity: 25
Confidence: 60
Support Request: 10
close stale Enhancement to use systemctl --wait instead of polling in _setup_wait_for_system_ready. Open 3+ years with no maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 75
Complexity: 35
Confidence: 65
Support Request: 5
needs triage Enhancement to update _setup_wait_for_system_ready to use systemctl's --wait parameter for better compatibility with older systems like CentOS 7 and Ubuntu Xenial. Currently unaddressed and awaiting maintainer triage.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 30
Confidence: 80
Support Request: 0
needs triage Compatibility enhancement to use systemctl's --wait parameter in _setup_wait_for_system_ready. Open for over 3 years with no maintainer assessment or assignee.
qwen3.6-35b-a3b-mtp-q6
Staleness: 70
Complexity: 20
Confidence: 85
Support Request: 0
needs triage Enhancement to update _setup_wait_for_system_ready to use systemctl --wait for CentOS 7 and Ubuntu Xenial compatibility. Open with no maintainer comments or assignee.

Update history

No update history recorded yet.

Related work

  • Duplicate Of: craft-parts#472 (confidence 95%)

    craft-parts#472 was closed as invalid because it was filed in the wrong repository and should have been submitted to craft-providers instead.

Related issues

Issue Project State Summary Similarity
#472 Base _setup_wait_for_system_ready should use systemctl's --wait parameter craft-parts closed Closed and abandoned as misplaced; the suggestion belongs in the craft-providers repository instead. No action taken here.
83%