From owner-freebsd-questions Wed Feb 14 5:45:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rapier.smartspace.co.za (rapier.smartspace.co.za [66.8.25.34]) by hub.freebsd.org (Postfix) with SMTP id C05AA37B401 for ; Wed, 14 Feb 2001 05:45:14 -0800 (PST) Received: (qmail 39326 invoked by uid 1001); 14 Feb 2001 13:45:05 -0000 Date: Wed, 14 Feb 2001 15:45:05 +0200 From: Neil Blakey-Milner To: Wayne Pascoe Cc: freebsd-questions@freebsd.org Subject: Re: Rebooting for Upgrade questions and SSH broke Message-ID: <20010214154504.A39030@rapier.smartspace.co.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from wayne.pascoe@realtime.co.uk on Wed, Feb 14, 2001 at 01:39:27PM +0000 Organization: Building Intelligence X-Operating-System: FreeBSD 4.2-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed 2001-02-14 (13:39), Wayne Pascoe wrote: > Sorry to keep bugging, but some things are confusing me. > > 1. I just did a cvsup to 4.2 Stable. I then did a make world and then > a make world install. This did not work as it was unable to overwrite > certain files due to the securelevel. I changed this in rc.conf and > rebooted, and was able to do the install. > Is there any way to do this without rebooting? Do I have to reboot > every time I do a make installworld? Is there no way to just restart > all services affected with the new versions? I don't really want to > reboot after every update. You generally have to boot your new kernel (the one you have synchronised with your userland) before installworld. Anything else isn't really supported. If you do do it without the new kernel and reboot, it'll probably work, but you'll have to restart the services manually for now. > 2. After installing and rebooting, I can no longer ssh to the > machine. For starters, it looks like doing the make installworld > generated a new key. Can I stop it doing this? I don't want to change > the server key everytime I update. > > For seconds, I now get the following message when trying to ssh to the > machine: > > sshd[214] no modules loaded for 'ssh' service > sshd[214] no modules loaded for 'ssh' service > sshd[214] no modules loaded for 'ssh' service > fatal: PAM session setup failed[6]: Permission denied > fatal: PAM session setup failed[6]: Permission denied > fatal: PAM session setup failed[6]: Permission denied There's a note about this in /usr/src/UPDATING Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message