Removing backing directory of try mode snap breaks refresh, listing (at least 2.32.3, till 2.32.5)
Bug #1764977 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
I had a snap in my home directory, installed with "snap try". This created a symlink from /var/lib/
zyga@t470:~$ sudo snap refresh bar --edge
error: cannot refresh "bar" stat /var/lib/
Moving the directory ~/Documents/foo back to ~/foo fixes everything
This issue breaks refreshes of core so I'm bumping it to critical.
summary: |
- Removing backing directory of try mode snap breaks refresh of other - snaps + Removing backing directory of try mode snap breaks refresh, listing + (2.32.5) |
description: | updated |
Changed in snapd: | |
importance: | Undecided → Critical |
summary: |
- Removing backing directory of try mode snap breaks refresh, listing - (2.32.5) + Removing backing directory of try mode snap breaks refresh, listing (at + least 2.32.3, till 2.32.5) |
Changed in snapd: | |
importance: | Critical → High |
assignee: | nobody → Zygmunt Krynicki (zyga) |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
When this happens I saw the following message in journal:
2018/04/18 10:59:22.512843 snapmgr.go:228: cannot read snap info of snap "classic- snap-analyzer" at revision x4: stat /var/lib/ snapd/snaps/ classic- snap-analyzer_ x4.snap: no such file or directory
I also added a regression test: https:/ /github. com/snapcore/ snapd/pull/ 5067