[bug-notifications] [cswclassutils 0003633]: Service using init scripts should not be configured to at boot time when autoenable_daemons=no

Mantis Bug Tracker noreply at opencsw.org
Tue Jun 30 09:29:43 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3633 
====================================================================== 
Reported By:                yann
Assigned To:                bonivart
====================================================================== 
Project:                    cswclassutils
Issue ID:                   3633
Category:                   regular use
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2009-04-13 18:23 CEST
Last Modified:              2009-06-30 09:29 CEST
====================================================================== 
Summary:                    Service using init scripts should not be configured
to at boot time when autoenable_daemons=no
Description: 
Hi,

It seems cswinitsmf class doesn't perfectly respect the opencsw standard.
According to the standard when autoenable_daemons=no, the install scripts
whould "skip enabling the demon to run at boot time" [1], that doesn't seem
to be the case currently with init scripts, rc links are setup whatever the
autoenable setting.

I had this bug with the dovecot package, at the first reboot dovecot was
launched despite autoenable_daemons being set to no.


[1] http://www.opencsw.org/standards/csw.conf
====================================================================== 

---------------------------------------------------------------------- 
 (0006364) bonivart (manager) - 2009-06-30 09:29
 http://www.opencsw.org/mantis/view.php?id=3633#c6364 
---------------------------------------------------------------------- 
I think the rc-mechanism is too simple to make this perfect for everyone.
The rc-part of cswinitsmf is legacy and we will have to make a choice best
suited for most people.

Not all init scripts check the presence of config files so if rc-links
were to be set up always they would fail in various ways. I think it's
cleaner this way. And it should only affect those who have made a choice to
use autoenable_daemons=no.

To me it's OK but maybe it should be discussed on the maintainers list,
the csw.conf page may need to be reworded slightly or something. Take it to
the list if you want it further discussed. If you do I'll keep this bug
open and fix it the way the list decides.




More information about the bug-notifications mailing list