Public bug reported:

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.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
pulseaudio hangs, prevents login, home as cifs
https://bugs.launchpad.net/bugs/429533
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to