Bug#290916: gdm always stops working altogether after a few days

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


--82I3+IH0IqGh5yIs
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 Mon, May 23, 2005, Ludovic Drolez wrote:
> I confirm that sometimes we hit the same bug. It's really annoying sinc=
e it=20
> happens randomly. Moreover since more and more people are using termina=
l=20
> servers like us, when gdm does not want to reply to XDMCP queries that'=
s=20
> not one user which cannot work but dozen or even hundreds of users !=20
> (Hopefully, in that case application servers are load balanced).

 Could you please try the proposed patch (attached)?

   Thanks,

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

--82I3+IH0IqGh5yIs
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;

--82I3+IH0IqGh5yIs--






More information about the Pkg-gnome-maintainers mailing list