From owner-freebsd-stable Mon Jan 22 12:38: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 3595E37B404 for ; Mon, 22 Jan 2001 12:37:44 -0800 (PST) Received: (qmail 25673 invoked by uid 0); 22 Jan 2001 20:37:43 -0000 Received: from p3ee21646.dip.t-dialin.net (HELO speedy.gsinet) (62.226.22.70) by mail.gmx.net (mail08) with SMTP; 22 Jan 2001 20:37:43 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id TAA25319 for freebsd-stable@freebsd.org; Mon, 22 Jan 2001 19:32:20 +0100 Date: Mon, 22 Jan 2001 19:32:19 +0100 From: Gerhard Sittig To: freebsd-stable@freebsd.org Subject: Re: ssh problem Message-ID: <20010122193219.A253@speedy.gsinet> Mail-Followup-To: freebsd-stable@freebsd.org References: <20010121152247.A74407@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from robert@rootprompt.net on Sun, Jan 21, 2001 at 05:28:36PM -0800 Organization: System Defenestrators Inc. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 21, 2001 at 17:28 -0800, Robert Banniza wrote: > > It is better to install the new file when cvsup'ing or merge > the old and new file together? This is assuming the user hasn't > entered anything special into the file. I did an install on the > last cvsup rather than merging. I was somewhat confused when it > asked me whether I wanted to install the file on the right or > the file on the left. Shouldn't they be one in the same if > merged? Any info. appreciated... Yes, _after_ merging all the stuff is in one file. But you seem to have a wrong idea of mergemaster merging the stuff for you. Administration is what you have to do yourself. The other scenario (a machine setting up itself) will result in an "I'm sorry, Dave ..." But the machine could sometimes _aid_ you in this task -- that's what mergemaster is meant for. You might want to read the sdiff(1) manpage and maybe the mergemaster(8) manpage. There are configuration changes your computer *cannot* merge reliably in the absence of AI. So the admin has to decide what to do should configuration have changed in the source tree. This brings us to your question "is it better to install or to merge?". The clear answer is "it depends". When you haven't touched the file yourself (like rc.* scripts or periodic jobs) you probably want to 'i'nstall the new version to get all the benefits of the development which took place. If you have touched the file and the source tree has an older (original) version - like /etc/ttys, /etc/motd, usually /etc/master.passwd, too - you probably don't want to erase your customization and decide to 'd'elete the /var/tmp/temproot file. In case the source tree has an update *and* you changed the file yourself in the system, you will have to merge these changes. Either by 'm'erging or by putting it back for later manual intervention (write down a note and really do come back!). This could apply to master.passwd (rarely, in case the source brings new users with it and you have created accounts on your own) or rc.* scripts or MAKEDEV you have fiddled with yourself or skeleton files and such. You always should be able to judge the consequences of your action in these steps. When in doubt, read the available online doc. One positive side effect is that you learn what was changed to get a certain effect. It makes the system more transparent to you after some cycles. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message