[Pkg-alsa-devel] Bug#422805: alsa-utils: init script sleeps without explanation

Josh Triplett josh at freedesktop.org
Tue May 8 08:50:35 UTC 2007


Package: alsa-utils
Version: 1.0.13-2
Severity: normal

/etc/init.d/alsa-utils contains:
> store_levels()
> {
>         CARD="$1"
>         [ "$1" = all ] && CARD=""
>         if MSG="$(alsactl store $CARD 2>&1)" ; then
>                 sleep 1
>                 return 0

Does the init script really need to sleep here?  If so, could you please put
in a comment explaining why the sleep needs to happen?  If not, could you
please remove the sleep?

Thanks,
Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-josh (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-utils depends on:
ii  libasound2                    1.0.13-2   ALSA library
ii  libc6                         2.5-7      GNU C Library: Shared libraries
ii  libncurses5                   5.5-5      Shared libraries for terminal hand
ii  linux-sound-base              1.0.13-5   base package for ALSA and OSS soun
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
ii  module-init-tools             3.3-pre4-2 tools for managing Linux kernel mo
ii  pciutils                      1:2.2.4-1  Linux PCI Utilities
ii  python                        2.4.4-3    An interactive high-level object-o
ii  whiptail                      0.52.2-10  Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base                     1.0.13-5   ALSA driver configuration files

-- no debconf information




More information about the Pkg-alsa-devel mailing list