Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2012 09:54:35 +0300
From:      Daniel Kalchev <daniel@digsys.bg>
To:        freebsd-stable@freebsd.org
Subject:   Re: Why Are You Using FreeBSD?
Message-ID:  <4FC8672B.10603@digsys.bg>
In-Reply-To: <4FC79136.6000205@my.gd>
References:  <C480320C-0CD9-4B61-8AFB-37085C820AB7@FreeBSD.org> <4FC779C0.7020801@ohlste.in> <4FC77EAD.1090900@my.gd> <4FC78A94.8070008@ohlste.in> <4FC79136.6000205@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help


On 31.05.12 18:41, Damien Fleuriot wrote:
> You missed the bit about 3 reboots, while these don't take 15 mins each,
> they're still time consuming and disruptive.
> 1/ reboot after installing new kernel
> 2/ reboot after installing new world
> 3/ reboot after rebuilding ports

About the only time I ever do that is when moving from very distant 
versions, like from 6.4 to 9.0...

Upgrading from say, 8-stable from year ago, to today's 8-stable usually 
requires just one reboot: rebuild world, kernel, reinstall kernel, 
world, update configuration files, rebuild ports, reboot.
There are many cases where I do rebuild/reinstall kernel and world but 
do not reboot for one reason or other. Cases, where the kernel is 
incompatible with userspace are extremely rare and typically documented.

So yes, for example during port rebuild there might be glitches with 
services. You are better to shut down these services that will be 
affected, like web server. (Although usually say, apache would load all 
modules at startup time and replacing them under its feet will only be 
noticed after it is restarted). Most of the time however is spent just 
compiling... and unless your server is really underpowered or overloaded 
it does not impact anything. This again, is especially true for the OS. 
I wish ports could be rebuilt and reinstalled on a single step like FreeBSD.

In any case, if you have 'server farms', or like you said firewalls with 
CARP etc, you can usually shut down any of the members for as long as 
necessary and not impact any services. If you rebuild things on 
'central' server, the downtime will be indeed minimal.

Daniel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC8672B.10603>