← Back to issue list

[core22] gnome ext prevents use of configure hook

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1989499
Type
issue
State
closed
Author
~awe
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in snapcraft-desktop-integration#9 by correcting the gnome extension's command-chain script to properly chain to the snap's configure hook instead of silently exiting.

Resolution: closed resolved

Reason: The issue was resolved by snapcraft-desktop-integration#9, which fixed the command-chain script to correctly invoke the snap's configure hook instead of silently exiting when the platform file was missing.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When building a snap using the experimental core22 'gnome' extension in snapcraft 7, a command-chain is added to the configure hook which seems to prevent a snap-provided configure hook from running. hooks: configure: plugs: - desktop command-chain: - snap/command-chain/hooks-configure-fonts This command doesn't seem to chain properly, as it seems to prevent an actual configure hook from being called. I've also provided a sample based on the Desktop team's workshops snap which can be found here: https://github.com/tonyespy/workshops/tree/configure-hook-bug To test, build the snap from my branch, install, and then run `snap set workshops foo=bar`. You'll see the following messages in the journal: Started snap.workshops.hook.configure.a4520ba7-bb96-43f0-854e-7a34bdb3b648.scope. snap.workshops.hook.configure.a4520ba7-bb96-43f0-854e-7a34bdb3b648.scope: Deactivated successfully. ...but not the message logged by the configure hook, nor will the file $SNAP_COMMON/configure-hook-run exist. snapcraft version: 7.1.3 8187 (amd64) build environment: 22.04 Desktop

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed resolved Fixed in snapcraft-desktop-integration#9 by correcting the gnome extension's command-chain script to properly chain to the snap's configure hook instead of silently exiting.
stealth/space-bunny-alpha
Impact: 64
Quick Win: 47
Complexity: 22
Confidence: 97
Actionability: 94
close resolved Core22 GNOME extension font command-chain could suppress snap-provided configure hooks. Maintainer ken-vandine identified snapcraft-desktop-integration#9 as the fix, but the issue remains open pending verification.
stealth/space-bunny-alpha
Impact: 50
Quick Win: 34
Complexity: 28
Confidence: 94
Actionability: 94
close resolved Core22 GNOME extension command-chain could skip snap-provided configure hooks; snapcraft-desktop-integration#9 is the identified fix.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 22
Complexity: 45
Confidence: 83
Actionability: 82
needs triage Core22 GNOME extension’s font-hook command-chain reportedly prevents snap-provided configure hooks; a Snapcraft 7.1.3 reproducer is supplied, but the report remains untriaged.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30
Staleness: 95
Complexity: 40
Confidence: 55
Support Request: 20
needs triage Gnome extension's command-chain prevents configure hooks from running in snapcraft 7.1.3 with core22. Untriaged, no maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 45
Confidence: 80
Support Request: 10
close stale Bug report about core22 gnome extension overriding custom configure hooks in snapcraft 7. Untriaged, inactive for over 3 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 65
Confidence: 90
Support Request: 10
close stale Reports a bug where the core22 gnome extension's command-chain breaks custom configure hooks in snapcraft 7. Untriaged, 3.8 years old, no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
close stale Bug where core22 gnome extension command-chain blocks custom configure hooks in snapcraft 7. Unlabelled, zero comments, inactive for over 3.8 years.

Update history

Date Change
closed
created

Related work

  • Likely Fixed By: snapcraft-desktop-integration#9 (confidence 100%)

    PR #9 corrects the command-chain script behavior to properly chain to the configure hook.

Related issues

Issue Project State Summary Similarity
#1915712 [snap] configure hook fails because the gnome-3-28-1804 platform snap isn't connected snapcraft (launchpad) closed Resolved by Snapcraft PR #3439 (f5f6ed6fe), making desktop-extension fc-cache failures non-fatal; PR #3437 (90648ee08) added platform connection checks.
75%
#1986962 Remote build fails to work with core22 and new gnome extension snapcraft (launchpad) closed Fixed by snapcraft PR #3920 (commit f509ac032), which added the version-less gnome extension to the schema so core22 remote builds pass validation.
72%