← Back to issue list

Add deprecation warning for the `snap_daemon` system username

View original Github issue

Metadata

Project
snapcraft
Number
#5448
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Enhancement to emit a deprecation warning when the deprecated `snap_daemon` system username is used in snapcraft.yaml. Triaged by a maintainer; an open PR (#6250) explicitly fixes it and is pending review with CI failing.

Suggested action: keep open

Reason: The issue is triaged (labels 'Status: Triaged', 'Type: Enhancement') and is being actively addressed by open PR snapcraft#6250, which states it 'Fixes snapcraft#5448' and adds a SystemUsernames pydantic model plus a runtime warning via craft-cli. The repo's project.py still defines system_usernames as a plain dict with no deprecation model, confirming the fix is not yet merged, so the issue should remain open until the PR lands.

Impact: 35 Quick Win: 21.0 Staleness: 35 Complexity: 40 Confidence: 80 Support Request: 0

Issue body

### What needs to get done Snapcraft should add a deprecation notice if the `snap_daemon` system username is used. ```yaml system-usernames: snap_daemon: shared ``` ```bash Warning: The system username 'snap_daemon' is deprecated. See https://snapcraft.io/docs/system-usernames. ``` ### Why it needs to get done Because snapd has deprecated the username. See https://snapcraft.io/docs/system-usernames.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21.0
Staleness: 35
Complexity: 40
Confidence: 80
Support Request: 0
keep open Enhancement to emit a deprecation warning when the deprecated `snap_daemon` system username is used in snapcraft.yaml. Triaged by a maintainer; an open PR (#6250) explicitly fixes it and is pending review with CI failing.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 15
Confidence: 85
Support Request: 5
keep open Enhancement to add a deprecation warning in Snapcraft when the deprecated snap_daemon system username is used. Triaged by a maintainer but inactive for over a year with no implementation progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 15
Confidence: 85
Support Request: 0
keep open Enhancement to add a deprecation warning in Snapcraft when the deprecated snap_daemon system username is used. Issue is triaged but has seen no activity for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 15
Confidence: 85
Support Request: 0
keep open Add a deprecation warning for the snap_daemon system username in Snapcraft to align with snapd. Currently triaged as an enhancement, inactive for over a year, with a linked Jira ticket.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#6250 (confidence 85%)

    PR titled 'feat: deprecation warning for snap_daemon system username' explicitly states it fixes snapcraft#5448; open and pending review with CI failing on diff-schema and CLA.

Related issues

Issue Project State Summary Similarity
#6250 feat: deprecation warning for snap_daemon system username snapcraft open Adds SystemUsernames pydantic model marking snap_daemon deprecated in JSON schema and emits runtime warning via craft-cli. Fixes snapcraft#5448. Pending review with 3 unresolved comments; CI failing on diff-schema and CLA.
83%