Tom Mueller wrote: > Shawn Walker wrote: >> >> One concern I have is what happens if pkg(1) enables/disables an >> authority while the packagemanager is running. >> >> What happens then? > The same thing that happens if you run "pkg unset-authority" while > packagemanager is running. The packages are removed from the catalog > cache on disk. However, since packagemanager already has that > information cached, it will still be able to install packages, etc. from > the authority that was disabled.
So, in other words, this is highly dependent on the client. I'm somewhat uncomfortable with the possible race conditions here, but for now, assuming this doesn't cause the packagemanager to traceback, I think we'll be alright. -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
