snapd deb does not ship /var/lib/snapd/snapshots
Bug #1917617 reported by
Oliver Grawert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Committed
|
High
|
Paweł Stołowski |
Bug Description
when trying to (re-)import taken snapshots through the REST API, this fails due to /var/lib/
that directory gets created dynamically if you take a snapshot, but if you try to import on a virgin device through REST calls the dir is not created and an error about this fact is thrown up.
the directory should either be dynamically crated when importing or should simply be shipped via a dirs entry in the deb.
description: | updated |
Changed in snapd: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Paweł Stołowski (stolowski) |
Changed in snapd: | |
status: | Confirmed → In Progress |
Changed in snapd: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
We always create this directory internally (in case it's not there) when creating a snapshot, we should do the same in backend.Import.