OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004409 [syslog_ng] packaging minor always 2010-04-27 20:57 2014-03-24 00:50
Reporter ckmehta1 View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004409: Installing syslog_ng package disables default Solaris syslog service when autoenable_daemons=no
Description 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
Additional Information 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"

Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008240)
skayser (administrator)
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 (reporter)
2012-03-25 08:54

I pushed a new syslog-ng package which does not disable syslogd.
(0010782)
maciej (reporter)
2014-03-24 00:50

Please reopen if still not fixed.

- Issue History
Date Modified Username Field Change
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


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker