How to prevent packages from starting services after installation?

Some packages provide daemons, for example OpenSSH or syslog-ng. These packages start their services up by default. How to prevent them from doing that?

asked: 2012-02-09 by: automaciej


automaciej answers:

Currently, the default is indeed to start all the daemons at installation. The /opt/csw/etc/csw.conf file allows you to maintain system-wide configuration for things like the SMF integration. In the file, you can set:

autoenable_daemons=no

For more information, see the CSW class action utilities wiki page, the SMF integration section.