[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256401: modconf: location of modprobe config files changed with module-init-tools



On Sat, Jun 26, 2004 at 09:42:47PM +0200, Yann Bloch wrote:
> module-init-tools puts its config files in /etc/modprobe.d, not in
> /etc/modprobe.conf, as modconf expects.
> 
> The problem had an easy workaround for me:
> 
> In /usr/share/modconf/params
> 
> 56c56
> <    CFGFILE=$Target/etc/modprobe.conf
> ---
> >    CFGFILE=$Target/etc/modprobe.d
> 
> 
> I guess this will need some additional checking to make it integrate
> smoothly in the various possible configurations. It may even be better
> not to specify a config file at all, and let modprobe find it itself.
> Well the maintainer will decide.

The only case where this could perhaps brake would be on old versions
of module-init-tools (<< 3.1, exact version can be determined from the
module-init-tools changelog) since these used /etc/modprobe.conf. But
this could be solved with a versioned dependency.

The thing about this whole code is that it was definetly needed when
modconf was used by boot-floppies (the $Target prefix was not equal ""
in this case). Don't know if anyone is still using the --target option
today...

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: