From owner-freebsd-stable Sun May 13 10:14:10 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by hub.freebsd.org (Postfix) with ESMTP id 10C5337B422 for ; Sun, 13 May 2001 10:14:05 -0700 (PDT) (envelope-from nospam@hiltonbsd.com) Received: from [209.224.35.135] (helo=daggar) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 14yzRS-0006aS-00 for freebsd-stable@FreeBSD.ORG; Sun, 13 May 2001 12:14:03 -0500 From: "Stephen Hilton" To: Subject: RE: Running Stable on remote production server Date: Sun, 13 May 2001 12:15:03 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20010513181834.A19888@student.uu.se> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Regarding a "quiet" system, would ipfilter, ipnat, ipmon, snort, named, qualify as O.K. processes to be running while the installworld is taking place via SSH in multi-user mode. > Otherwise you will have to disable further logins (see shutdown(8) or > nologin(5) for info on how to do this) and then manually kill most > processes. (Just be careful not to kill your own shell or sshd :-) ) I have already modified the source tree so ipfilter 3.4.17 is the installed version, not 3.14.16 which comes as default. And the named version would remain the same. > and then manually kill most processes. What are some guidelines for which process's to kill example ps -wwaux output follows: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1 0.0 0.0 532 0 ?? ILs Sat10AM 0:00.09 /sbin/init -- root 2 0.0 0.0 0 0 ?? DL Sat10AM 0:00.76 (pagedaemon) root 3 0.0 0.0 0 0 ?? DL Sat10AM 0:00.00 (vmdaemon) root 4 0.0 0.0 0 0 ?? DL Sat10AM 0:00.30 (bufdaemon) root 5 0.0 0.0 0 0 ?? DL Sat10AM 0:01.73 (syncer) root 30 0.0 0.0 208 0 ?? Is Sat10AM 0:00.00 adjkerntz -i root 163 0.0 0.2 936 204 ?? Ss 3:36PM 0:00.25 syslogd -s -s bind 167 0.0 0.3 2404 416 ?? Is 3:36PM 0:00.30 /usr/sbin/named -u b ind -g bind root 186 0.0 0.0 1028 0 ?? Is 3:36PM 0:00.00 inetd -wW root 188 0.0 0.1 980 172 ?? Ss 3:36PM 0:00.26 /usr/sbin/cron root 191 0.0 0.0 2176 12 ?? Is 3:36PM 0:00.87 /usr/sbin/sshd root 218 0.0 0.0 900 0 ?? Is 3:36PM 0:00.00 moused -p /dev/psm0 -t auto root 246 0.0 0.1 912 68 ?? Ss 3:36PM 0:01.29 /sbin/ipmon root 262 0.0 0.0 944 0 v2 Is+ 3:36PM 0:00.00 /usr/libexec/getty P c ttyv2 root 262 0.0 0.0 944 0 v2 Is+ 3:36PM 0:00.00 /usr/libexec/getty P c ttyv2 root 263 0.0 0.0 944 0 v3 Is+ 3:36PM 0:00.02 /usr/libexec/getty P c ttyv3 root 264 0.0 0.0 944 0 v4 Is+ 3:36PM 0:00.01 /usr/libexec/getty P c ttyv4 root 265 0.0 0.0 944 0 v5 Is+ 3:36PM 0:00.01 /usr/libexec/getty P c ttyv5 root 266 0.0 0.0 944 0 v6 Is+ 3:36PM 0:00.00 /usr/libexec/getty P c ttyv6 root 267 0.0 0.0 944 0 v7 Is+ 3:36PM 0:00.00 /usr/libexec/getty P c ttyv7 root 363 0.0 0.0 944 0 v1 Is+ 3:59PM 0:00.01 /usr/libexec/getty P c ttyv1 root 364 0.0 0.0 636 24 v0 Is+ 3:59PM 0:00.03 -sh (sh) root 35092 0.0 0.2 2260 224 ?? S 11:32AM 0:00.22 sshd: root@ttyp2 (ss hd) root 35093 0.0 0.2 636 280 p2 Ss 11:33AM 0:00.05 -sh (sh) root 53642 0.0 1.7 13616 2136 ?? Ss 11:52AM 0:01.42 /usr/local/bin/snort root 0 0.0 0.0 0 0 ?? DLs Sat10AM 0:00.02 (swapper) > Single-user mode is not really necessary to do an installworld/mergemaster. > What is required is that the machine is "quiet", meaning no other users are > logged in and no programs that might interfere with the installation should > be running. > For a machine to which one has access to the console the easiest way of > accomplishing this is going to single-user mode. > Otherwise you will have to disable further logins (see shutdown(8) or > nologin(5) for info on how to do this) and then manually kill most > processes. (Just be careful not to kill your own shell or sshd :-) ) > Then you should be able do an installworld/mergemaster. Stephen Hilton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message