🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57610

Re: Slackware '96 /etc/rc.d scripts

#57610
From: Ken Thomson
Date: Sat, 14 Sep 1996 00:00
37 lines
2241 bytes
Ken Thomson <kthomson@zip.com.au> wrote in article
<01bb9fd6$8d7392c0$6e610ccb@kthomson.zip.com.au>...
> Being the type who likes playing around, I started to look at the startup
> scripts in /etc/rc.d.  But after a little experimentation, I'm very
confused. 
> It appears that init is not using the runlevel 3 script (rc.M) from
/etc/rc.d.
>  No matter how I modify this script, the changes are not reflected at
boot-up.
>  And looking at the original script - it definitely was never executed.  Yet
> init is definitely running *some* multi-user startup script from somewhere
on
> the system.  I've checked inittab - and it says runlevel 3 (the default
> runlevel) starts /etc/rc.d/rc.M.

After a lot of fiddling around and testing, I have been able to diagnose and
cure the above problem.  It was caused by Slackware incorrectly installing the
/dev/console symbolic link.  To fix this problem, which will probably appear
in all Slackware 3.1 installations off of Infomagics Sept. 96 Dev. Resource
type the following as root :

	'./MAKEDEV console' (while in the /dev directory)

What made this hard to diagnose was the few programs (such as setfont) which
refuse to run when the /dev/console file is not properly set up.  That fooled
me into thinking the startup (/etc/rc.d/rc.M) file was not processed
correctly.  Not to mention that any debugging echo statements you put in went
to the great bit bucket in the sky.

Hopefully this will be of some help to others who install Slackware '96 from
Info's Sept. 96 Dev. Resource.

-- 
 \'/ -------------------------------------------------------------------------
`O.o' Ken Thomson (kthomson@zip.com.au) | #include <std_disclaimer> |   Ook!
 \=/ -------------------------------------------------------------------------
Technical Details
Message-ID: <01bba241$0ec6bca0$2a610ccb@kthomson.zip.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bb9fd6$8d7392c0$6e610ccb@kthomson.zip.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,25e3bfda013b81a3
X-Google-Attributes: gid102983,public
From: "Ken Thomson" <kthomson@zip.com.au>
Subject: Re: Slackware '96 /etc/rc.d scripts
Date: 1996/09/14
Message-ID: <01bba241$0ec6bca0$2a610ccb@kthomson.zip.com.au>
X-Deja-AN: 180573560
references: <01bb9fd6$8d7392c0$6e610ccb@kthomson.zip.com.au>
organization: Free Fall
newsgroups: aus.computers.linux