Shawn Walker wrote: > 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. > > I think for the time being running pkg from the command line while packagemanager is the same as (for example) doing to pkg installs at once: Don't Do That. This seems like about the most innocuous interaction between the two I could imagine seeing. Until we solve this problem at a much larger scale, I don't think we should worry about it in this context.
Brock _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
