Random string in data path breaks application

Bug #1498396 reported by tzu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
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/apps/foo/0.0.1/containers/bar. With random string at this path we cannot access containers data.

Revision history for this message
Alexander Sack (asac) wrote :

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..

Revision history for this message
John Lenton (chipaca) wrote :

I believe this is addressed with having a "current" in APP_DATA_PATH, which we now do.

Changed in snappy:
status: New → Fix Released
Revision history for this message
John Lenton (chipaca) wrote :

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)
Changed in snappy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.