Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-announce
Navigation:
Lists: gentoo-announce: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-announce@g.o
From: Martin Schlemmer <azarah@g.o>
Subject: new rc-scripts dependancy
Date: Fri, 16 Nov 2001 01:34:16 +0200
Hi devs

Baselayout-1.6.6 was just released.  Along with some bugfixes,
updates to scripts, etc, it adds a new dependancy, 'use'.

It basically works the same as the 'need' dependancy, except
that it will only start services that is in the current, and
'boot' runlevels (or only 'boot' if 'boot' is current).

This is primarily for use with rc-scripts that have optional
dependancies, that should only be started when the deps are
actually installed and scheduled to start, for example:

  the netmount script, that should actually have portmap
  as a dependancy, but do not since it will never start
  if the user do not have the nfs tools installed.

Also, it can be used for cases where the dependancy can be
one out of a few, for example:

  postfix have sysklogd as dependancy, but people who uses
  metalog or syslog-ng will have to edit the postfix 
  rc-script, or it will fail to start.

Another place where latter can be used, is with the 'modules'
rc-script (already updated for this).  If you use sysklogd,
and add it to the 'boot' runlevel, and not the 'default' like
in the install guide, bootup will be much cleaner, as sysklogd
sets the console loglevel to 3 (only display errors and up).
Metalog and syslog-ng will have to be updated by developers
who use these two.

Enouth smalltalk.  How it works is as follows (out of postfix):

  depend() {
	need net sysklogd
  }

becomes:

  depend() {
	need net
	use sysklogd metalog syslog-ng
  }

Anyhow, please test, comment and enjoy :)


Greetings,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa

Attachment:
pgp79N5Xh7KH1.pgp (PGP signature)
Navigation:
Lists: gentoo-announce: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Important: lists.gentoo.org transition
Next by thread:
Multi-kdelibs/eclasses v4 released
Previous by date:
Important: lists.gentoo.org transition
Next by date:
Multi-kdelibs/eclasses v4 released


Updated Jun 17, 2009

Summary: Archive of the gentoo-announce mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.