r52410 - in /desktop/unstable/gdm3/debian: changelog gdm3.postinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Tue May 9 21:51:42 UTC 2017


Author: biebl
Date: Tue May  9 21:51:41 2017
New Revision: 52410

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=52410
Log:
Setup pulseaudio to run as systemd user service for Debian-gdm.
Otherwise, if we start pulseaudio within the session, the idle-timeout of
pulseaudio will prevent the old session scope to be properly terminated
when the gdm service is restarted and the old logind session will remain
in state "closing".

Modified:
    desktop/unstable/gdm3/debian/changelog
    desktop/unstable/gdm3/debian/gdm3.postinst

Modified: desktop/unstable/gdm3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/changelog?rev=52410&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/changelog	[utf-8] Tue May  9 21:51:41 2017
@@ -1,8 +1,16 @@
 gdm3 (3.22.3-2) UNRELEASED; urgency=medium
 
+  [ Laurent Bigonville ]
   * d/p/stop-greeter-explicitly-when-finishing-display.patch: Properly stop
     the greeter processes when restarting gdm, this fixes the respawn loop and
     allow gdm to restart properly (Closes: #857995)
+
+  [ Michael Biebl ]
+  * Setup pulseaudio to run as systemd user service for Debian-gdm.
+    Otherwise, if we start pulseaudio within the session, the idle-timeout of
+    pulseaudio will prevent the old session scope to be properly terminated
+    when the gdm service is restarted and the old logind session will remain
+    in state "closing".
 
  -- Laurent Bigonville <bigon at debian.org>  Tue, 09 May 2017 18:29:37 +0200
 

Modified: desktop/unstable/gdm3/debian/gdm3.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/gdm3.postinst?rev=52410&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/gdm3.postinst	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/gdm3.postinst	[utf-8] Tue May  9 21:51:41 2017
@@ -80,6 +80,14 @@
 # debconf hangs if gdm3 gets started below without this
 db_stop || true
 
+# Setup pulseaudio to run as user service
+UNIT=/usr/lib/systemd/user/pulseaudio.socket
+USERUNITDIR=/var/lib/gdm3/.config/systemd/user
+if ! [ -L $USERUNITDIR/sockets.target.wants/pulseaudio.socket ]; then
+  mkdir -p $USERUNITDIR/sockets.target.wants
+  ln -sf $UNIT $USERUNITDIR/sockets.target.wants
+fi
+
 chown -R Debian-gdm:Debian-gdm /var/lib/gdm3
 
 if [ -L /etc/pam.d/gdm-welcome ]; then




More information about the pkg-gnome-commits mailing list