← Back to issue list

Python snaps now failing with snapcraft 2.27.1

View original Launchpad issue

Metadata

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

Current evaluation

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

Abandoned. Python snaps with classic containment hang indefinitely when built with snapcraft 2.27.1 due to an AppArmor denial on /dev/tty. No fix or follow-up was provided.

Suggested action:

No scores available.

Issue body

Snaps using the Python plugin and classic containment fail if built with snapcraft 2.27.1, hanging indefinitely when run with no output apart from this syslog entry: Mar 2 16:00:29 uurp juju-act[21034]: cmd.go:111: DEBUG: restarting into "/snap/core/current/usr/bin/snap" Mar 2 16:00:29 uurp kernel: [16328.264311] audit: type=1400 audit(1488445229.488:473): apparmor="DENIED" operation="file_inherit" profile="/usr/lib/snapd/snap-confine" name="/dev/tty" pid=21034 comm="snap-confine" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0 I first picked this up with a Launchpad built snap, but can reproduce it locally. For an example, see https://git.launchpad.net/juju-act/tree/ which is quite minimal. I will attach a snap built with a previous version of snapcraft that works fine, and a snap built with 2.27.1 that hangs.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. Python snaps with classic containment hang indefinitely when built with snapcraft 2.27.1 due to an AppArmor denial on /dev/tty. No fix or follow-up was provided.
qwen/qwen3.6-35b-a3b Python snaps built with snapcraft 2.27.1 hang due to an AppArmor denial on /dev/tty. Closed without comments or resolution, indicating the report was abandoned.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 60
Confidence: 95
Support Request: 10
close stale Python snaps built with snapcraft 2.27.1 hang due to AppArmor denials on /dev/tty. Issue is over 9 years old, has no comments or labels, and shows no maintainer activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 95
Support Request: 10
close stale Python snaps built with snapcraft 2.27.1 hang indefinitely due to an AppArmor denial on /dev/tty. Open, unassigned, and untriaged. Requires investigation and reproduction verification.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1665089 snapcraft 2.27 fails to build the mosh classic snap snapcraft (launchpad) closed Abandoned. The snapcraft 2.27 build failure for the mosh classic snap, caused by missing -fPIC linker flags, was closed without resolution or comments. Likely resolved in later snapcraft versions.
72%