Bugzilla – Bug 8198
installadm delete-service doesn't remove service's data directory.
Last modified: 2009-04-17 07:37:23 UTC
You need to log in before you can comment on or make changes to this bug.
delete-service, with or without -x, isn't removing the install service's /var/ai/<port> directory. Upon the next create-service, the new service could end up just re-using that directory in it entirety without even knowing. Workaround: After deleting a service, rm -rf its /var/ai/<port> directory.
I'm marking this a potential blocker. The potential issue is that when an existing /var/ai/<port> data directory is reused for some new service, the default manifest in that directory might not be compatible with the new service.
/var/ai/<port> gets re-used multiple times when create-service/delete-service is done. The failure to clean out /var/ai/<port> upon a delete-service then can potentially result in stale information being used to serve up a new service thus leaving the door open for ensuing pandemonium. Implementing the fix to remove /var/ai/<port> when a delete-service is done.
Fixed in changeset 543:b159355029e1