2008-11-21 Brian Cameron <brian.cameron at sun.com>
* SUNWgnome-display-mgr.spec, ext-sources/svc-gdm,
ext-sources/gdm.xml, base-specs/gdm.xml: Add
/lib/svc/method/svc-gdm SMF method file so
that the "stop" method does not cause errors on shutdown/restart.
Fix for doo bug #4887.
* patches/gdm-06-dbus.spec: Remove this patch. It is no longer
needed for programs like GOK to startup from GDM since D-Bus
autostart is working better now. Renumber other GDM patches.
Adding the svc-gdm method file makes it easier for SMF to ignore a return
code of 1 from gdm-stop, which happens when you shutdown/restart since GDM
shuts itself down immediately before the shutdown tries to trigger GDM
should stop.
Removing the dbus patch was also needed to fix this bug since this was
causing a stray dbus process to be left running when GDM shutdown, causing
a "svcadm disable gdm" or "svcadm restart gdm" to fail. This patch is no
longer needed. Testing with the latest GNOME code, the D-Bus autostart is
now working better than it was when this patch was added.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdm.diff
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20081121/9ab7d709/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: svc-gdm
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20081121/9ab7d709/attachment-0001.ksh>