Re: chkconfig is to redhat as ___ is to debian?

2002-03-07 Thread Johann Spies
On Wed, Mar 06, 2002 at 05:17:12PM -0500, Michael Marziani wrote:
 I've poked around dselect and can't find chkconfig.  Is this included in
 some larger package of handy admin utils?  If no chkconfig, is there a
 package that does something similar?

Apart from what the other mentioned you can also look at rcconf:

Description: Debian Runlevel configuration tool
 This tool configures system services in connection with system
 runlevels.  It turns on/off services using the scripts in
 /etc/init.d/.  Rcconf works with both System-V style and file-rc
 runlevel configuration.  It is a TUI frontend to the update-rc.d
 command.

Regards.

Johann

-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 Go ye therefore, and teach all nations, baptizing them
  in the name of the Father, and of the Son, and of the 
  Holy Ghost; Teaching them to observe all things  
  whatsoever I have commanded you; and, lo, I am with 
  you alway, even unto the end of the world. Amen. 
 Matthew 28:19,20 



RE: chkconfig is to redhat as ___ is to debian?

2002-03-07 Thread Neil Darlow
On 03/06/2002 at 19:54:28, Arthur H. Johnson II said:

 Why dont you just create the symlinks yourself.  Its what I do.

Because that's dirty. Use Debian's update-rc.d utility instead.

Regards,
Neil Darlow M.Sc.
-- 
1024D/531F9048 1999-09-11 Neil Darlow [EMAIL PROTECTED]
GPG Fingerprint = 359D B8FF 6273 6C32 BEAA  43F9 E579 E24A 531F 9048



RE: chkconfig is to redhat as ___ is to debian?

2002-03-07 Thread Arthur H. Johnson II
How is creating the symlinks yourself any less clean than using a
program to create the symlinks automatically?  I think this is mostly
a difference of opinion.

When I want to add a service, I simply cd to /etc/rc2.d, and run:
ln -s ../init.d/service S20service

Quite simple really.  If I need it in any other services, I configure it
there as well.  I may also have to create a K symlink if I need the
service stopped when changing runlevels however.


On Thu, 2002-03-07 at 03:54, Neil Darlow wrote:
 On 03/06/2002 at 19:54:28, Arthur H. Johnson II said:
 
  Why dont you just create the symlinks yourself.  Its what I do.
 
 Because that's dirty. Use Debian's update-rc.d utility instead.
 
 Regards,
 Neil Darlow M.Sc.
 -- 
 1024D/531F9048 1999-09-11 Neil Darlow [EMAIL PROTECTED]
 GPG Fingerprint = 359D B8FF 6273 6C32 BEAA  43F9 E579 E24A 531F 9048
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
-- 
Arthur H. Johnson II
President, Genesee County Linux Users Group
Debian GNU/Linux Advocate
[EMAIL PROTECTED]   http://www.gclug.org
-- 
Don't try to outweird me, three-eyes.  I get stranger
things than you free with my breakfast cereal.
- Zaphod Beeblebrox in Hitchiker's Guide to the Galaxy



RE: chkconfig is to redhat as ___ is to debian?

2002-03-07 Thread Neil Darlow
On 3/7/02, 12:42:05 PM, Arthur H. Johnson II wrote:

 How is creating the symlinks yourself any less clean than using a
 program to create the symlinks automatically?  I think this is mostly
 a difference of opinion.

Simply, that by using update-rc.d no knowledge of the directory structure
of /etc/rcN.d or /etc/init.d is required. The utility also makes 
acceptable
assumptions depending on how much command line information is provided.

Regards,
Neil Darlow M.Sc.
-- 
1024D/531F9048 1999-09-11 Neil Darlow [EMAIL PROTECTED]
GPG Fingerprint = 359D B8FF 6273 6C32 BEAA  43F9 E579 E24A 531F 9048



Re: chkconfig is to redhat as ___ is to debian?

2002-03-07 Thread Xeno Campanoli
Neil Darlow wrote:
 
 On 3/7/02, 12:42:05 PM, Arthur H. Johnson II wrote:
 
  How is creating the symlinks yourself any less clean than using a
  program to create the symlinks automatically?  I think this is mostly
  a difference of opinion.
 
 Simply, that by using update-rc.d no knowledge of the directory structure
 of /etc/rcN.d or /etc/init.d is required. The utility also makes
 acceptable
 assumptions depending on how much command line information is provided.

Sorry, but I concur with this.  Most of programming is defining some
kind of
interface to something else, and a valuable thing to do is to use the
highest reasonable level of abstraction to simplify the task.  If you
show a specific value to doing the symlinks by hand for a specific
circumstance it may be a good idea, but I think it's a bad generalized
idea.  In addition to this it's valuable to have a good vocabulary grasp
of the tools that your peers are using as a standard.

Best wishes.  Sincerely, Xeno
 
 Regards,
 Neil Darlow M.Sc.
 --
 1024D/531F9048 1999-09-11 Neil Darlow [EMAIL PROTECTED]
 GPG Fingerprint = 359D B8FF 6273 6C32 BEAA  43F9 E579 E24A 531F 9048
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
http://www.eskimo.com/~xeno
[EMAIL PROTECTED]
Physically I'm at:  5101 N. 45th St., Tacoma, WA, 98407-3717, U.S.A.



Re: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Sean 'Shaleh' Perry

On 06-Mar-2002 Michael Marziani wrote:
 I've poked around dselect and can't find chkconfig.  Is this included in
 some larger package of handy admin utils?  If no chkconfig, is there a
 package that does something similar?
 

chkconfig is a redhat ism.  What are you trying to accomplish?



Re: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Xeno Campanoli
Michael Marziani wrote:
 

