yes i am aware of these(they are inline with SVR4 prototype file format), we 
have proper manifest file for our package with all attributes set  correctly.   
In the case of IPS what happens if <user>:<group> is not exists on a system 
when a pkg is trying to install(initial install ) contents with <user>:<group> 
ownership.  In  SVR4  packaging we  check  as part of pre install script we use 
to check for this <user>:<group>, if not exists we create as part of pre 
install phase.  In IPS how do we handle these kind of preinstall check/actions. 

-satya

On Wednesday, January 14, 2009 4:44pm, "Shawn Walker" <[email protected]> 
said:

> [email protected] wrote:
>> is pkg-discuss an open forum? , it is not listed in
>> http://www.opensolaris.org/os/discussions/ page How can i get to it?
> 
> pkg-discuss is a mailing list and isn't available through the web
> interface.  You can subscribe to it by emailing pkg-discuss-subscribe AT
> opensolaris.org.
> 
>> and comming back to my basic issue, we do need a special user:group
>> (owning few profiles and roles) on system to run our software, in pre
>> install we check and create user if not exists. At install time we
>> install package contents with new user ownership and permissions.  Once
>> we install pkg we can configure  using SMF , Issue is how do we check
>> PRE INSTALL part in IPS is not clear to me.
> 
> IPS has special actions for handling users and groups.

yes i am aware of these(they are inline with SVR4 prototype file
format), we have proper manifest file for our package with all
attributes set  correctly. Pkg content installation and attribute setting is 
not an issue for me.
> 
> Is this user and group one that only exists if they've installed your
> software previously?  If so, you shouldn't need to check for its
> existence; just use the user and group actions.
> 
> I'm not certain what you would do otherwise, but perhaps someone else does.

In the case of IPS what happens when pkg is being installed 1st time?,   if 
<user>:<group> is not
exists on a system when a pkg is trying to install 
contents with <user>:<group> ownership.  In  SVR4 
packaging as part of pre install script we  check to see if <user>:<group> 
exists,  if not exists create as part of pre
install phase.  In IPS how do we handle these kind of preinstall
check/actions?.

> 
> Look at man page for pkg.5 in the "User actions" and "Group actions"
> sections for more information about these actions ("man pkg.5").
> 
> You might also find the Image Packaging System Guide useful while
> working through this process:
> 
> http://dlc.sun.com/osol/docs/content/2008.11/IMGPACKAGESYS/actions.html
> 
> Cheers,
> --
> Shawn Walker
> 
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to