moby/plugin
Anusha Ragunathan 70b76266b5 Wait to unmount propagatedmount before marking plugin as disabled.
TestPluginTrustedInstall revealed a race in the plugin shutdown logic,
where the exit channel signal was sent even before the propagated mounts
were unmounted. If the same plugin was enabled, it would try to setup
propagated mounts *before* it was unmounted resulting in errors.

This change fixes the behavior by waiting until the unmount completes on
disable before marking the plugin as disabled.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-03-16 15:25:41 -07:00
..
v2 plugin: use pkg/errors in more places 2017-01-31 16:45:26 -08:00
backend_linux.go plugin: check errors 2017-02-15 09:35:36 +01:00
backend_unsupported.go Use distribution reference 2017-02-07 11:08:37 -08:00
blobstore.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
defs.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
manager.go Wait to unmount propagatedmount before marking plugin as disabled. 2017-03-16 15:25:41 -07:00
manager_linux.go Net dial to the plugin socket during enable. 2017-02-27 18:11:28 -08:00
manager_solaris.go Make v2/Plugin accesses safe. 2016-12-06 13:23:41 -08:00
manager_test.go Rewrite the function 'validatePrivileges' without checking order 2017-02-04 08:47:40 +08:00
manager_windows.go Make v2/Plugin accesses safe. 2016-12-06 13:23:41 -08:00
store.go Use distribution reference 2017-02-07 11:08:37 -08:00
store_test.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00