Content Interface does not mount files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
From one of our customers:
As described in our last meeting we have serious problems using the content plugin.
Scenario:
We use the content interface to mount a folder from multiple Snaps into one central snap.
The central snap is providing a Plug as described in yaml:
package-assets:
interface: content
content: package-assets
target: $SNAP_DATA/
All other snaps provide a Slot as following:
package-assets:
interface: content
content: package-assets
read:
- $SNAP_DATA/
After installation and connecting the interface works fine. mounting a directory $SNAP_DATA/
After a restart of the device interfaces still show connected. And the corresponindg $SNAP_DATA/
Seems like it has something to do with Apparmor, see logs attached
Changed in snapd: | |
status: | New → In Progress |
assignee: | nobody → Zygmunt Krynicki (zyga) |
importance: | Undecided → High |
Changed in snapd: | |
milestone: | 2.42 → 2.42.1 |
Changed in snapd: | |
status: | In Progress → Fix Committed |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
Attached is a snippet from the log. I have a full log if needed.