Elimar: > tags 618806 wontfix > thanks > * Karl Hammar [110319 16:08 +0100]: > > Elimar: > > > * Karl Hammar [110318 17:00 +0100]: > > > > Package: alsa-utils > > > > Version: 1.0.16-2 > > > > Severity: important > > > > Tags: squeeze sid > > > > > > We have 1.0.23-3 in squeeze / sid. Please first update and report > > > back. > > > > The point is that I cannot upgrade this package since later versions > > depends on udev. > > At this point we don't support 1.0.16 anymore. > I set this bug to "wontfix" herewith.
This is not a bug report about v.1.0.16. It is a bug report about later version. Your "wontfix" decision is based on false data, please remove the "wontfix". To tell you the truth, I happened to upgrade alsa-utils to the squeeze version and my system broke due to udev, so I could not file a bug report with that version. So this seems like a moment 22 situation. But ok, let's look at the source. $ apt-get source alsa-utils $ cd alsa-utils-1.0.23 $ find . -type f | xargs grep udev ./debian/changelog: * Added udev to Depends: (closes: #539983). ... ./debian/changelog: + Don't "alsactl restore" if udev is active. ./debian/changelog.ALSA: -alsactl: Allow card specification by device name (support for udev) ./debian/udev.script:# udev script for alsa-utils ./debian/udev.script: . /lib/udev/hotplug.functions ./debian/NEWS: unnecessary for a very long time, with the introduction of udev ./debian/control: lsb-base (>= 3.0-9), linux-sound-base (>= 1.0.15-1), udev ./debian/control:Conflicts: udev (<< 0.060), alsa-base (<< 1.0.9b-3) ./debian/init:# Required-Start: $remote_fs udev ./debian/postrm: # Remove udev configfile ./debian/postrm: rm -f /lib/udev/rules.d/80-alsa.rules ./debian/preinst: # Remove udev rules symlink and alsa-utils.rules since it is stored as ./debian/preinst: # /lib/udev/rules.d/80-alsa.rules ./debian/preinst: L="/etc/udev/rules.d/z60_alsa-utils.rules" ./debian/preinst: rm_conffile /etc/udev/alsa-utils.rules ./debian/udev.rules:KERNEL=="controlC[0-7]", ACTION=="add", RUN+="/lib/udev/alsa-utils" ./debian/rules: install $(INSTALL_UAG) -m644 debian/udev.rules \ ./debian/rules: debian/alsa-utils/lib/udev/rules.d/80-alsa.rules ./debian/rules: install $(INSTALL_UAG) -m755 debian/udev.script \ ./debian/rules: debian/alsa-utils/lib/udev/alsa-utils ./debian/dirs:lib/udev/rules.d ./debian/dirs:lib/udev ./debian/README.Debian:For modular drivers on a udev system, the /lib/alsa/udev script runs $ >From the above we see that there is nothing in the upstream source 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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org