Your message dated Fri, 28 Mar 2014 23:34:01 +0000
with message-id <e1wtghh-00007c...@franck.debian.org>
and subject line Bug#594001: fixed in pulseaudio 5.0-1
has caused the Debian Bug report #594001,
regarding PA doesn't stop running after X-session has ended, although it is 
started as a session daemon
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
594001: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594001
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pulseaudio
Version: 0.9.21-3
Severity: normal
Tags: patch

Hi,

if PA is started as a X session daemon using the script under
/usr/bin/start-pulseaudio-x11, for example during startup of GNOME or
other desktop environments,  it will continue to run even if the X
session has ended. If you log into a VT after logging out of X you will
see something like this: 

        $ ps -fu 1000
        UID        PID  PPID  C STIME TTY          TIME CMD
        1000     15881     1  0 00:13 ?        00:00:00 /usr/bin/pulseaudio 
--start
        1000     16463 15730  0 00:14 tty2     00:00:00 -bash
        1000     16473 16463  0 00:15 tty2     00:00:00 ps -fu 1000

I think this is wrong because PA was started explicitly for the
X-session and should therefore exit with it.

This behaviour is not only annoying because you have needless processes
flying around, but apparently also causes several bugs:

 * #556971[1]: "pulseaudio does not remember volume settings, always set to 0"
 * #593746[2]: "pulseaudio doesn't support that $XAUTHORITY may have changed 
after logout/login"
 * #593952[3]: "hotplugging devices doesn't work completely if PA was started 
during earlier X-session"
 * maybe more?

The attached patch is a dirty hack to shutdown PA once the X-session has
ended. I know that this is no proper way to get the job done, but I
spent the last hour googling for some way to detect the end of a
X-session and didn't find anything remotely useful. This solution
a) does at least work
b) uses very few ressources (almost none)

I therefore think it's a good starting point, however I very much hope
that someone comes up with something not that ugly.

Best regards

Alexander Kurtz

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556971#12
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593746
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593952
diff -ru old/usr/bin/start-pulseaudio-x11 new/usr/bin/start-pulseaudio-x11
--- old/usr/bin/start-pulseaudio-x11	2010-08-23 00:10:35.695615831 +0200
+++ new/usr/bin/start-pulseaudio-x11	2010-08-23 00:11:53.349215268 +0200
@@ -32,3 +32,8 @@
 	/usr/bin/pactl load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
     fi
 fi
+
+{
+	xprop -root -spy > /dev/null 2>&1 || true
+	pulseaudio --kill
+} &

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: pulseaudio
Source-Version: 5.0-1

