Without a transactional file system, there isn't any way to eliminate the window. However, this provides an improvement over what we have now in which a long running process with files open will cause an update to fail. With this change, we detect that common situation to prevent starting an update that will fail.
Tom Danek Duvall wrote: > On Tue, Jul 15, 2008 at 04:22:47PM -0500, Tom Mueller (pkg-discuss) wrote: > > >> http://cr.opensolaris.org/~tmueller/cr-2402,2415/ >> > > There's a bunch of stuff here (filelist mods, mostly) that looks like you > needed to merge with the gate properly. > > Seems like there's a window between preinstall and the time the file is > actually renamed onto where a process could open that file, wasting your > original check. And even if the check fails at the time of download, that > doesn't mean it would fail at install time. > > Danek > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
