Can't run apps named "test" in snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
High
|
Ian Johnson |
Bug Description
A Snap provides an app named "test" will lead to an error as following
-- Errors when run app named "test" from a snap
$ test-snap.test
panic: /proc/self/
goroutine 1 [running]:
github.
github.
github.
github.
github.
github.
github.
github.
main.maybeWaitF
github.
main.(*
github.
main.main()
github.
-- Sample snapcraft.yaml for issue reproduce
name: test-snap # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
apps:
test:
command: echo test
parts:
my-part:
# See 'snapcraft plugins'
plugin: nil
description: | updated |
Changed in snapd: | |
assignee: | nobody → Ian Johnson (anonymouse67) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in snapd: | |
milestone: | none → 2.46 |
status: | In Progress → Fix Committed |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
PR up: https:/ /github. com/snapcore/ snapd/pull/ 8988