UNIX admin wrote:
Then you'll have to re-create your package.
If I put the work, which was normally done in postinstall, postremove,
preinstall and preremove into SMF, how can I ensure that the sysadmin doesn't
accidentally enable package's SMF method which does the equivalent of preremove
or postremove?
How can the script ensure that the sysadmin didn't change something on
the system that wouldn't have rendered preinstall, postinstall, or
preremove from working?
That's the problem with scripts like these; you can't guarantee the
environment will be as the script expects.
See this
blog entry for more
information:
http://blogs.sun.com/sch/entry/pkg_1_a_no_scripting
This must be the Nth time you have pointed me to that blog, so let me in turn
point certain things out:
...
And let me simply say that dozens of OpenSolaris builds have been
delivered successfully without scripting within packaging execution
context, so things cannot possibly be as dire as you propose them to be.
All the fancy musings, and all the fancy blog entries can not hide the fact
that IPS is an artificial solution which has not been thouroughly thought
through.
No, it has been thoroughly thought through, you just don't agree with
the conclusions :)
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]