Random string in data path breaks application
Bug #1498396 reported by
tzu
on 2015-09-22
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Snappy |
Undecided
|
Unassigned | ||
Bug Description
In the last stable version of Snappy Ubuntu we have a random string in /var/lib/apps/foo/ instead of numeric version of our application. This feature prevents access to the data for binaries with built-in paths. For example, we have a project that uses recompiled lxc binaries to manage containers with rootfs located at /var/lib/
| Alexander Sack (asac) wrote : | #1 |
| John Lenton (chipaca) wrote : | #2 |
I believe this is addressed with having a "current" in APP_DATA_PATH, which we now do.
| Changed in snappy: | |
| status: | New → Fix Released |
| John Lenton (chipaca) wrote : | #3 |
changed to fix committed as this is in rolling but not 15.04 yet.
| Changed in snappy: | |
| status: | Fix Released → Fix Committed |
Leo Arias (elopio)
on 2016-04-09
| Changed in snappy: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.


we plan to start auto assigning revisions in store; this means that the ability to guess the path during build time will go away anyway. Best would be to make software relocatable, but stgraber mentioned that for LXC this is not an option for security reasons.
On IRC it was discussed that a current link for APP_DATA_PATH might work if it fits in our vision.
Needs discussion with team..