subuser-security / subuser

Run programs on linux with selectively restricted permissions.
http://subuser.org
GNU Lesser General Public License v3.0
889 stars 65 forks source link

subuser pkg must reload the registry before cleaning up #243

Closed timthelion closed 9 years ago

timthelion commented 9 years ago

Currently, if you run subuser pkg test and then go do something else, after you close the test run, your changes to the registry will be overwriten with the state before the subuser pkg test command was issued. This is because here: https://github.com/subuser-security/subuser/blob/5911d923f232dc97f70816bba4b9047380046e38/logic/subuserCommands/subuser-pkg.py#L169 I don't reload the registry before removing the test subuser.