Re: Debian RC System/Init Scripts

2003-09-27 Thread Arthur de Jong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


> I'm curious if there has ever been any attempt to Policyize scripts
> located in init.d. Specifically requiring inclusion of such lines as
> DESC="description" or NAME="name". I ask because I am doing a little bit
> of work on the rc startup script.

I know there is some work in lsb. See this for details:
http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/initscrcomconv.html
But debian policy does not require these last time I checked.

- -- arthur - [EMAIL PROTECTED] - http://tiefighter.et.tudelft.nl/~arthur --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE/dhNNVYan35+NCKcRApraAKDpFqWY0FBihVX+LRlr5aEqNFXWAgCferxg
asu6komiQXQ+uaPtpK6cHoE=
=zn4p
-END PGP SIGNATURE-




Re: Debian RC System/Init Scripts

2003-09-27 Thread Andrew Suffield
On Thu, Sep 25, 2003 at 08:16:22AM -0500, Steve Greenland wrote:
> On 24-Sep-03, 20:48 (CDT), Jerry Haltom <[EMAIL PROTECTED]> wrote: 
> > Please don't denounce my efforts as "Debian doesn't need parallel
> > starts!" Because I'd like to make it for myself, regardless what Debian
> > needs.
> > 
> > Anyways, mandated inclusion of lines such as DESC, NAME, etc in the
> > scripts would help me...
> 
> Am I the only one who sees the disconnect between these two statements?

No. I think he's tripping.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'  |
   `- -><-  |


signature.asc
Description: Digital signature


Re: Debian RC System/Init Scripts

2003-09-26 Thread Jerry Haltom
Good point. Statement not thought out well. I have no excuse. :D

On Thu, 2003-09-25 at 08:16, Steve Greenland wrote:
> On 24-Sep-03, 20:48 (CDT), Jerry Haltom <[EMAIL PROTECTED]> wrote: 
> > Please don't denounce my efforts as "Debian doesn't need parallel
> > starts!" Because I'd like to make it for myself, regardless what Debian
> > needs.
> > 
> > Anyways, mandated inclusion of lines such as DESC, NAME, etc in the
> > scripts would help me...
> 
> Am I the only one who sees the disconnect between these two statements?
> 
> Steve
> -- 
> Steve Greenland
> The irony is that Bill Gates claims to be making a stable operating
> system and Linus Torvalds claims to be trying to take over the
> world.   -- seen on the net
-- 
Jerry Haltom <[EMAIL PROTECTED]>
Feedback Plus, Inc.




Re: Debian RC System/Init Scripts

2003-09-26 Thread Steve Greenland
On 24-Sep-03, 20:48 (CDT), Jerry Haltom <[EMAIL PROTECTED]> wrote: 
> Please don't denounce my efforts as "Debian doesn't need parallel
> starts!" Because I'd like to make it for myself, regardless what Debian
> needs.
> 
> Anyways, mandated inclusion of lines such as DESC, NAME, etc in the
> scripts would help me...

Am I the only one who sees the disconnect between these two statements?

Steve
-- 
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world.   -- seen on the net




Re: Debian RC System/Init Scripts

2003-09-25 Thread Henrique de Moraes Holschuh
On Wed, 24 Sep 2003, Jerry Haltom wrote:
> My goal in monkeying with the init system is to clean it up a bit, and
> perhaps develop my own parallel service startup method. Albiet, a bit
> less than other distros like Gentoo, as no Debian init script declares
> dependencies.

Read the init scripts paper in http://people.debian.org/~hmh/  

> Please don't denounce my efforts as "Debian doesn't need parallel
> starts!" Because I'd like to make it for myself, regardless what Debian
> needs.

Go for it. We do want it, but we want it done right.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




Debian RC System/Init Scripts

2003-09-24 Thread Jerry Haltom
I'm curious if there has ever been any attempt to Policyize scripts
located in init.d. Specifically requiring inclusion of such lines as
DESC="description" or NAME="name". I ask because I am doing a little bit
of work on the rc startup script.

I have found a few scripts in the base install that do not include such
lines, but many others that do.

My goal in monkeying with the init system is to clean it up a bit, and
perhaps develop my own parallel service startup method. Albiet, a bit
less than other distros like Gentoo, as no Debian init script declares
dependencies.

They do however declare a few dependencies, in that all S50 scripts
theoritically can launch parallel. I hope to base my efforts on this.

Please don't denounce my efforts as "Debian doesn't need parallel
starts!" Because I'd like to make it for myself, regardless what Debian
needs.

Anyways, mandated inclusion of lines such as DESC, NAME, etc in the
scripts would help me, and probably make for some much cleaner scripts.
My scripts will need to read out the DESC line in order to spit out some
custom boot messages, which the hard coded "Starting X..." in the
scripts cannot provide.


-- 
Jerry Haltom <[EMAIL PROTECTED]>
Feedback Plus, Inc.