Package: pulseaudio-esound-compat
Version: 0.9.5-7
Severity: important

Begin with no 'pulseaudio' in memory, and '/bin/sh' symlinked to
'/bin/dash'. From an xterm command line, run 'galeon', which calls
'esdcompat', which gives this error:

    % galeon
    shift: 96: can't shift that many

...so 'pulseaudio' doesn't load.

BTW, I tried other minimalist Bourne shells.  Summary:

        Shell                   Error
        dash                    shift: 96: can't shift that many
        posh                    /usr/bin/esd:96: shift: nothing to shift
        ksh                     /usr/bin/esd[96]: shift: nothing to shift

(The above may help others searching for those error messages.)

Of course when the shell is '/bin/bash' it works.  

This bug was tested first by symlinking various shells to '/bin/sh'. 
To make absolutely sure that 'esdcompat' was the cause, I
set '/bin/sh' to '/bin/dash' then edited the first line of
'/usr/bin/esdcompat' from '/bin/sh' to other shells.

NB: after 'pulseaudio' is loaded, the error won't recur,
regardless of the shell.  To reproduce this bug, 'pulseaudio'
shouldn't be running.

Suggested kludge**:  have 'esdcompat' call '/bin/bash'.  Attached is a
'.diff'.

(**Anybody know what command line parameters 'galeon' calls 'esdcompat'
with?  I couldn't get 'strace' to show those.)

Hope this helps...


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages pulseaudio-esound-compat depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libcap1                     1:1.10-14    support for getting/setting POSIX.
ii  pulseaudio                  0.9.5-7      PulseAudio sound server

pulseaudio-esound-compat recommends no packages.

-- no debconf information


--- /usr/bin/esdcompat  2007-02-19 16:56:57.000000000 -0500
+++ /tmp/esdcompat      2007-03-11 03:04:57.000000000 -0400
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # $Id: esdcompat.in 1107 2006-07-19 18:11:12Z lennart $
 #


Reply via email to