Bug#290916: gdm problem

Loïc Minier Loïc Minier <lool@dooz.org>, 290916@bugs.debian.org
Wed Jul 6 20:07:59 UTC 2005


--R3G7APHDIzY6R/pk
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

        Hi,

 This is a followup for Debian bug <http://bugs.debian.org/290916>.

On Thu, Mar 10, 2005, Sonja L. Baldwin wrote:
> This is just to followup on a bug that had been reported earlier, this =
is the
> type of thing we get populating our syslog when gdm goes south on us, i=
t
> happens about 2 times a day to us and brings down our entire library so=
 it is
> an issue we need to find a fix for.  At first we had to reboot, then tr=
ied just
> restarting gdm, finally if we can find the slave pid as we did below, k=
illing
> that pid seems to work.  We have also been able to replicate it on our
> 'training server'.  Not consistently and not on purpose, but it happene=
d when
> we were testing mounting and unmounting a floppy.  I will try to get a =
more
> comprehensive log for you, but this is really the gist of it.

 Please try the attached patch.

   Regards,

--=20
Lo=EFc Minier <lool@dooz.org>
"Neutral President: I have no strong feelings one way or the other."

--R3G7APHDIzY6R/pk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gdm.patch"

--- gdm-2.6.0.6/daemon/display.c        2005-03-03 18:01:32.000000000 +0100
+++ gdm-2.6.0.6/daemon/display.c   2004-05-27 03:19:35.000000000 +0200
@@ -208,9 +208,9 @@
                        ve_signal_was_notified (SIGINT) ||
                        ve_signal_was_notified (SIGHUP) ||
                        t + 10 <= time (NULL)) {
-                           gdm_debug ("whack_old_slave: GOT ANOTHER SIGTERM (or it was 10 secs already), killing slave again");
+                           gdm_debug ("whack_old_slave: GOT ANOTHER SIGTERM (or it was 10 secs already), killing slave with SIGKILL");
                            t = time (NULL);
-                           kill (d->slavepid, SIGTERM);
+                           kill (d->slavepid, SIGKILL);
                            goto wait_again;
                    } else if (ret < 0 && errno == EINTR) {
                            goto wait_again;

--R3G7APHDIzY6R/pk--






More information about the Pkg-gnome-maintainers mailing list