On 19/04/2013 00:20, Russell Smith wrote:
How would this not cause a crash? You're overwriting the binaries
that are currently running on your symlinked servers.
unix doesn't delete a file until the handles are all closed (lsof | grep
DEL after doing apt-get upgrade, for example will usually show several
open, deleted executable files)
So an existing running program accesses the original version of the
files it has open, including the executable itself.
The directory entry is unlinked (or will point to the new file) but the
inode still exists.
But, that depends on doing some kind of rename / replace or
delete/replace thing.
If something literally was overwriting binaries, it probably will crash.
And, of course, if data files that weren't open, scripts or similar,
which are opened after the update (and are now in a different format, say
that only the new executable is expecting) there's every chance of a
program failing for some reason if you pulled the carpet from underneath it.
--
Dan
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux