Skip to content

Another Sun Ray workaround for OpenSolaris build 131

January 29, 2010

Here is yet another thing to workaround to help Sun Ray working on build 131 of OpenSolaris. This all really relates back to gdm and it’s smf integration which should be fixed in build 132 but in the mean time means that this bug which results in dbus-deamon  dumping core ends up causing gdm to restart and so all the Sun Ray sessions are lost.

Since I already have a bit of D that is saving me from metacity doing the same or running away, the workaround can kill the process before it can dump core. In both cases the process is sent a SIGTERM and then they dump core.

#!/usr/sbin/dtrace -qws

/ (execname == "metacity"|| execname == "dbus-daemon" ) && args[0] == 15 / {
        system("logger -t metacity.d -p daemon.notice killing %s[%d]",
             execname, pid);

I’m not certain this will work but I have nothing to loose here.


From → Solaris

One Comment

Trackbacks & Pingbacks

  1. Tweaking gnome for Sun Ray « Chris Gerhard's Blog

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: