[bug-notifications] [syslog_ng 0003945]: cswsyslog-ng is not zone friendly - syslog.ctl file is on inherited & read only filesystem

Mantis Bug Tracker noreply at opencsw.org
Mon Oct 12 02:02:42 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3945 
====================================================================== 
Reported By:                japester
Assigned To:                maciej
====================================================================== 
Project:                    syslog_ng
Issue ID:                   3945
Category:                   packaging
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2009-10-07 19:04 CEST
Last Modified:              2009-10-12 02:02 CEST
====================================================================== 
Summary:                    cswsyslog-ng is not zone friendly - syslog.ctl file
is on inherited & read only filesystem
Description: 
the statistics control file is configured to be stored at
/opt/csw/var/syslog.ctl.
on non-global zones this is a read only filesystem.

It should be stored at /var/opt/csw/syslog.ctl
====================================================================== 

---------------------------------------------------------------------- 
 (0006842) japester (reporter) - 2009-10-12 02:02
 http://www.opencsw.org/bugtrack/view.php?id=3945#c6842 
---------------------------------------------------------------------- 
Testing a clean install of openCSW, then an upgrade has the new config file
and updated locations function correctly.

Testing an upgrade of a global zone and two sparse zones also worked.

Both tests left the previous version of the control and persist files, not
a major issue, but it might be worth adding in a cleanup script to remove
these files in /opt/csw/var with appropriate warnings to the user, if
that's feasible?

I also noticed that the svc manifest gets installed into
/var/opt/csw/svc/method/svc-cswsyslog_ng.
Is that deliberate?  The method scripts will be identical on every
container, so they could be installed into /opt/csw/var/<dir> ?
I haven't been able to find any opencsw documentation which defines a
directory standard for SMF manifest and method files, unfortunately.




More information about the bug-notifications mailing list