From owner-freebsd-isp Mon Mar 24 3: 6:50 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2DA137B401 for ; Mon, 24 Mar 2003 03:06:46 -0800 (PST) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5245A43F85 for ; Mon, 24 Mar 2003 03:06:45 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd02.sul.t-online.de by mailout11.sul.t-online.com with smtp id 18xPmr-0001HL-05; Mon, 24 Mar 2003 12:06:41 +0100 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[217.83.25.140]) by fmrl02.sul.t-online.com with esmtp id 18xPmc-1ig9MuC; Mon, 24 Mar 2003 12:06:26 +0100 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.6/8.12.6) with ESMTP id h2OB6POq057246; Mon, 24 Mar 2003 12:06:25 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.7/8.12.7) with SMTP id h2OB6Rfb000975; Mon, 24 Mar 2003 12:06:27 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Mon, 24 Mar 2003 12:06:27 +0100 From: Alexander Leidinger To: "Guilherme J. R. Oliveira" Cc: FreeBSD-ISP@FreeBSD.ORG Subject: Re: Production Machine, Custom Kernel, Updating to P9 Message-Id: <20030324120627.44c76d87.Alexander@Leidinger.net> In-Reply-To: <3E7E3586.9000506@nortenet.pt> References: <20030322125653.V11496@seven.alameda.net> <20030323080106.3D7195499@bert.int.kts.org> <20030323004521.W11496@seven.alameda.net> <3E7DD572.1020700@nortenet.pt> <20030323231358.5e29af1e.Alexander@Leidinger.net> <3E7E3586.9000506@nortenet.pt> X-Mailer: Sylpheed version 0.8.9claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net X-Spam-Status: No, hits=-17.8 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES, X_NJABL_DIALUP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 23 Mar 2003 22:30:30 +0000 "Guilherme J. R. Oliveira" wrote: > >>What could happen if I don't stop the services: the file won't be > >>updated because it's open or what ? > > > > > > No, it will get updated. We don't have advisory locks, we have > > cooperative locks. The only thing which can happen is: the service > > segfaults, dies, hangs, aborts, stops, produces garbage or continues to > > operate as usual. > > Umm, I'm asking this because I'll need do this remotely. I always update remotely... but with a helping hand a couple of seconds away from the machines, in case I forgot to do something important (so I can tell them to load the old kernel or to guide them to bring the system into a state where I can login remotely (e.g. once after deinstalling sshd from the ports collection after updating the system to a version on the secfix branch I got interrupted for some minutes and forgot to enable the system sshd in rc.conf)). > So it's "secure" installworld remotely and then remotely reboot the > machine ? You have to read UPDATING carefully. And you have to make sure the kernel config contains everything you need to at least boot into some kind of multi user mode where sshd runs to be able to login and maybe fix some mistakes (e.g. there's an entry in UPDATING which tells you to include miibus in some cases (for fxp), if you fail to do so, there's no NIC accessible...). > This way we load the fresh binaries daemons in memory. > > I was confused thinking the binaries (in disc) weren't updated if we had > the daemons running. It depends. I know some specific programs where overwritting them (with "cp") doesn't work when they are running. But so far I don't know of such a file in the set of binaries in the base system (and installworld uses "install" instead of "cp"). The only problem with an installworld I had was in low diskspace situations. Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message