While working on the fix for 7103352 (TrustedExtensionsPolicy should be marked
preserve=renamenew) the results I saw during testing confused me.

I added both overlay=allow & preserve=renamenew to the manifest for the
TrustedExtensionsPolicy file.   If the file was edited, then installing
an update that had a new version created TrustedExtensionsPolicy.new.
(There was no warning this had happened - if I hadn't been testing for
 it, I'm not sure I would have or could have known without doing a
 "find . -name *.new" - how are admins/end users supposed to know about this?)

However, if the edit was done by delivering a new package with overlay=true,
then installing an updated version of the Solaris package that had a new version
did nothing - no .new file was created, it was just silently ignored.   From my
reading of the overlay=allow description, it's supposed to still follow the
preserve handling for updates, so why didn't it make a *.new file in this case?
Did I misunderstand or is there a bug?

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to