Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
lxd: path cannot have extra forward slashes #1483
Conversation
|
Once @elopio's branch lands for container testing we can extend these tests, just add a personal note or bug in launchpad to keep track of it. |
kalikiana
self-assigned this
Aug 11, 2017
sergiusens
added this to the 2.34 milestone
Aug 14, 2017
sergiusens
added
the
bug
label
Aug 14, 2017
|
@kalikiana I see that path still has two slashes:
Could that be a problem? I was able to build the snap in containers many times, so +1, just pending on the answer to that question. |
|
@elopio If by still you mean an existing container, yes, the bug won't be fixed for that container. As mentioned in the description, |
sergiusens
added this to Container builds
in 17.10
Aug 15, 2017
sergiusens
merged commit 1a3c02b
into
snapcore:master
Aug 15, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
kalikiana
referenced this pull request
Aug 16, 2017
Merged
lxd: always remove existing device for project folder #1488
added a commit
to kalikiana/snapcraft
that referenced
this pull request
Sep 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kalikiana commentedAug 11, 2017
•
Edited 1 time
-
kalikiana
Aug 11, 2017
After double-checking that the logic for mounting the project folder on the Snapcraft side I ended up finding that LXD can end up claiming the device exists without actually mounting it. In that case
lxc device removeaborts with internal errors.Apparently the LXD issue can be avoided by getting rid of a leading / in the mounted path.
This fixes Could not find snap/snapcraft.yaml.
Notes:
lxc editfor configuration as it can be used to fix containers that would be stuck using dedicated commands.