← 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

Maintainer-filed enhancement (triaged) to warn when `snap_daemon` appears in system-usernames, per snapd's deprecation. Still unimplemented on HEAD; PR #6250 exists but is open with failing CI and unresolved review comments.

Suggested action: keep open

Reason: The behavior is not implemented at HEAD: grep for 'snap_daemon' only hits the `system_usernames` field docstring in snapcraft/models/project.py and two unit tests, with no deprecation warning or craft-cli emit for it. The issue is maintainer-authored (mr-cal), labeled 'Status: Triaged, Type: Enhancement', and specifies both the trigger YAML and the exact warning text, so it is valid and well scoped. It should stay open because the in-flight implementation snapcraft#6250 is still 'open' with failing schema/integration checks and 3 unresolved review comments, so nothing has landed yet.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 18 Complexity: 25 Confidence: 85 Actionability: 82

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
stealth/space-bunny-alpha
Impact: 30
Quick Win: 18
Complexity: 25
Confidence: 85
Actionability: 82
keep open Maintainer-filed enhancement (triaged) to warn when `snap_daemon` appears in system-usernames, per snapd's deprecation. Still unimplemented on HEAD; PR #6250 exists but is open with failing CI and unresolved review comments.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 39
Complexity: 30
Confidence: 70
Actionability: 80
keep open Enhancement to add deprecation warning for the deprecated snap_daemon system username. A PR (#6250) exists to implement this but remains open with unresolved review comments and failing CI.
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21
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.

Update history

No update history recorded yet.

Related work

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

    PR titled 'feat: deprecation warning for snap_daemon system username' adds typed snap_daemon deprecation metadata and a craft-cli warning, but remains open with failing schema/integration checks and unresolved review comments, so it is a work-in-progress rather than a landed fix.

Related issues

Issue Project State Summary Similarity
#6250 feat: deprecation warning for snap_daemon system username snapcraft open Adds typed snap_daemon deprecation metadata and a craft-cli warning; core tests pass, but schema and integration checks fail and 3 review comments remain unresolved.
78%