On Sat, Jun 06, 2009 at 01:19:27PM -0500, Shawn Walker wrote: > Darren Reed wrote:
I think in your case the answer is simple: you don't need to worry about this. You should push your changes to ONNV, including SVR4 packaging changes, and the OpenSolaris team will take care of the rest. Or at least that's my impression. > >Yup, that captures it correctly. > > > >IPS cannot replace SVR4 packages without this issue > >taken care of. > > > >I'd call it a P1. Or else the support folks are in > >for a fun time when it comes time to "patch" one of > >the many /etc text files with IPS. One answer often given is that pkgs should be "self-assembling", which effectively means that when the software first runs it must assemble itself, and because there's no guarantee that the first run will be with sufficient privileges... one ends up needing SMF services to accomplish self-assembly. Another answer commnly given is that common cases should have IPS actions for them -- there's a new user IPS action, for example, and it shouldn't be hard to add actions for /etc/project and all those other editable /etc files. Incidentally, a while back I posted a prototype of a generic self- assembly service that allows re-use of SVR4 class action and post* scripts (but not pre*, nor checkinstall, nor request). There seems to have been no interest. > >And to answer Danek's question about whether or not > >a generic file assmebler is required - look in > >$SRC/pkgdefs/common_files and tell me that one isn't. > > I have to wonder if the need is so immediate given that we've been > delivering numerous OpenSolaris releases for over a year now without > this functionality. > > Yes, I know that could change rapidly in the near future, especially as > the support releases evolve, but so far, it hasn't been a dire issue. I agree, but when IPS fully replaces SVR4 there will have to be a better answer. One might be that anybody making the sorts of changes Darren is making now would have to consider adding new IPS actions, and if not appropriate, then resort to self-assembling pkg techniques. Nico -- _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
