Duplicate provides in init.d scripts - a summary and proposal

Kel Modderman kel at otaku42.de
Tue Aug 18 16:36:21 UTC 2009


On Tuesday 18 August 2009 17:29:52 Petter Reinholdtsen wrote:

> When two packages have two different init.d scripts providing the same
> service, it is impossible to install both at the same time, and the
> package installed first need to be purged before it is possible to
> install the other.
> 
> Most of these are bugs, but I suspect some of them should be handle by
> defining new virtual provides in /etc/insserv.conf.d/.  The point is
> to provide a way for several scripts to provide the same service while
> still having unique provides strings to avoid the problems with
> duplicate provides.  My proposal is to introduce at least these:
> 
>   $mail-transport-agent  - for the MTAs like exim, postfix, etc

$mta or $mail maybe

>   $console-setup         - fonts and keyboard is set up in the console

just $console for this one I reckon.

>   $postgresql            - operantional postgresql server
>   $radius                - operational radius server
>   $xfs                   - operational font server
>   $squid                 - operational squid server
>   $lvm                   - LVM subsystem activated
> 
> I am not sure if - can be used in virtual facility names, but if not,
> we will just have to shorten some names.  Any comments?

Your proposal seems reasonable to me.

Thanks, Kel.



More information about the initscripts-ng-devel mailing list