Moin

I just got bitten by that bug today, too.

On Tue, Feb 14, 2012 at 05:05:27PM -0200, Lucas De Marchi wrote:
> I bet you have these rules in your config:
> 
> install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe
> --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
...

> Marco, why are you shipping this with alsa? This creates dependency
> loops, relying on modules being inserted to be able to break the
> loops. It seems very fragile. What are you trying to accomplish with
> that config?

These are indeed useful, as it pulls in additional modules that give you
the full functionality of the sound system. The problem seems to be that
--ignore-install seems to get ignored by kmod version 5 resulting in
endless recursive loops trying to insert these modules.

But since 3.12 module-init-tools (and kmod, too) supports the softdep
keyword in modprobe.d/. After changing the above rules to use "softdep"
instead of "install", the bug was gone.

For example the rule qouted above using softdep should read:

softdep snd post: snd-ioctl32 snd-seq

I think this change could be done now in unstable, since "softdep" is already
supported by the module-init-tools in stable.

    Ingo
-- 
Kennedy's Lemma:
    If you can parse Perl, you can solve the Halting Problem.

http://www.perlmonks.org/?node_id=663393



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to