Solaris 10: any 'usrun' that results in a coredump, it will also kill unifid

  • 7006452
  • 15-Jul-2010
  • 26-Apr-2012

Environment

Novell Privileged User Manager 2.2.1
Solaris 10

Situation

Solaris 10 has something called "Process Contracts". These group like processes and manages them in an intelligent way.  With the Solaris 10 Service Manager, if a given process coredumps, it will stop all the processes in the same contract.

This means that if a "usrun" command results in a coredump, it will also kill the unifid process.

Resolution

This has been resolved in the 2.3.0 native Solaris installer. (pkg) 

For preexisting installs (originally installed with 2.2.1 or 2.2.2 installers) please use the following work around below.  

Note: Upgrading from 2.2.2 to 2.3 via the normal NPUM mechanisms will NOT fix the issue. Either a fresh install need to be done using the 2.3.0 (and greater) native installer (pkgadd) or use the work around below.

From the Solaris 10 server, do the following:

/usr/sbin/svcadm disable npum
/usr/sbin/svccfg export npum >/tmp/npum.xml
vi /tmp/npum.xml
- Add the following just before the <stability value='Stable' />

<property_group name='startd' type='framework'>
          <propval name='ignore_error' type='astring' value='core,signal' />
</property_group>

/usr/sbin/svccfg import /tmp/npum.xml
/usr/sbin/svcadm enable npum