r27698 - in /desktop/unstable/gdm3/debian: changelog patches/33_reset_signal_handler.patch patches/34_postsession_shutdown.patch patches/series
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Wed Apr 20 17:57:38 UTC 2011
Author: joss
Date: Wed Apr 20 17:57:38 2011
New Revision: 27698
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=27698
Log:
* 33_reset_signal_handler.patch: stolen upstream. Reset SIGPIPE
handler before starting the session.
* 34_postsession_shutdown.patch: stolen upstream. Execute the
PostSession script even when GDM is killed or shut down.
Added:
desktop/unstable/gdm3/debian/patches/33_reset_signal_handler.patch
desktop/unstable/gdm3/debian/patches/34_postsession_shutdown.patch
Modified:
desktop/unstable/gdm3/debian/changelog
desktop/unstable/gdm3/debian/patches/series
Modified: desktop/unstable/gdm3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/changelog?rev=27698&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/changelog [utf-8] (original)
+++ desktop/unstable/gdm3/debian/changelog [utf-8] Wed Apr 20 17:57:38 2011
@@ -1,3 +1,12 @@
+gdm3 (2.30.5-10) unstable; urgency=low
+
+ * 33_reset_signal_handler.patch: stolen upstream. Reset SIGPIPE
+ handler before starting the session.
+ * 34_postsession_shutdown.patch: stolen upstream. Execute the
+ PostSession script even when GDM is killed or shut down.
+
+ -- Josselin Mouette <joss at debian.org> Wed, 20 Apr 2011 19:57:09 +0200
+
gdm3 (2.30.5-9) unstable; urgency=high
* README.Debian: remove reference to GDM 2.26. Closes: #616603.
Added: desktop/unstable/gdm3/debian/patches/33_reset_signal_handler.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/patches/33_reset_signal_handler.patch?rev=27698&op=file
==============================================================================
--- desktop/unstable/gdm3/debian/patches/33_reset_signal_handler.patch (added)
+++ desktop/unstable/gdm3/debian/patches/33_reset_signal_handler.patch [utf-8] Wed Apr 20 17:57:38 2011
@@ -1,0 +1,26 @@
+From 7196e4330acfa525361447ba986bd8cab1494a12 Mon Sep 17 00:00:00 2001
+From: Brian Cameron <brian.cameron at oracle.com>
+Date: Thu, 07 Apr 2011 17:06:45 +0000
+Subject: Fix #630484, set SIGPIPE handler to default before starting Xsession.
+
+---
+diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
+index 9470824..f8ba4ba 100644
+--- a/daemon/gdm-session-worker.c
++++ b/daemon/gdm-session-worker.c
+@@ -2070,6 +2070,13 @@ gdm_session_worker_start_user_session (GdmSessionWorker *worker,
+
+ _save_user_settings (worker, home_dir);
+
++ /*
++ * Reset SIGPIPE to default so that any process in the user
++ * session get the default SIGPIPE behavior instead of ignoring
++ * SIGPIPE.
++ */
++ signal (SIGPIPE, SIG_DFL);
++
+ gdm_session_execute (worker->priv->arguments[0],
+ worker->priv->arguments,
+ environment,
+--
+cgit v0.9
Added: desktop/unstable/gdm3/debian/patches/34_postsession_shutdown.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/patches/34_postsession_shutdown.patch?rev=27698&op=file
==============================================================================
--- desktop/unstable/gdm3/debian/patches/34_postsession_shutdown.patch (added)
+++ desktop/unstable/gdm3/debian/patches/34_postsession_shutdown.patch [utf-8] Wed Apr 20 17:57:38 2011
@@ -1,0 +1,49 @@
+From 756825d337c5a0402074590016033415266d1255 Mon Sep 17 00:00:00 2001
+From: Brian Cameron <brian.cameron at oracle.com>
+Date: Thu, 07 Apr 2011 17:19:39 +0000
+Subject: Fix bug #621581 so that PostSession is called when GDM shuts down or
+
+when the main GDM daemon is killed.
+---
+diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
+index fb14223..fa8d4b6 100644
+--- a/daemon/gdm-simple-slave.c
++++ b/daemon/gdm-simple-slave.c
+@@ -128,17 +128,7 @@ on_session_exited (GdmSession *session,
+ int exit_code,
+ GdmSimpleSlave *slave)
+ {
+- char *username;
+-
+ g_debug ("GdmSimpleSlave: session exited with code %d\n", exit_code);
+-
+- /* Run the PostSession script. gdmslave suspends until script has terminated */
+- username = gdm_session_direct_get_username (slave->priv->session);
+- if (username != NULL) {
+- gdm_slave_run_script (GDM_SLAVE (slave), GDMCONFDIR "/PostSession", username);
+- }
+- g_free (username);
+-
+ gdm_slave_stopped (GDM_SLAVE (slave));
+ }
+
+@@ -1202,6 +1192,17 @@ gdm_simple_slave_stop (GdmSlave *slave)
+ }
+
+ if (GDM_SIMPLE_SLAVE (slave)->priv->session != NULL) {
++ char *username;
++
++ /* Run the PostSession script. gdmslave suspends until script
++ * has terminated
++ */
++ username = gdm_session_direct_get_username (GDM_SIMPLE_SLAVE (slave)->priv->session);
++ if (username != NULL) {
++ gdm_slave_run_script (GDM_SLAVE (slave), GDMCONFDIR "/PostSession", username);
++ }
++ g_free (username);
++
+ gdm_session_close (GDM_SESSION (GDM_SIMPLE_SLAVE (slave)->priv->session));
+ g_object_unref (GDM_SIMPLE_SLAVE (slave)->priv->session);
+ GDM_SIMPLE_SLAVE (slave)->priv->session = NULL;
+--
+cgit v0.9
Modified: desktop/unstable/gdm3/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/patches/series?rev=27698&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/patches/series [utf-8] (original)
+++ desktop/unstable/gdm3/debian/patches/series [utf-8] Wed Apr 20 17:57:38 2011
@@ -32,4 +32,6 @@
30_utf8_locale.patch
31_xkb_options.patch
32_CVE-2011-0727.patch
+33_reset_signal_handler.patch
+34_postsession_shutdown.patch
90_relibtoolize.patch
More information about the pkg-gnome-commits
mailing list