Mantis - syslog_ng
Viewing Issue Advanced Details
4409 packaging minor always 2010-04-27 20:57 2014-03-24 00:50
ckmehta1  
maciej  
normal  
closed  
fixed  
none    
none  
0004409: Installing syslog_ng package disables default Solaris syslog service when autoenable_daemons=no
While syslog_ng respects the autoenable_daemons=no setting in /opt/csw/etc/csw.conf

when you install the syslog_ng package, by default it ALWAYS disables the Solaris syslog service in the CSWsyslogng/install/preinstall script:
    /usr/sbin/svcadm disable svc:/system/system-log:default
regardless of the autoenable setting.

This is an issue if you want to install the package for availability over NFS/non-global-zones, but don't want to automatically disable syslog on the primary-machine's global-zone and leave the system without any form of syslog.

Two possible autoenable settings that are applicable here would be:
autoenable_daemons=
autoenable_cswsyslog_ng=

Hopefully the preinstall script can take the autoenable features into account in /opt/csw/etc/csw.conf
In Solaris 10, one way to bullet-proof the process is to alter the script:
      /etc/opt/csw/init.d/cswsyslog_ng
to check for the original syslog service being online with a command like:
      svcs svc:/system/system-log:default | egrep "^online"

Issue History
2010-04-27 20:57 ckmehta1 New Issue
2010-09-02 16:09 skayser Note Added: 0008240
2012-03-25 08:49 maciej Status new => assigned
2012-03-25 08:49 maciej Assigned To => maciej
2012-03-25 08:54 maciej Note Added: 0009765
2012-03-25 08:54 maciej Status assigned => feedback
2014-03-24 00:50 maciej Note Added: 0010782
2014-03-24 00:50 maciej Status feedback => closed
2014-03-24 00:50 maciej Resolution open => fixed

Notes
(0008240)
skayser   
2010-09-02 16:09   
We are currently running into the same issue. We'd like to offer syslog-ng as a cluster service without actually touching the node local system-log service. Once we install CSWsyslogng on one of the nodes though, the node local system-log SMF service gets disabled.

As we (at OpenCSW) have taken the route to not touch system services in other areas (postfix, cups), would it be possible to not disable system-log? At least if autoenable_daemons == no.
(0009765)
maciej   
2012-03-25 08:54   
I pushed a new syslog-ng package which does not disable syslogd.
(0010782)
maciej   
2014-03-24 00:50   
Please reopen if still not fixed.