Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 1999 20:09:49 -0400
From:      John <papalia@UDel.Edu>
To:        Doug <Doug@gorean.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/rc.conf restart
Message-ID:  <4.1.19990924200720.0097a430@unix01.voicenet.com>
In-Reply-To: <Pine.BSF.4.10.9909221236430.28644-100000@dt014nb6.san.rr.c om>
References:  <4.1.19990921215707.0095e2e0@unix01.voicenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is exactly the kind of answer I was actually looking for... the whole
point of what I was trying to achieve was to make changes, have them
recognized, all without bumping users off the system, and all without
having to run the hardware through repeated reboots if my changes failed...

For more details, what I was curious about trying to do was to add a
netmask to the lo0 line in the file to see what affect that would have.
But, I wanted the system to read the change without a reboot if possible.
Perhaps you might even be able to comment on if this is even possible?  I'm
actually trying to trouble shoot a new install of samba, but I'm not giving
up on trying to cure it myself yet =)

Thanks for the help!!! --John

At 12:42 PM 9/22/99 -0700, Doug wrote:
>On Tue, 21 Sep 1999, John wrote:
>
>> Welcome to the next of my "it seems like the answer would be so simple"
>> questions...
>> 
>> Is there a way to get the system to re-read /etc/rc.conf without a
>> shutdown/reboot?
>
>	Given that none of the answers you've had so far really addressed
>your question, I'll give it a stab. The correct answer is, "It depends."
>Namely, it depends on what you want re-read. There are certain things that
>can only be done at boot time, and for those the "drop to single user and
>restart" option is fine, but that's just a fancy way of telling you to
>reboot your system since you can't do any (ok, not much) useful work in
>single user mode. 
>
>	What you really want to do is find out how the system handles the
>option(s) you are trying to reset during the boot process. For that the
>easiest way to learn is to do:
>
>cd /etc
>grep "thing you want to know about" *
>
>This will tell you what script that item is handled in, and show you how
>the system deals with it. Then in almost all cases you can figure out how
>you can reset that option without having to reboot. It may take some
>detective work, and perhaps some trial and error, but it's rarely
>_necessary_ to reboot a freebsd system just to change a few options, and
>it's frequently not desirable to do so either. 
>
>	If after you've struggled with it for a while you still can't
>figure it out, ask about the options you need help with here, and
>generally someone who is knowledgeable about it can help. Include details
>of where/how you looked, and what you tried so that the person answering
>can avoid duplicating your efforts. 
>
>Hope this helps,
>
>Doug
>-- 
>"My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man
>to have as many women you got.' I looked at my mother dear and didn't even
>crack a smile. I said, 'If women kill me, I don't mind dyin!'" 
>
>    - John Belushi as "Joliet" Jake Blues, "I Don't Know"



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990924200720.0097a430>