From owner-freebsd-current Wed Mar 12 10:56:55 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 025D937B401; Wed, 12 Mar 2003 10:56:52 -0800 (PST) Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F3AF43FB1; Wed, 12 Mar 2003 10:56:51 -0800 (PST) (envelope-from ohartman@klima.physik.uni-mainz.de) Received: from klima.physik.uni-mainz.de (klima.physik.uni-mainz.de [134.93.180.162]) by klima.physik.uni-mainz.de (8.12.6/8.12.5) with ESMTP id h2CIulUb056748; Wed, 12 Mar 2003 19:56:47 +0100 (CET) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Wed, 12 Mar 2003 19:56:47 +0100 (CET) From: "Hartmann, O." To: Kris Kennaway Cc: "M. Warner Losh" , freebsd-questions@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: FBSD 5.0 diskless environment does not work! In-Reply-To: <20030312183637.GA86696@rot13.obsecurity.org> Message-ID: <20030312194133.S55461@klima.physik.uni-mainz.de> References: <20030310163117.K23333@edda.physik.uni-mainz.de> <20030311.220424.32721251.imp@bsdimp.com> <20030312153047.E52780@klima.physik.uni-mainz.de> <20030312183637.GA86696@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Mar 2003, Kris Kennaway wrote: Dear Kris. At the momnent I do several stupid tasks on the faulty environment and I got several new informations which are hopefully helpful. I deleted all rc.* files in etc except rc and rc.subr because they seem to be needed. I wish to use rc_ng and therefore configured rc.conf (by default it does). Within rc I found this line: files=`rcorder -k ${os} -s nostart /etc/rc.d/* 2>/dev/null` It shows us the order in which the rc.d/-located scripts get passed through. The first one is 'initdiskless', when I do files=`rcorder -k FreeBSD -s nostart * being within the rc.d of the diskless environment. Just for fun I provided this file with an additional line at the first place it should show me something like echo "Hello, this is initdiskless" and then tried to boot the diskless station again. The boot process was normal, kernel got bootstrapped but this specific file never got touched (in meanwhile I tried to set manually 'nfs.diskless_valid="1"' in boot/loader.conf.local). I think something got wind up in rc or rc.subr that prevents initdiskless get executed. I'm not competent to do the work (braindamaged, stupid guy I am...). Maybe there is another tricky point on which the whole thing collapses which is invisible to me. I nice feature would be to have some 'knob' switching on/off debugging, maybe this is possible or already realized in the shell? How to do the verbosity task? Within an other experiment I tried the old way to pass through the init scripts, means: using the old rc.*-styles. Then I get another weird error message. These scripts obviously walk through rc.diskless1 and rc.diskless2 but I got a failure about a missing device md0c, which means to me: no RAM disk. And therefore all subsequent errors are relying on this because the copy actions fail. Bytheway, I do not know how to do a fast and 'out of the long bug report way' bug report: while the newest 5.0-CURRENT stuff got rid of Kerberos IV, thenaming of the kerberos/heimdal services did some changing and in /etc/defaults/rc.conf it has to be kadmind5_server="/usr/libexec/kadmind" # path to kerberos 5 admin daemon ^ instead of kadmind5_server="/usr/libexec/k5admind" # path to kerberos 5 admin daemon . Best wishes and thanks for your quick response, Oliver :>On Wed, Mar 12, 2003 at 03:43:52PM +0100, Hartmann, O. wrote: :> :>> Possibly I should repeat in short terms what I did when 'migrating' :>> from the working 4.X diskless system to the 5.0 system. :> :>I think some of the directory layout needed for diskless nfs booting :>was frobbed by dillon a few months ago (I had some trouble updating my :>diskless machines past this change, although I think that was mostly :>because of a typo in his commit that went unnoticed/untested for a few :>months). Compare your previous installation to the comments in :>rc.diskless (and I presume, the manpage). :> :>Kris :> -- MfG O. Hartmann ohartman@mail.physik.uni-mainz.de ------------------------------------------------------------------ Systemadministration des Institutes fuer Physik der Atmosphaere (IPA) ------------------------------------------------------------------ Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 (Buero) FAX: +496131/3923532 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message