Public bug reported: The /etc/init.d/ltsp-client script contains a logic error, which causes a sound error to always be reported. The test -f /dev/dsp always fails, as /dev/dsp is never a regular file. Suggest applying the following patch, which checks if /dev/dsp is a special character device and writeable.
--- ltsp-client.orig 2006-08-20 05:46:30.931866790 +0000 +++ ltsp-client 2006-08-20 05:37:48.950284469 +0000 @@ -30,8 +30,8 @@ start_sound() { if [ -n "$SOUND" ]; then # Detect and report a common problem with thin clients - if [ ! -f /dev/dsp ]; then - echo "Sound requested but /dev/dsp is missing. Continuing." + if [ ! -c /dev/dsp -o ! -w /dev/dsp ] ; then + echo "Sound requested but /dev/dsp is missing or read-only. Continuing." fi case "$SOUND_DAEMON" in esd|'') # The default when no value is set ** Affects: ltsp (Ubuntu) Importance: Untriaged Status: Unconfirmed -- Sound setupo always reports error https://launchpad.net/bugs/56959 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs