From owner-freebsd-stable Fri Oct 6 7:40:57 2000 Delivered-To: freebsd-stable@freebsd.org Received: from malkav.snowmoon.com (ip-208-20-126-237.cdcsd.k12.ny.us [208.20.126.237]) by hub.freebsd.org (Postfix) with SMTP id BEA5437B502 for ; Fri, 6 Oct 2000 07:40:53 -0700 (PDT) Received: (qmail 28134 invoked by uid 1003); 6 Oct 2000 14:40:52 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Oct 2000 14:40:52 -0000 Date: Fri, 6 Oct 2000 10:40:52 -0400 (EDT) From: "Marius M. Rex" To: James Housley Cc: freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD ignoring /etc/rc.conf In-Reply-To: <39DC9B65.D16C6858@thehousleys.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Very interesting. According the the script rc.out my /etc/rc.conf file is sourced. Once in the very begining. script rc.out sh -x rc: >Script started on Fri Oct 6 10:25:42 2000 >+ stty status ^T >+ trap : 2 >+ trap : 3 >+ HOME=/ >+ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin >+ export HOME PATH >+ [ -r /etc/rc.diskless1 ] >+ /sbin/sysctl -n vfs.nfs.diskless_valid >+ dlv= >+ [ 0 != 0 ] >+ [ -r /etc/defaults/rc.conf ] ***snip*** >+ update_motd=YES >+ start_vinum= >+ [ -z ] >+ source_rc_confs_defined=yes >+ source_rc_confs >+ local i sourced_files >+ sourced_files=:/etc/rc.conf: >+ [ -r /etc/rc.conf ] >+ . /etc/rc.conf ***snip***B And when my rc.firewall is called up. Hmm..This definately helped. Though I am not quite sure what is happening yet. I will have to study this a bit more. But thank you, now I have something to work with. ------------------------------------------------------------------------- Marius M. Rex "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent man requires only two thousand five hundred." -- The Mahabharata On Thu, 5 Oct 2000, James Housley wrote: > "Marius M. Rex" wrote: > > > > I appreciate the suggestions, but it is a pretty fundamental > > problem. I can start most things easily by hand, but it is annoying to > > do. > > > Okay. This is all started during boot by init(). You should be able to > restart and log the result by doing: "cd /etc ; script rc.out sh -x rc" > > That will put rc in verbose mode. You might have to edit some of the > rc.* scripts and add "set -x" as the second line to see inside of them. > But this will give you more detail then you want, but it will show > exactly what is happening. > > Jim > -- > Your mouse has moved. > Windows NT must be restarted for the change to take effect! > > Reboot now? [OK] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message