[indiana-discuss] Bug 4887 - is a fix avalable?

andrew andrum04 at gmail.com
Tue Dec 2 14:49:32 PST 2008


> > I notice from
> http://defect.opensolaris.org/bz/show_bug.cgi?id=4887#
> c6 that this bug 
> > has been fixed in Nevada build 105. Is it possible
> to apply this fix to 2008.11 
> > without recompiling any binaries? If so - what is
> the fix?
> 
> James Cornell suggested doing the setuid on the gdm
> binary.  This is not
> correct, don't do that.  Instead do the following:
> 
> Install the attached svc-gdm file to /lib/svc/method
> and give it
> 555 root:bin permissions.
> 
> Install the attached gdm.xml file to
> /var/svc/manifest/application/graphical-login and
> give it
> 444 root:sys permissions.
> 
> Edit the /usr/sbin/gdm script and remove the lines at
> the end where it calls
> dbus-launch and sets the DBUS related environment
> variables so it
> looks like the one attached.
> 
> Then you will need to reboot or restart the gdm
> service.
> 
> This should fix GDM so it stops properly when you
> stop or restart the
> gdm SMF service.

That's cured it! Many thanks - my laptop now shuts down much faster.

Andrew.
-- 
This message posted from opensolaris.org



More information about the indiana-discuss mailing list