Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 1999 08:16:56 -0700 (PDT)
From:      gilham@csl.sri.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   conf/11058: Recent change to rc script causes hang on bootup.
Message-ID:  <19990410151656.866C81508F@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11058
>Category:       conf
>Synopsis:       Recent change to rc script causes hang on bootup.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 08:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Fred Gilham
>Release:        3.1 Stable
>Organization:
SRI International
>Environment:
FreeBSD japonica.csl.sri.com 3.1-STABLE FreeBSD 3.1-STABLE #1: Wed Apr  7 20:57:18 GMT 1999     gilham@japonica.csl.sri.com:/heliotrope/src/sys/compile/SMP-JAPONICA  i386

>Description:
In the rc file there's the following code:

# Whack the pty perms back into shape.
chmod 666 /dev/tty[pqrsPQRS]*
chown root:wheel /dev/tty[pqrsPQRS]*

Since we manage the `wheel' entry in the group file through NIS, this
causes an NIS lookup for us.  Since NIS isn't up when this code appears,
the system hangs.  To continue the boot, we have to do ^C.
>How-To-Repeat:
Remove the `wheel' entry from the /etc/group file, place

+:::

at the end of the /etc/group file, then reboot.  The system will
hang during the boot process.  Hitting ^C will allow the boot to finish.
>Fix:
Move the above code after the network startup.  Here's a uu-encoded
patch (though the fix is pretty obvious):

begin 664 rcpatch
M:F%P;VYI8V$Z+V5T8R`^(&1I9F8@+6,@<F,@+W5S<B]S<F,O971C+W)C"BHJ
M*B!R8R`@1G)I($%P<B`@.2`Q.#HQ,SHQ."`Q.3DY"BTM+2`O=7-R+W-R8R]E
M=&,O<F,@("`@(%1H=2!-87(@,3@@,#(Z,#@Z,3@@,3DY.0HJ*BHJ*BHJ*BHJ
M*BHJ*BH**BHJ(#$W,"PQ-S4@*BHJ*@HM+2T@,3<P+#$W.2`M+2TM"B`@;6]U
M;G0@+6$@+70@;F9S"B`@96-H;R`N"B`@"BL@(R!7:&%C:R!T:&4@<'1Y('!E
M<FUS(&)A8VL@:6YT;R!S:&%P92X**R!C:&UO9"`V-C8@+V1E=B]T='E;<'%R
M<U!14E-=*@HK(&-H;W=N(')O;W0Z=VAE96P@+V1E=B]T='E;<'%R<U!14E-=
M*@HK(`H@(",@8VQE86X@=7`@;&5F="UO=F5R(&9I;&5S"B`@8VQE86Y?=F%R
M("`@("`@("`@("`@("`@("`@("`@(R!)9B!I="!H87-N)W0@86QR96%D>2!B
M965N(&1O;F4*("!R;2`O=F%R+W)U;B]C;&5A;E]V87(**BHJ*BHJ*BHJ*BHJ
M*BHJ"BHJ*B`R-#@L,C4V("HJ*BH*("`@("`@("!N971W;W)K7W!A<W,S"B`@
M9FD*("`*+2`C(%=H86-K('1H92!P='D@<&5R;7,@8F%C:R!I;G1O('-H87!E
M+@HM(&-H;6]D(#8V-B`O9&5V+W1T>5MP<7)S4%%24UTJ"BT@8VAO=VX@<F]O
M=#IW:&5E;"`O9&5V+W1T>5MP<7)S4%%24UTJ"B`@"B`@(R!B=6EL9"!P<R!D
F871A8F%S97,*("!K=FU?;6MD8B`*+2TM(#(U,BPR-3<@+2TM+0IL
`
end





>Release-Note:
>Audit-Trail:
>Unformatted:


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




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