Add the attached patch to fix doo bug #14007.  This improves GDM's SMF
integration.  Refer here:

   http://defect.opensolaris.org/bz/show_bug.cgi?id=14007

In build 130, GDM was updated to the new GDM 2.28 version.  This
version calls the user gnome-session with ctrun which starts the user
session in a separate contract.  This ensures that a segfault in a user
application does not cause the gdm service to restart.

However, this is not good enough.  For background, you can refer to
bugster CR #6720967, when a similar bug was fixed in the old GDM.

The problem is that GDM really needs to ensure that the following
processes are also in a separate contract:

- The login GUI
- The Xorg Xserver
- gdm-session-worker (which calls PAM)

To solve this problem, the attached patch ensures that the slave daemon
which starts all of the above processes is in the separate SMF
contract.  This ensures that any segfaults when the login GUI is
displayed, from the Xserver, PAM, or other processes started by the
slave are in a separate contract.

Note this is makes the new GDM work more similarly like the old GDM
worked - the old GDM also ran the slave daemon in a separate contract.

Brian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdm-04-smf.diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20100120/64367129/attachment.ksh>

Reply via email to