Package: module-init-tools
Version: 3.3-pre11-1
Severity: wishlist

I want to blacklist snd-ali5451 to avoid udev loading it. This should
work:

[EMAIL PROTECTED]:/etc/modprobe.d>cat local 
# Mostly broken on this laptop, so use external sound instead.
install snd-ali5451 /bin/true

But it doesn't:

[EMAIL PROTECTED]:/etc/modprobe.d>modprobe --use-blacklist -v snd-ali5451
install /sbin/modprobe --ignore-install snd-ali5451  &&
/lib/alsa/modprobe-post-install snd-ali5451

Then I notice this:

[EMAIL PROTECTED]:/etc/modprobe.d>modprobe -c |grep ali5451
install snd-ali5451 /bin/true
install snd-ali5451 /sbin/modprobe --ignore-install snd-ali5451 $CMDLINE_OPTS 
&& /lib/alsa/modprobe-post-install snd-ali5451
alias pci:v000010B9d00005451sv*sd*bc*sc*i* snd_ali5451

The line from /etc/modprobe.d/alsa-base is overriding my line. Ok, maybe it
needs to come before alsa-base?

[EMAIL PROTECTED]:/etc/modprobe.d>mv local aaaa
[EMAIL PROTECTED]:/etc/modprobe.d>modprobe -c |grep ali5451
install snd-ali5451 /bin/true
install snd-ali5451 /sbin/modprobe --ignore-install snd-ali5451 $CMDLINE_OPTS 
&& /lib/alsa/modprobe-post-install snd-ali5451
alias pci:v000010B9d00005451sv*sd*bc*sc*i* snd_ali5451

Argh, reordering doesn't help? Based on strace, modprobe reads the files
in readdir order. This leaves me having to edit this large alsa file and keep
my local changes merged into it, which sucks.

Could modprobe sort the file list and read them in order please?

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

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
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 module-init-tools depends on:
ii  libc6                         2.5-8      GNU C Library: Shared libraries
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip

module-init-tools recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to