We believe that the bug you reported is fixed in the latest version of
pulseaudio, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 594...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sjoerd Simons <sjo...@debian.org> (supplier of updated pulseaudio package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 29 Mar 2014 00:20:59 +0100
Source: pulseaudio
Binary: pulseaudio pulseaudio-dbg pulseaudio-utils pulseaudio-utils-dbg 
pulseaudio-esound-compat pulseaudio-esound-compat-dbg 
pulseaudio-module-zeroconf pulseaudio-module-zeroconf-dbg 
pulseaudio-module-jack pulseaudio-module-jack-dbg pulseaudio-module-lirc 
pulseaudio-module-lirc-dbg pulseaudio-module-gconf pulseaudio-module-gconf-dbg 
pulseaudio-module-raop pulseaudio-module-raop-dbg pulseaudio-module-bluetooth 
pulseaudio-module-bluetooth-dbg pulseaudio-module-x11 pulseaudio-module-x11-dbg 
libpulse0 libpulse0-dbg libpulse-mainloop-glib0 libpulse-mainloop-glib0-dbg 
libpulse-dev libpulsedsp libpulsedsp-dbg
Architecture: source amd64
Version: 5.0-1
Distribution: unstable
Urgency: medium
Maintainer: Pulseaudio maintenance team 
<pkg-pulseaudio-devel@lists.alioth.debian.org>
Changed-By: Sjoerd Simons <sjo...@debian.org>
Description: 
 libpulse-dev - PulseAudio client development headers and libraries
 libpulse-mainloop-glib0 - PulseAudio client libraries (glib support)
 libpulse-mainloop-glib0-dbg - PulseAudio client libraries (glib support) 
(debugging symbols)
 libpulse0  - PulseAudio client libraries
 libpulse0-dbg - PulseAudio client libraries (debugging symbols)
 libpulsedsp - PulseAudio OSS pre-load library
 libpulsedsp-dbg - PulseAudio OSS pre-load library detached debugging symbols
 pulseaudio - PulseAudio sound server
 pulseaudio-dbg - PulseAudio sound server (debugging symbols)
 pulseaudio-esound-compat - PulseAudio ESD compatibility layer
 pulseaudio-esound-compat-dbg - PulseAudio ESD compatibility layer (debugging 
symbols)
 pulseaudio-module-bluetooth - Bluetooth module for PulseAudio sound server
 pulseaudio-module-bluetooth-dbg - Bluetooth module for PulseAudio sound server 
(debugging symbols)
 pulseaudio-module-gconf - GConf module for PulseAudio sound server
 pulseaudio-module-gconf-dbg - GConf module for PulseAudio sound server 
(debugging symbols)
 pulseaudio-module-jack - jackd modules for PulseAudio sound server
 pulseaudio-module-jack-dbg - jackd modules for PulseAudio sound server 
(debugging symbols)
 pulseaudio-module-lirc - lirc module for PulseAudio sound server
 pulseaudio-module-lirc-dbg - lirc module for PulseAudio sound server 
(debugging symbols)
 pulseaudio-module-raop - RAOP module for PulseAudio sound server
 pulseaudio-module-raop-dbg - RAOP module for PulseAudio sound server 
(debugging symbols)
 pulseaudio-module-x11 - X11 module for PulseAudio sound server
 pulseaudio-module-x11-dbg - X11 module for PulseAudio sound server (debugging 
symbols)
 pulseaudio-module-zeroconf - Zeroconf module for PulseAudio sound server
 pulseaudio-module-zeroconf-dbg - Zeroconf module for PulseAudio sound server 
(debugging symbols)
 pulseaudio-utils - Command line tools for the PulseAudio sound server
 pulseaudio-utils-dbg - PulseAudio command line tools (debugging symbols)
Closes: 594001 611491 649884 658733 729494 735485 738143
Changes: 
 pulseaudio (5.0-1) unstable; urgency=medium
 .
   [ Balint Reczey ]
   * Add myself to uploaders
 .
   [ Wookey ]
   * Add stage1 DEB_BUILD_PROFILES initial bootstrap support (Closes: #735485)
 .
   [ Jonas Eriksson ]
   * Use channel 2 for raop sink (Closes: #658733)
 .
   [ Alexander Kurtz ]
   * Exit PA with X session closing when PA is started by the session (Closes: 
594001)
 .
   [ Balint Reczey ]
   * Don't pass --disable-hal to ./configure (Closes: #729494)
 .
   [ Justin B Rye ]
   * Make pulseaudio-utils suggest pulseaudio
 .
   [ Luca Capello ]
   * Explain how to set up PulseAudio in a chroot (Closes: #649884)
 .
   [ Balint Reczey ]
   * Imported Upstream version 5.0
   * Make PA init script start PA unconditionally upon restart (Closes: #738143)
   * Recommend consolekit instead of depending on it (Closes: #611491)
   * Fix typo in debian/control
 .
   [ Sjoerd Simons ]
   * Refresh patches:
     + d/p/0002-Use-the-fixed-point-speex-resampler-on-ARM.patch
     + d/p/kfreebsd_no_lock_and_threads_synchro.patch
   * d/p/build-make-ARM-NEON-check-in-configure.ac-more-stric.patch:
     + Dropped, fixed upstream
   * Drop versioned dependency on libjack-dev (new enough version was available
     in squeeze) to allow libjack-jackd2-dev to furfill the dependency.
   * debian/rules: Use intltoolize when running autoreconf
   * debian/pulseaudio-module-bluetooth.install:
     + Update for new bluetooth module naming
     + No longer install the proximity module as it has been removed upstream
   * debian/libpulse0.symbols: Updated
   * debian/shlibs.local, debian/rules: Update to private library version to 5
   * debian/pulseaudio.install: Install new modules:
     + module-role-ducking
     + module-tunnel-{sink,source}-new
     + module-remap-source
   * debian/control: Add build-dependency on libsystemd-journal-dev to enable
     systemd journal support
   * debian/control: Drop even the recommends on consolekit as every desktop
     session where it's useful will either have a dependency on consolekit or
     systemd already.
   * debian/control: Drop recommends on gstreamer0.10-pulseaudio as
     gstreamer0.10 has been obsolete for some time
Checksums-Sha1: 
 2decb18cd04f44131e58514832572469b73dc7d5 3780 pulseaudio_5.0-1.dsc
 e420931a0b9cf37331cd06e30ba415046317ab85 1455428 pulseaudio_5.0.orig.tar.xz
 f4f336559f253ce677bf485add7f035d137521e9 28780 pulseaudio_5.0-1.debian.tar.xz
 c1b0a7bfac1a0192dcb7e39d49c23f234a4973d9 925928 pulseaudio_5.0-1_amd64.deb
 9f5bcfddbc962fa63c2c1d0cc69a5326c998b569 1787860 pulseaudio-dbg_5.0-1_amd64.deb
 606cbceb4f493502bc4c3593be6ceadde4158bc6 65820 pulseaudio-utils_5.0-1_amd64.deb
 0adb891aa69d25770d86a6575efc0edef375283a 91232 
pulseaudio-utils-dbg_5.0-1_amd64.deb
 40e8f488d3acd660c29100482a5599d97b9eb09a 44478 
pulseaudio-esound-compat_5.0-1_amd64.deb
 f5ac59c03a9c67b10613416fd17489050c4fa6c9 84692 
pulseaudio-esound-compat-dbg_5.0-1_amd64.deb
 0014e170afcea1ea3b4f241c98e294744f60f7b0 35836 
pulseaudio-module-zeroconf_5.0-1_amd64.deb
 5c28466efc8b755b46faef26fda61a987b8fb145 64652 
pulseaudio-module-zeroconf-dbg_5.0-1_amd64.deb
 c2071d4c8aadbe4e83d2b6239742ba3601edd607 34368 
pulseaudio-module-jack_5.0-1_amd64.deb
 693bb296bf397bfd868fd3c0eeb213529e21ae9a 63412 
pulseaudio-module-jack-dbg_5.0-1_amd64.deb
 a1e4570daad3d2c5b38bc4563dbfab466cfd32ee 25158 
pulseaudio-module-lirc_5.0-1_amd64.deb
 32c1439532785e2815f3e12477121e3ca3b4e0ed 35872 
pulseaudio-module-lirc-dbg_5.0-1_amd64.deb
 b2930fd1efb3363ba2ba02f1fd3dc31c104ac8b7 27828 
pulseaudio-module-gconf_5.0-1_amd64.deb
 22facfd4eb8dcb61a125a8debc200acdea109543 41792 
pulseaudio-module-gconf-dbg_5.0-1_amd64.deb
 7e25e808c36869beba3fad7d70759892a8c7618c 38006 
pulseaudio-module-raop_5.0-1_amd64.deb
 b7ae91a005c0ea23bbc43642006963a642f81497 73350 
pulseaudio-module-raop-dbg_5.0-1_amd64.deb
 ac8019727525eb6f29d106c73fe289a7c65c6659 83984 
pulseaudio-module-bluetooth_5.0-1_amd64.deb
 6d1169e2e34304b29cd17b76d0d1d4d1921f0798 176470 
pulseaudio-module-bluetooth-dbg_5.0-1_amd64.deb
 aa79bdd33684dce34fd5133465822570f74a7ab9 31730 
pulseaudio-module-x11_5.0-1_amd64.deb
 1742a1b916374a80d6d043b780026411965db0ef 69034 
pulseaudio-module-x11-dbg_5.0-1_amd64.deb
 2f9a2465cb4d385bfcae6997ac2e8fff3ac15e99 249956 libpulse0_5.0-1_amd64.deb
 01218a46015995a07ead23055381682c42ac7851 488470 libpulse0-dbg_5.0-1_amd64.deb
 6319285eeeb18e4753ba7ccbe42c7f12244bb543 27198 
libpulse-mainloop-glib0_5.0-1_amd64.deb
 054eed6961780c2c5c227b8577da861321455645 33904 
libpulse-mainloop-glib0-dbg_5.0-1_amd64.deb
 4e80104c099b56a20915bc1a135cedf7edbcbc15 85756 libpulse-dev_5.0-1_amd64.deb
 e73e02e9c89ada85328843fc3a4a021e50d63bab 36956 libpulsedsp_5.0-1_amd64.deb
 bda4274b543ae17e34050608e67d46886886747a 52620 libpulsedsp-dbg_5.0-1_amd64.deb
Checksums-Sha256: 
 10350c435aca254d7402382123c0a46147e51171002da79fee6bfe379f291864 3780 
pulseaudio_5.0-1.dsc
 99c13a8b1249ddbd724f195579df79484e9af6418cecf6a15f003a7f36caf939 1455428 
pulseaudio_5.0.orig.tar.xz
 7c65152de5a462d348b14f64108a682b5d0451d7db04a98a66efb3cf2632fb6a 28780 
pulseaudio_5.0-1.debian.tar.xz
 30013773f9e499455e057e480aa58aace0313432fe0deb900b8f6600236641f9 925928 
pulseaudio_5.0-1_amd64.deb
 9a61ab02fb619e12154ded68d336182230d07810e30ff4018caa1d65f01a2a45 1787860 
pulseaudio-dbg_5.0-1_amd64.deb
 dc00698829fbaa205875eb562e28d6974c0ab447878dab1b5b1a478ca36be06d 65820 
pulseaudio-utils_5.0-1_amd64.deb
 54757272acd13cd7435adca7806e7dc9b68efed023fdd36cb7a699d87c66a07a 91232 
pulseaudio-utils-dbg_5.0-1_amd64.deb
 056e954195bcbf88e3ed61a4ddf10016da6451a77cc867f9be3970d8c49cae75 44478 
pulseaudio-esound-compat_5.0-1_amd64.deb
 dea4a4a0fea631234f6faf4c655f11c06edb934ea643fcc13ea9db3c068c4d52 84692 
pulseaudio-esound-compat-dbg_5.0-1_amd64.deb
 7566534c3f98ec7ee3846d613506764c4f81e3370dd0695eeb19e948cd6845c2 35836 
pulseaudio-module-zeroconf_5.0-1_amd64.deb
 074d402dd0831e83da50f5393e0bfe6971cdc7547c7b94814ed48cbcf38688c1 64652 
pulseaudio-module-zeroconf-dbg_5.0-1_amd64.deb
 fdffd3c7d4a5ebd78a28d8a55697bf5837e55086a0a553073c701a309786d776 34368 
pulseaudio-module-jack_5.0-1_amd64.deb
 65751856e978efeee25c9f4f42add8ba6f526f2dacfd861c19d34fe51c4f1363 63412 
pulseaudio-module-jack-dbg_5.0-1_amd64.deb
 90b3fa299ff0edef435240135ccbe601979ec82c0375721bd86f32b9854eeef7 25158 
pulseaudio-module-lirc_5.0-1_amd64.deb
 94ecbc07f03f9af65b68d22c6d5cb49d41e0f2bb1ad47ba0b8d4f2fd1ff56c36 35872 
pulseaudio-module-lirc-dbg_5.0-1_amd64.deb
 4fef6da689b96f68d7d12c42ae4b26dabe6656b9821f0db966226692ef1fedd2 27828 
pulseaudio-module-gconf_5.0-1_amd64.deb
 19dafe3f9b2cf1d1f84260a1f9e7c2446206b4858496f05bebf8c5362b6394ad 41792 
pulseaudio-module-gconf-dbg_5.0-1_amd64.deb
 0f804d68de733ed00fda0d42ac02aa65f2dcca10345399696030058baffc5788 38006 
pulseaudio-module-raop_5.0-1_amd64.deb
 8f089f0f1248ba72d6d140d81d270d3fb2fb4b3c6c498fdfc5ba261d60ae1d9a 73350 
pulseaudio-module-raop-dbg_5.0-1_amd64.deb
 f4d5ecf603f48036e94747bfe7ea42652140f434e8546a1205269127905ee527 83984 
pulseaudio-module-bluetooth_5.0-1_amd64.deb
 1f431d13cc2e24e8654682208a716371c2093b56a6ad53515cef92456ad7e513 176470 
pulseaudio-module-bluetooth-dbg_5.0-1_amd64.deb
 dd478d5db39f868b492c42e8b5a07a983ad25461594bd1902a29e257c5c59f57 31730 
pulseaudio-module-x11_5.0-1_amd64.deb
 bd2855c66cd7bb60c1134d31ba9ea8cfe14cd1a79addf78cfd7d4881f013eb7e 69034 
pulseaudio-module-x11-dbg_5.0-1_amd64.deb
 8996dbe56494050114b41d0758108da7467071495a67754c21e1873ddee3e490 249956 
libpulse0_5.0-1_amd64.deb
 eae5d8dedb428e1c61f434d3aaa169f335ebf1e18b426e8eb49765f971df557f 488470 
libpulse0-dbg_5.0-1_amd64.deb
 6ffcf71cbf3d28046e369d9445d23394f9c0faf4657b3cd6e5d5b15eafb787a1 27198 
libpulse-mainloop-glib0_5.0-1_amd64.deb
 e7fd5ae7a9be12a2f0caf9ef86a597799988feea4a33578c36c51bc98c762bf1 33904 
libpulse-mainloop-glib0-dbg_5.0-1_amd64.deb
 e79e19c87aa60f24c7b19eb1ee6af915611cb0a1a8d535069c02bcc262c376ec 85756 
libpulse-dev_5.0-1_amd64.deb
 2a08d8392f5c040c1306672a57d1b352ad7e06cefcc41d7983229c6dcf90c38c 36956 
libpulsedsp_5.0-1_amd64.deb
 5594dad5b6fb108f8532043d9f1187ed50485353a499fa0ff3e40d6eb1b36924 52620 
libpulsedsp-dbg_5.0-1_amd64.deb
Files: 
 245fdc2c687475c25c72e593c0ad36a7 3780 sound optional pulseaudio_5.0-1.dsc
 c43749838612f4860465e83ed62ca38e 1455428 sound optional 
pulseaudio_5.0.orig.tar.xz
 364b81bb547e62729476be2fc3f710b9 28780 sound optional 
pulseaudio_5.0-1.debian.tar.xz
 d88bedfbb030eb3e53ff77bd458354fd 925928 sound optional 
pulseaudio_5.0-1_amd64.deb
 31db1eb474f5704cd0733332d995bafb 1787860 debug extra 
pulseaudio-dbg_5.0-1_amd64.deb
 de1f0c2515e6c0d27c1cd389943682ad 65820 sound optional 
pulseaudio-utils_5.0-1_amd64.deb
 37d9280b6ac0770f8028c79cfab5dd94 91232 debug extra 
pulseaudio-utils-dbg_5.0-1_amd64.deb
 96c8cb6f6c6f5bcb29a7fa2e684c32d1 44478 sound optional 
pulseaudio-esound-compat_5.0-1_amd64.deb
 f4422046cc2bf0ffd4dfffd411c94283 84692 debug extra 
pulseaudio-esound-compat-dbg_5.0-1_amd64.deb
 b53acb924ee03949adb2d42ad725c2eb 35836 sound optional 
pulseaudio-module-zeroconf_5.0-1_amd64.deb
 b7f443a9a708a264ec3e35b912b64898 64652 debug extra 
pulseaudio-module-zeroconf-dbg_5.0-1_amd64.deb
 3d4e4978554ae72a95525d82d42f82c6 34368 sound optional 
pulseaudio-module-jack_5.0-1_amd64.deb
 10f72306b486a5ea109dd65226f1332e 63412 debug extra 
pulseaudio-module-jack-dbg_5.0-1_amd64.deb
 15ca007ffa16e897abed42d4a7a32ecc 25158 sound optional 
pulseaudio-module-lirc_5.0-1_amd64.deb
 fb9dbaebca4b2882cd4c5a249201b569 35872 debug extra 
pulseaudio-module-lirc-dbg_5.0-1_amd64.deb
 025f41ea055fe4380d81c2ded952b960 27828 sound optional 
pulseaudio-module-gconf_5.0-1_amd64.deb
 a37b62f8493e7cb7dd8f8c64afbd5d16 41792 debug extra 
pulseaudio-module-gconf-dbg_5.0-1_amd64.deb
 14866a18d250ed7a8b65d5f6a7f150cf 38006 sound optional 
pulseaudio-module-raop_5.0-1_amd64.deb
 3ca958ffac8aef9ce5312abe53e727f5 73350 debug extra 
pulseaudio-module-raop-dbg_5.0-1_amd64.deb
 4eb477130359e0a73aedf4322ac4b660 83984 sound extra 
pulseaudio-module-bluetooth_5.0-1_amd64.deb
 198adbc038cfc06a847ae735c05dc952 176470 debug extra 
pulseaudio-module-bluetooth-dbg_5.0-1_amd64.deb
 2fd24d6bd00ecad085a977cd90713cf7 31730 sound optional 
pulseaudio-module-x11_5.0-1_amd64.deb
 ed588e82ca150403a8b8833d9cc0b3ae 69034 debug extra 
pulseaudio-module-x11-dbg_5.0-1_amd64.deb
 0a7d18713fdf3dd4283dc3a4abc33b11 249956 libs optional libpulse0_5.0-1_amd64.deb
 614925dd99527a63cb0ece26424d814d 488470 debug extra 
libpulse0-dbg_5.0-1_amd64.deb
 819132d416b214c4dc303dad57ae3785 27198 sound optional 
libpulse-mainloop-glib0_5.0-1_amd64.deb
 a698f5437fc77753d189843ddcc9d86e 33904 debug extra 
libpulse-mainloop-glib0-dbg_5.0-1_amd64.deb
 8e8dbb921dcd0fbd206ad155fe1b1b14 85756 libdevel optional 
libpulse-dev_5.0-1_amd64.deb
 2e6bcb74d4d53955895ebf6791f5d4cc 36956 sound optional 
libpulsedsp_5.0-1_amd64.deb
 2c4e1d80e52278cb56a8e82885b90de3 52620 debug extra 
libpulsedsp-dbg_5.0-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlM2BOcACgkQgTd+SodosdLAAACfQdbujc7nidUbhVr9TudFRFij
6OcAoM2fsZPb4IhuWNT0lmnQ6UTTT46Y
=wBfA
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-pulseaudio-devel mailing list
pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to