← Back to issue list

post-stop-command not defined in snapcraft schema

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1662240
Type
issue
State
closed
Author
~elespike
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without comments or resolution. The missing post-stop-command schema definition was abandoned and never implemented.

Suggested action:

No scores available.

Issue body

While post-stop-command is defined in snapd (https://github.com/snapcore/snapd/wiki/Snap-format) """ # Optional command to run after daemon stops. post-stop-command: <command line> """ It is not defined in the snapcraft schema (https://github.com/snapcore/snapcraft/blob/master/schema/snapcraft.yaml) Thus, custom snaps are unable to use that feature unless the definition is added.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without comments or resolution. The missing post-stop-command schema definition was abandoned and never implemented.
qwen/qwen3.6-35b-a3b Abandoned. The issue requesting the post-stop-command definition in the snapcraft schema was closed without resolution due to inactivity.
qwen3.6-35b-a3b-mtp-q6 Closed without comments or resolution, indicating the request to add post-stop-command to the snapcraft schema was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1683422 post-stop-command not wrapped snapcraft (launchpad) open 2015 bug report: snapcraft copies post-stop-command verbatim into snap.yaml without shell wrapping, so $SNAP-style variables fail snapd's field regex and break snap install. No comments, no labels, no maintainer response; untriaged and unverified against current code.
75%