[bug-notifications] [cswclassutils 0004075]: cswinitsmf should refuse to create an FMRI with a dot in the name
Mantis Bug Tracker
noreply at opencsw.org
Fri Jan 8 12:17:09 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-01-08 12:17 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*
======================================================================
----------------------------------------------------------------------
(0007193) maciej (reporter) - 2010-01-08 12:17
http://www.opencsw.org/mantis/view.php?id=4075#c7193
----------------------------------------------------------------------
I thinking what should the checkpkg-level test do here. It can examine the
prototype, look for the cswinitsmf class, and report an error if there was
a dot in the last part of the filename:
/foo/bar_baz (good)
/foo.bar/baz (good)
/foo/bar.baz (bad)
The assumption would be that the file name and FMRI are the same.
More information about the bug-notifications
mailing list