[bug-notifications] [cswclassutils 0003636]: Allow package to provide their own manifest file
Mantis Bug Tracker
noreply at opencsw.org
Tue Apr 21 21:08:58 CEST 2009
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/mantis/view.php?id=3636
======================================================================
Reported By: yann
Assigned To: bonivart
======================================================================
Project: cswclassutils
Issue ID: 3636
Category: regular use
Reproducibility: have not tried
Severity: feature
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2009-04-13 20:01 CEST
Last Modified: 2009-04-21 21:08 CEST
======================================================================
Summary: Allow package to provide their own manifest file
Description:
Some package already provide their own manifest file to be used under
Solaris 10.
It would be nice to have a way for a package using cswinitsmf to disable
automatic manifest generation so its own manifest file is used.
======================================================================
----------------------------------------------------------------------
(0005970) yann (reporter) - 2009-04-15 21:12
http://www.opencsw.org/mantis/view.php?id=3636#c5970
----------------------------------------------------------------------
It could be configured by using the existing tweaks system.
For exemple, if you provide your own manifest file, you could add:
#SMF_SCRIPT no # change this value to no if this init script should
not be used to autogenerate the smf manifest file.
----------------------------------------------------------------------
(0005992) bonivart (manager) - 2009-04-21 17:20
http://www.opencsw.org/mantis/view.php?id=3636#c5992
----------------------------------------------------------------------
Ok, but how would it know which file to import as manifest?
SMF_SCRIPT /path/to/manifest
?
----------------------------------------------------------------------
(0005996) yann (reporter) - 2009-04-21 21:08
http://www.opencsw.org/mantis/view.php?id=3636#c5996
----------------------------------------------------------------------
The manifest file would belong to the cswinitsmf class, so it will be
passed to your script which could register it if smf is available and
enabled.
You would have to add a test to determine if the file is a manifest or an
init.d script (or something else).
But using "SMF_SCRIPT /path/to/manifest" will also work.
Issue History
Date Modified Username Field Change
======================================================================
2009-04-13 20:01 yann New Issue
2009-04-15 21:12 yann Note Added: 0005970
2009-04-21 17:18 bonivart Status new => assigned
2009-04-21 17:18 bonivart Assigned To => bonivart
2009-04-21 17:20 bonivart Note Added: 0005992
2009-04-21 21:08 yann Note Added: 0005996
======================================================================
More information about the bug-notifications
mailing list