Can no longer install snaps with multiline plugs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Potential regression:
A snap we have been writing published in the beta channel has been successfully installing for a few weeks. I just updated my snap-related packages to the following and now that snap install fails parsing the snap header.
ii snap-confine 1.0.38-
ii snapcraft 2.17 all easily craft snaps
ii snapd 2.14.2~16.04
ii ubuntu-
- Fetch and check assertions for snap (6) (parsing assertion headers: expected 4 chars nesting prefix after multiline introduction "plugs:": " hardware-observe:")
Our snapcraft.yaml has the following defined for plugs definitions
plugs: [ network-bind, network-control, kernel-
description: | updated |
description: | updated |
Changed in snappy: | |
status: | New → Fix Released |
This is actually a problem in the snap-declaration assertion, not in the snap itself.
We need to review the assertion text and see if that's a bug in the parser or in the text itself. More likely it's the latter.