metainit ready for extended testing

Sven Mueller debian at incase.de
Mon Jun 25 17:06:51 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20070625/87682816/attachment.pgp 


More information about the initscripts-ng-devel mailing list