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

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 

Description:    Ubuntu 9.04
Release:        9.04

  Installiert: 1:0.9.14-0ubuntu20.2
  Kandidat: 1:0.9.14-0ubuntu20.2
 *** 1:0.9.14-0ubuntu20.2 0

This is not duplicate of 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
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

ubuntu-bugs mailing list

Reply via email to