[bug-notifications] [cswclassutils 0004075]: cswinitsmf should refuse to create an FMRI with a dot in the name

Mantis Bug Tracker noreply at opencsw.org
Thu Feb 11 19:03:22 CET 2010


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4075 
====================================================================== 
Reported By:                maciej
Assigned To:                bonivart
====================================================================== 
Project:                    cswclassutils
Issue ID:                   4075
Category:                   other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-12-10 09:34 CET
Last Modified:              2010-02-11 19:03 CET
====================================================================== 
Summary:                    cswinitsmf should refuse to create an FMRI with a
dot in the name
Description: 
08:25 <@automaciej> I just discovered that SMF FMRIs don't work if they
have dots in them.
08:25 <@automaciej> like, you can have cswpostgres_8_4, but can't have
cswpostgres_8.4
08:29 < lewellyn> yup
08:29 < lewellyn> it's documented somewhere, in fact.
08:29 <@automaciej> cswclassutils don't catch that
08:29 < lewellyn> that's why sun's services tend to be whatever23 or
whatever_23
08:30 < Dagobert> I guess it is because SMF is designed to be extended to
multi-host at some point in the future and . is a domain-sep. Same thing as
for auto*

====================================================================== 

---------------------------------------------------------------------- 
 (0007425) bonivart (manager) - 2010-02-11 19:03
 http://www.opencsw.org/mantis/view.php?id=4075#c7425 
---------------------------------------------------------------------- 
Version 1.33 of cswclassutils is in testing and this is what happens when
you have a dot (or several dots) in the FMRI:

[ verifying class <cswusergroup> ]
Installing class <cswinitsmf> ...
WARNING! FMRI path contained an illegal dot (removed)
New FMRI path: foo
Creating /var/opt/csw/svc/manifest/foo ...
Creating service script in /var/opt/csw/svc/method/svc-cswspamd ...
Creating manifest ...
Configuring service in SMF ...
CSWspamassassin is using Service Management Facility. The FMRI is
svc:/foo/cswspamd:default
Enabling svc:/foo/cswspamd ...
[ verifying class <cswinitsmf> ]



More information about the bug-notifications mailing list