pulseaudio hangs, prevents login, home as cifs

Bug #429533 reported by Christoph
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

We are using an up to date Ubuntu 9.04 with an cifs home directory for the users. When a user tries to login, the login hangs, until the pulseaudio daemon gets killed or the broken symlinks in ~/.pulse/ get removed. If the user has no dead symlinks in $HOME/.pulse the login does not hang.

To solve this situation we edited /usr/bin/pulse-session as follows:

--- pulse-session.orig 2009-09-14 17:10:49.000000000 +0200
+++ pulse-session 2009-09-14 17:23:57.000000000 +0200
@@ -9,6 +9,7 @@
 if [ -x /usr/bin/start-pulseaudio-x11 ] && \
    [ $PULSEAUDIO_SYSTEM_START -eq 0 ] && \
    [ ! -f $HOME/.pulse_a11y_nostart ]; then
+ /usr/bin/find -L $HOME/.pulse -maxdepth 1 -type l -delete
        /usr/bin/start-pulseaudio-x11
 fi

This patch ensures, that broken symlinks and only those are remove from ~/.pulse dir before the pulseaudio daemon starts up.
Symlinks on cifs are known for not working very well. That getent term ensures that the find term gets the home directory independent of where they are stored.

Description: Ubuntu 9.04
Release: 9.04

pulseaudio:
  Installiert: 1:0.9.14-0ubuntu20.2
  Kandidat: 1:0.9.14-0ubuntu20.2
  Versions-Tabelle:
 *** 1:0.9.14-0ubuntu20.2 0

This is not duplicate of https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/330766 because, over there home dir is on ntfs. For more informations read my comment over there.

Revision history for this message
Nicola Ferralis (feranick) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in pulseaudio.

affects: ubuntu → pulseaudio (Ubuntu)
Daniel T Chen (crimsun)
Changed in pulseaudio (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 9.04 (jaunty) reached end-of-life on October 23, 2010.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Please upgrade to the latest version and re-test.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Christoph (christop) wrote :

Since some time the pulse-session script has been removed from pulseaudio package. Quote from the pulseaudio changelog:
 [ Luke Yelavich ]
  * Remove wrapper scripts and accessibility special case, to help with the
    desktop startup time. The accessibility case should be solved in
    speech-dispatcher by the time lucid ships.
[..]
    - debian/pulse-session: Removed
[..]
 -- Daniel T Chen <email address hidden> Wed, 25 Nov 2009 16:34:54 -0500

As Ubuntu 9.04 has reached end-of-life for some time, this bug has been overcome by events. As this is not a status, I choose fix released, as up to date versions are not affected by it.

Changed in pulseaudio (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.