[rsyslog] Solaris SMF Manifest
Jesse Kempf
jkempf at davisvision.com
Tue Apr 27 04:15:46 CEST 2010
Hi,
So I've been working on getting rsyslogd set up on a Solaris platform
(not as a local syslog replacement, but as the central syslog server for
a network).
Attached is a patchset which adds a Solaris SMF service manifest
(rsyslog.xml) and method script (svc-rsyslog).
I'm not sure how exactly to wire this into the install process, so I'll
describe what needs to get done.
svc-rsyslog needs to be kicked into $PREFIX/etc and be chmod +x.
rsyslog.xml needs the literal string 'PREFIX' replaced with $PREFIX, and
then passed to svccfg import. Something as simple as 'sed
"s#PREFIX#$PREFIX#g" < rsyslog.xml | svccfg import -' would do the trick.
The manifest registers rsyslog with SMF under the FMRI
svc:/network/rsyslog:default. The properties (accessible using svcprop)
'rsyslog/conf' and 'rsyslog/opts' contain the path to the config file
and any command-line options for rsyslog respectively.
I've also updated http://wiki.rsyslog.com/index.php/Solaris based on my
experiences getting rsyslog working on Solaris 10.
All in all, this has been much, MUCH easier than it was when I tried two
years ago.
Cheers,
-Jesse
------------------------------------------------------------------------
The information contained in this communication is intended
only for the use of the recipient(s) named above. It may
contain information that is privileged or confidential, and
may be protected by State and/or Federal Regulations. If
the reader of this message is not the intended recipient,
you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of
its contents, is strictly prohibited. If you have received
this communication in error, please return it to the sender
immediately and delete the original message and any copy
of it from your computer system. If you have any questions
concerning this message, please contact the sender.
------------------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: solaris-smf.patches
URL: <http://lists.adiscon.net/pipermail/rsyslog/attachments/20100427/aceed808/attachment-0002.txt>
More information about the rsyslog
mailing list