Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] /proc not mounted at boot

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Eric Sandall" <eric AT sandall.us>
  • To: <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] /proc not mounted at boot
  • Date: Tue, 17 Sep 2002 12:21:36 -0700 (PDT)

nealbirch said:
> Eric Sandall wrote:
>> Okay, after talking to WaRL0CK, Oadae, and toomanymirrors in IRC, I
>> decided to change init.d to individually check for the symlink's
>> existance, and if it is not there, create it. This will probably be
>> redone when we add more scripts, but for now, this should stop any
>> more problems.
>
> Yay! I was thinking that would be a good idea! Need to add that feature
> to a few other spells as well...

Well, this shouldn't have been needed in the first place, as I was telling
WaRL0CK. Since the symlinks were only created if /etc/init.d/mount.sh did
not exist, and if it did exist, init.d did nothing. So, how could
machines boot up before if they didn't have the scripts in rc*.d? I mean,
since init.d did nothing, /etc/init.d/mount.sh existed, so the symlinks
should have existed, because init.d does not delete them. If people all
of a suddon couldn't reboot because their symlinks were gone, how could it
be init.d's problem? He just checked to see if you had mount.sh, and
since you had mount.sh, you surely must already have had a working mount
system, correct? Well, apparently not. :) So I followed WaRL0CK's
suggestion following Oadae's apt observance that they may have been messed
up during the transition from e2fsprogs->init.d. :) In short, init.d now
explicitly checks for all of the files it places, and not just the
scripts.

>>
>> I also added Nealbirch's scripts to init.d, but they are just there,
>> they are not copied or anything, for future use.
>
> They need to be tested on other machines, if folks want to take them for
> a test drive.

This is one reason I included them into the spell, perhaps they'll get
more exposure this way. :) And now people can just "cp mount.sh
/etc/init.d" to test, and not have to download a tarball, uncompress, then
copy. Also, they're now there so people can play with the init.d spell
and perhaps get our init system turned into a spell. :)

-One of Four
a.k.a. sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org
http://www.sandall.us/~sandalle | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org #196285 | http://www.shock.wsu.edu/






Archive powered by MHonArc 2.6.24.

Top of Page