Content sharing from snap common is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Critical
|
Zygmunt Krynicki |
Bug Description
Running on yakety with snapd at version 2.18+ppa123.
I'm working with the promreg charm which is the producer, it has this config:
slots:
content:
content: promreg
read: [$SNAP_
The consumer is the prometheus charm which has this config.
plugs:
content:
content: promreg
target: etc/prometheus/
The directory '/var/snap/
http://
After getting a shell with the command `sudo snap run --shell prometheus` I see that the destination dir is empty if the destination dir was pre-existing and it doesn't exist at all if dir wasn't pre-existing. There is no error message to indicate what the problem is.
Changed in snappy: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
importance: | Undecided → Critical |
status: | New → In Progress |
See updated documentation at https:/ /github. com/snapcore/ snapd/wiki/ Content- Interface. Appears to be fixed in 2.19.1+