Bug 31555

Summary: rc.syscons does not run standalone
Product: Base System Reporter: Seth Kingsley <sethk>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Seth Kingsley 2001-10-28 16:50:00 UTC
Syscons should the definitions in /etc/{defaults/,}rc.conf so it may be
run stand-alone.

How-To-Repeat: 	% sh /etc/rc.syscons
Comment 1 Peter Pentchev 2001-10-29 09:18:46 UTC
On Sun, Oct 28, 2001 at 08:46:57AM -0800, Seth Kingsley wrote:
> 
> >Number:         31555
> >Category:       conf
> >Synopsis:       rc.syscons does not run standalone
> >Originator:     Seth Kingsley
> >Release:        FreeBSD 4.4-STABLE i386
> >Organization:
> >Environment:
> System: FreeBSD kaneda.meowfishies.com 4.4-STABLE FreeBSD 4.4-STABLE #0:
> Sun Oct 21 21:17:41 PDT 2001
> sethk@kaneda.meowfishies.com:/usr/obj/usr/src/sys/KANEDA i386
> 
> >Description:
> Syscons should the definitions in /etc/{defaults/,}rc.conf so it may be
> run stand-alone.
> 
> >How-To-Repeat:
> 	% sh /etc/rc.syscons

None of the other rc scripts are designed to run standalone.
It's actually a simple matter of doing:

% ( . /etc/defaults/rc.conf; source_rc_confs; . /etc/rc.syscons )

I usually run those in a subshell so as not to clutter my login
shell's environment.

G'luck,
Peter

-- 
If wishes were fishes, the antecedent of this conditional would be true.
Comment 2 Seth Kingsley 2001-10-29 10:06:08 UTC
On Mon, Oct 29, 2001 at 11:18:46AM +0200, Peter Pentchev wrote:
> On Sun, Oct 28, 2001 at 08:46:57AM -0800, Seth Kingsley wrote:
> > >Synopsis:       rc.syscons does not run standalone
> 
> None of the other rc scripts are designed to run standalone.


Save for rc.firewall and rc.devfs, yes.  But what, then, would be the
purpose of ${source_rc_confs_defined} in /etc/defaults/rc.conf?

-- 
|| Seth Kingsley || Meow Meow Fluff Fluff || sethk@meowfishies.com ||
|| rndcontrol -s 0                                                 ||
Comment 3 Jens Schweikhardt freebsd_committer freebsd_triage 2002-08-31 12:34:12 UTC
State Changed
From-To: open->feedback

Would you mind if I close this PR? There's an easy workaround 
and rc Next Generation will make the point moot, AFAICT.
Comment 4 Jens Schweikhardt freebsd_committer freebsd_triage 2002-08-31 21:19:28 UTC
State Changed
From-To: feedback->closed

Originator agreed to close this PR.