[Pkg-sysvinit-devel] Debian /etc/init.d/rc Update ??
Christopher Buckley
cpmbmail at yahoo.com
Wed Mar 31 15:15:03 UTC 2010
Hi there,
Miquel Van Smoorenburg suggested I send this along to you.
He tells me that the boot method will be changing on the next release. I thought I might throw this at you anyways.
Cheers,
Christopher
On Mon, 2010-03-29 at 22:49 -0700, Christopher Buckley wrote:
> Hi fellahs,
>
> ATTACHED: rc_new.zip
>
> I've been learning Linux and have spent a significant amount of time
> laying out configuration files and things. I've come up with a system
> of managing all of these config files for different machines and
> different setups and processes. As a result, I have some boot files I
> want to run and have been looking at the runlevels, start & stop
> scripts in /etc/rc?, and /etc/init.d/rc
>
> I came across an article about setting up TightVNC on an isolated
> machine (no monitor, no mouse, no keyboard). I found out that I can
> actually start TightVNC without being logged on. This was ideal for a
> laptop I have that I want use as a portable server, and has a cracked
> and useless LCD.
>
> However, in order to do this, I needed to setup a symlink in /etc/rcS
> to a custom script that would start the VNC service. I didn't want to
> mess with the sequence of symlinks in /etc/rcS, so I created
> S100boot.vnc -> /etc/init.d/boot.vnc. I did this because the last
> script was S99something.
>
> Much to my surprise,S100 gets run before S10. So I decided to take a
> look at /etc/init.d/rc and find out why.
>
> Well, long story short I came up with an idea and a "new" rc script
> that facilitates using sequence numbers higher than 99.
>
> I realize this probably isn't in compliance with existing boot
> policies for Linux systems, but on the other hand, it seems to me that
> since Debian alone now has 25,000 packages, there may well be more
> than 100 services that could be started by various packages. Providing
> a facility to ensure a proper boot sequence to the ever expanding
> number of packages and services might just be a good idea.
>
> I'd appreciate if you could take a good look at the revisions I've
> made to the work you've done. I've incorporated your interesting
> approach to concurrent execution. I've also tried to implement your
> efforts to streamline service starts and stops for similar runlevel
> services. I've also added additional debugging, and have implemented
> the script on my machines.
>
> Anyways, any comments you have on it would also be appreciated. I've
> done a lot of internal documentation that could be stripped out for
> distribution versions.
>
> Hope you like it.
>
> Cheers,
> Christopher Buckley
__________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100331/0057c8b6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc_new.zip
Type: application/x-zip-compressed
Size: 15761 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100331/0057c8b6/attachment-0001.bin>
More information about the Pkg-sysvinit-devel
mailing list