As I was recently told by a posting by Cameron Kerr:

~# update-rc.d
usage: update-rc.d [-n] [-f] basename remove
   update-rc.d [-n] [-f] basename defaults [NN | sNN kNN]
   update-rc.d [-n] [-f] basename start|stop NN runlvl runlvl . 
...
-n: not really
-f: force

And as he stated, the . is part of the name, yes.

 I've poked around dselect and can't find chkconfig.  Is this included in
 some larger package of handy admin utils?  If no chkconfig, is there a
 package that does something similar?
 
 Thanks!
 
 -Mike
 
 _
 Michael D. Marziani
 Systems Administrator
 Keller Williams Realty International
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
http://www.eskimo.com/~xeno
[EMAIL PROTECTED]
Physically I'm at:  5101 N. 45th St., Tacoma, WA, 98407-3717, U.S.A.



Re: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Dimitri Maziuk
* Sean 'Shaleh' Perry ([EMAIL PROTECTED]) spake thusly:
 
 On 06-Mar-2002 Michael Marziani wrote:
  I've poked around dselect and can't find chkconfig.  Is this included in
  some larger package of handy admin utils?  If no chkconfig, is there a
  package that does something similar?
  
 
 chkconfig is a redhat ism.

SGI might disagree.

Dima
-- 
Riding roughshod over some little used trifle like the English language is not a
big deal to an important technology innovator like Microsoft. They did just 
that 
by naming a major project dot-Net (.Net).  Before that, a period followed by 
a 
capital letter was used to mark a sentence boundary. --T. Gottfried, RISKS 21.91



Re: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Vineet Kumar
* Michael Marziani ([EMAIL PROTECTED]) [020306 14:33]:
 I've poked around dselect and can't find chkconfig.  Is this included in
 some larger package of handy admin utils?  If no chkconfig, is there a
 package that does something similar?

Not really. There's the update-rc.d utility which is used by scripts.
You can read its manpage to read about configuring your runlevels by
hand. The basic gist of it is: have at it! Debian doesn't make any guise
of implied meanings behind runlevels 2-5; you can customize them to your
heart's delight. (How? Using ln, rm, and mv!)

good times,
Vineet

-- 
Currently seeking opportunities in the SF Bay Area
Please see http://www.doorstop.net/resume/


pgpxgpduw2GYn.pgp
Description: PGP signature


Re: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Alan Shutko
Michael Marziani [EMAIL PROTECTED] writes:

 I've poked around dselect and can't find chkconfig.  Is this included in
 some larger package of handy admin utils?  If no chkconfig, is there a
 package that does something similar?

update-rc.d is pretty much the equivalent.

-- 
Alan Shutko [EMAIL PROTECTED] - In a variety of flavors!
Courage is your greatest present need.



RE: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Michael Marziani
I want to:


NAME
   chkconfig  -  updates and queries runlevel information for
   system services

DESCRIPTION
   chkconfig provides a simple command-line  tool  for  main-
   taining  the /etc/rc[0-6].d directory hierarchy by reliev-
   ing system administrators of the task of directly  manipu-
   lating the numerous symbolic links in those directories.



_
Michael D. Marziani
Systems Administrator
Keller Williams Realty International



-Original Message-
From: Sean 'Shaleh' Perry [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 06, 2002 4:35 PM
To: Michael Marziani
Cc: debian-user@lists.debian.org
Subject: Re: chkconfig is to redhat as ___ is to debian?



On 06-Mar-2002 Michael Marziani wrote:
 I've poked around dselect and can't find chkconfig.  Is this included 
 in some larger package of handy admin utils?  If no chkconfig, is 
 there a package that does something similar?
 

chkconfig is a redhat ism.  What are you trying to accomplish?



RE: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Sean 'Shaleh' Perry

On 06-Mar-2002 Michael Marziani wrote:
 I want to:
 
 
 NAME
chkconfig  -  updates and queries runlevel information for
system services
 
 DESCRIPTION
chkconfig provides a simple command-line  tool  for  main-
taining  the /etc/rc[0-6].d directory hierarchy by reliev-
ing system administrators of the task of directly  manipu-
lating the numerous symbolic links in those directories.
 
 

Ok.

1) Debian only installs a package if the item is expected to be used.  So the
usual use of chkconfig to disable unneeded daemons should not apply here.  If
you want to disable a daemon (it happens sometimes) and there is no way
provided (many packages offer a do not run me option if there is demand) you
just edit the init.d script or remove the rc?.d symlinks.

2) as others have said update-rc.d

3) ls the rc?.d directory to see what is started when.  For the most part
things are started in a certain order to play nicely with others.  You may need
to change this, but likely not.  My router is a laptop so I had to move many of
my daemons to start much later than pcmcia.



Re: chkconfig is to redhat as ___ is to debian?

2002-03-06 Thread Arthur H. Johnson II
Why dont you just create the symlinks yourself.  Its what I do.


On Wed, 2002-03-06 at 17:17, Michael Marziani wrote:
 I've poked around dselect and can't find chkconfig.  Is this included in
 some larger package of handy admin utils?  If no chkconfig, is there a
 package that does something similar?
 
 Thanks!
 
 -Mike
 
 _
 Michael D. Marziani
 Systems Administrator
 Keller Williams Realty International
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
-- 
Arthur H. Johnson II
President, Genesee County Linux Users Group
Debian GNU/Linux Advocate
[EMAIL PROTECTED]   http://www.gclug.org
-- 
Don't try to outweird me, three-eyes.  I get stranger
things than you free with my breakfast cereal.
- Zaphod Beeblebrox in Hitchiker's Guide to the Galaxy