Traceback when uninstalling docker-1.4.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Unassigned |
Bug Description
After installing docker-1.4.1 (local package) on proposed 248:
ubuntu@
Traceback (most recent call last):
File "/usr/bin/snappy", line 25, in <module>
status = Main().__main__()
File "/usr/lib/
return callback(args)
File "/usr/lib/
shutil.
File "/usr/lib/
_rmtree_
File "/usr/lib/
_rmtree_
File "/usr/lib/
_rmtree_
File "/usr/lib/
onerror(
File "/usr/lib/
os.rmdir(name, dir_fd=topfd)
OSError: [Errno 16] Device or resource busy: '213ac75ce152dd
docker is uninstalled (/apps/docker/**) is removed
Related branches
- Sergio Schvezov: Approve
- James Hunt: Pending requested
-
Diff: 853 lines (+359/-96)12 files modifiedsnappy/click.go (+41/-52)
snappy/click_test.go (+17/-14)
snappy/errors.go (+0/-10)
snappy/install.go (+2/-1)
snappy/parts.go (+3/-3)
snappy/remove.go (+3/-1)
snappy/snapp.go (+6/-6)
snappy/snapp_test.go (+5/-4)
snappy/systemimage.go (+2/-2)
snappy/systemimage_test.go (+3/-3)
systemd/systemd.go (+149/-0)
systemd/systemd_test.go (+128/-0)
Changed in snappy-ubuntu: | |
status: | Confirmed → Fix Released |
affects: | snappy-ubuntu → snappy |
Thanks, I can confirm a similar issue. It seems like snappy will need to wait until docker is fully stopped before it can continue with the removal of the files. It seems like "systemctrl is-active unit" does not cut it here :/ So we need to find another way to detect if docker is fully stopped (or any services).