No subject


Sun Jan 16 06:41:43 UTC 2011


nor any debian patch (./debian/patches) that has any relationship to
udev. Which means that the binaries in alsa-utils don't need udev and
will run just fine without it.

Also, there is nothing (disragarding the control file) in the above
list  that has any requirement that udev is installed except that
dpkg will complain about the Required-Start in the init file when 
alsa-utils are installed or upgraded if udev is not installed.
The Required-Start line was introduced due to bug report 53452, and
it broke alsa-utils as shown in bug report 539983. In 53452 there is
no rationale given why udev should be added to the required-start line.
I.e. the only dependancy on udev in the package is in the init file
and it was intruduced without any description why it was supposedly
needed.

Looking through the init file we find that it depends on the
following programs:
  $ cat ./debian/init | tr -s ' \t' '\t' | sed -e 's/^\t//' | cut -f1 |
  > grep -v -e '^-' | sort -u  |
  > while read a; do if which "$a" > /dev/null; \
  > then which -a "$a"; fi; done
  /usr/bin/[
  /usr/sbin/alsactl
  /usr/bin/amixer
  /bin/echo
  /bin/sed
  /bin/sleep
  /usr/bin/which
  /bin/which
  $

We find that alsa-utils depends on that /usr is mounted and (for
alsactl) that a sufficient set of modules are loaded. One way to load
the modules is throught udev, another is through
/etc/init.d/module-init-tools (i.e. local admin through /etc/modules),
and alsa-utils could just as well have that init file as a start
requirement.

Please drop the dependancy on udev and remove udev from the
required-start line.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





More information about the Pkg-alsa-devel mailing list