On 01/15/13 01:16 AM, casper....@oracle.com wrote:
On 01/14/13 05:28 PM, John Zolnowsky wrote:
The ARMOR project delivers seven roles. Since IPS does not have the ability
to deliver and populate the home directories in /export/home (ZFS datasets)
for these roles, I'm using the usual mechanism of defining a transient service
to perform this part of the installation.
/export/home is usually reserved for end-user accounts, with accounts created
by the system/packages having home directories elsewhere. Wouldn't this problem
go away if you just created all these home dirs under /var/armor or something
like that? Then you could deliver files in the packages, not via SMF script.
These accounts are to be used by administrative end-users.
As such, these armor home directories deserve the same separation
as locally defined roles, most importantly a separate ZFS dataset.
Regardless of location, this is not a current capability of IPS.
I agree; /export/home sounds like the wrong place.
Certainly it is possible that: /export/home does not exist (I remove
it on most systems because they don't have local home directories;
they might be mounted remotely and it is clearly possible that writing
there is not possible)
That sort of comment should be made on the pending ARC case: PSARC 2012/304.
Let me return to the abstract question: is it possible to have the
equivalent of an uninstall action script? The use of a SMF transient
service has been proffered as an alternative form of the install action
script; does IPS offer any mechanism that can be used during uninstall?
-JZ
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss