Upgrading a live server with rdist
kheuer2 at gwdg.de
Tue Jun 3 07:54:02 PDT 2003
On Tue, 3 Jun 2003, Chuck Swiger wrote:
> Konrad Heuer wrote:
> [ ... ]
> > As far as I see there is little chance to do this without carefully
> > restarting all processes, e.g. by shutting down into single user mode and
> > returning to multi user mode.
> It is advisable to switch into single-user mode when updating the system files,
> > If you replace program files and shared libraries used by currently
> > running processes, this will cause the corresponding processes to be
> > aborted abnormally in case of page fault requiring a page-in from the
> > program files or shared libraries.
> Generally not; the system doesn't delete files that are in use even if you
> overwrite those files: it hangs on to the inode and won't free the space until
> nobody needs that file.
Yes, that's true in general, but if you replace program files and/or
libraries needed by processes invoked before this processes WILL FAIL in
case of a page-in. Try if you don't believe.
Konrad Heuer (kheuer2 at gwdg.de) ____ ___ _______
GWDG / __/______ ___ / _ )/ __/ _ \
Am Fassberg / _// __/ -_) -_) _ |\ \/ // /
37077 Goettingen /_/ /_/ \__/\__/____/___/____/
More information about the freebsd-questions