Date: Tue, 19 Apr 2005 16:32:54 -0600 (MDT) From: Warner Losh <imp@bsdimp.com> To: wmoran@potentialtech.com Cc: jim-c@charter.net Subject: Re: Newbie Question About System Update Message-ID: <20050419.163254.41695972.imp@bsdimp.com> In-Reply-To: <20050419120053.6ad17df1.wmoran@potentialtech.com> References: <426447F8.5090209@charter.net> <200504191317.j3JDH76H001458@drjekyll.mkbuelow.net> <20050419120053.6ad17df1.wmoran@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Fact is, trying to update a running system could result in silent failures. > The system can not replace programs that are in use, so there's always the > chance that something or other won't get updated (cron would be an excellent > example ... do you always shut cron off when you update? How about syslogd?) Actually, it can. install goes to great lengths to make sure that it carefully moves the executable out of the way before replacing it. It won't go away until the last process to be executing out of it goes away. > That being said, I quite often do installworld on running systems because I > have no way to go to single-user mode. It almost always works well enough > for my purposes, but I don't want anyone to think that it's "OK" to do this, > as it's not guaranteed to work, and will most likely result in some programs > not being updated (such as the examples in the previous paragraphs). It usually works well enough most of the time. I do it all the time on my development machines. The problem is "well enough" and "most of the time." Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050419.163254.41695972.imp>