Date: Fri, 6 Oct 2000 10:40:52 -0400 (EDT) From: "Marius M. Rex" <marius@malkav.snowmoon.com> To: James Housley <jim@thehousleys.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD ignoring /etc/rc.conf Message-ID: <Pine.BSF.4.21.0010061034470.28107-100000@malkav.snowmoon.com> In-Reply-To: <39DC9B65.D16C6858@thehousleys.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010061034470.28107-100000>
