Re: metainit ready for extended testing

2007-06-25 Thread Sven Mueller
Petter Reinholdtsen wrote on 22/06/2007 16:27:
 [Sven Mueller]
 
If we want to be able to generate LSB compliant sysv init scripts, the
fields known to metainit should probably include Provides as well.
After all, some daemons don't only provide their own name there, but
also $named, $portmap or $syslog.
 
 Actually, this is a mistake.  The provides line in individual scripts
 should never use the the virtual facility names.  The virtual
 facilities are handled outside the init.d scripts.  For insserv, it is
 specified in /etc/insserv.conf.

Huh? Why shouldn't the init scripts be able to say: I provide
portmap/syslog/named functionality?

Or some other daemon's name (such as openbsd-inetd providing inetd).
 
 Yes, this is fine.  Though the current check-initd-order script do not
 handle scripts providing more than one facility..

If anything, I would have thought mentioning some other daemon's name
was evil, but not mentioning one of the $* capabilities.

cu,
Sven


signature.asc
Description: OpenPGP digital signature
___
initscripts-ng-devel mailing list
initscripts-ng-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel

Re: metainit ready for extended testing

2007-06-20 Thread Sven Mueller
Joachim Breitner wrote on 20/06/2007 00:58:

 A description of the metainit file format (as perldoc):

http://darcs.nomeata.de/cgi-bin/darcsweb.cgi?r=metainit;a=headblob;f=/lib/MetaInit/Parse.pm


If we want to be able to generate LSB compliant sysv init scripts, the
fields known to metainit should probably include Provides as well.
After all, some daemons don't only provide their own name there, but
also $named, $portmap or $syslog. Or some other daemon's name (such as
openbsd-inetd providing inetd).

Default-Start/Default-Stop would be interesting to other distributions
which actually use the run levels as defined by LSB (runlevel 1 - single
user - is used in Debian, and _perhaps_ but not necessarily we would
like to enable daemons to even run in single user mode).

cu,
Sven



signature.asc
Description: OpenPGP digital signature
___
initscripts-ng-devel mailing list
initscripts-ng-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel